/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | GracePeriodObserverTest.java | 84 final int newUser = 10; in testGracePeriod() local 85 doReturn(true).when(mUserManagerInternal).exists(newUser); in testGracePeriod() 86 mGracePeriodObserver.onUserSwitchComplete(newUser); in testGracePeriod() 97 final int newUser = 10; in testCleanUp() local 98 mGracePeriodObserver.onUserSwitchComplete(newUser); in testCleanUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTrackerImpl.kt | 146 private fun handleSwitchUser(newUser: Int) { in handleSwitchUser() 148 if (newUser == UserHandle.USER_NULL) { in handleSwitchUser() 153 if (newUser == userId) return in handleSwitchUser() 154 Log.i(TAG, "Switching to user $newUser") in handleSwitchUser() 156 val (ctx, profiles) = setUserIdInternal(newUser) in handleSwitchUser() 159 onUserChanged(newUser, ctx) in handleSwitchUser()
|
D | UserTracker.kt | 71 fun onUserChanged(newUser: Int, userContext: Context) {} in addCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsListingControllerImpl.kt | 112 override fun changeUser(newUser: UserHandle) { in changeUser() 118 currentUserId = newUser.identifier in changeUser() 119 val contextForUser = context.createContextAsUser(newUser, 0) in changeUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | AutoAddTracker.java | 81 public void changeUser(UserHandle newUser) { in changeUser() argument 82 if (newUser.getIdentifier() == mUserId) { in changeUser() 85 mUserId = newUser.getIdentifier(); in changeUser()
|
D | ReduceBrightColorsController.java | 79 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsController() 86 false, mContentObserver, newUser); in ReduceBrightColorsController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 225 public void changeUser(UserHandle newUser) { in changeUser() argument 230 mHandler.post(() -> changeUser(newUser)); in changeUser() 233 if (newUser.getIdentifier() == mCurrentUser.getIdentifier()) { in changeUser() 237 mCurrentUser = newUser; in changeUser() 240 mAutoAddSettingList.get(i).setUserId(newUser.getIdentifier()); in changeUser() 242 mAutoTracker.changeUser(newUser); in changeUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserSwitchingDialog.java | 65 UserInfo newUser, boolean aboveSystem, String switchingFromSystemUserMessage, in UserSwitchingDialog() argument 71 mUserId = newUser.id; in UserSwitchingDialog() 73 mNewUser = newUser; in UserSwitchingDialog()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 119 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser() local 120 mUsersAddedByTest.add(newUser.id); in testValueForNewUser() 121 String value = getSecureSettingForUserViaShell(newUser.id); in testValueForNewUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImpl.kt | 112 private fun setValuesForUser(newUser: UserHandle) { in <lambda>() 113 Log.d(TAG, "Changing to user: $newUser") in <lambda>() 114 currentUser = newUser in <lambda>() 122 bindingController.changeUser(newUser) in <lambda>() 123 listingController.changeUser(newUser) in <lambda>() 131 val newUser = in <lambda>() constant 133 if (currentUser == newUser) { in <lambda>() 137 setValuesForUser(newUser) in <lambda>()
|
D | ControlsBindingControllerImpl.kt | 173 override fun changeUser(newUser: UserHandle) { in changeUser() 174 if (newUser == currentUser) return in changeUser() 177 currentUser = newUser in changeUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | UserAwareController.kt | 27 fun changeUser(newUser: UserHandle) {} in changeUser()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | StartUserClient.java | 40 void onUserStarted(int newUserId, U newUser); in onUserStarted() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 281 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 283 lastUser = newUser in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 120 public void onUserChanged(int newUser, Context userContext) { in TunerServiceImpl() 121 mCurrentUser = newUser; in TunerServiceImpl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 660 int newUser = 100; in testAddingNewUserWithUninstalledPackage() local 661 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithUninstalledPackage() 663 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage() 666 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage() 669 mWebViewUpdateServiceImpl.handleNewUser(newUser); in testAddingNewUserWithUninstalledPackage()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 670 UserRecord newUser = mUserRecords.get(userId); in switchUser() local 671 if (newUser != null) { in switchUser() 672 newUser.mHandler.sendEmptyMessage(UserHandler.MSG_START); in switchUser() 690 boolean newUser = false; in registerClientLocked() 694 newUser = true; in registerClientLocked() 703 if (newUser) { in registerClientLocked()
|
D | MediaRouter2ServiceImpl.java | 608 UserRecord newUser = mUserRecords.get(userId); in switchUser() local 609 if (newUser != null) { in switchUser() 610 newUser.mHandler.sendMessage( in switchUser() 611 obtainMessage(UserHandler::start, newUser.mHandler)); in switchUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceController.kt | 208 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyItemController.kt | 165 override fun onUserChanged(newUser: Int, userContext: Context) { in onUserChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3519 UserInfo newUser = null; in createUserInternalUnchecked() local 3521 newUser = createUserInternalUncheckedNoTracing(name, userType, flags, parentId, in createUserInternalUnchecked() 3523 return newUser; in createUserInternalUnchecked() 3525 logUserCreateJourneyFinish(sessionId, nextProbableUserId, newUser != null); in createUserInternalUnchecked()
|
D | PackageManagerService.java | 6207 for (int newUser : res.newUsers) { in handlePackagePostInstall() 6208 final boolean isInstantApp = ps.getInstantApp(newUser); in handlePackagePostInstall() 6211 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall() 6213 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall() 6219 if (origUser == newUser) { in handlePackagePostInstall() 6226 firstInstantUserIds = ArrayUtils.appendInt(firstInstantUserIds, newUser); in handlePackagePostInstall() 6228 firstUserIds = ArrayUtils.appendInt(firstUserIds, newUser); in handlePackagePostInstall() 6232 instantUserIds = ArrayUtils.appendInt(instantUserIds, newUser); in handlePackagePostInstall() 6234 updateUserIds = ArrayUtils.appendInt(updateUserIds, newUser); in handlePackagePostInstall()
|