/packages/modules/AppSearch/framework/java/android/app/appsearch/safeparcel/ |
D | SafeParcelReader.java | 73 int size = readSize(p, header); in skipUnknownField() local 78 final int size = readSize(p, header); in readAndEnforceSize() local 92 private static void enforceSize(@NonNull Parcel p, int header, int size, int required) { in enforceSize() 109 final int size = readSize(p, header); in validateObjectHeader() local 131 final int size = readSize(p, header); in readBooleanObject() local 167 final int size = readSize(p, header); in readIntegerObject() local 185 final int size = readSize(p, header); in readLongObject() local 197 final int size = readSize(p, header); in createBigInteger() local 216 final int size = readSize(p, header); in readFloatObject() local 234 final int size = readSize(p, header); in readDoubleObject() local [all …]
|
/packages/modules/StatsD/statsd/benchmark/ |
D | log_event_benchmark.cpp | 40 size_t size; in createStatsEvent() local 60 const size_t size = createStatsEvent(msg); in BM_LogEventCreation() local 70 const size_t size = createStatsEvent(msg); in BM_LogEventCreationWithPrefetch() local 85 const size_t size = createStatsEvent(msg); in BM_LogEventCreationWithPrefetchOnly() local 97 const size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMedium() local 108 const size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMediumWithPrefetch() local 123 const size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMediumWithPrefetchOnly() local 135 const size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLarge() local 146 const size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLargeWithPrefetch() local 161 const size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLargeWithPrefetchOnly() local [all …]
|
/packages/modules/Bluetooth/system/profile/sdp/common/ |
D | data_element_reader.cc | 47 DataElementSize size = static_cast<DataElementSize>(descriptor & 0b00000111); in ReadNext() local 110 DataElementSize size) { in ReadSignedInt() 130 DataElementSize size) { in ReadUnsignedInt() 150 DataElementSize size) { in ReadUuid() 177 DataElementSize size) { in ReadString() 209 DataElementSize size) { in ReadSequence()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | buffer_with_extendable_buffer.cpp | 26 uint32_t BufferWithExtendableBuffer::readUint(const int size, const int pos) const { in readUint() argument 32 uint32_t BufferWithExtendableBuffer::readUintAndAdvancePosition(const int size, in readUintAndAdvancePosition() 54 bool BufferWithExtendableBuffer::extend(const int size) { in extend() 58 bool BufferWithExtendableBuffer::writeUint(const uint32_t data, const int size, const int pos) { in writeUint() 63 bool BufferWithExtendableBuffer::writeUintAndAdvancePosition(const uint32_t data, const int size, in writeUintAndAdvancePosition() 88 const size_t size = ByteArrayUtils::calculateRequiredByteCountToStoreCodePoints( in writeCodePointsAndAdvancePosition() local 107 bool BufferWithExtendableBuffer::extendBuffer(const size_t size) { in extendBuffer() 118 bool BufferWithExtendableBuffer::checkAndPrepareWriting(const int pos, const int size) { in checkAndPrepareWriting()
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | file.cc | 84 void FileReader::RequestBlock(size_t offset, size_t size) { in RequestBlock() 108 int FileReader::StaticIsDataAvailImpl(FX_FILEAVAIL* pThis, size_t pos, size_t size) { in StaticIsDataAvailImpl() 115 unsigned long size) { // NOLINT in StaticGetBlockImpl() 120 void FileReader::StaticAddSegmentImpl(FX_DOWNLOADHINTS* pThis, size_t pos, size_t size) { in StaticAddSegmentImpl() 137 size_t FileWriter::DoWriteBlock(const void* data, size_t size) { in DoWriteBlock() 146 unsigned long size) { // NOLINT in StaticWriteBlockImpl() 151 static void LogAddSegment(FX_DOWNLOADHINTS* pThis, size_t offset, size_t size) { in LogAddSegment()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | byte_array_view.h | 34 ReadOnlyByteArrayView(const uint8_t *const ptr, const size_t size) in ReadOnlyByteArrayView() 37 AK_FORCE_INLINE size_t size() const { in size() function 66 ReadWriteByteArrayView(uint8_t *const ptr, const size_t size) in ReadWriteByteArrayView() 69 AK_FORCE_INLINE size_t size() const { in size() function
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 105 public void add(Size size) { in add() 168 private static int area(Size size) { in area() 278 public static String aspectRatioDescription(Size size) { in aspectRatioDescription() 305 public static int aspectRatioNumerator(Size size) { in aspectRatioNumerator() 318 public static Size getApproximateSize(Size size) { in getApproximateSize() 334 public static int aspectRatioDenominator(Size size) { in aspectRatioDenominator() 348 public static Rational getAspectRatio(Size size) { in getAspectRatio() 455 public static boolean isDisallowedListed(@Nonnull Size size, in isDisallowedListed() 466 private static boolean isDisallowedListed(@Nonnull Size size, in isDisallowedListed()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | allocator.cc | 27 size_t size = strlen(str) + 1; // + 1 for the null terminator in osi_strdup() local 39 size_t size = strlen(str); in osi_strndup() local 53 void* osi_malloc(size_t size) { in osi_malloc() 61 void* osi_calloc(size_t size) { in osi_calloc()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/ringbuffer/ |
D | fuzz_ringbuffer.cc | 46 size_t size = in callArbitraryFunction() local 81 size_t size = in callArbitraryFunction() local 107 size_t size = dataProvider->ConsumeIntegralInRange<size_t>(1, max_size); in callArbitraryFunction() local 133 size_t size = in callArbitraryFunction() local
|
/packages/modules/Virtualization/service_vm/demo_apk/src/ |
D | main.rs | 153 let size = in get_certificate_at() localVariable 161 let size = unsafe { in get_certificate_at() localVariable 174 let size = in get_private_key() localVariable 182 let size = unsafe { in get_private_key() localVariable 196 let size = unsafe { in sign_with_attested_key() localVariable 209 let size = unsafe { in sign_with_attested_key() localVariable
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageItemPreference.java | 51 public void setStorageSize(long size, long total) { in setStorageSize() 58 public void setStorageSize(long size, long total, boolean animate) { in setStorageSize() 94 private void updateProgressBarAndSizeInfo(long size, long total) { in updateProgressBarAndSizeInfo() 95 setSummary(StorageUtils.getStorageSizeLabel(getContext(), size)); in updateProgressBarAndSizeInfo() local
|
/packages/services/Car/cpp/car_binder_lib/largeParcelable/ |
D | SharedMemory.cpp | 50 int size = ashmem_get_size_region(intFd); in SharedMemory() local 66 int size = ashmem_get_size_region(intFd); in SharedMemory() local 76 SharedMemory::SharedMemory(size_t size) : mBorrowedFd(-1), mOwned(true) { in SharedMemory()
|
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/ |
D | Playlist.java | 83 final int size = mItems.size(); in add() local 96 final int size = mItems.size(); in move() local 110 final int size = mItems.size(); in remove() local 128 final int size = mItems.size(); in removeMultiple() local
|
/packages/modules/Virtualization/vmbase/src/ |
D | fdt.rs | 27 pub size: usize, field 40 let size = reg.size.ok_or(FdtError::NotFound)?; in new_from_fdt() localVariable 43 let size = node.getprop_u64(cstr!("size"))?.ok_or(FdtError::NotFound)?; in new_from_fdt() localVariable
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | DependenciesTest.java | 53 private byte[] makeTrivialArray(final int size) { in makeTrivialArray() 64 final int size = 128; in testArrays() local 103 final int size = 24; in testAsList() local
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 57 size_t size; in createFieldWithBoolAnnotationLogEvent() local 78 size_t size; in createFieldWithIntAnnotationLogEvent() local 100 size_t size; in createAtomLevelIntAnnotationLogEvent() local 122 size_t size; in createAtomLevelBoolAnnotationLogEvent() local 176 bool ParseBuffer(LogEvent& logEvent, const uint8_t* buf, size_t size) { in ParseBuffer() 210 size_t size; in TEST_P() local 260 size_t size; in TEST_P() local 286 size_t size; in TEST() local 311 size_t size; in TEST_P() local 348 size_t size; in TEST_P() local [all …]
|
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | ApkArchive.java | 59 final long size; field in ApkArchive.Location 61 public Location(long offset, long size) { in Location() 88 long size = ByteBuffer.wrap(signature).order(ByteOrder.LITTLE_ENDIAN).getLong(); in extractMetadata() local 139 long size = buf.getInt() & 0xffffffffL; in findCDRecord() local 172 long size = signature.getLong(); in getSignatureLocation() local
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 45 int size = ActivityContext.lookupContext(mView.getContext()) in createDrawable() local 54 private void drawDragViewOnBackground(Canvas canvas, float size) { in drawDragViewOnBackground() 80 float size = context.getDeviceProfile().iconSizePx; in getScaleAndPosition() local
|
/packages/apps/Launcher3/src/com/android/launcher3/util/window/ |
D | CachedDisplayInfo.java | 39 public final Point size; field in CachedDisplayInfo 48 public CachedDisplayInfo(Point size, int rotation) { in CachedDisplayInfo() 52 public CachedDisplayInfo(Point size, int rotation, @Nullable DisplayCutout cutout) { in CachedDisplayInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StoragePreference.java | 53 public void setSize(long size) { in setSize() 54 setSummary(formatSize(getContext(), size)); in setSize() local 57 public static String formatSize(Context context, long size) { in formatSize()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | DebugBoundsRenderer.java | 32 public static void drawBounds(Canvas canvas, Paint paint, float size, Rect rect) { in drawBounds() 40 public static void drawBounds(Canvas canvas, Paint paint, float size, RectF rect) { in drawBounds() 48 public static void drawBounds(Canvas canvas, Paint paint, float size, float x1, float y1, in drawBounds()
|
/packages/modules/Bluetooth/system/gd/l2cap/internal/ |
D | dynamic_channel_allocator_fuzz_test.cc | 38 void RunTests(const uint8_t* data, size_t size) { in RunTests() 64 void TestPrecondition(const uint8_t* data, size_t size) { in TestPrecondition() 83 void RunL2capClassicDynamicChannelAllocatorFuzzTest(const uint8_t* data, size_t size) { in RunL2capClassicDynamicChannelAllocatorFuzzTest()
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | SharedMemoryAndroid.cpp | 51 GeneralResult<SharedMemory> createSharedMemoryFromUniqueFd(size_t size, int prot, in createSharedMemoryFromUniqueFd() 64 GeneralResult<SharedMemory> allocateSharedMemory(size_t size) { in allocateSharedMemory() 101 GeneralResult<SharedMemory> allocateSharedMemory(size_t size) { in allocateSharedMemory() 182 const uint32_t size = desc.width; in map() local 235 GeneralResult<SharedMemory> createSharedMemory(size_t size) { in createSharedMemory() 239 GeneralResult<SharedMemory> createSharedMemoryFromFd(size_t size, int prot, int fd, size_t offset) { in createSharedMemoryFromFd() 294 const size_t size = mapping.size; in flush() local
|
/packages/providers/MediaProvider/jni/ |
D | RedactionInfo.cpp | 81 bool RedactionInfo::hasOverlapWithReadRequest(size_t size, off64_t off) const { in hasOverlapWithReadRequest() 105 int RedactionInfo::size() const { in size() function in mediaprovider::fuse::RedactionInfo 118 unique_ptr<vector<RedactionRange>> RedactionInfo::getOverlappingRedactionRanges(size_t size, in getOverlappingRedactionRanges() 145 void RedactionInfo::getReadRanges(off64_t off, size_t size, std::vector<ReadRange>* out) const { in getReadRanges()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | GlideFilmstripManager.java | 63 Integer size = computeEglMaxTextureSize(); in getMaxImageDisplaySize() local 131 Size size = clampSize(original, MAXIMUM_FULL_RES_PIXELS, getMaxImageDisplaySize()); in loadFull() local 146 Size size = clampSize(original, MAXIMUM_SMOOTH_PIXELS, getMaxImageDisplaySize()); in loadScreen() local 161 … Size size = clampSize(MEDIASTORE_THUMB_SIZE, MAXIMUM_SMOOTH_PIXELS, getMaxImageDisplaySize()); in loadMediaStoreThumb() local 177 Size size = clampSize(TINY_THUMB_SIZE, MAXIMUM_SMOOTH_PIXELS, getMaxImageDisplaySize()); in loadTinyThumb() local
|