Home
last modified time | relevance | path

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

12

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyPathProvider.java39 default File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method
40 return Environment.getUserSystemDirectory(userId); in getUserSystemDirectory()
DOwnersData.java237 return new File(mPathProvider.getUserSystemDirectory(userId), PROFILE_OWNER_XML); in getProfileOwnerFile()
/frameworks/base/services/core/java/com/android/server/backup/
DSystemBackupAgent.java79 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
81 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
87 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
89 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperUtils.java49 return Environment.getUserSystemDirectory(userId); in getWallpaperDir()
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java49 new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM),
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java254 public File getUserSystemDirectory(int userId) { in MockSystemServices()
255 return environment.getUserSystemDirectory(userId); in MockSystemServices()
337 when(environment.getUserSystemDirectory(eq(userId))).thenReturn(dir); in addUser()
442 public File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in MockSystemServices.EnvironmentForMock
DPolicyVersionUpgraderTest.java90 File parentDir = getServices().environment.getUserSystemDirectory(userId); in makeJournaledFile()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DUserDataPreparerTest.java165 File systemDir = mUserDataPreparer.getUserSystemDirectory(TEST_USER_ID); in testDestroyUserData_De()
263 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in UserDataPreparerTest.TestUserDataPreparer
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintUpdateActiveUserClient.java88 baseDir = Environment.getUserSystemDirectory(getTargetUserId()); in start()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java214 File dir = new File(cache.getUserSystemDirectory(userId), in assertNotEmptyFileCreated()
249 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in RegisteredServicesCacheTest.TestServicesCache
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricUserState.java205 return new File(Environment.getUserSystemDirectory(userId), fileName); in getFileForUser()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DAconfigFlags.java104 final var settingsFile = new File(Environment.getUserSystemDirectory(0), in loadServerOverrides()
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java84 File userDir = Environment.getUserSystemDirectory(userId); in PersistentDataStore()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java815 File userDir = getUserSystemDirectory(userId); in createFileForUser()
821 protected File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in RegisteredServicesCache
822 return Environment.getUserSystemDirectory(userId); in getUserSystemDirectory()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java88 : Environment.getUserSystemDirectory(userId); in getInputMethodDir()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java183 return new File(Environment.getUserSystemDirectory(userId), ROLES_FILE_NAME); in getFile()
/frameworks/base/services/companion/java/com/android/server/companion/association/
DAssociationDiskStore.java350 return new File(Environment.getUserSystemDirectory(userId), FILE_NAME_LEGACY); in getBaseLegacyStorageFileForUser()
/frameworks/base/core/java/android/os/
DEnvironment.java346 public static File getUserSystemDirectory(int userId) { in getUserSystemDirectory() method in Environment
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java127 Environment.getUserSystemDirectory(mUser.getIdentifier()), in UsbUserPermissionManager()
DUsbProfileGroupSettingsManager.java266 Environment.getUserSystemDirectory(user.getIdentifier()), in UsbProfileGroupSettingsManager()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java393 return new File(Environment.getUserSystemDirectory(userId), fileName); in getLockCredentialFileForUser()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java837 new File(Environment.getUserSystemDirectory(userId), PREF_FILE_NAME), in maybeGrantAutoRevokeExemptions()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1558 private File getUserSystemDirectory(int userId) {
1564 File mainFile = new File(getUserSystemDirectory(userId), "package-restrictions.xml");
1565 File temporaryBackup = new File(getUserSystemDirectory(userId),
1567 File reserveCopy = new File(getUserSystemDirectory(userId),
1582 return new File(getUserSystemDirectory(userId), RUNTIME_PERMISSIONS_FILE_NAME);
DInstantAppRegistry.java1288 return new File(Environment.getUserSystemDirectory(userId),
DUserManagerService.java5238 final File dir = Environment.getUserSystemDirectory(userId);
5528 Environment.getUserSystemDirectory(userId).mkdirs();
6575 new AtomicFile(new File(Environment.getUserSystemDirectory(userId),
6667 new File(Environment.getUserSystemDirectory(userId),

12