/packages/modules/Virtualization/authfs/src/file/ |
D | local_file.rs | 28 size: u64, field 34 let size = file.metadata()?.len(); in new() localVariable 66 let size = file_reader.read_chunk(0, &mut buf)?; in test_read_4k_file() localVariable 75 let size = file_reader.read_chunk(0, &mut buf)?; in test_read_4k1_file() localVariable 77 let size = file_reader.read_chunk(1, &mut buf)?; in test_read_4k1_file() localVariable 87 let size = file_reader.read_chunk(index, &mut buf)?; in test_read_4m_file() localVariable 97 let size = file_reader.read_chunk(1u64, &mut buf)?; in test_read_beyond_file_size() localVariable 108 let size = file_reader.read_chunk(0, &mut buf)?; in test_read_empty_file() localVariable
|
/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/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/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 48 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDrawable() local 62 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDragBitmapLegacy() local 75 private void drawDragViewOnBackground(Canvas canvas, float size) { in drawDragViewOnBackground() 101 float size = launcher.getDeviceProfile().iconSizePx; in getScaleAndPosition() local
|
/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/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/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/authfs/aidl/com/android/virt/fs/ |
D | IVirtFdService.aidl | 38 byte[] readFile(int id, long offset, int size); in readFile() 44 byte[] readFsverityMerkleTree(int id, long offset, int size); in readFsverityMerkleTree() 56 void resize(int id, long size); in resize()
|
/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/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/modules/NeuralNetworks/common/ |
D | SharedMemoryAndroid.cpp | 51 GeneralResult<SharedMemory> createSharedMemoryFromUniqueFd(size_t size, int prot, in createSharedMemoryFromUniqueFd() 81 GeneralResult<SharedMemory> allocateSharedMemory(size_t size) { in allocateSharedMemory() 135 const size_t size = static_cast<size_t>(fullSize); in map() local 146 GeneralResult<SharedMemory> allocateSharedMemory(size_t size) { in allocateSharedMemory() 219 const uint32_t size = desc.width; in map() local 264 GeneralResult<SharedMemory> createSharedMemory(size_t size) { in createSharedMemory() 268 GeneralResult<SharedMemory> createSharedMemoryFromFd(size_t size, int prot, int fd, size_t offset) { in createSharedMemoryFromFd() 314 const size_t size = mapping.size; in flush() local
|
/packages/modules/Permission/service/java/com/android/permission/util/ |
D | CollectionUtils.java | 59 public static int size(@Nullable Collection<?> collection) { in size() method in CollectionUtils 69 public static int size(@Nullable Map<?, ?> collection) { in size() method in CollectionUtils
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 56 size_t size; in createIntWithBoolAnnotationLogEvent() local 71 size_t size; in createIntWithIntAnnotationLogEvent() local 89 size_t size; in TEST() local 138 size_t size; in TEST() local 175 size_t size; in TEST() local 205 size_t size; in TEST() local 241 size_t size; in TEST() local 344 size_t size; in TEST() local 386 size_t size; in TEST() local 416 size_t size; in TEST() local [all …]
|
/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/modules/StatsD/statsd/benchmark/ |
D | log_event_benchmark.cpp | 32 size_t size; in createAndParseStatsEvent() local 40 size_t size = createAndParseStatsEvent(msg); in BM_LogEventCreation() local
|
/packages/modules/NeuralNetworks/tools/ion_watcher/ |
D | ion_watcher.cpp | 41 int size; in parseMemInfo() local 55 int size = 0; in main() local
|
/packages/modules/Virtualization/microdroid/signature/ |
D | signature.cc | 36 uint32_t size; in ReadMicrodroidSignature() local 64 uint32_t size = htobe32(static_cast<uint32_t>(content.size())); in WriteMicrodroidSignature() local
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | allocators.h | 65 void* Malloc(size_t size) { in Malloc() 169 size_t size = 0; in Size() local 176 void* Malloc(size_t size) { in Malloc() 248 size_t size; //!< Current size of allocated memory in bytes. member
|
/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
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MigrateEstimateTask.java | 85 long size = 0; in doInBackground() local 107 final String size = Formatter.formatFileSize(mContext, mSizeBytes); in onPostExecute() local 112 public abstract void onPostExecute(String size, String time); in onPostExecute()
|
/packages/services/Car/service/src/com/android/car/ |
D | SlidingWindow.java | 32 public SlidingWindow(int size) { in SlidingWindow() 57 public int size() { in size() method in SlidingWindow
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoLoadingTestCase.java | 55 public byte[] getPhoto(PhotoSize size) { in getPhoto() 83 protected byte[] loadTestPhoto(PhotoSize size) { in loadTestPhoto() 88 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { in loadPhotoFromResource()
|
/packages/services/Car/service/src/com/android/car/stats/ |
D | VmsClientStats.java | 91 void packetSent(long size) { in packetSent() 103 void packetReceived(long size) { in packetReceived() 115 void packetDropped(long size) { in packetDropped()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 48 void showDocumentsClipped(int size); in showDocumentsClipped() 54 void showShareOverLimit(int size); in showShareOverLimit() 164 public void showDocumentsClipped(int size) { in showDocumentsClipped() 169 public void showShareOverLimit(int size) { in showShareOverLimit()
|