Home
last modified time | relevance | path

Searched refs:isUserSelectable (Results 1 – 9 of 9) sorted by relevance

/packages/apps/KeyChain/robotests/src/com/android/keychain/internal/
DGrantsDatabaseTest.java117 Assert.assertFalse(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
130 Assert.assertFalse(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
162 Assert.assertFalse(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
164 Assert.assertTrue(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
170 Assert.assertTrue(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
172 Assert.assertFalse(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
174 Assert.assertTrue(mGrantsDB.isUserSelectable(DUMMY_ALIAS));
279 Assert.assertTrue(mGrantsDB.isUserSelectable(alias));
281 Assert.assertTrue(mGrantsDB.isUserSelectable(EXISTING_ALIAS));
308 Assert.assertFalse(mGrantsDB.isUserSelectable(alias));
[all …]
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java164 public boolean isUserSelectable(String alias) { in setUp()
226 when(mInfoProvider.isUserSelectable("a")).thenReturn(false); in testAliasLoader_filtersNonUserSelectableAliases()
227 when(mInfoProvider.isUserSelectable("b")).thenReturn(true); in testAliasLoader_filtersNonUserSelectableAliases()
228 when(mInfoProvider.isUserSelectable("c")).thenReturn(false); in testAliasLoader_filtersNonUserSelectableAliases()
247 when(mInfoProvider.isUserSelectable("a")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
248 when(mInfoProvider.isUserSelectable("b")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
249 when(mInfoProvider.isUserSelectable("c")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
250 when(mInfoProvider.isUserSelectable("d")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java192 assertThat(mKeyChainService.isUserSelectable(ALIAS_IMPORTED)).isFalse(); in testUserSelectability()
194 assertThat(mKeyChainService.isUserSelectable(ALIAS_IMPORTED)).isTrue(); in testUserSelectability()
196 assertThat(mKeyChainService.isUserSelectable(ALIAS_IMPORTED)).isFalse(); in testUserSelectability()
237 assertThat(mKeyChainService.isUserSelectable(ALIAS_GENERATED)).isFalse(); in testGenerateKeyPairSucceeds()
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java63 @Override public void setUserSelectable(String alias, boolean isUserSelectable)
67 service.setUserSelectable(alias, isUserSelectable);
DIKeyChainServiceTestSupport.aidl38 void setUserSelectable(String alias, boolean isUserSelectable); in setUserSelectable() argument
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java186 public boolean isUserSelectable(String alias) { in chooseCertificate()
189 return connection.getService().isUserSelectable(alias); in chooseCertificate()
451 rawAliasList.stream().filter(mInfoProvider::isUserSelectable) in doInBackground()
707 if (!mFromPolicy && (!connection.getService().isUserSelectable(mAlias))) { in doInBackground()
DKeyChainService.java301 @Override public boolean isUserSelectable(String alias) {
303 return mGrantsDb.isUserSelectable(alias);
306 @Override public void setUserSelectable(String alias, boolean isUserSelectable) {
310 isUserSelectable));
311 mGrantsDb.setIsUserSelectable(alias, isUserSelectable);
/packages/apps/KeyChain/src/com/android/keychain/internal/
DKeyInfoProvider.java13 public boolean isUserSelectable(String alias); in isUserSelectable() method
DGrantsDatabase.java264 public boolean isUserSelectable(final String alias) { in isUserSelectable() method in GrantsDatabase