Home
last modified time | relevance | path

Searched refs:dataDir (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DInstrumentationInfo.java63 public String dataDir; field in InstrumentationInfo
88 dataDir = orig.dataDir; in InstrumentationInfo()
109 dest.writeString(dataDir); in writeToParcel()
130 dataDir = source.readString(); in InstrumentationInfo()
DApplicationInfo.java486 public String dataDir; field in ApplicationInfo
622 pw.println(prefix + "dataDir=" + dataDir); in dump()
701 dataDir = orig.dataDir; in ApplicationInfo()
751 dest.writeString(dataDir); in writeToParcel()
800 dataDir = source.readString(); in ApplicationInfo()
DRegisteredServicesCache.java122 File dataDir = Environment.getDataDirectory(); in RegisteredServicesCache() local
123 File systemDir = new File(dataDir, "system"); in RegisteredServicesCache()
DPackageParser.java4689 ai.dataDir = PackageManager.getDataDirForUser(userId, ai.packageName); in generateApplicationInfo()
4717 ai.dataDir = PackageManager.getDataDirForUser(userId, ai.packageName); in generateApplicationInfo()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java347 return createFilesDir(new File(appInfo.dataDir, "no_backup")); in getNoBackupFilesDir()
372 return createFilesDir(new File(appInfo.dataDir, "code_cache")); in getCodeCacheDir()
/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java202 File dataDir = Environment.getDataDirectory(); in getSystemDir() local
203 File systemDir = new File(dataDir, "system"); in getSystemDir()
DMountService.java1511 File dataDir = Environment.getDataDirectory(); in MountService() local
1512 File systemDir = new File(dataDir, "system"); in MountService()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java147 String dataDir = PathUtils.getDataDirectory(mWebViewDelegate.getApplication()); in initialize() local
149 "; deleting contents of " + dataDir); in initialize()
150 deleteContents(new File(dataDir)); in initialize()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java281 String dataDir="/data/data"; in testAppCacheClear() local
282 StatFs st = new StatFs(dataDir); in testAppCacheClear()
326 st.restat(dataDir); in testAppCacheClear()
329 st.restat(dataDir); in testAppCacheClear()
723 return new File(appInfo.dataDir); in getDataDir()
DPackageManagerTests.java413 File dataDir = Environment.getDataDirectory(); in assertInstall() local
414 String appInstallPath = new File(dataDir, "app").getPath(); in assertInstall()
415 String drmInstallPath = new File(dataDir, "app-private").getPath(); in assertInstall()
436 String compatLib = new File(info.dataDir + "/lib").getCanonicalPath(); in assertInstall()
441 fail("compat check: Can't read " + info.dataDir + "/lib"); in assertInstall()
489 final File nativeLibSymLink = new File(info.dataDir, "lib"); in assertInstall()
582 String dataDir = PackageManager.getDataDirForUser(user.id, pkgName); in assertNotInstalled() local
583 assertFalse("Application data directory should not exist: " + dataDir, in assertNotInstalled()
584 new File(dataDir).exists()); in assertNotInstalled()
1042 File file = new File(info.dataDir); in deleteFromRawResource()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java59 File dataDir = Environment.getDataDirectory(); in DisplaySettings() local
60 File systemDir = new File(dataDir, "system"); in DisplaySettings()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java95 public static JobStore initAndGetForTesting(Context context, File dataDir) { in initAndGetForTesting() argument
96 JobStore jobStoreUnderTest = new JobStore(context, dataDir); in initAndGetForTesting()
104 private JobStore(Context context, File dataDir) { in JobStore() argument
108 File systemDir = new File(dataDir, "system"); in JobStore()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp431 jstring instructionSet, jstring dataDir) { in ForkAndSpecializeCommon() argument
461 if (use_native_bridge && dataDir == NULL) { in ForkAndSpecializeCommon()
501 ScopedUtfChars data_dir(env, dataDir); in ForkAndSpecializeCommon()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java283 String rootDir = new File(appInfo.dataDir).getCanonicalPath(); in onFullBackup()
364 mainDir = new File(appInfo.dataDir).getCanonicalPath(); in fullBackupFile()
532 basePath = new File(getApplicationInfo().dataDir).getCanonicalPath(); in onRestoreFile()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java317 File dataDir = Environment.getDataDirectory(); in getUserKeyFile() local
318 File adbDir = new File(dataDir, ADB_DIRECTORY); in getUserKeyFile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java187 UserManagerService(File dataDir, File baseUserPath) { in UserManagerService() argument
188 this(null, null, new Object(), new Object(), dataDir, baseUserPath); in UserManagerService()
208 File dataDir, File baseUserPath) { in UserManagerService() argument
216 mUsersDir = new File(dataDir, USER_INFO_DIR); in UserManagerService()
DPackageManagerService.java751 File dataDir = Environment.getDataDirectory(); in getFile() local
752 File systemDir = new File(dataDir, "system"); in getFile()
1358 File dataDir = Environment.getDataDirectory(); in PackageManagerService() local
1359 mAppDataDir = new File(dataDir, "data"); in PackageManagerService()
1360 mAppInstallDir = new File(dataDir, "app"); in PackageManagerService()
1361 mAppLib32InstallDir = new File(dataDir, "app-lib"); in PackageManagerService()
1362 mAsecInternalPath = new File(dataDir, "app-asec").getPath(); in PackageManagerService()
1363 mUserAppDataDir = new File(dataDir, "user"); in PackageManagerService()
1364 mDrmAppPrivateInstallDir = new File(dataDir, "app-private"); in PackageManagerService()
2127 pkg.applicationInfo.dataDir = in generatePackageInfoFromSettingsLPw()
[all …]
DSettings.java264 Settings(Context context, File dataDir) { in Settings() argument
265 mSystemDir = new File(dataDir, "system"); in Settings()
1664 final String dataPath = ai.dataDir; in writeLPr()
3394 pw.print(prefix); pw.print(" dataDir="); pw.println(ps.pkg.applicationInfo.dataDir); in dumpPackageLPr()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java158 File dexDir = new File(applicationInfo.dataDir, SECONDARY_FOLDER_NAME); in install()
/frameworks/base/core/java/android/app/
DLoadedApk.java139 aInfo.dataDir = PackageManager.getDataDirForUser(UserHandle.getUserId(myUid), in LoadedApk()
143 mDataDir = aInfo.dataDir; in LoadedApk()
DActivityThread.java803 VMRuntime.registerAppInfo(appInfo.packageName, appInfo.dataDir, in bindApplication()
4483 instrApp.dataDir = ii.dataDir; in handleBindApplication()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java481 private SyncStorageEngine(Context context, File dataDir) { in SyncStorageEngine() argument
490 File systemDir = new File(dataDir, "system"); in SyncStorageEngine()
522 File dataDir = Environment.getSecureDataDirectory(); in init() local
523 sSyncStorageEngine = new SyncStorageEngine(context, dataDir); in init()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java217 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); in dump()
DProcessRecord.java209 pw.print(" data="); pw.println(info.dataDir); in dump()
DActivityRecord.java198 pw.print(prefix); pw.print("dataDir="); pw.println(appInfo.dataDir); in dump()

12