Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java61 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
64 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
77 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java62 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
68 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java198 File dir = new File(cache.getUserSystemDirectory(userId), in assertNotEmptyFileCreated()
233 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in RegisteredServicesCacheTest.TestServicesCache
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java714 File userDir = getUserSystemDirectory(userId); in createFileForUser()
720 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in RegisteredServicesCache
721 return Environment.getUserSystemDirectory(userId); in getUserSystemDirectory()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java68 File wallpaperDir = Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java130 public File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in DpmMockContext.EnvironmentForMock
369 when(environment.getUserSystemDirectory(eq(userId))).thenReturn(dir); in addUser()
DDevicePolicyManagerServiceTestable.java247 return context.environment.getUserSystemDirectory(userId); in environmentGetUserSystemDirectory()
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java88 File userDir = Environment.getUserSystemDirectory(userId); in PersistentDataStore()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintsUserState.java137 return new File(Environment.getUserSystemDirectory(userId), FINGERPRINT_FILE); in getFileForUser()
DFingerprintService.java954 final File systemDir = Environment.getUserSystemDirectory(userId); in updateActiveGroup()
/frameworks/base/core/java/android/os/
DEnvironment.java195 public static File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in Environment
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java417 return new File(Environment.getUserSystemDirectory(userId), basename).getAbsolutePath(); in getLockCredentialFilePathForUser()
DInputMethodManagerService.java3686 : Environment.getUserSystemDirectory(userId); in InputMethodFileManager()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2006 return new File(Environment.getUserSystemDirectory(userId), in getSettingsFile()
2010 return new File(Environment.getUserSystemDirectory(userId), in getSettingsFile()
2014 return new File(Environment.getUserSystemDirectory(userId), in getSettingsFile()
DDatabaseHelper.java118 Environment.getUserSystemDirectory(userHandle), DATABASE_NAME); in dbNameForUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java814 return new File(Environment.getUserSystemDirectory(userId), PROFILE_OWNER_XML); in getProfileOwnerFileWithTestOverride()
DDevicePolicyManagerService.java1453 return Environment.getUserSystemDirectory(userId); in environmentGetUserSystemDirectory()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2130 File dir = Environment.getUserSystemDirectory(userId); in cleanAppRestrictionsForPackage()
2227 Environment.getUserSystemDirectory(userId).mkdirs(); in createUserInternalUnchecked()
2612 new AtomicFile(new File(Environment.getUserSystemDirectory(userId), in readApplicationRestrictionsLP()
2704 new File(Environment.getUserSystemDirectory(userId), in writeApplicationRestrictionsLP()
DEphemeralApplicationRegistry.java697 return new File(Environment.getUserSystemDirectory(userId), in getEphemeralApplicationsDir()
DSettings.java1380 return new File(Environment.getUserSystemDirectory(userId), in getUserPackagesStateBackupFile()
DPackageManagerService.java19419 FileUtils.deleteContentsAndDir(Environment.getUserSystemDirectory(userId));
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java513 Environment.getUserSystemDirectory(user.getIdentifier()), in UsbSettingsManager()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3049 return new File(Environment.getUserSystemDirectory(userId), STATE_FILENAME); in getStateFile()
3053 File dir = Environment.getUserSystemDirectory(userId); in getSavedStateFile()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java846 return Environment.getUserSystemDirectory(userId); in getWallpaperDir()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4162 File databaseFile = new File(Environment.getUserSystemDirectory(userId), in getPreNDatabaseName()
4172 File userDir = Environment.getUserSystemDirectory(userId); in getPreNDatabaseName()