Home
last modified time | relevance | path

Searched refs:newUser (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java61 UserInfo newUser, boolean aboveSystem, String switchingFromSystemUserMessage, in UserSwitchingDialog() argument
67 mUserId = newUser.id; in UserSwitchingDialog()
69 mNewUser = newUser; in UserSwitchingDialog()
DCarUserSwitchingDialog.java54 UserInfo newUser, boolean aboveSystem, String switchingFromSystemUserMessage, in CarUserSwitchingDialog() argument
56 super(service, context, oldUser, newUser, aboveSystem, switchingFromSystemUserMessage, in CarUserSwitchingDialog()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java117 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser() local
118 mUsersAddedByTest.add(newUser.id); in testValueForNewUser()
119 String value = getSecureSettingForUserViaShell(newUser.id); in testValueForNewUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java686 int newUser = 100; in testAddingNewUserWithUninstalledPackage() local
687 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithUninstalledPackage()
689 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage()
692 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage()
695 mWebViewUpdateServiceImpl.handleNewUser(newUser); in testAddingNewUserWithUninstalledPackage()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java485 UserRecord newUser = mUserRecords.get(userId); in switchUser() local
486 if (newUser != null) { in switchUser()
487 newUser.mHandler.sendEmptyMessage(UserHandler.MSG_START); in switchUser()
504 boolean newUser = false; in registerClientLocked()
508 newUser = true; in registerClientLocked()
517 if (newUser) { in registerClientLocked()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java926 @NonNull UserHandle newUser) { in onUserAdded() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1884 for (int newUser : res.newUsers) { in handlePackagePostInstall()
1885 final boolean isInstantApp = ps.getInstantApp(newUser); in handlePackagePostInstall()
1888 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall()
1890 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall()
1896 if (origUser == newUser) { in handlePackagePostInstall()
1903 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall()
1905 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall()
1909 instantUserIds = ArrayUtils.appendInt(instantUserIds, newUser); in handlePackagePostInstall()
1911 updateUserIds = ArrayUtils.appendInt(updateUserIds, newUser); in handlePackagePostInstall()