Home
last modified time | relevance | path

Searched refs:isSameUser (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1391 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 …]
DManagedServicesTest.java1322 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/
DUserHandle.java198 public static boolean isSameUser(int uid1, int uid2) { in isSameUser() method in UserHandle
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1048 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
DNotificationManagerService.java5547 && 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/
DContentProvider.java857 final Uri userUri = (mSingleUser && !UserHandle.isSameUser(mMyUid, uid)) in enforceReadPermissionInner()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1521 if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5180 if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) { in getProcessController()
/frameworks/base/services/
Dart-profile30201 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/
Dhiddenapi-max-target-o.txt40023 Landroid/os/UserHandle;->isSameUser(II)Z