/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 | 401 private final File mDataDir; field in UserBackupManagerService 563 mDataDir = checkNotNull(dataDir, "dataDir cannot be null"); in UserBackupManagerService() 802 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/robotests/backup/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 103 private File mDataDir; field in UserBackupManagerServiceTest 137 mDataDir = new File(cacheDir, "data"); in setUp() 1005 mDataDir, in testCreateAndInitializeService_postRegisterTransports() 1026 mDataDir, in testCreateAndInitializeService_doesNotRegisterTransportsSynchronously() 1045 mDataDir, in testCreateAndInitializeService_withNullContext_throws() 1061 mDataDir, in testCreateAndInitializeService_withNullTrampoline_throws() 1077 mDataDir, in testCreateAndInitializeService_withNullBackupThread_throws() 1093 mDataDir, in testCreateAndInitializeService_withNullStateDir_throws() 1133 mDataDir, in testCreateAndInitializeService_withNullTransportManager_throws() 1151 mDataDir, in testCreateAndInitializeService_registersPackageTrackingReceiver() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundDexOptService.java | 105 private final File mDataDir = Environment.getDataDirectory(); field in BackgroundDexOptService 171 final long lowThreshold = StorageManager.from(context).getStorageLowBytes(mDataDir); in getLowStorageThreshold() 218 long usableSpace = mDataDir.getUsableSpace(); in postBootUpdate() 541 long usableSpace = mDataDir.getUsableSpace(); in abortIdleOptimizations() 553 long usableSpace = mDataDir.getUsableSpace(); in shouldDowngrade()
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 77 private File mDataDir; field in LocalTransport 102 mDataDir = mContext.getFilesDir(); in makeDataDirs() 103 mCurrentSetDir = new File(mDataDir, Long.toString(CURRENT_SET_TOKEN)); in makeDataDirs() 583 if ((new File(mDataDir, Long.toString(token))).exists()) { in getAvailableRestoreSets() 609 mRestoreSetDir = new File(mDataDir, Long.toString(token)); in startRestore()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 117 private String mDataDir; field in LoadedApk 225 mDataDir = null; in LoadedApk() 381 mDataDir = aInfo.dataDir; in setApplicationInfo() 799 String libraryPermittedPath = mDataDir; in createOrUpdateClassLoaderLocked() 978 DexLoadReporter.getInstance().registerAppDataDir(mPackageName, mDataDir); in setupJitProfileSupport() 1129 return mDataDir; in getDataDir()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 192 private File mDataDir; field in KeyValueBackupTaskTest 214 mDataDir = new File(cacheDir, "data"); in setUp() 216 mDataDir.mkdirs(); in setUp() 217 assertThat(mDataDir.isDirectory()).isTrue(); in setUp() 229 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp() 239 when(mBackupManagerService.getDataDir()).thenReturn(mDataDir); in setUp() 293 assertDirectory(mDataDir.toPath()).isEmpty(); in testRunTask_whenQueueEmpty_doesNotProduceData() 2431 return mDataDir.toPath(); in getStagingDirectory()
|