Searched refs:isUserSelectable (Results 1 – 9 of 9) sorted by relevance
117 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 …]
139 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()
187 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()
163 @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);
120 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()
88 @Override public void setUserSelectable(String alias, boolean isUserSelectable)92 service.setUserSelectable(alias, isUserSelectable);
42 void setUserSelectable(String alias, boolean isUserSelectable); in setUserSelectable() argument
13 public boolean isUserSelectable(String alias); in isUserSelectable() method
235 public boolean isUserSelectable(final String alias) { in isUserSelectable() method in GrantsDatabase