/aosp14/system/core/libutils/include/utils/ |
H A D | Flattenable.h | 38 static size_t align(size_t size) { in align() 61 static void advance(void*& buffer, size_t& size, size_t offset) { in advance() 66 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance() 73 static void write(void*& buffer, size_t& size, const T& value) { in write() 82 static void read(void const*& buffer, size_t& size, T& value) { in read() 135 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten() 140 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten() 179 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten() 183 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten() 206 inline status_t flatten(void* buffer, size_t size) const { in flatten()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
H A D | BitSetPerfTest.java | 45 public void timeIsEmptyTrue(int size) { in timeIsEmptyTrue() 55 public void timeIsEmptyFalse(int size) { in timeIsEmptyFalse() 66 public void timeGet(int size) { in timeGet() 77 public void timeClear(int size) { in timeClear() 88 public void timeSet(int size) { in timeSet() 99 public void timeSetOn(int size) { in timeSetOn() 110 public void timeSetOff(int size) { in timeSetOff()
|
/aosp14/frameworks/base/tools/aapt2/io/ |
H A D | Data.h | 53 size_t size() const override { return len_; } in size() function 55 bool Next(const void** data, size_t* size) override { in Next() 102 size_t size() const override { return map_.getDataLength(); } in size() function 104 bool Next(const void** data, size_t* size) override { in Next() 144 MallocData(std::unique_ptr<const uint8_t[]> data, size_t size) in MallocData() 150 size_t size() const override { return size_; } in size() function 152 bool Next(const void** data, size_t* size) override { in Next() 199 size_t size() const override { return 0u; } in size() function
|
/aosp14/system/core/libcutils/ |
H A D | ashmem_test.cpp | 32 void TestCreateRegion(size_t size, unique_fd &fd, int prot) { in TestCreateRegion() 45 void TestMmap(const unique_fd& fd, size_t size, int prot, void** region, off_t off = 0) { in TestMmap() 52 void TestProtDenied(const unique_fd &fd, size_t size, int prot) { in TestProtDenied() 71 constexpr size_t size = PAGE_SIZE; in TEST() local 93 constexpr size_t size = PAGE_SIZE; in TEST() local 137 constexpr size_t size = PAGE_SIZE * 4; in TEST() local 192 constexpr size_t size = PAGE_SIZE; in TEST() local 220 constexpr size_t size = PAGE_SIZE; in TEST() local 241 constexpr size_t size = PAGE_SIZE; in TEST() local
|
/aosp14/frameworks/base/core/java/android/util/apk/ |
H A D | DataSource.java | 32 long size(); in size() method 40 void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester() 50 static @NonNull DataSource create(@NonNull FileDescriptor fd, long pos, long size) { in create()
|
H A D | ReadFileDataSource.java | 45 ReadFileDataSource(FileDescriptor fd, long position, long size) { in ReadFileDataSource() 52 public long size() { in size() method in ReadFileDataSource 57 public void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester()
|
H A D | MemoryMappedFileDataSource.java | 47 MemoryMappedFileDataSource(FileDescriptor fd, long position, long size) { in MemoryMappedFileDataSource() 54 public long size() { in size() method in MemoryMappedFileDataSource 59 public void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | AppIdSettingMap.java | 63 int size = mNonSystemSettings.size(); in registerExistingAppId() local 91 final int size = mNonSystemSettings.size(); in getSetting() local 101 final int size = mNonSystemSettings.size(); in removeSetting() local 121 final int size = mNonSystemSettings.size(); in replaceSetting() local 138 final int size = mNonSystemSettings.size(); in acquireAndRegisterNewAppId() local
|
H A D | PackageObserverHelper.java | 59 final int size = observers.size(); in notifyAdded() local 70 final int size = observers.size(); in notifyChanged() local 81 final int size = observers.size(); in notifyRemoved() local
|
/aosp14/frameworks/base/core/java/android/app/usage/ |
H A D | EventList.java | 42 public int size() { in size() method in EventList 69 final int size = mEvents.size(); in insert() local 105 final int size = mEvents.size(); in firstIndexOnOrAfter() local 130 final int size = events.size(); in merge() local
|
/aosp14/frameworks/base/core/java/com/android/internal/infra/ |
H A D | AbstractMultiplePendingRequestsRemoteService.java | 61 final int size = mPendingRequests.size(); in handlePendingRequests() local 73 final int size = mPendingRequests.size(); in handleOnDestroy() local 85 final int size = mPendingRequests.size(); in handleBindFailure() local 102 int size; in dump() local
|
/aosp14/frameworks/base/libs/androidfw/fuzz/cursorwindow_fuzzer/ |
H A D | cursorwindow_fuzzer.cpp | 38 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() 57 size_t size; in LLVMFuzzerTestOneInput() local 62 size_t size; in LLVMFuzzerTestOneInput() local
|
/aosp14/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.cpp | 22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { in NativeFrame() 30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { in WriteData() 38 bool NativeFrame::SetData(uint8_t* data, int size) { in SetData()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbMidiPacketConverter.java | 94 public void createEncoders(int size) { in createEncoders() 110 public void encodeMidiPackets(byte[] midiBytes, int size, int encoderId) { in encodeMidiPackets() 138 public void createDecoders(int size) { in createDecoders() 150 public void decodeMidiPackets(byte[] usbMidiBytes, int size) { in decodeMidiPackets() 179 public void decode(byte[] usbMidiBytes, int size) { in decode() 237 public byte[] encode(byte[] midiBytes, int size) { in encode()
|
/aosp14/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_buffer.cpp | 20 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size) { in GetJBufferData() 39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) { in AttachDataToJBuffer() 53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { in Java_android_filterfw_core_NativeBuffer_allocate() 72 int size; in Java_android_filterfw_core_NativeBuffer_nativeCopyTo() local
|
/aosp14/frameworks/base/location/java/android/location/ |
H A D | LocationResult.java | 106 final int size = mLocations.size(); in validate() local 133 public @IntRange(from = 1) int size() { in size() method in LocationResult 158 final int size = mLocations.size(); in deepCopy() local 189 final int size = mLocations.size(); in filter() local 221 final int size = mLocations.size(); in map() local
|
/aosp14/frameworks/base/libs/hwui/canvas/ |
H A D | Points.h | 27 Points(int size){ in Points() 41 size_t size() const { in size() function
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | ChunkIterator.cpp | 58 const size_t size = dtohl(next_chunk_->size); in VerifyNextChunkNonFatal() local 88 const size_t size = dtohl(next_chunk_->size); in VerifyNextChunk() local
|
/aosp14/frameworks/base/core/java/android/hardware/radio/ |
H A D | Utils.java | 49 int size = in.readInt(); in readStringMap() local 72 int size = in.readInt(); in readStringIntMap() local 92 int size = in.readInt(); in createSet() local 110 int size = in.readInt(); in createIntSet() local
|
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
H A D | BenchmarkResults.java | 75 final int size = mResults.size(); in mean() local 84 final int size = mResults.size(); in median() local 98 final int size = mResults.size(); in standardDeviation() local
|
/aosp14/frameworks/base/core/tests/utiltests/jni/ |
H A D | registration.cpp | 33 jstring name, jint size) in Java_android_util_MemoryIntArrayTest_nativeCreateAshmem() 40 jint fd, jint size) in Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | RecommendedStreamConfigurationMap.java | 356 public @Nullable Set<Range<Integer>> getHighSpeedVideoFpsRangesFor(@NonNull Size size) { in getHighSpeedVideoFpsRangesFor() 422 @NonNull Size size) { in getOutputMinFrameDuration() 439 public @IntRange(from = 0) long getOutputStallDuration(@Format int format, @NonNull Size size) { in getOutputStallDuration() 479 @NonNull final Size size) { in getOutputMinFrameDuration() 502 @NonNull final Size size) { in getOutputStallDuration()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | HwBlob.java | 37 public HwBlob(int size) { in HwBlob() 112 public native final void copyToBoolArray(long offset, boolean[] array, int size); in copyToBoolArray() 123 public native final void copyToInt8Array(long offset, byte[] array, int size); in copyToInt8Array() 134 public native final void copyToInt16Array(long offset, short[] array, int size); in copyToInt16Array() 145 public native final void copyToInt32Array(long offset, int[] array, int size); in copyToInt32Array() 156 public native final void copyToInt64Array(long offset, long[] array, int size); in copyToInt64Array() 167 public native final void copyToFloatArray(long offset, float[] array, int size); in copyToFloatArray() 178 public native final void copyToDoubleArray(long offset, double[] array, int size); in copyToDoubleArray() 447 private native final void native_setup(int size); in native_setup()
|
H A D | HidlMemoryUtil.java | 121 try (SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.size())) { in byteListToHidlMemory() 210 int size) { in fileDescriptorToHidlMemory() 225 final int size = (int) mem.getSize(); in getBuffer() local
|
/aosp14/system/core/fastboot/ |
H A D | fastboot_driver.cpp | 81 RetCode FastBootDriver::CreatePartition(const std::string& partition, const std::string& size) { in CreatePartition() 119 RetCode FastBootDriver::ResizePartition(const std::string& partition, const std::string& size) { in ResizePartition() 149 uint32_t size) { in FlashPartition() 188 size_t size, std::string* response, in Download() 262 int64_t size = sparse_file_len(s, true, use_crc); in Download() local 352 auto write_fn = [&](const char* data, uint64_t size) { in UploadInner() 366 int64_t offset, int64_t size, std::string* response, in FetchToFd() 453 RetCode FastBootDriver::DownloadCommand(uint32_t size, std::string* response, in DownloadCommand() 531 RetCode FastBootDriver::SendBuffer(android::base::borrowed_fd fd, size_t size) { in SendBuffer() 562 RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { in SendBuffer() [all …]
|