Home
last modified time | relevance | path

Searched refs:mDataDir (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java41 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()
DKeyValueAdbBackupEngine.java58 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()
DUserBackupManagerService.java427 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/
DRegisteredServicesCacheTest.java61 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/
DIntegrityFileManager.java61 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/
DUserBackupManagerServiceTest.java118 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/
DBackgroundDexOptService.java107 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/
DLocalTransport.java78 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/
DLoadedApk.java120 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/
DKeyValueBackupTaskTest.java195 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()