Searched refs:getOwnerInstalledCaCerts (Results 1 – 7 of 7) sorted by relevance
64 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(Collections.emptyList()); in testNoInstalledCaCerts_preferenceDisabled()78 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(Collections.emptyList()); in testNoInstalledCaCerts_preferenceDisabled_zoneWrite()93 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(Collections.emptyList()); in testNoInstalledCaCerts_preferenceDisabled_zoneRead()108 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(Collections.emptyList()); in testNoInstalledCaCerts_preferenceDisabled_zoneHidden()123 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(ImmutableList.of("cert1", "cert2")); in testInstalledCaCerts_preferenceEnabled()135 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(ImmutableList.of("cert1", "cert2")); in testInstalledCaCerts_preferenceEnabled_zoneWrite()148 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(ImmutableList.of("cert1", "cert2")); in testInstalledCaCerts_preferenceEnabled_zoneRead()162 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(ImmutableList.of("cert1", "cert2")); in testInstalledCaCerts_preferenceEnabled_zoneHidden()176 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(ImmutableList.of("cert1", "cert2")); in testNoCompMode_showsRegularTitle()187 when(mDpm.getOwnerInstalledCaCerts(any())).thenReturn(ImmutableList.of("cert1", "cert2")); in testCompMode_showsPersonalProfileTitle()
297 when(mDevicePolicyManager.getOwnerInstalledCaCerts(managedProfileUserHandle)) in testGetNumberOfOwnerInstalledCaCertsForCurrent()300 when(mDevicePolicyManager.getOwnerInstalledCaCerts(userHandle)) in testGetNumberOfOwnerInstalledCaCertsForCurrent()304 when(mDevicePolicyManager.getOwnerInstalledCaCerts(userHandle)) in testGetNumberOfOwnerInstalledCaCertsForCurrent()308 when(mDevicePolicyManager.getOwnerInstalledCaCerts(userHandle)) in testGetNumberOfOwnerInstalledCaCertsForCurrent()322 when(mDevicePolicyManager.getOwnerInstalledCaCerts(managedProfileUserHandle)) in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()329 when(mDevicePolicyManager.getOwnerInstalledCaCerts(managedProfileUserHandle)) in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()333 when(mDevicePolicyManager.getOwnerInstalledCaCerts(userHandle)) in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()337 when(mDevicePolicyManager.getOwnerInstalledCaCerts(managedProfileUserHandle)) in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()
74 public List<String> getOwnerInstalledCaCerts(@NonNull UserHandle user) { in getOwnerInstalledCaCerts() method in DevicePolicyManagerCompat75 return this.mManager.getOwnerInstalledCaCerts(user); in getOwnerInstalledCaCerts()
198 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser()211 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile()
60 List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(UserHandle.myUserId())); in getNumberOfOwnerInstalledCaCertsForCurrentUser()
189 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser()202 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile()
192 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser()205 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile()