/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() 174 for (String dataDir : dataDirs) { in isSecondaryDexFile() 175 if (FileUtils.contains(dataDir, dexPath)) { in isSecondaryDexFile()
|
D | IApplicationThread.aidl | 140 void attachStartupAgents(String dataDir); in attachStartupAgents() argument
|
/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.writeString(dataDir); in writeToParcel() 200 dataDir = source.readString(); in InstrumentationInfo() 220 ai.dataDir = dataDir; in copyTo()
|
D | ApplicationInfo.java | 918 public String dataDir; field in ApplicationInfo 1349 pw.println(prefix + "dataDir=" + dataDir); in dump() 1431 proto.write(ApplicationInfoProto.DATA_DIR, dataDir); in writeToProto() 1575 dataDir = orig.dataDir; in ApplicationInfo() 1654 dest.writeString(dataDir); in writeToParcel() 1730 dataDir = source.readString(); in ApplicationInfo() 1810 dataDir = Environment.getDataSystemDirectory().getAbsolutePath(); in initForUser() 1823 dataDir = deviceProtectedDataDir; in initForUser() 1825 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/multidex/library/src/androidx/multidex/ |
D | MultiDex.java | 115 new File(applicationInfo.dataDir), in install() 169 File dataDir = new File(applicationInfo.dataDir); in installInstrumentation() local 173 dataDir, in installInstrumentation() 180 dataDir, in installInstrumentation() 201 private static void doInstallation(Context mainContext, File sourceApk, File dataDir, in doInstallation() argument 237 File dexDir = getDexDir(mainContext, dataDir, secondaryFolderName); in doInstallation() 476 private static File getDexDir(Context context, File dataDir, String secondaryFolderName) in getDexDir() argument 478 File cache = new File(dataDir, CODE_CACHE_NAME); in getDexDir()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 312 String[] dataDirs = new String[] {ai.dataDir, ai.deviceProtectedDataDir, in cachePackageInfo() 328 for (String dataDir : dataDirs) { in cachePackageCodeLocation() 333 if (dataDir != null) { in cachePackageCodeLocation() 334 pcl.mergeAppDataDirs(dataDir, userId); in cachePackageCodeLocation() 785 mergeAppDataDirs(ai.dataDir, userId); in PackageCodeLocations() 805 public void mergeAppDataDirs(String dataDir, int userId) { in mergeAppDataDirs() argument 807 dataDirs.add(dataDir); in mergeAppDataDirs() 824 for (String dataDir : userDataDirs) { in searchDex() 825 if (dexPath.startsWith(dataDir)) { in searchDex()
|
D | ViewCompiler.java | 41 final String outDexFile = appInfo.dataDir + "/code_cache/compiled_view.dex"; in compileLayouts()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | DumpHeapProvider.java | 42 File dataDir = Environment.getDataDirectory(); in onCreate() local 43 File systemDir = new File(dataDir, "system"); in onCreate()
|
/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 | 238 File dataDir = Environment.getDataDirectory(); in getMainLowSpaceThreshold() local 240 long lowThreshold = StorageManager.from(mContext).getStorageLowBytes(dataDir); in getMainLowSpaceThreshold() 256 File dataDir = Environment.getDataDirectory(); in getAvailableSpace() local 257 long usableSpace = dataDir.getUsableSpace(); in getAvailableSpace()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EntropyMixer.java | 213 File dataDir = Environment.getDataDirectory(); in getSystemDir() local 214 File systemDir = new File(dataDir, "system"); in getSystemDir()
|
D | SystemServiceManager.java | 343 File dataDir = Environment.getDataDirectory(); in ensureSystemDir() local 344 sSystemDir = new File(dataDir, "system"); in ensureSystemDir()
|
/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 | 71 File baseStateDir, File dataDir) { in KeyValueAdbBackupEngine() argument 77 mDataDir = dataDir; in KeyValueAdbBackupEngine()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 114 public final File dataDir; field in MockSystemServices 117 dataDir = new File(realContext.getCacheDir(), name); in MockSystemServices() 118 DpmTestUtils.clearDir(dataDir); in MockSystemServices() 244 final File dir = new File(dataDir, "users/" + userId); in addUser()
|
D | DevicePolicyManagerServiceMigrationTest.java | 65 (new File(getServices().dataDir, OwnersTestable.LEGACY_FILE)).getAbsoluteFile(), in testMigration() 203 (new File(getServices().dataDir, OwnersTestable.LEGACY_FILE)).getAbsoluteFile(), in testMigration2_profileOwnerOnUser0()
|
D | DevicePolicyManagerServiceTestable.java | 81 return mServices.dataDir; in environmentGetDataSystemDirectory()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackPackageHealthObserver.java | 98 File dataDir = new File(Environment.getDataDirectory(), "rollback-observer"); in RollbackPackageHealthObserver() local 99 dataDir.mkdirs(); in RollbackPackageHealthObserver() 100 mLastStagedRollbackIdFile = new File(dataDir, "last-staged-rollback-id"); in RollbackPackageHealthObserver()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 113 File dataDir = getContext().getDataDir(); in setUp() local 114 mBigFile = new File(dataDir, BIG_FILE); in setUp()
|
/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/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/servicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 735 ai.dataDir = "/data/user/" + userId + "/" + packageName; in getMockApplicationInfo() 765 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary1.dex"); in getSecondaryDexPaths() 766 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary2.dex"); in getSecondaryDexPaths() 767 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary3.dex"); in getSecondaryDexPaths() 773 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary4.dex"); in getSecondaryDexPathsForOwnUse() 774 paths.add(mPackageInfo.applicationInfo.dataDir + "/secondary5.dex"); in getSecondaryDexPathsForOwnUse()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 426 File dataDir = Environment.getDataDirectory(); in assertInstall() local 427 String appInstallPath = new File(dataDir, "app").getPath(); in assertInstall() 428 String drmInstallPath = new File(dataDir, "app-private").getPath(); in assertInstall() 475 final File nativeLibSymLink = new File(info.dataDir, "lib"); in assertInstall() 975 File file = new File(info.dataDir); in deleteFromRawResource() 1228 info.dataDir, info.nativeLibraryDir); in moveFromRawResource() 2903 File dexModuleDir = new File(info.dataDir, "module-dir"); in testRegisterDexModuleSuccessfully() 2933 String nonExistentApk = Paths.get(info.dataDir, "non-existent.apk").toString(); in testRegisterDexModuleNotExists()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 129 public static JobStore initAndGetForTesting(Context context, File dataDir) { in initAndGetForTesting() argument 130 JobStore jobStoreUnderTest = new JobStore(context, new Object(), dataDir); in initAndGetForTesting() 138 private JobStore(Context context, Object lock, File dataDir) { in JobStore() argument 143 File systemDir = new File(dataDir, "system"); in JobStore()
|