Home
last modified time | relevance | path

Searched refs:isCurrentProfile (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinatorTest.java84 when(mLockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false); in testFilterOutNotifsFromOtherProfiles()
93 when(mLockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(true); in testPreserveNotifsFromThisProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManager.java47 boolean isCurrentProfile(int userId); in isCurrentProfile() method
DNotificationLockscreenUserManagerImpl.java109 isCurrentProfile(getSendingUserId())) {
301 public boolean isCurrentProfile(int userId) { in isCurrentProfile() method in NotificationLockscreenUserManagerImpl
474 if (isCurrentProfile(userHandle) && userHandle != mCurrentUserId) { in userAllowsNotificationsInPublic()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardEnvironmentImpl.java57 return mLockscreenUserManager.isCurrentProfile(notificationUserId); in isNotificationForCurrentProfiles()
DStatusBarRemoteInputCallback.java296 && mLockscreenUserManager.isCurrentProfile(userId)) { in onReceive()
DStatusBar.java3068 if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataFilter.kt94 if (!lockscreenUserManager.isCurrentProfile(data.userId)) { in <lambda>()
211 if (lockscreenUserManager.isCurrentProfile(data.userId)) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinator.java62 .isCurrentProfile(entry.getSbn().getUser().getIdentifier());
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java361 return isCurrentProfile(context, uid) || checkInteractAcrossUsersFull(context, pid, uid); in checkSystemLocationAccess()
379 private static boolean isCurrentProfile(@NonNull Context context, int uid) { in isCurrentProfile() method in LocationAccessPolicy
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemUserInfoHelper.java114 return activityManagerInternal.isCurrentProfile(userId); in isCurrentUserId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java91 when(mNotificationLockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(true); in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataFilterTest.kt112 `when`(lockscreenUserManager.isCurrentProfile(anyInt())).thenReturn(false) in eq()
113 `when`(lockscreenUserManager.isCurrentProfile(eq(id))).thenReturn(true) in eq()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java343 public abstract boolean isCurrentProfile(@UserIdInt int userId); in isCurrentProfile() method in ActivityManagerInternal
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java273 doReturn(true).when(amInternal).isCurrentProfile(anyInt());
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java533 private boolean isCurrentProfile(int userId) { in isCurrentProfile() method in BubbleController
1008 if (entry != null && !isCurrentProfile( in onRankingUpdated()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1726 && mUserProfiles.isCurrentProfile(nid) in enabledAndUserMatches()
1827 public boolean isCurrentProfile(int userId) { in isCurrentProfile() method in ManagedServices.UserProfiles
DNotificationManagerService.java4365 !mUserProfiles.isCurrentProfile(userId)) {
4433 && !mUserProfiles.isCurrentProfile(userId)) {
7726 mUserProfiles.isCurrentProfile(record.getUserId()));
8649 || mUserProfiles.isCurrentProfile(r.getUserId());
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java849 || ams.mUserController.isCurrentProfile(userId) in updateKeepWarmLocked()
DUserController.java2472 boolean isCurrentProfile(@UserIdInt int userId) {
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java939 public boolean isCurrentProfile(int userId) { in isCurrentProfile() method in InputMethodUtils.InputMethodSettings
DInputMethodManagerService.java3399 if (!mSettings.isCurrentProfile(userId)) { in startInputOrWindowGainedFocusInternalLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1862 return mService.mAmInternal.isCurrentProfile(userId); in isCurrentProfileLocked()
DWindowState.java3639 || mWmService.isCurrentProfile(win.mShowUserId); in showToCurrentUser()
DTask.java3550 || mWmService.isCurrentProfile(getTopMostTask().mUserId); in showToCurrentUser()
DActivityRecord.java8578 return mShowForAllUsers || mWmService.isCurrentProfile(mUserId); in showToCurrentUser()

12