Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DUserHandle.java204 public static boolean isSameUser(int uid1, int uid2) { in isSameUser() method in UserHandle
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java1873 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testBlockedNotifications_blockedByAssistant()
1898 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testBlockedNotifications_blockedByUser()
6281 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyAdjustmentMultiUser()
6307 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testAssistantBlockingTriggersCancel()
6323 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_singleUser()
6342 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_importance()
6360 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyEnqueuedAdjustmentFromAssistant_crossUser()
6380 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testUserSentimentChangeTriggersUpdate()
6398 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testTooLateAdjustmentTriggersUpdate()
6417 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyAdjustmentsLogged()
[all …]
DManagedServicesTest.java1373 assertFalse(services.isSameUser(service, 0)); in testIsSameUser()
1374 assertTrue(services.isSameUser(service, 10)); in testIsSameUser()
1375 assertTrue(services.isSameUser(service, UserHandle.USER_ALL)); in testIsSameUser()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1096 public boolean isSameUser(IInterface service, int userId) { in isSameUser() method in ManagedServices
1101 return info.isSameUser(userId); in isSameUser()
1916 public boolean isSameUser(int userId) { in isSameUser() method in ManagedServices.ManagedServiceInfo
DNotificationManagerService.java6270 && mAssistants.isSameUser(token, r.getUserId())) {
6308 if (r != null && mAssistants.isSameUser(token, r.getUserId())) {
10742 return !isAssistantService || info.isSameUser(userId);
10971 && info.isSameUser(r.getUserId());
11043 && info.isSameUser(r.getUserId());
11213 && info.isSameUser(r.getUserId());
11253 && (!sameUserOnly || info.isSameUser(sbn.getUserId()));
/frameworks/base/core/java/android/content/
DContentProvider.java374 && !UserHandle.isSameUser(mMyUid, callingUid)) in logGetTypeData()
1001 final Uri userUri = (mSingleUser && !UserHandle.isSameUser(mMyUid, uid)) in enforceReadPermissionInner()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1721 if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5522 if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) { in getProcessController()
/frameworks/base/services/
Dart-profile2009 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isSameUser(I)Z+]Lcom/androi…
Dart-wear-profile15652 PLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isSameUser(I)Z
15686 PLcom/android/server/notification/ManagedServices;->isSameUser(Landroid/os/IInterface;I)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39380 Landroid/os/UserHandle;->isSameUser(II)Z