Home
last modified time | relevance | path

Searched refs:getDataBytes (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxStorageTestApp.java148 final long appSizeAppStats = finalAppStats.getDataBytes() - initialAppStats.getDataBytes(); in testSdkDataIsAttributedToApp()
150 finalUserStats.getDataBytes() - initialUserStats.getDataBytes(); in testSdkDataIsAttributedToApp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStorageSizesControllerTest.java80 when(result.getDataBytes()).thenReturn(100L); in properlyPopulatedAfterValidEntry()
97 when(result.getDataBytes()).thenReturn(100L); in fakeCacheFlagSetsCacheToZero()
115 when(result.getDataBytes()).thenReturn(100L); in fakeDataFlagSetsDataAndCacheToZero()
DAppStorageSettingsTest.java103 when(stats.getDataBytes()).thenReturn(10000L); in updateUiWithSize_hasDataAndCache_shouldEnableClearButtons()
126 when(stats.getDataBytes()).thenReturn(10000L); in updateUiWithSize_mainlineModule_shouldDisableClearButtons()
DFetchPackageStorageAsyncLoaderTest.java63 when(stats.getDataBytes()).thenReturn(2L); in worksForValidPackageNameAndUid()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageApplicationUserDataPreferenceController.java40 : getAppStorageStats().getDataBytes() - getAppStorageStats().getCacheBytes(); in getSize()
DStorageApplicationTotalSizePreferenceController.java41 : getAppStorageStats().getDataBytes() - getAppStorageStats().getCacheBytes(); in getSize()
DStorageAsyncLoader.java105 long dataSize = stats.getDataBytes(); in getStorageResultForUser()
DStorageApplicationActionButtonsPreferenceController.java225 long dataSize = data.getDataBytes() - cacheSize; in onDataLoaded()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DStorageMeasurement.java220 addValue(details.usersSize, user.id, stats.getDataBytes()); in measureExactStorage()
221 addValue(details.appsSize, user.id, stats.getAppBytes() + stats.getDataBytes()); in measureExactStorage()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java75 mDataCleared ? 0 : mLastResult.getDataBytes() - mLastResult.getCacheBytes(); in updateUi()
DAppStorageSettings.java569 long dataSize = result.getDataBytes() - cacheSize;
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java182 values.put(RecordedPrograms.COLUMN_RECORDING_DATA_BYTES, recordedProgram.getDataBytes()); in toValues()
388 public abstract long getDataBytes(); in getDataBytes() method in RecordedProgram
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java183 final long dataSize = stats.getDataBytes(); in getAppsAndGamesSize()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java218 when(storageStats.getDataBytes()).thenReturn(dataSize + cacheSize); in addPackage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java466 public byte[] getDataBytes(int length) { in getDataBytes() method in BluetoothMapbMessage.BMsgReader
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java544 legacy.dataSize = stats.getDataBytes(); in requestSize()
1358 legacy.dataSize = stats.getDataBytes(); in handleMessage()