/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 | 1049 public String dataDir; field in ApplicationInfo 1632 pw.println(prefix + "dataDir=" + dataDir); in dump() 1745 proto.write(ApplicationInfoProto.DATA_DIR, dataDir); in dumpDebug() 1908 dataDir = orig.dataDir; in ApplicationInfo() 2000 dest.writeString8(dataDir); in writeToParcel() 2100 dataDir = source.readString8(); in ApplicationInfo() 2199 dataDir = Environment.getDataSystemDirectory().getAbsolutePath(); in initForUser() 2212 dataDir = deviceProtectedDataDir; in initForUser() 2214 dataDir = credentialProtectedDataDir; in initForUser()
|
/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/pm/dex/ |
D | ViewCompiler.java | 45 File dataDir = PackageInfoWithoutStateUtils.getDataDir(pkg, UserHandle.myUserId()); in compileLayouts() local 46 final String outDexFile = dataDir.getAbsolutePath() + "/code_cache/compiled_view.dex"; in compileLayouts()
|
D | DexManager.java | 402 String[] dataDirs = new String[] {ai.dataDir, ai.deviceProtectedDataDir, in cachePackageInfo() 418 for (String dataDir : dataDirs) { in cachePackageCodeLocation() 423 if (dataDir != null) { in cachePackageCodeLocation() 424 pcl.mergeAppDataDirs(dataDir, userId); in cachePackageCodeLocation() 1106 mergeAppDataDirs(ai.dataDir, userId); in PackageCodeLocations() 1126 public void mergeAppDataDirs(String dataDir, int userId) { in mergeAppDataDirs() argument 1128 dataDirs.add(dataDir); in mergeAppDataDirs() 1145 for (String dataDir : userDataDirs) { in searchDex() 1146 if (dexPath.startsWith(dataDir)) { in searchDex()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | SurfaceTracingTestBase.kt | 56 outputDir = instrumentation.targetContext.dataDir.toPath()) { in <lambda>() 65 outputDir = instrumentation.targetContext.dataDir.toPath()) { in <lambda>() 87 val tmpDir = instrumentation.targetContext.dataDir.toPath() in <lambda>()
|
/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/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 | 253 File dataDir = Environment.getDataDirectory(); in getMainLowSpaceThreshold() local 255 long lowThreshold = StorageManager.from(mContext).getStorageLowBytes(dataDir); in getMainLowSpaceThreshold() 271 File dataDir = Environment.getDataDirectory(); in getAvailableSpace() local 272 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/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
D | ResizeTasksSyncTest.kt | 49 val tmpDir = instrumentation.targetContext.dataDir.toPath() in <lambda>() 72 outputDir = instrumentation.targetContext.dataDir.toPath()) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 85 File dataDir = new File(Environment.getDataDirectory(), "rollback-observer"); in RollbackPackageHealthObserver() local 86 dataDir.mkdirs(); in RollbackPackageHealthObserver() 87 mLastStagedRollbackIdsFile = new File(dataDir, "last-staged-rollback-ids"); in RollbackPackageHealthObserver() 88 mTwoPhaseRollbackEnabledFile = new File(dataDir, "two-phase-rollback-enabled"); in RollbackPackageHealthObserver()
|
/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/app/ |
D | GameManagerSettings.java | 66 GameManagerSettings(File dataDir) { in GameManagerSettings() argument 67 mSystemDir = new File(dataDir, "system"); in GameManagerSettings()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 553 output.dataDir = PackageInfoWithoutStateUtils.SYSTEM_DATA_PATH; in initForUser() 582 output.dataDir = output.deviceProtectedDataDir; in initForUser() 584 output.dataDir = output.credentialProtectedDataDir; in initForUser() 595 output.dataDir = PackageInfoWithoutStateUtils.SYSTEM_DATA_PATH; in initForUser() 624 output.dataDir = output.deviceProtectedDataDir; in initForUser() 626 output.dataDir = output.credentialProtectedDataDir; in initForUser()
|
/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/tests/servicestests/src/com/android/server/timezone/ |
D | PackageStatusStorageTest.java | 50 File dataDir = context.getFilesDir(); in setUp() local 54 mPackageStatusStorage = new PackageStatusStorage(dataDir); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 139 public final File dataDir; field in MockSystemServices 143 dataDir = new File(realContext.getCacheDir(), name); in MockSystemServices() 144 DpmTestUtils.clearDir(dataDir); in MockSystemServices() 308 final File dir = new File(dataDir, "users/" + userId); in addUser()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 114 File dataDir = getContext().getDataDir(); in setUp() local 115 mBigFile = new File(dataDir, BIG_FILE); in setUp()
|
/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 | 968 ai.dataDir = "/data/user/" + userId + "/" + packageName; in getMockApplicationInfo() 998 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary1.dex"); in getSecondaryDexPaths() 999 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary2.dex"); in getSecondaryDexPaths() 1000 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary3.dex"); in getSecondaryDexPaths() 1006 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary4.dex"); in getSecondaryDexPathsForOwnUse() 1007 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary5.dex"); in getSecondaryDexPathsForOwnUse()
|