Home
last modified time | relevance | path

Searched refs:sizeBytes (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_persistable_bundle.cpp156 int32_t sizeBytes = APersistableBundle_getBooleanVector(bundle, "boolv", outBoolV, 0); in TEST_F() local
157 EXPECT_GT(sizeBytes, 0); in TEST_F()
158 outBoolV = (bool*)malloc(sizeBytes); in TEST_F()
159 sizeBytes = APersistableBundle_getBooleanVector(bundle, "boolv", outBoolV, sizeBytes); in TEST_F()
165 sizeBytes = APersistableBundle_getIntVector(bundle, "intv", outIntV, 0); in TEST_F()
166 EXPECT_GT(sizeBytes, 0); in TEST_F()
167 outIntV = (int32_t*)malloc(sizeBytes); in TEST_F()
168 sizeBytes = APersistableBundle_getIntVector(bundle, "intv", outIntV, sizeBytes); in TEST_F()
174 sizeBytes = APersistableBundle_getLongVector(bundle, "longv", outLongV, 0); in TEST_F()
175 EXPECT_GT(sizeBytes, 0); in TEST_F()
[all …]
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPickerProviderMediaGenerator.java95 public Cursor getMedia(long generation, String albumId, String mimeType, long sizeBytes, in getMedia() argument
97 final Cursor cursor = getCursor(mMedia, generation, albumId, mimeType, sizeBytes, in getMedia()
104 public Cursor getAlbums(String mimeType, long sizeBytes) { in getAlbums() argument
105 final Cursor cursor = getCursor(mAlbums, mimeType, sizeBytes); in getAlbums()
155 int standardMimeTypeExtension, long sizeBytes, boolean isFavorite, int resId) in addMedia() argument
159 standardMimeTypeExtension, sizeBytes, isFavorite, resId)); in addMedia()
203 String mimeType, int standardMimeTypeExtension, long sizeBytes, in createTestMedia() argument
207 standardMimeTypeExtension, sizeBytes, /* durationMs */ 0, ++mLastSyncGeneration, in createTestMedia()
230 String albumId, String mimeType, long sizeBytes, boolean isDeleted) { in getCursor() argument
240 && matchesFilter(media, albumId, mimeType, sizeBytes)) { in getCursor()
[all …]
/cts/tests/PhotoPicker/src/android/photopicker/cts/cloudproviders/
DCloudProviderSecondary.java53 queryExtras.mimeType, queryExtras.sizeBytes, queryExtras.pageSize); in onQueryMedia()
67 return mMediaGenerator.getAlbums(queryExtras.mimeType, queryExtras.sizeBytes); in onQueryAlbums()
DCloudProviderPrimary.java68 queryExtras.mimeType, queryExtras.sizeBytes, queryExtras.pageSize); in onQueryMedia()
82 return mMediaGenerator.getAlbums(queryExtras.mimeType, queryExtras.sizeBytes); in onQueryAlbums()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEvents.java121 byte[] sizeBytes = new byte[BYTES_PER_INT]; in readEvent()
122 fileInputStream.read(sizeBytes); in readEvent()
124 int size = ByteBuffer.wrap(sizeBytes).getInt(); in readEvent()