Searched refs:isSameUser (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 204 public static boolean isSameUser(int uid1, int uid2) { in isSameUser() method in UserHandle
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 1873 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 …]
|
D | ManagedServicesTest.java | 1373 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/ |
D | ManagedServices.java | 1096 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
|
D | NotificationManagerService.java | 6270 && 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/ |
D | ContentProvider.java | 374 && !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/ |
D | ProcessList.java | 1721 if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5522 if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) { in getProcessController()
|
/frameworks/base/services/ |
D | art-profile | 2009 HPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isSameUser(I)Z+]Lcom/androi…
|
D | art-wear-profile | 15652 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/ |
D | hiddenapi-max-target-o.txt | 39380 Landroid/os/UserHandle;->isSameUser(II)Z
|