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.java139 public boolean isUserSelectable(String alias) { in setUp()
201 when(infoProvider.isUserSelectable("a")).thenReturn(false); in testAliasLoader_filtersNonUserSelectableAliases()
202 when(infoProvider.isUserSelectable("b")).thenReturn(true); in testAliasLoader_filtersNonUserSelectableAliases()
203 when(infoProvider.isUserSelectable("c")).thenReturn(false); in testAliasLoader_filtersNonUserSelectableAliases()
226 when(infoProvider.isUserSelectable("a")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
227 when(infoProvider.isUserSelectable("b")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()
228 when(infoProvider.isUserSelectable("c")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
229 when(infoProvider.isUserSelectable("d")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java187 assertThat(mKeyChainService.isUserSelectable(ALIAS_IMPORTED)).isFalse(); in testUserSelectability()
189 assertThat(mKeyChainService.isUserSelectable(ALIAS_IMPORTED)).isTrue(); in testUserSelectability()
191 assertThat(mKeyChainService.isUserSelectable(ALIAS_IMPORTED)).isFalse(); in testUserSelectability()
244 assertThat(mKeyChainService.isUserSelectable(ALIAS_GENERATED)).isFalse(); in testGenerateKeyPairSucceeds()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java163 @Override public boolean isUserSelectable(String alias) {
165 return mGrantsDb.isUserSelectable(alias);
168 @Override public void setUserSelectable(String alias, boolean isUserSelectable) {
172 isUserSelectable));
173 mGrantsDb.setIsUserSelectable(alias, isUserSelectable);
DKeyChainActivity.java120 public boolean isUserSelectable(String alias) { in chooseCertificate()
123 return connection.getService().isUserSelectable(alias); in chooseCertificate()
315 rawAliasList.stream().filter(mInfoProvider::isUserSelectable) in doInBackground()
578 if (!mFromPolicy && (!connection.getService().isUserSelectable(mAlias))) { in doInBackground()
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java88 @Override public void setUserSelectable(String alias, boolean isUserSelectable)
92 service.setUserSelectable(alias, isUserSelectable);
DIKeyChainServiceTestSupport.aidl42 void setUserSelectable(String alias, boolean isUserSelectable); in setUserSelectable() argument
/packages/apps/KeyChain/src/com/android/keychain/internal/
DKeyInfoProvider.java13 public boolean isUserSelectable(String alias); in isUserSelectable() method
DGrantsDatabase.java235 public boolean isUserSelectable(final String alias) { in isUserSelectable() method in GrantsDatabase