Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 1090) sorted by relevance

12345678910>>...44

/packages/modules/StatsD/statsd/benchmark/
Dlog_event_benchmark.cpp40 size_t size; in createStatsEvent() local
60 size_t size = createStatsEvent(msg); in BM_LogEventCreation() local
70 size_t size = createStatsEvent(msg); in BM_LogEventCreationWithPrefetch() local
85 size_t size = createStatsEvent(msg); in BM_LogEventCreationWithPrefetchOnly() local
97 size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMedium() local
108 size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMediumWithPrefetch() local
123 size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMediumWithPrefetchOnly() local
135 size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLarge() local
146 size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLargeWithPrefetch() local
161 size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLargeWithPrefetchOnly() local
[all …]
/packages/modules/Bluetooth/system/profile/sdp/common/
Ddata_element_reader.cc47 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/
Dbuffer_with_extendable_buffer.cpp26 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/
Dbyte_array_view.h34 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/
DResolutionUtil.java105 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/test/fuzzers/ringbuffer/
Dfuzz_ringbuffer.cc46 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/apps/Settings/src/com/android/settings/deviceinfo/
DStorageItemPreference.java51 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
DMigrateEstimateTask.java85 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/cpp/car_binder_lib/largeParcelable/
DSharedMemory.cpp50 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/
DPlaylist.java83 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/StatsD/statsd/tests/
DLogEvent_test.cpp58 size_t size; in createFieldWithBoolAnnotationLogEvent() local
79 size_t size; in createFieldWithIntAnnotationLogEvent() local
101 size_t size; in createAtomLevelIntAnnotationLogEvent() local
123 size_t size; in createAtomLevelBoolAnnotationLogEvent() local
177 bool ParseBuffer(LogEvent& logEvent, const uint8_t* buf, size_t size) { in ParseBuffer()
211 size_t size; in TEST_P() local
261 size_t size; in TEST_P() local
287 size_t size; in TEST() local
312 size_t size; in TEST_P() local
349 size_t size; in TEST_P() local
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DDependenciesTest.java53 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/Bluetooth/system/osi/src/
Dallocator.cc29 size_t size = strlen(str) + 1; // + 1 for the null terminator in osi_strdup() local
43 size_t size = strlen(str); in osi_strndup() local
59 void* osi_malloc(size_t size) { in osi_malloc()
67 void* osi_calloc(size_t size) { in osi_calloc()
/packages/modules/Bluetooth/tools/pdl/scripts/
Dpacket_runtime.h42 size_t size) in slice()
48 slice subrange(size_t offset, size_t size) const { in subrange()
94 void skip(size_t size) { in skip()
104 size_t size() const { return size_; } in size() function
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DCachedDisplayInfo.java33 public final Point size; field in CachedDisplayInfo
41 public CachedDisplayInfo(Point size, int rotation) { in CachedDisplayInfo()
45 public CachedDisplayInfo(Point size, int rotation, Rect cutout) { in CachedDisplayInfo()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java59 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/
DShortcutDragPreviewProvider.java45 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/Camera2/src/com/android/camera/util/
DDebugBoundsRenderer.java32 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/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStoragePreference.java53 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/modules/Bluetooth/system/gd/l2cap/internal/
Ddynamic_channel_allocator_fuzz_test.cc38 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/
DSharedMemoryAndroid.cpp51 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/
DRedactionInfo.cpp81 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/
DGlideFilmstripManager.java63 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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DAutoFitRecyclerViewTest.java36 final int size = 520; in testMeasure_spanCountIsRounded() local
59 final int size = 1200; in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() local
84 final int size = 1200; in testSetMinimumSpanCount_resultLargerThanMinSpanCount() local
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java48 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()

12345678910>>...44