Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java61 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
64 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
67 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
80 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java134 FileUtils.deleteContentsAndDir(getUserSystemDirectory(userId)); in destroyUserDataLI()
236 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in UserDataPreparer
237 return Environment.getUserSystemDirectory(userId); in getUserSystemDirectory()
DUserManagerService.java2332 File dir = Environment.getUserSystemDirectory(userId); in cleanAppRestrictionsForPackage()
2460 Environment.getUserSystemDirectory(userId).mkdirs(); in createUserInternalUnchecked()
2897 new AtomicFile(new File(Environment.getUserSystemDirectory(userId), in readApplicationRestrictionsLP()
2989 new File(Environment.getUserSystemDirectory(userId), in writeApplicationRestrictionsLP()
DInstantAppRegistry.java1069 return new File(Environment.getUserSystemDirectory(userId), in getInstantApplicationsDir()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java63 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
69 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java151 File systemDir = mUserDataPreparer.getUserSystemDirectory(TEST_USER_ID); in testDestroyUserData_De()
248 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in UserDataPreparerTest.TestUserDataPreparer
/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.java760 File userDir = getUserSystemDirectory(userId); in createFileForUser()
766 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in RegisteredServicesCache
767 return Environment.getUserSystemDirectory(userId); in getUserSystemDirectory()
/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.java1401 final File systemDir = Environment.getUserSystemDirectory(userId); in updateActiveGroup()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java260 return context.environment.getUserSystemDirectory(userId); in environmentGetUserSystemDirectory()
DDpmMockContext.java148 public File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in DpmMockContext.EnvironmentForMock
478 when(environment.getUserSystemDirectory(eq(userId))).thenReturn(dir); in addUser()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java92 File wallpaperDir = Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM); in onCreate()
/frameworks/base/core/java/android/os/
DEnvironment.java195 public static File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in Environment
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java543 Environment.getUserSystemDirectory(u),
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java427 return new File(Environment.getUserSystemDirectory(userId), basename).getAbsolutePath(); in getLockCredentialFilePathForUser()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2822 return new File(Environment.getUserSystemDirectory(userId),
2826 return new File(Environment.getUserSystemDirectory(userId),
2830 return new File(Environment.getUserSystemDirectory(userId),
2834 return new File(Environment.getUserSystemDirectory(userId),
DDatabaseHelper.java118 Environment.getUserSystemDirectory(userHandle), DATABASE_NAME); in dbNameForUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java860 return new File(Environment.getUserSystemDirectory(userId), PROFILE_OWNER_XML); in getProfileOwnerFileWithTestOverride()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java611 Environment.getUserSystemDirectory(user.getIdentifier()), in UsbProfileGroupSettingsManager()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3167 return new File(Environment.getUserSystemDirectory(userId), STATE_FILENAME); in getStateFile()
3171 File dir = Environment.getUserSystemDirectory(userId); in getSavedStateFile()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java949 return Environment.getUserSystemDirectory(userId); in getWallpaperDir()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java6144 File databaseFile = new File(Environment.getUserSystemDirectory(userId),
6154 File userDir = Environment.getUserSystemDirectory(userId);
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3271 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in AccountManagerServiceTest.TestAccountAuthenticatorCache

12