HomeSort by relevance Sort by last modified time
    Searched refs:USER_SYSTEM (Results 1 - 25 of 139) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/java/com/android/server/backup/
PreferredActivityBackupHelper.java 58 return pm.getPreferredActivityBackup(UserHandle.USER_SYSTEM);
60 return pm.getDefaultAppsBackup(UserHandle.USER_SYSTEM);
62 return pm.getIntentFilterVerificationBackup(UserHandle.USER_SYSTEM);
82 pm.restorePreferredActivities(payload, UserHandle.USER_SYSTEM);
85 pm.restoreDefaultApps(payload, UserHandle.USER_SYSTEM);
88 pm.restoreIntentFilterVerification(payload, UserHandle.USER_SYSTEM);
NotificationBackupHelper.java 50 newPayload = nm.getBackupPayload(UserHandle.USER_SYSTEM);
71 nm.applyRestore(payload, UserHandle.USER_SYSTEM);
PermissionBackupHelper.java 48 return pm.getPermissionGrantBackup(UserHandle.USER_SYSTEM);
68 pm.restorePermissionGrants(payload, UserHandle.USER_SYSTEM);
ShortcutBackupHelper.java 45 return getShortcutService().getBackupPayload(UserHandle.USER_SYSTEM);
61 getShortcutService().applyRestore(payload, UserHandle.USER_SYSTEM);
UsageStatsBackupHelper.java 41 out.writeInt(UserHandle.USER_SYSTEM);
42 out.write(localUsageStatsManager.getBackupPayload(UserHandle.USER_SYSTEM, key));
SystemBackupAgent.java 62 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
68 Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM).getAbsolutePath();
  /frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
SettingsProviderPerformanceTest.java 50 FAKE_SETTING_NAME, UserHandle.USER_SYSTEM);
59 FAKE_SETTING_NAME, UserHandle.USER_SYSTEM);
89 FAKE_SETTING_VALUE, UserHandle.USER_SYSTEM);
93 FAKE_SETTING_NAME, UserHandle.USER_SYSTEM);
98 FAKE_SETTING_VALUE_1, UserHandle.USER_SYSTEM);
102 FAKE_SETTING_NAME, UserHandle.USER_SYSTEM);
SettingsProviderTest.java 50 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_GLOBAL, UserHandle.USER_SYSTEM);
54 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
63 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SECURE, UserHandle.USER_SYSTEM);
67 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
76 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SYSTEM, UserHandle.USER_SYSTEM);
80 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
360 }, type, name, value, UserHandle.USER_SYSTEM);
  /packages/apps/Dialer/src/com/android/dialer/compat/
UserManagerCompat.java 33 private static final int USER_SYSTEM = 0;
50 return (Process.myUid() / PER_USER_RANGE) == USER_SYSTEM;
  /packages/apps/Settings/src/com/android/settings/
CryptKeeperConfirm.java 124 utils.isVisiblePatternEnabled(UserHandle.USER_SYSTEM),
125 UserHandle.USER_SYSTEM);
126 if (utils.isOwnerInfoEnabled(UserHandle.USER_SYSTEM)) {
127 utils.setOwnerInfo(utils.getOwnerInfo(UserHandle.USER_SYSTEM),
128 UserHandle.USER_SYSTEM);
133 utils.setVisiblePasswordEnabled(value != 0, UserHandle.USER_SYSTEM);
  /cts/hostsidetests/multiuser/src/android/host/multiuser/
BaseMultiUserTest.java 30 protected static final int USER_SYSTEM = 0; // From the UserHandle class.
56 if (mPrimaryUserId != USER_SYSTEM) {
57 mFixedUsers.add(USER_SYSTEM);
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerServiceMigrationTest.java 88 eq(UserHandle.USER_SYSTEM))).thenReturn(DpmTestUtils.newRestrictions(
143 assertFalse(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM));
151 UserHandle.USER_SYSTEM));
161 newBaseRestrictions.get(UserHandle.USER_SYSTEM));
219 eq(UserHandle.USER_SYSTEM))).thenReturn(DpmTestUtils.newRestrictions(
257 assertTrue(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM));
262 UserHandle.USER_SYSTEM));
269 newBaseRestrictions.get(UserHandle.USER_SYSTEM));
278 dpms.getProfileOwnerAdminLocked(UserHandle.USER_SYSTEM).ensureUserRestrictions());
DevicePolicyManagerTest.java 538 dpm.setActiveAdmin(admin2, /* refreshing= */ true, UserHandle.USER_SYSTEM);
540 dpm.setProfileOwner(admin2, "owner-name", UserHandle.USER_SYSTEM);
596 eq(UserHandle.USER_SYSTEM), eq(false));
600 MockUtils.checkUserHandle(UserHandle.USER_SYSTEM));
623 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId());
642 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId());
662 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId());
679 assertEquals(UserHandle.USER_SYSTEM, dpm.getDeviceOwnerUserId());
    [all...]
  /frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java 61 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/core/java/android/content/pm/
UserInfo.java 180 return userId == UserHandle.USER_SYSTEM && UserManager.isSplitSystemUser();
201 return (!hideSystemUser || id != UserHandle.USER_SYSTEM) && supportsSwitchTo();
210 return id != UserHandle.USER_SYSTEM;
212 return id == UserHandle.USER_SYSTEM;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DisallowAddUserTask.java 42 if (mIsSplitSystemUser && (mDeviceOwnerUserId == UserHandle.USER_SYSTEM)) {
  /frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java 73 SQLiteDatabase.deleteDatabase(new File(mAms.getCeDatabaseName(UserHandle.USER_SYSTEM)));
74 SQLiteDatabase.deleteDatabase(new File(mAms.getDeDatabaseName(UserHandle.USER_SYSTEM)));
75 SQLiteDatabase.deleteDatabase(new File(mAms.getPreNDatabaseName(UserHandle.USER_SYSTEM)));
227 Account[] accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName());
232 String ceDatabaseName = mAms.getCeDatabaseName(UserHandle.USER_SYSTEM);
237 ams2.onUserUnlocked(newIntentForUser(UserHandle.USER_SYSTEM));
240 accounts = ams2.getAccounts(UserHandle.USER_SYSTEM, mContext.getOpPackageName());
246 String preNDatabaseName = mAms.getPreNDatabaseName(UserHandle.USER_SYSTEM);
267 String deDatabaseName = mAms.getDeDatabaseName(UserHandle.USER_SYSTEM);
268 String ceDatabaseName = mAms.getCeDatabaseName(UserHandle.USER_SYSTEM);
    [all...]
  /frameworks/base/core/java/android/os/
UserHandle.java 62 * @deprecated Consider using either {@link UserHandle#USER_SYSTEM} constant or
75 public static final @UserIdInt int USER_SYSTEM = 0;
81 public static final UserHandle SYSTEM = new UserHandle(USER_SYSTEM);
149 return UserHandle.USER_SYSTEM;
161 return userId == USER_SYSTEM ? SYSTEM : new UserHandle(userId);
  /frameworks/base/services/core/java/com/android/server/firewall/
SenderPackageFilter.java 48 // USER_SYSTEM here is not important. Only app id is used and getPackageUid() will
51 UserHandle.USER_SYSTEM);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
InputOptionsFragment.java 68 TvInputInfo.TvInputSettings.getCustomLabels(context, UserHandle.USER_SYSTEM);
70 TvInputInfo.TvInputSettings.getHiddenTvInputIds(context, UserHandle.USER_SYSTEM);
167 .putCustomLabels(getContext(), mCustomLabels, UserHandle.USER_SYSTEM);
184 .putHiddenTvInputs(getContext(), mHiddenIds, UserHandle.USER_SYSTEM);
  /frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
WallpaperBackupAgent.java 92 File wallpaperDir = Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM);
127 mWm.getWallpaperIdForUser(FLAG_SYSTEM, UserHandle.USER_SYSTEM);
129 mWm.getWallpaperIdForUser(FLAG_LOCK, UserHandle.USER_SYSTEM);
138 ParcelFileDescriptor lockFd = mWm.getWallpaperFile(FLAG_LOCK, UserHandle.USER_SYSTEM);
232 mWm.setWallpaperComponent(wpService, UserHandle.USER_SYSTEM);
340 0, UserHandle.USER_SYSTEM);
  /frameworks/base/cmds/dpm/src/com/android/commands/dpm/
Dpm.java 50 private int mUserId = UserHandle.USER_SYSTEM;
154 mDevicePolicyManager.removeActiveAdmin(mComponent, UserHandle.USER_SYSTEM);
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
LauncherAppsSingleUserTest.java 39 mSerialNumber = Integer.toString(getUserSerialNumber(USER_SYSTEM));
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ConfigurationMapTest.java 65 USER_PROFILES.put(UserHandle.USER_SYSTEM, Arrays.asList(
66 new UserInfo(UserHandle.USER_SYSTEM, "Owner", 0),
74 private int mCurrentUserId = UserHandle.USER_SYSTEM;
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 112 if (userHandle == UserHandle.USER_SYSTEM) {
208 if (mUserHandle == UserHandle.USER_SYSTEM) {
    [all...]

Completed in 1984 milliseconds

1 2 3 4 5 6