/frameworks/base/core/java/android/app/ |
D | DexLoadReporter.java | 75 /*package*/ void registerAppDataDir(String packageName, String dataDir) { in registerAppDataDir() argument 77 Slog.i(TAG, "Package " + packageName + " registering data dir: " + dataDir); in registerAppDataDir() 81 if (dataDir != null) { in registerAppDataDir() 83 mDataDirs.add(dataDir); in registerAppDataDir() 181 for (String dataDir : dataDirs) { in isSecondaryDexFile() 182 if (FileUtils.contains(dataDir, dexPath)) { in isSecondaryDexFile()
|
/frameworks/base/core/java/android/content/pm/ |
D | InstrumentationInfo.java | 97 public String dataDir; field in InstrumentationInfo 137 dataDir = orig.dataDir; in InstrumentationInfo() 168 dest.writeString8(dataDir); in writeToParcel() 200 dataDir = source.readString8(); in InstrumentationInfo() 220 ai.dataDir = dataDir; in copyTo()
|
D | ApplicationInfo.java | 1105 public String dataDir; field in ApplicationInfo 1701 pw.println(prefix + "dataDir=" + dataDir); in dump() 1817 proto.write(ApplicationInfoProto.DATA_DIR, dataDir); in dumpDebug() 1983 dataDir = orig.dataDir; in ApplicationInfo() 2077 dest.writeString8(dataDir); in writeToParcel() 2180 dataDir = source.readString8(); in ApplicationInfo() 2283 dataDir = Environment.getDataSystemDirectory().getAbsolutePath(); in initForUser() 2296 dataDir = deviceProtectedDataDir; in initForUser() 2298 dataDir = credentialProtectedDataDir; in initForUser()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 374 String[] dataDirs = new String[] {ai.dataDir, ai.deviceProtectedDataDir, in cachePackageInfo() 390 for (String dataDir : dataDirs) { in cachePackageCodeLocation() 395 if (dataDir != null) { in cachePackageCodeLocation() 396 pcl.mergeAppDataDirs(dataDir, userId); in cachePackageCodeLocation() 718 mergeAppDataDirs(ai.dataDir, userId); in PackageCodeLocations() 738 public void mergeAppDataDirs(String dataDir, int userId) { in mergeAppDataDirs() argument 740 dataDirs.add(dataDir); in mergeAppDataDirs() 757 for (String dataDir : userDataDirs) { in searchDex() 758 if (dexPath.startsWith(dataDir)) { in searchDex()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 68 File dataDir, in createUserBackupManagerServiceAndRunTasks() argument 71 userId, context, startBackupThread(null), baseStateDir, dataDir, transportManager); in createUserBackupManagerServiceAndRunTasks() 86 File dataDir, in createUserBackupManagerServiceAndRunTasks() argument 95 dataDir, in createUserBackupManagerServiceAndRunTasks()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | IntegrityFileManager.java | 87 IntegrityFileManager(RuleParser ruleParser, RuleSerializer ruleSerializer, File dataDir) { in IntegrityFileManager() argument 90 mDataDir = dataDir; in IntegrityFileManager() 92 mRulesDir = new File(dataDir, "integrity_rules"); in IntegrityFileManager() 93 mStagingDir = new File(dataDir, "integrity_staging"); in IntegrityFileManager()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDex.java | 115 new File(applicationInfo.dataDir), in install() 172 File dataDir = new File(applicationInfo.dataDir); in installInstrumentation() local 176 dataDir, in installInstrumentation() 183 dataDir, in installInstrumentation() 207 private static void doInstallation(Context mainContext, File sourceApk, File dataDir, in doInstallation() argument 243 File dexDir = getDexDir(mainContext, dataDir, secondaryFolderName); in doInstallation() 482 private static File getDexDir(Context context, File dataDir, String secondaryFolderName) in getDexDir() argument 484 File cache = new File(dataDir, CODE_CACHE_NAME); in getDexDir()
|
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | BackupRestoreFileStorageTest.kt | 38 application.dataDir in dataDirCompat() 40 File(application.applicationInfo.dataDir) in dataDirCompat()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AbstractStatsBase.java | 57 File dataDir = Environment.getDataDirectory(); in getFile() local 58 File systemDir = new File(dataDir, "system"); in getFile()
|
D | OtaDexoptService.java | 258 File dataDir = Environment.getDataDirectory(); in getMainLowSpaceThreshold() local 260 long lowThreshold = StorageManager.from(mContext).getStorageLowBytes(dataDir); in getMainLowSpaceThreshold() 276 File dataDir = Environment.getDataDirectory(); in getAvailableSpace() local 277 long usableSpace = dataDir.getUsableSpace(); in getAvailableSpace()
|
/frameworks/base/services/incremental/ |
D | BinderIncrementalService.cpp | 40 const char* dataDir = getenv(kAndroidDataEnv.data()); in getIncrementalDir() local 41 if (!dataDir || !*dataDir) { in getIncrementalDir() 42 dataDir = kDataDir.data(); in getIncrementalDir() 44 return path::normalize(path::join(dataDir, kIncrementalSubDir)); in getIncrementalDir()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorDumpsysUtils.java | 252 File dataDir = new File(Environment.getDataDirectory(), BACKUP_PERSISTENT_DIR); in getBMMEventsFile() local 253 File fname = new File(dataDir, "bmmevents.txt"); in getBMMEventsFile() 486 File dataDir = new File(Environment.getDataDirectory(), BACKUP_PERSISTENT_DIR); in getSetUpDateFile() local 487 File setupDateFile = new File(dataDir, INITIAL_SETUP_TIMESTAMP_KEY + ".txt"); in getSetUpDateFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbRestoreEngine.java | 49 File dataDir, FileMetadata info, ParcelFileDescriptor inFD, IBackupAgent agent, in KeyValueAdbRestoreEngine() argument 52 mDataDir = dataDir; in KeyValueAdbRestoreEngine()
|
D | KeyValueAdbBackupEngine.java | 72 File baseStateDir, File dataDir) { in KeyValueAdbBackupEngine() argument 78 mDataDir = dataDir; in KeyValueAdbBackupEngine()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserFileManagerImpl.kt | 131 val path = Environment.buildPath(context.dataDir, SHARED_PREFS, "${file.path}.xml") in <lambda>() 142 deleteFiles(File(context.dataDir, SHARED_PREFS)) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EntropyMixer.java | 271 File dataDir = Environment.getDataDirectory(); in getSystemDir() local 272 File systemDir = new File(dataDir, "system"); in getSystemDir()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 97 File dataDir = new File(Environment.getDataDirectory(), "rollback-observer"); in RollbackPackageHealthObserver() local 98 dataDir.mkdirs(); in RollbackPackageHealthObserver() 99 mLastStagedRollbackIdsFile = new File(dataDir, "last-staged-rollback-ids"); in RollbackPackageHealthObserver() 100 mTwoPhaseRollbackEnabledFile = new File(dataDir, "two-phase-rollback-enabled"); in RollbackPackageHealthObserver()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 118 File dataDir = getContext().getDataDir(); in setUp() local 119 mBigFile = new File(dataDir, BIG_FILE); in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 427 ai.dataDir = null; in updateApplicationInfo() 1066 output.dataDir = SYSTEM_DATA_PATH; in initForUser() 1073 output.dataDir = null; in initForUser() 1102 output.dataDir = output.deviceProtectedDataDir; in initForUser() 1104 output.dataDir = output.credentialProtectedDataDir; in initForUser() 1115 output.dataDir = SYSTEM_DATA_PATH; in initForUser() 1122 output.dataDir = null; in initForUser() 1151 output.dataDir = output.deviceProtectedDataDir; in initForUser() 1153 output.dataDir = output.credentialProtectedDataDir; in initForUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 149 public final File dataDir; field in MockSystemServices 156 dataDir = new File(realContext.getCacheDir(), name); in MockSystemServices() 157 DpmTestUtils.clearDir(dataDir); in MockSystemServices() 334 final File dir = new File(dataDir, "users/" + userId); in addUser()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/ |
D | ServicesTests.java | 92 new File(InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir); in setup() 317 … InstrumentationRegistry.getTargetContext().getApplicationInfo().dataDir, in getSecondaryFolder()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 971 ai.dataDir = "/data/user/" + userId + "/" + packageName; in getMockApplicationInfo() 1001 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary1.dex"); in getSecondaryDexPaths() 1002 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary2.dex"); in getSecondaryDexPaths() 1003 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary3.dex"); in getSecondaryDexPaths() 1009 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary4.dex"); in getSecondaryDexPathsForOwnUse() 1010 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary5.dex"); in getSecondaryDexPathsForOwnUse()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 81 GameManagerSettings(File dataDir) { in GameManagerSettings() argument 82 mSystemDir = new File(dataDir, "system"); in GameManagerSettings()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 577 output.dataDir = output.deviceProtectedDataDir; in initForUser() 579 output.dataDir = output.credentialProtectedDataDir; in initForUser() 615 output.dataDir = output.deviceProtectedDataDir; in initForUser() 617 output.dataDir = output.credentialProtectedDataDir; in initForUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserFileManagerImplTest.kt | 134 Environment.buildPath(context.dataDir, UserFileManagerImpl.SHARED_PREFS, "tmp.xml") in testMigrateSharedPrefs()
|