Home
last modified time | relevance | path

Searched refs:getOwnerInstalledCaCerts (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DCaCertsCurrentUserPreferenceControllerTest.java64 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java297 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()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDevicePolicyManagerCompat.java74 public List<String> getOwnerInstalledCaCerts(@NonNull UserHandle user) { in getOwnerInstalledCaCerts() method in DevicePolicyManagerCompat
75 return this.mManager.getOwnerInstalledCaCerts(user); in getOwnerInstalledCaCerts()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java198 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()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DCaCertsCurrentUserPreferenceController.java60 List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(UserHandle.myUserId())); in getNumberOfOwnerInstalledCaCertsForCurrentUser()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java189 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()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java192 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()