Searched refs:isSameUser (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 139 public static boolean isSameUser(int uid1, int uid2) { in isSameUser() method in UserHandle
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 690 public boolean isSameUser(IInterface service, int userId) { in isSameUser() method in ManagedServices 695 return info.isSameUser(userId); in isSameUser() 1364 public boolean isSameUser(int userId) { in isSameUser() method in ManagedServices.ManagedServiceInfo
|
D | NotificationManagerService.java | 4049 && mAssistants.isSameUser(token, r.getUserId())) { 4088 if (r != null && mAssistants.isSameUser(token, r.getUserId())) { 7779 && info.isSameUser(r.getUserId()); 7980 && (!sameUserOnly || info.isSameUser(sbn.getUserId()));
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 932 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testBlockedNotifications_blockedByAssistant() 2968 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyAdjustmentMultiUser() 2994 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testAssistantBlockingTriggersCancel() 3010 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_singleUser() 3029 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_importance() 3047 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyEnqueuedAdjustmentFromAssistant_crossUser() 3070 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testUserSentimentChangeTriggersUpdate() 3091 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testTooLateAdjustmentTriggersUpdate() 3112 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testEnqueuedAdjustmentAppliesAdjustments() 4957 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testAdjustRestrictedKey()
|
D | ManagedServicesTest.java | 828 assertFalse(services.isSameUser(service, 0)); in testIsSameUser() 829 assertTrue(services.isSameUser(service, 10)); in testIsSameUser()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 707 final Uri userUri = (mSingleUser && !UserHandle.isSameUser(mMyUid, uid)) in enforceReadPermissionInner()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 1424 if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5952 if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) { in getProcessController()
|
/frameworks/base/services/ |
D | art-profile | 9271 HSPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isSameUser(I)Z 9296 HSPLcom/android/server/notification/ManagedServices;->isSameUser(Landroid/os/IInterface;I)Z
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 53908 Landroid/os/UserHandle;->isSameUser(II)Z
|