/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | ActiveUnlockConfigTest.kt | 71 private var currentUser: Int = 0 variable in com.android.keyguard.ActiveUnlockConfigTest 76 currentUser = KeyguardUpdateMonitor.getCurrentUser() in setUp() 100 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_WAKE, 1, currentUser) in onWakeupSettingChanged() 127 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_UNLOCK_INTENT, 1, currentUser) in onUnlockIntentSettingChanged() 144 ACTIVE_UNLOCK_ON_UNLOCK_INTENT_WHEN_BIOMETRIC_ENROLLED, "", currentUser) in onBioFailSettingChanged() 152 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser) in onBioFailSettingChanged() 167 secureSettings.putIntForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, 1, currentUser) in faceErrorSettingsChanged() 172 ACTIVE_UNLOCK_ON_FACE_ERRORS, "3", currentUser) in faceErrorSettingsChanged() 186 secureSettings.putStringForUser(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL, "1", currentUser) in faceAcquiredSettingsChanged() 194 currentUser) in faceAcquiredSettingsChanged() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractor.kt | 192 val currentUser: UserInfo = repository.getSelectedUserInfo() in <lambda>() constant 193 if (currentUser.id != guestUserId) { in <lambda>() 197 " ($currentUser.id)" in <lambda>() 202 if (!currentUser.isGuest) { in <lambda>() 208 withContext(backgroundDispatcher) { manager.markGuestForDeletion(currentUser.id) } in <lambda>() 220 withContext(backgroundDispatcher) { manager.removeUser(currentUser.id) } in <lambda>() 234 withContext(backgroundDispatcher) { manager.removeUser(currentUser.id) } in <lambda>() 240 manager.removeUser(currentUser.id) in <lambda>()
|
D | UserActionsUtil.kt | 101 val currentUser = repository.getSelectedUserInfo() in currentUserCanCreateUsers() constant 102 if (!currentUser.isAdmin && currentUser.id != UserHandle.USER_SYSTEM) { in currentUserCanCreateUsers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | MultiUserSwitch.java | 38 void refreshContentDescription(String currentUser) { in refreshContentDescription() argument 41 if (!TextUtils.isEmpty(currentUser)) { in refreshContentDescription() 44 currentUser); in refreshContentDescription()
|
D | NotificationListenerWithPlugins.java | 54 int currentUser) throws RemoteException { in registerAsSystemService() argument 55 super.registerAsSystemService(context, componentName, currentUser); in registerAsSystemService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayApplier.java | 185 int currentUser, in applyCurrentUserOverlays() argument 219 setEnabled(transaction, overlayInfo, packageToDisable.first, currentUser, in applyCurrentUserOverlays() 226 setEnabled(transaction, overlayInfo, category, currentUser, managedProfiles, in applyCurrentUserOverlays() 246 OverlayIdentifier identifier, String category, int currentUser, in setEnabled() argument 254 UserHandle.of(currentUser)); in setEnabled() 257 + currentUser); in setEnabled() 261 transaction.setEnabled(identifier, enabled, currentUser); in setEnabled() 262 if (currentUser != UserHandle.SYSTEM.getIdentifier() in setEnabled()
|
D | ThemeOverlayController.java | 181 boolean currentUser = userId == mUserTracker.getUserId(); 182 if (currentUser && !mAcceptColorEvents 191 if (currentUser && wallpaperColors != null) { 251 final int currentUser = mUserTracker.getUserId(); in handleWallpaperColors() local 260 if (userId != currentUser) { in handleWallpaperColors() 262 + "Not for current user: " + currentUser); in handleWallpaperColors() 288 currentUser); in handleWallpaperColors() 588 final int currentUser = mUserTracker.getUserId(); in updateThemeOverlays() local 591 currentUser); in updateThemeOverlays() 652 for (UserInfo userInfo : mUserManager.getEnabledProfiles(currentUser)) { in updateThemeOverlays() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsBindingControllerImpl.kt | 60 private var currentUser = userTracker.userHandle variable 63 get() = currentUser.identifier 95 currentUser, in createProviderManager() 178 if (newUser == currentUser) return in changeUser() 181 currentUser = newUser in changeUser() 206 append(" currentUser=$currentUser\n") in toString() 220 if (provider.user != currentUser) { in run()
|
D | ControlsControllerImpl.kt | 86 private var currentUser = userTracker.userHandle in <lambda>() variable 88 get() = currentUser.identifier in <lambda>() 95 userStructure = UserStructure(context, currentUser, userFileManager) in <lambda>() 113 currentUser = newUser in <lambda>() 114 userStructure = UserStructure(context, currentUser, userFileManager) in <lambda>() 128 if (currentUser == newUser) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeAuthRemover.java | 40 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in transitionTo() local 41 if (mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(currentUser)) { in transitionTo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResetOrExitSessionReceiver.java | 105 UserInfo currentUser = mUserTracker.getUserInfo(); in onReceive() local 106 if (!currentUser.isGuest()) { in onReceive() 111 mResetSessionDialog = mResetSessionDialogFactory.create(currentUser.id); in onReceive() 114 mExitSessionDialog = mExitSessionDialogFactory.create(currentUser.id, in onReceive() 115 currentUser.isEphemeral()); in onReceive()
|
D | GuestResumeSessionReceiver.java | 68 UserInfo currentUser = mUserTracker.getUserInfo(); 69 if (!currentUser.isGuest()) { 88 mGuestSessionNotification.createPersistentNotification(currentUser,
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 177 UserInfo currentUser = null; in ensureUserCanTakeBugReport() local 179 currentUser = ActivityManager.getService().getCurrentUser(); in ensureUserCanTakeBugReport() 185 if (currentUser == null) { in ensureUserCanTakeBugReport() 191 if (primaryUser.id != currentUser.id) { in ensureUserCanTakeBugReport() 193 && isCurrentUserAffiliated(currentUser.id)) { in ensureUserCanTakeBugReport()
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceDelegate.java | 77 public int currentUser; field in KeyguardServiceDelegate.KeyguardState 91 currentUser = UserHandle.USER_NULL; in reset() 174 if (mKeyguardState.currentUser != UserHandle.USER_NULL) { 176 mKeyguardService.setCurrentUser(mKeyguardState.currentUser); 399 mKeyguardState.currentUser = newUserId; in setCurrentUser() 462 pw.println(prefix + "currentUser=" + mKeyguardState.currentUser); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 699 final int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 700 if (mLockPatternUtils.isSecure(currentUser)) { 702 currentUser); 820 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); 821 boolean trustAgentsEnabled = mUpdateMonitor.isTrustUsuallyManaged(currentUser); 823 mUpdateMonitor.isUnlockingWithBiometricsPossible(currentUser); 827 int strongAuth = strongAuthTracker.getStrongAuthForUser(currentUser); 829 strongAuthTracker.isNonStrongBiometricAllowedAfterIdleTimeout(currentUser); 1396 int currentUser = KeyguardUpdateMonitor.getCurrentUser(); in onStartedGoingToSleep() local 1398 mLockPatternUtils.getPowerButtonInstantlyLocks(currentUser) in onStartedGoingToSleep() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 307 int currentUser = mUserTracker.getUserId(); in onTuningChanged() local 308 if (currentUser != mCurrentUser) { in onTuningChanged() 311 mAutoTiles.changeUser(UserHandle.of(currentUser)); in onTuningChanged() 314 if (tileSpecs.equals(mTileSpecs) && currentUser == mCurrentUser) return; in onTuningChanged() 326 || ((CustomTile) tile).getUser() == currentUser)) { in onTuningChanged() 330 if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { in onTuningChanged() 331 tile.userSwitch(currentUser); in onTuningChanged() 369 mCurrentUser = currentUser; in onTuningChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsRequestDialog.kt | 82 val currentUser = controller.currentUserId in onCreate() constant 84 if (requestUser != currentUser) { in onCreate() 85 Log.w(TAG, "Current user ($currentUser) different from request user ($requestUser)") in onCreate()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 422 UserInfo currentUser; in getAndValidateUser() local 424 currentUser = ActivityManager.getService().getCurrentUser(); in getAndValidateUser() 435 if (currentUser == null) { in getAndValidateUser() 445 if (primaryUser.id != currentUser.id) { in getAndValidateUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardFaceAuthManagerTest.kt | 108 fakeUserRepository.setUserInfos(listOf(currentUser)) in setup() 355 fakeUserRepository.setSelectedUserInfo(currentUser) in dumpDoesNotErrorOutWhenFaceManagerOrBypassControllerIsNull() 360 fakeUserRepository.setSelectedUserInfo(currentUser) in dumpDoesNotErrorOutWhenFaceManagerOrBypassControllerIsNull() 371 fakeUserRepository.setSelectedUserInfo(currentUser) in testSetup() 426 val currentUser = UserInfo(currentUserId, "test user", 0) constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 139 UserHandle currentUser = new UserHandle(currentUserId); in onStartCommand() local 203 mNotificationManager.cancelAsUser(null, NOTIFICATION_VIEW_ID, currentUser); in onStartCommand() 430 UserHandle currentUser = new UserHandle(userId); in saveRecording() local 432 createProcessingNotification(), currentUser); in saveRecording() 440 currentUser); in saveRecording() 446 mNotificationManager.cancelAsUser(null, NOTIFICATION_PROCESSING_ID, currentUser); in saveRecording()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProvider.kt | 207 val currentUser = lockscreenUserManager.currentUserId in userSettingsDisallowNotification() constant 210 disallowForUser(currentUser) -> true in userSettingsDisallowNotification() 212 notifUser == currentUser -> false in userSettingsDisallowNotification()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfoAsyncQuery.java | 114 final int currentUser = ActivityManager.getCurrentUser(); in getCurrentProfileContentResolver() local 117 if (DBG) Log.d(LOG_TAG, "myUser=" + myUser + "currentUser=" + currentUser); in getCurrentProfileContentResolver() 119 if (myUser != currentUser) { in getCurrentProfileContentResolver() 123 /* flags =*/ 0, UserHandle.of(currentUser)); in getCurrentProfileContentResolver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTileTest.kt | 115 assertEquals(USER, tile.mSetting.currentUser) in testSettingWithCorrectUser() 124 assertEquals(USER + 1, tile.mSetting.currentUser) in testSettingChangesUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 79 int currentUser = host.getUserContext().getUserId(); in BatterySaverTile() local 84 currentUser in BatterySaverTile()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 539 UserInfo currentUser = getCurrentUser(); 540 return currentUser == null || currentUser.isPrimary(); 547 UserInfo currentUser = getCurrentUser(); 550 boolean isCurrentUser = currentUser == null 551 ? user.id == 0 : (currentUser.id == user.id);
|