/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTracker.kt | 77 fun onBeforeUserSwitching(newUser: Int) {} in addCallback() 83 fun onUserChanging(newUser: Int, userContext: Context) {} in addCallback() 93 fun onUserChanging(newUser: Int, userContext: Context, resultCallback: Runnable) { in addCallback() 94 onUserChanging(newUser, userContext) in addCallback() 103 fun onUserChanged(newUser: Int, userContext: Context) {} in addCallback()
|
/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/ |
D | GuestResumeSessionReceiver.java | 69 public void onUserChanged(int newUser, @NonNull Context userContext) { 78 SETTING_GUEST_HAS_LOGGED_IN, 0, newUser); 84 newUser); 89 newUser); 96 mNewSessionDialog = mResetSessionDialogFactory.create(newUser);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstallRequest.java | 892 for (int newUser : mNewUsers) { in populateBroadcastUsers() 894 mScanResult.mPkgSetting.getUserStateOrDefault(newUser).isInstantApp(); in populateBroadcastUsers() 897 ArrayUtils.appendInt(mFirstTimeBroadcastInstantUserIds, newUser); in populateBroadcastUsers() 900 ArrayUtils.appendInt(mFirstTimeBroadcastUserIds, newUser); in populateBroadcastUsers() 906 for (int newUser : mNewUsers) { in populateBroadcastUsers() 907 boolean isFirstTimeUser = !ArrayUtils.contains(mOrigUsers, newUser); in populateBroadcastUsers() 909 mScanResult.mPkgSetting.getUserStateOrDefault(newUser).isInstantApp(); in populateBroadcastUsers() 913 ArrayUtils.appendInt(mFirstTimeBroadcastInstantUserIds, newUser); in populateBroadcastUsers() 916 ArrayUtils.appendInt(mFirstTimeBroadcastUserIds, newUser); in populateBroadcastUsers() 921 ArrayUtils.appendInt(mUpdateBroadcastInstantUserIds, newUser); in populateBroadcastUsers() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 133 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser() local 134 mUsersAddedByTest.add(newUser.id); in testValueForNewUser() 138 () -> getSecureSettingForUserViaShell(newUser.id)); in testValueForNewUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsListingControllerImpl.kt | 139 override fun changeUser(newUser: UserHandle) { in changeUser() 145 currentUserId = newUser.identifier in changeUser() 146 val contextForUser = context.createContextAsUser(newUser, 0) in changeUser()
|
D | ControlsRequestDialog.kt | 67 override fun onUserChanged(newUser: Int, userContext: Context) { in onUserChanged() 68 if (newUser != startingUser) { in onUserChanged()
|
D | ControlsProviderSelectorActivity.kt | 73 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 74 if (newUser != startingUser) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | UserAwareController.kt | 26 fun changeUser(newUser: UserHandle) {} in changeUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 263 public void changeUser(UserHandle newUser) { in changeUser() argument 268 mHandler.post(() -> changeUser(newUser)); in changeUser() 271 if (newUser.getIdentifier() == mCurrentUser.getIdentifier()) { in changeUser() 275 mCurrentUser = newUser; in changeUser() 278 mAutoAddSettingList.get(i).setUserId(newUser.getIdentifier()); in changeUser() 280 mAutoTracker.changeUser(newUser); in changeUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | ReduceBrightColorsControllerImpl.java | 77 public void onUserChanged(int newUser, Context userContext) { in ReduceBrightColorsControllerImpl() 83 false, mContentObserver, newUser); in ReduceBrightColorsControllerImpl()
|
D | AutoAddTracker.kt | 182 override fun changeUser(newUser: UserHandle) { in <lambda>() 183 if (newUser.identifier == userId) return in <lambda>() 185 userId = newUser.identifier in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImpl.kt | 111 private fun setValuesForUser(newUser: UserHandle) { in <lambda>() 112 Log.d(TAG, "Changing to user: $newUser") in <lambda>() 113 currentUser = newUser in <lambda>() 121 bindingController.changeUser(newUser) in <lambda>() 122 listingController.changeUser(newUser) in <lambda>() 126 override fun changeUser(newUser: UserHandle) { in <lambda>() 128 if (currentUser == newUser) { in <lambda>() 132 setValuesForUser(newUser) in <lambda>()
|
D | ControlsBindingControllerImpl.kt | 179 override fun changeUser(newUser: UserHandle) { in changeUser() 180 if (newUser == currentUser) return in changeUser() 183 currentUser = newUser in changeUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | KeyguardQuickAffordanceRemoteUserSelectionManager.kt | 61 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 62 trySendWithFailureLogging(newUser, TAG) in <lambda>()
|
D | KeyguardQuickAffordanceLocalUserSelectionManager.kt | 64 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 65 trySendWithFailureLogging(newUser, TAG) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserSwitchingDialog.java | 88 UserSwitchingDialog(Context context, UserInfo oldUser, UserInfo newUser, in UserSwitchingDialog() argument 95 mNewUser = newUser; in UserSwitchingDialog() 101 mNeedToFreezeScreen = !mDisableAnimations && !isUserSetupComplete(newUser); in UserSwitchingDialog() 102 mTraceCookie = UserHandle.MAX_SECONDARY_USER_ID * oldUser.id + newUser.id; in UserSwitchingDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/ |
D | ScreenDecorationsLogger.kt | 206 fun logUserSwitched(newUser: Int) { in logUserSwitched() 210 { int1 = newUser }, in logUserSwitched()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/ |
D | ControlsStartable.kt | 89 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 90 controlsController.changeUser(UserHandle.of(newUser)) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | StartUserClient.java | 43 void onUserStarted(int newUserId, U newUser, int halInterfaceVersion); in onUserStarted() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSettingsController.java | 90 public void onUserChanged(int newUser, Context userContext) { in NotificationSettingsController() 98 uri, false, mContentObserver, newUser); in NotificationSettingsController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceProvisionedControllerImpl.kt | 106 override fun onUserChanged(newUser: Int, userContext: Context) { in onUserChanged() 107 updateValues(updateDeviceProvisioned = false, updateUser = newUser) in onUserChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationModeController.java | 76 public void onUserChanged(int newUser, @NonNull Context userContext) { 79 + newUser);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 715 int newUser = 100; in testAddingNewUserWithUninstalledPackage() local 716 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithUninstalledPackage() 718 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage() 721 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithUninstalledPackage() 724 mWebViewUpdateServiceImpl.handleNewUser(newUser); in testAddingNewUserWithUninstalledPackage() 1625 int newUser = 100; in testAddingNewUserWithDefaultdPackageNotInstalled() local 1626 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithDefaultdPackageNotInstalled() 1627 mTestSystemImpl.setPackageInfoForUser(newUser, in testAddingNewUserWithDefaultdPackageNotInstalled() 1631 mWebViewUpdateServiceImpl.handleNewUser(newUser); in testAddingNewUserWithDefaultdPackageNotInstalled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 475 override fun onUserChanging(newUser: Int, userContext: Context) { in <lambda>() 477 lastUser = newUser in <lambda>() 481 override fun onUserChanged(newUser: Int, userContext: Context) { in <lambda>() 483 lastUser = newUser in <lambda>()
|