Searched refs:isSameUser (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 1391 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testBlockedNotifications_blockedByAssistant() 1416 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testBlockedNotifications_blockedByUser() 4940 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyAdjustmentMultiUser() 4966 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testAssistantBlockingTriggersCancel() 4982 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_singleUser() 5001 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_importance() 5019 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyEnqueuedAdjustmentFromAssistant_crossUser() 5039 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testUserSentimentChangeTriggersUpdate() 5057 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testTooLateAdjustmentTriggersUpdate() 5076 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyAdjustmentsLogged() [all …]
|
D | ManagedServicesTest.java | 1322 assertFalse(services.isSameUser(service, 0)); in testIsSameUser() 1323 assertTrue(services.isSameUser(service, 10)); in testIsSameUser() 1324 assertTrue(services.isSameUser(service, UserHandle.USER_ALL)); in testIsSameUser()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 198 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 | 1048 public boolean isSameUser(IInterface service, int userId) { in isSameUser() method in ManagedServices 1053 return info.isSameUser(userId); in isSameUser() 1774 public boolean isSameUser(int userId) { in isSameUser() method in ManagedServices.ManagedServiceInfo
|
D | NotificationManagerService.java | 5547 && mAssistants.isSameUser(token, r.getUserId())) { 5585 if (r != null && mAssistants.isSameUser(token, r.getUserId())) { 10004 return !isAssistantService || info.isSameUser(userId); 10283 && info.isSameUser(r.getUserId()); 10364 && info.isSameUser(r.getUserId()); 10534 && info.isSameUser(r.getUserId()); 10574 && (!sameUserOnly || info.isSameUser(sbn.getUserId()));
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 857 final Uri userUri = (mSingleUser && !UserHandle.isSameUser(mMyUid, uid)) in enforceReadPermissionInner()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 1521 if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5180 if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) { in getProcessController()
|
/frameworks/base/services/ |
D | art-profile | 30201 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isSameUser(I)Z+]Lcom/androi… 30245 HPLcom/android/server/notification/ManagedServices;->isSameUser(Landroid/os/IInterface;I)Z+]Lcom/an…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 40023 Landroid/os/UserHandle;->isSameUser(II)Z
|