/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbRestoreEngine.java | 41 private final File mDataDir; field in KeyValueAdbRestoreEngine 52 mDataDir = dataDir; in KeyValueAdbRestoreEngine() 72 File restoreDataName = new File(mDataDir, pkg + ".restore"); in prepareRestoreData() 73 File sortedDataName = new File(mDataDir, pkg + ".sorted"); in prepareRestoreData() 85 File newStateName = new File(mDataDir, pkg + ".new"); in invokeAgentForAdbRestore()
|
D | KeyValueAdbBackupEngine.java | 59 private final File mDataDir; field in KeyValueAdbBackupEngine 78 mDataDir = dataDir; in KeyValueAdbBackupEngine() 85 mBackupDataName = new File(mDataDir, in KeyValueAdbBackupEngine() 90 mManifestFile = new File(mDataDir, BACKUP_MANIFEST_FILENAME); in KeyValueAdbBackupEngine() 219 mDataDir, in run() 229 mDataDir.getAbsolutePath(), in run()
|
D | UserBackupManagerService.java | 401 private final File mDataDir; field in UserBackupManagerService 536 mDataDir = null; in UserBackupManagerService() 614 mDataDir = Objects.requireNonNull(dataDir, "dataDir cannot be null"); in UserBackupManagerService() 841 return mDataDir; in getDataDir()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | SensorPrivacyServiceMockingTest.java | 93 String mDataDir = mContext.getApplicationInfo().dataDir; field in SensorPrivacyServiceMockingTest 97 new File(mDataDir, "sensor_privacy.xml").delete(); in setUp() 98 new File(mDataDir, "sensor_privacy_impl.xml").delete(); in setUp() 215 doReturn(new File(mDataDir)).when(() -> Environment.getDataSystemDirectory()); in migrateFromFile() 223 new File(mDataDir, "sensor_privacy.xml").toPath(), in migrateFromFile() 272 doReturn(new File(mDataDir)).when(() -> Environment.getDataSystemDirectory()); in getPersistedStateV2() 275 new File(mDataDir, "sensor_privacy_impl.xml").toPath(), in getPersistedStateV2()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 64 private File mDataDir; field in RegisteredServicesCacheTest 72 mDataDir = new File(cacheDir, "testServicesCache"); in setUp() 73 FileUtils.deleteContents(mDataDir); in setUp() 74 mSyncDir = new File(mDataDir, "system/"+RegisteredServicesCache.REGISTERED_SERVICES_DIR); in setUp() 250 File dir = new File(mDataDir, "users/" + userId); in getUserSystemDirectory() 272 return mDataDir; in getDataDirectory()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | IntegrityFileManager.java | 61 private final File mDataDir; field in IntegrityFileManager 90 mDataDir = dataDir; in IntegrityFileManager() 183 File tmpDir = new File(mDataDir, "temp"); in switchStagingRulesDir()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 120 private File mDataDir; field in UserBackupManagerServiceTest 154 mDataDir = new File(cacheDir, "data"); in setUp() 1059 mDataDir, in testCreateAndInitializeService_postRegisterTransports() 1080 mDataDir, in testCreateAndInitializeService_doesNotRegisterTransportsSynchronously() 1099 mDataDir, in testCreateAndInitializeService_withNullContext_throws() 1115 mDataDir, in testCreateAndInitializeService_withNullTrampoline_throws() 1131 mDataDir, in testCreateAndInitializeService_withNullBackupThread_throws() 1147 mDataDir, in testCreateAndInitializeService_withNullStateDir_throws() 1187 mDataDir, in testCreateAndInitializeService_withNullTransportManager_throws() 1205 mDataDir, in testCreateAndInitializeService_registersPackageTrackingReceiver() [all …]
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 87 private File mDataDir; field in LocalTransport 113 mDataDir = mContext.getFilesDir(); in makeDataDirs() 114 mCurrentSetDir = new File(mDataDir, Long.toString(CURRENT_SET_TOKEN)); in makeDataDirs() 614 if ((new File(mDataDir, Long.toString(token))).exists()) { in getAvailableRestoreSets() 642 mRestoreSetDir = new File(mDataDir, Long.toString(token)); in startRestore()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 123 private String mDataDir; field in LoadedApk 240 mDataDir = null; in LoadedApk() 406 mDataDir = aInfo.dataDir; in setApplicationInfo() 443 mDataDir = mDataDirFile.getAbsolutePath(); in setSdkSandboxStorage() 923 String libraryPermittedPath = canAccessDataDir() ? mDataDir : ""; in createOrUpdateClassLoaderLocked() 1107 if (mDataDir == null) { in canAccessDataDir() 1123 return new File(mDataDir).canExecute(); in canAccessDataDir() 1184 DexLoadReporter.getInstance().registerAppDataDir(mPackageName, mDataDir); in registerAppInfoToArt() 1343 return mDataDir; in getDataDir()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 209 private File mDataDir; field in KeyValueBackupTaskTest 232 mDataDir = new File(cacheDir, "data"); in setUp() 234 mDataDir.mkdirs(); in setUp() 235 assertThat(mDataDir.isDirectory()).isTrue(); in setUp() 248 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp() 258 when(mBackupManagerService.getDataDir()).thenReturn(mDataDir); in setUp() 316 assertDirectory(mDataDir.toPath()).isEmpty(); in testRunTask_whenQueueEmpty_doesNotProduceData() 2607 return mDataDir.toPath(); in getStagingDirectory()
|