Searched refs:PRIMARY_USER (Results 1 – 5 of 5) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierImplTest.java | 156 private static final UserHandle PRIMARY_USER = UserHandle.of(0); field in MissedCallNotifierImplTest 214 cancelNotificationTestInternal(PRIMARY_USER); in testCancelNotificationInPrimaryUser() 227 missedCallNotifier.clearMissedCalls(PRIMARY_USER); in testDefaultDialerClear() 240 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testDefaultDialerIncrement() 263 return makeMissedCallNotifier(fakeBuilderFactory, PRIMARY_USER); in setupMissedCallNotificationThroughDefaultDialer() 273 PRIMARY_USER); in cancelNotificationTestInternal() 302 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifyMultipleMissedCalls() 325 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); in testNotifyMultipleMissedCalls() 361 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); in testNotifySingleCallInPrimaryUser() 362 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); in testNotifySingleCallInPrimaryUser() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 51 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testGetCorpUser() 53 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser() 60 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.SECONDARY_USER, in testGetCorpUser() 63 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser() 73 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.SECONDARY_USER); in testGetCorpUser() 75 um.myUser = MockUserManager.PRIMARY_USER.id; in testGetCorpUser()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 168 public static final UserInfo PRIMARY_USER = createUserInfo("primary", 0, 0, field in ContactsActor.MockUserManager 182 mUsers.add(PRIMARY_USER); // Add the primary user. in MockUserManager()
|
D | ContactsProvider2Test.java | 2107 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider() 2125 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider() 2877 um.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in testQueryCorpContactsProvider()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1621 private static final int PRIMARY_USER = 0; field in ConnectivityServiceTest 1625 UidRange.createForUser(UserHandle.of(PRIMARY_USER)); 1626 private static final int APP1_UID = UserHandle.getUid(PRIMARY_USER, 10100); 1627 private static final int APP2_UID = UserHandle.getUid(PRIMARY_USER, 10101); 1628 private static final int VPN_UID = UserHandle.getUid(PRIMARY_USER, 10043); 1629 private static final UserInfo PRIMARY_USER_INFO = new UserInfo(PRIMARY_USER, "", 1631 private static final UserHandle PRIMARY_USER_HANDLE = new UserHandle(PRIMARY_USER); 1639 RESTRICTED_USER_INFO.restrictedProfileParentId = PRIMARY_USER; 1653 when(mUserManager.getUserInfo(PRIMARY_USER)).thenReturn(PRIMARY_USER_INFO); in setUp() 7748 mVpnManagerService.setAlwaysOnVpnPackage(PRIMARY_USER, ALWAYS_ON_PACKAGE, in testLockdownVpnWithRestrictedProfiles() [all …]
|