Home
last modified time | relevance | path

Searched refs:getDataDirectory (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DFileUtil.java135 return FileUtil.isSameOrSubDirectory(Environment.getDataDirectory(), file); in isFileUriInPrivateDir()
150 return FileUtil.isSameOrSubDirectory(Environment.getDataDirectory(), filePath.toFile()); in isContentUriInPrivateDir()
/packages/modules/ExtServices/java/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java158 return storageManager.computeStorageCacheBytes(Environment.getDataDirectory()); in getReservedCacheSize()
160 return Environment.getDataDirectory().getUsableSpace() in getReservedCacheSize()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/utils/
DFilesUtil.java36 File systemCeDir = new File(Environment.getDataDirectory(), "system_ce"); in getDataSystemCeHCDirectoryForUser()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthConnectDatabaseTestRule.java57 when(Environment.getDataDirectory()).thenReturn(mockDataDirectory); in before()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DFrameworkAppSearchEnvironment.java50 File systemCeDir = new File(Environment.getDataDirectory(), "system_ce"); in getAppSearchDir()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/util/
DTrainingConditionsChecker.java109 "java.io.tmpdir", Environment.getDataDirectory().getPath())); in checkEnoughMemory()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetConfigStore.java42 private static final String LEGACY_IP_CONFIG_FILE_PATH = Environment.getDataDirectory()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxStorageHostTest.java1154 "/%s/user/%d/%s", getDataDirectory(volumeUuid), userId, packageName); in getAppDataPath()
1157 "/%s/user_de/%d/%s", getDataDirectory(volumeUuid), userId, packageName); in getAppDataPath()
1173 private String getDataDirectory(@Nullable String volumeUuid) { in getDataDirectory() method in SdkSandboxStorageHostTest
1188 getDataDirectory(volumeUuid), in getSdkDataRootPath()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DGrantTimePersistenceUnitTest.java98 Mockito.when(Environment.getDataDirectory()).thenReturn(mMockDataDirectory); in mockApexEnvironment()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java158 - Environment.getDataDirectory().getTotalSpace(); in getSystemSize()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStorageManager.java461 private String getDataDirectory(@Nullable String volumeUuid) { in getDataDirectory() method in SdkSandboxStorageManager
471 return getDataDirectory(volumeUuid) + (isCeData ? "/misc_ce/" : "/misc_de/") + userId in getSdkDataRootDirectory()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollector.java207 StatFs statFs = new StatFs(Environment.getDataDirectory().getPath()); in getAvailableStorageBytes()
/packages/modules/Profiling/service/java/com/android/os/profiling/
DRateLimiter.java538 File dataDir = Environment.getDataDirectory(); in setupPersistFiles()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectServiceImplTest.java224 when(Environment.getDataDirectory()).thenReturn(mMockDataDirectory); in setUp()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierIdProvider.java553 is = new FileInputStream(new File(Environment.getDataDirectory(), OTA_UPDATED_PB_PATH)); in getUpdateCarrierList()
DTelephonyProvider.java891 File updatedConfFile = new File(Environment.getDataDirectory(), OTA_UPDATED_APNS_PATH); in getApnConfFile()
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockServiceImpl.java221 Environment.getDataDirectory()); in DeviceLockServiceImpl()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DFileSystemPermissionTest.java171 assertFalse(isDirectoryWritable(Environment.getDataDirectory())); in testDataDirectoryNotWritable()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/
DBackupRestoreTest.java148 when(Environment.getDataDirectory()).thenReturn(mMockDataDirectory); in setUp()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java703 final File systemDataDir = new File(Environment.getDataDirectory(), "system"); in getLegacyStatsDir()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...