/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 | 58 private final File mDataDir; field in KeyValueAdbBackupEngine 77 mDataDir = dataDir; in KeyValueAdbBackupEngine() 84 mBackupDataName = new File(mDataDir, in KeyValueAdbBackupEngine() 89 mManifestFile = new File(mDataDir, BACKUP_MANIFEST_FILENAME); in KeyValueAdbBackupEngine() 217 mDataDir, in run() 227 mDataDir.getAbsolutePath(), in run()
|
D | UserBackupManagerService.java | 427 private final File mDataDir; field in UserBackupManagerService 595 mDataDir = Objects.requireNonNull(dataDir, "dataDir cannot be null"); in UserBackupManagerService() 817 return mDataDir; in getDataDir()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 61 private File mDataDir; field in RegisteredServicesCacheTest 69 mDataDir = new File(cacheDir, "testServicesCache"); in setUp() 70 FileUtils.deleteContents(mDataDir); in setUp() 71 mSyncDir = new File(mDataDir, "system/"+RegisteredServicesCache.REGISTERED_SERVICES_DIR); in setUp() 237 File dir = new File(mDataDir, "users/" + userId); in getUserSystemDirectory() 259 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 | 118 private File mDataDir; field in UserBackupManagerServiceTest 152 mDataDir = new File(cacheDir, "data"); in setUp() 1037 mDataDir, in testCreateAndInitializeService_postRegisterTransports() 1058 mDataDir, in testCreateAndInitializeService_doesNotRegisterTransportsSynchronously() 1077 mDataDir, in testCreateAndInitializeService_withNullContext_throws() 1093 mDataDir, in testCreateAndInitializeService_withNullTrampoline_throws() 1109 mDataDir, in testCreateAndInitializeService_withNullBackupThread_throws() 1125 mDataDir, in testCreateAndInitializeService_withNullStateDir_throws() 1165 mDataDir, in testCreateAndInitializeService_withNullTransportManager_throws() 1183 mDataDir, in testCreateAndInitializeService_registersPackageTrackingReceiver() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundDexOptService.java | 107 private final File mDataDir = Environment.getDataDirectory(); field in BackgroundDexOptService 175 final long lowThreshold = StorageManager.from(context).getStorageLowBytes(mDataDir); in getLowStorageThreshold() 222 long usableSpace = mDataDir.getUsableSpace(); in postBootUpdate() 549 long usableSpace = mDataDir.getUsableSpace(); in abortIdleOptimizations() 561 long usableSpace = mDataDir.getUsableSpace(); in shouldDowngrade()
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 78 private File mDataDir; field in LocalTransport 103 mDataDir = mContext.getFilesDir(); in makeDataDirs() 104 mCurrentSetDir = new File(mDataDir, Long.toString(CURRENT_SET_TOKEN)); in makeDataDirs() 597 if ((new File(mDataDir, Long.toString(token))).exists()) { in getAvailableRestoreSets() 623 mRestoreSetDir = new File(mDataDir, Long.toString(token)); in startRestore()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 120 private String mDataDir; field in LoadedApk 228 mDataDir = null; in LoadedApk() 385 mDataDir = aInfo.dataDir; in setApplicationInfo() 805 String libraryPermittedPath = mDataDir; in createOrUpdateClassLoaderLocked() 1010 DexLoadReporter.getInstance().registerAppDataDir(mPackageName, mDataDir); in setupJitProfileSupport() 1155 return mDataDir; in getDataDir()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 195 private File mDataDir; field in KeyValueBackupTaskTest 217 mDataDir = new File(cacheDir, "data"); in setUp() 219 mDataDir.mkdirs(); in setUp() 220 assertThat(mDataDir.isDirectory()).isTrue(); in setUp() 233 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp() 243 when(mBackupManagerService.getDataDir()).thenReturn(mDataDir); in setUp() 297 assertDirectory(mDataDir.toPath()).isEmpty(); in testRunTask_whenQueueEmpty_doesNotProduceData() 2512 return mDataDir.toPath(); in getStagingDirectory()
|