Home
last modified time | relevance | path

Searched refs:sizeInBytes (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/codeprovider/src/com/android/tests/codeprovider/storagetest_1/
DStorageTestSdk1ApiImpl.java70 public void createFilesInStorage(int sizeInBytes) { in createFilesInStorage() argument
75 createFilesinStorage(sizeInBytes, getSharedStoragePath()); in createFilesInStorage()
76 createFilesinStorage(sizeInBytes, getSharedStorageCachePath()); in createFilesInStorage()
77 createFilesinStorage(sizeInBytes, mContext.getDataDir().toString()); in createFilesInStorage()
78 createFilesinStorage(sizeInBytes, mContext.getDataDir().toString() + "/cache"); in createFilesInStorage()
84 private void createFilesinStorage(int sizeInBytes, String path) throws IOException { in createFilesinStorage() argument
85 final byte[] buffer = new byte[sizeInBytes]; in createFilesinStorage()
DIStorageTestSdk1Api.aidl20 void createFilesInStorage(int sizeInBytes); in createFilesInStorage() argument
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DFileUtil.java51 float sizeInBytes = 0; in getStorageForFiles() local
55 sizeInBytes += getStorageForFiles(file.listFiles()); in getStorageForFiles()
57 sizeInBytes += file.length(); in getStorageForFiles()
60 return sizeInBytes; in getStorageForFiles()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/model/
DMedia.kt39 val sizeInBytes: Long constant
77 out.writeLong(sizeInBytes) in writeToParcel()
91 override val sizeInBytes: Long, constant in com.android.photopicker.data.model.Media.Image
136 override val sizeInBytes: Long, constant in com.android.photopicker.data.model.Media.Video
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java57 long sizeInBytes, in FilmstripItemData() argument
68 mSizeInBytes = sizeInBytes; in FilmstripItemData()
266 public Builder withSizeInBytes(long sizeInBytes) { in withSizeInBytes() argument
267 mSizeInBytes = sizeInBytes; in withSizeInBytes()
DVideoItemData.java33 Size dimensions, long sizeInBytes, int orientation, in VideoItemData() argument
36 sizeInBytes, orientation, location); in VideoItemData()
DVideoDataFactory.java67 long sizeInBytes = c.getLong(VideoDataQuery.COL_SIZE); in fromCursor() local
84 sizeInBytes, in fromCursor()
DPhotoDataFactory.java65 long sizeInBytes = c.getLong(PhotoDataQuery.COL_SIZE); in fromCursor() local
81 sizeInBytes, in fromCursor()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxStorageTestApp.java138 final int sizeInBytes = 10000000; // 10 MB in testSdkDataIsAttributedToApp() local
139 mSdk.createFilesInStorage(sizeInBytes); in testSdkDataIsAttributedToApp()
144 long deltaAppSize = 4 * sizeInBytes; in testSdkDataIsAttributedToApp()
145 long deltaCacheSize = 2 * sizeInBytes; in testSdkDataIsAttributedToApp()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/
DMediaProviderClient.kt370 val sizeInBytes: Long = getLong(getColumnIndexOrThrow(MediaResponse.SIZE.key)) in <lambda>() constant
385 sizeInBytes = sizeInBytes, in <lambda>()
400 sizeInBytes = sizeInBytes, in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/model/
DMediaParcelableTest.kt59 sizeInBytes = 1000L, in testMediaImageIsParcelable()
104 sizeInBytes = 1000L, in testMediaVideoIsParcelable()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/
DTestMediaProvider.kt77 sizeInBytes = 10, in <lambda>()
189 mediaItem.sizeInBytes.toString(), in getMedia()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/
DStubProvider.kt75 sizeInBytes = 1000L, in getTestMediaFromStubProvider()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/
DFakeInMemoryMediaPagingSource.kt71 sizeInBytes = 1000L, in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/
DPhotoGridViewModelTest.kt72 sizeInBytes = 1000L,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/albumgrid/
DAlbumGridViewModelTest.kt72 sizeInBytes = 1000L,
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipAidlImplTest.java143 one.sizeInBytes = 54321; in testRingBufferStatus()
154 two.sizeInBytes = 300; in testRingBufferStatus()
DWifiChipHidlImplTest.java189 one.sizeInBytes = 54321; in testRingBufferStatus()
200 two.sizeInBytes = 300; in testRingBufferStatus()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewViewModelTest.kt138 sizeInBytes = 1000L,
166 sizeInBytes = 1000L,
DPreviewFeatureTest.kt193 sizeInBytes = 1000L,
221 sizeInBytes = 1000L,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModelTest.kt113 sizeInBytes = 1000L,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/
DSelectionBarFeatureTest.kt152 sizeInBytes = 1000L,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/
DMediaPreloaderTest.kt178 sizeInBytes = 1000L, in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/components/mediagrid/
DMediaGridTest.kt169 sizeInBytes = 1000L, in <lambda>()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChipAidlImpl.java1311 ans.ringBufferByteSize = h.sizeInBytes; in halToFrameworkRingBufferStatus()

12