Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/os/
DEnvironment.java264 getDataDirectory(), "misc"), "user"), Integer.toString(userId)); in getUserConfigDirectory()
270 public static File getDataDirectory() { in getDataDirectory() method in Environment
275 public static File getDataDirectory(String volumeUuid) { in getDataDirectory() method in Environment
291 return new File(getDataDirectory(), "system"); in getDataSystemDirectory()
299 return buildPath(getDataDirectory(), "system_de"); in getDataSystemDeDirectory()
307 return buildPath(getDataDirectory(), "system_ce"); in getDataSystemCeDirectory()
327 return buildPath(getDataDirectory(), "system_ce", String.valueOf(userId)); in getDataSystemCeDirectory()
347 return buildPath(getDataDirectory(), "system_de", String.valueOf(userId)); in getDataSystemDeDirectory()
352 return new File(getDataDirectory(), "misc"); in getDataMiscDirectory()
357 return buildPath(getDataDirectory(), "misc_ce"); in getDataMiscCeDirectory()
[all …]
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
DLowStorageTest.java51 File path = Environment.getDataDirectory(); in onCreate()
79 File path = Environment.getDataDirectory(); in fillupdisk()
121 File path = Environment.getDataDirectory(); in updateInfo()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java98 abstract public File getDataDirectory(); in getDataDirectory() method in PackageHelper.TestableInterface
133 public File getDataDirectory() { in getDefaultTestableInterface()
134 return Environment.getDataDirectory(); in getDefaultTestableInterface()
263 final UUID target = storage.getUuidForPath(Environment.getDataDirectory()); in fitsOnInternal()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFiles.java40 return new File(Environment.getDataDirectory(), BACKUP_PERSISTENT_DIR); in getBaseStateDir()
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
DBackgroundDexOptServiceIntegrationTests.java185 return Environment.getDataDirectory().getUsableSpace(); in getDataDirUsableSpace()
232 return storageManager.getStorageLowBytes(Environment.getDataDirectory()); in getStorageLowBytes()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetConfigStore.java31 private static final String ipConfigFile = Environment.getDataDirectory() +
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java54 File baseDir = new File(Environment.getDataDirectory(), "local"); in dumpWindowToFile()
62 new File(new File(Environment.getDataDirectory(), "local"), "window_dump.xml"), in dumpWindowToFile()
DUiDevice.java772 new File(new File(Environment.getDataDirectory(), "local/tmp"), fileName), in dumpWindowHierarchy()
/frameworks/base/services/core/java/com/android/server/am/
DDumpHeapProvider.java42 File dataDir = Environment.getDataDirectory(); in onCreate()
/frameworks/base/services/core/java/com/android/server/pm/
DAbstractStatsBase.java57 File dataDir = Environment.getDataDirectory(); in getFile()
DOtaDexoptService.java238 File dataDir = Environment.getDataDirectory(); in getMainLowSpaceThreshold()
256 File dataDir = Environment.getDataDirectory(); in getAvailableSpace()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java106 File sysKeystoreDir = new File(Environment.getDataDirectory(), in getKeyFile()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorage.java70 new File(Environment.getDataDirectory(), ROOT_PATH)); in newInstance()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java122 "update", ".zip", new File(Environment.getDataDirectory() + "/ota_package")); in createNewFileWithPermissions()
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java76 File tmp = new File(Environment.getDataDirectory(), "system/perftest.tmp"); in dump()
122 reportFreeSpace(Environment.getDataDirectory(), "Data", pw, proto, in dump()
DEntropyMixer.java213 File dataDir = Environment.getDataDirectory(); in getSystemDir()
DSystemServiceManager.java332 File dataDir = Environment.getDataDirectory(); in ensureSystemDir()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DCarrierTestOverride.java176 File carrierTestConfigFile = new File(Environment.getDataDirectory(), in loadCarrierTestOverrides()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java710 File systemDir = new File(getDataDirectory(), "system"); in migrateIfNecessaryLocked()
816 protected File getDataDirectory() { in getDataDirectory() method in RegisteredServicesCache
817 return Environment.getDataDirectory(); in getDataDirectory()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java311 return Environment.getDataDirectory().getUsableSpace() < getMemoryLowThreshold();
317 .getStorageLowBytes(Environment.getDataDirectory());
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java81 ? new File(Environment.getDataDirectory(), SYSTEM_PATH) in getInputMethodDir()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java818 if (FileUtils.contains(Environment.getDataDirectory().getAbsolutePath(), pathString)) { in getUuidForPath()
1218 FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace() in getPrimaryStoragePathAndSize()
1224 return FileUtils.roundStorageSize(Environment.getDataDirectory().getTotalSpace() in getPrimaryStorageSize()
1458 if (FileUtils.contains(Environment.getDataDirectory(), file)) { in isEncrypted()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackPackageHealthObserver.java90 File dataDir = new File(Environment.getDataDirectory(), "rollback-observer"); in RollbackPackageHealthObserver()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java437 File baseDir = userId == UserHandle.USER_SYSTEM ? Environment.getDataDirectory() in getStashFile()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java137 public File getDataDirectory() { in getDataDirectory() method in PackageHelperTests.MockedInterface

123