Home
last modified time | relevance | path

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

/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/core/java/com/android/server/am/
DUserSwitchingDialog.java65 UserInfo newUser, boolean aboveSystem, String switchingFromSystemUserMessage, in UserSwitchingDialog() argument
71 mUserId = newUser.id; in UserSwitchingDialog()
73 mNewUser = newUser; in UserSwitchingDialog()
DCarUserSwitchingDialog.java55 UserInfo newUser, boolean aboveSystem, String switchingFromSystemUserMessage, in CarUserSwitchingDialog() argument
57 super(service, context, oldUser, newUser, aboveSystem, switchingFromSystemUserMessage, in CarUserSwitchingDialog()
/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.java930 @NonNull UserHandle newUser) { in onUserAdded() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1937 for (int newUser : res.newUsers) { in handlePackagePostInstall()
1938 final boolean isInstantApp = ps.getInstantApp(newUser); in handlePackagePostInstall()
1941 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall()
1943 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall()
1949 if (origUser == newUser) { in handlePackagePostInstall()
1956 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall()
1958 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall()
1962 instantUserIds = ArrayUtils.appendInt(instantUserIds, newUser); in handlePackagePostInstall()
1964 updateUserIds = ArrayUtils.appendInt(updateUserIds, newUser); in handlePackagePostInstall()