Searched refs:newUser (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserSwitchingDialog.java | 61 UserInfo newUser, boolean aboveSystem, String switchingFromSystemUserMessage, in UserSwitchingDialog() argument 67 mUserId = newUser.id; in UserSwitchingDialog() 69 mNewUser = newUser; in UserSwitchingDialog()
|
D | CarUserSwitchingDialog.java | 54 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/ |
D | InstallNonMarketAppsDeprecationTest.java | 116 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser() local 117 mUsersAddedByTest.add(newUser.id); in testValueForNewUser() 118 String value = getSecureSettingForUserViaShell(newUser.id); in testValueForNewUser()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | UserManagerHelperTest.java | 231 UserInfo newUser = new UserInfo(); in createNewUser() local 232 newUser.name = "Test User"; in createNewUser() 233 when(mUserManager.createUser("Test User", 0)).thenReturn(newUser); in createNewUser() 234 assertThat(mHelper.createNewUser("Test User")).isEqualTo(newUser); in createNewUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 723 int newUser = 100; in checkAddingNewUser() local 724 mTestSystemImpl.addUser(newUser); in checkAddingNewUser() 725 setEnabledAndValidPackageInfosForUser(newUser, packages); in checkAddingNewUser() 726 mWebViewUpdateServiceImpl.handleNewUser(newUser); in checkAddingNewUser() 731 Mockito.eq(newUser)); in checkAddingNewUser() 755 int newUser = 100; in testAddingNewUserWithUninstalledPackage() local 756 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithUninstalledPackage() 758 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage() 761 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage() 764 mWebViewUpdateServiceImpl.handleNewUser(newUser); in testAddingNewUserWithUninstalledPackage() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 462 UserRecord newUser = mUserRecords.get(userId); in switchUser() local 463 if (newUser != null) { in switchUser() 464 newUser.mHandler.sendEmptyMessage(UserHandler.MSG_START); in switchUser() 481 boolean newUser = false; in registerClientLocked() 485 newUser = true; in registerClientLocked() 494 if (newUser) { in registerClientLocked()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 914 public void onUserAdded(Context context, Intent intent, @NonNull UserHandle newUser) { in onUserAdded() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 2017 for (int newUser : res.newUsers) { in handlePackagePostInstall() 2018 final boolean isInstantApp = ps.getInstantApp(newUser); in handlePackagePostInstall() 2021 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall() 2023 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall() 2029 if (origUser == newUser) { in handlePackagePostInstall() 2036 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall() 2038 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall() 2042 instantUserIds = ArrayUtils.appendInt(instantUserIds, newUser); in handlePackagePostInstall() 2044 updateUserIds = ArrayUtils.appendInt(updateUserIds, newUser); in handlePackagePostInstall()
|