Home
last modified time | relevance | path

Searched refs:infoProvider (Results 1 – 4 of 4) sorted by relevance

/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java200 KeyInfoProvider infoProvider = mock(KeyInfoProvider.class); in testAliasLoader_filtersNonUserSelectableAliases() local
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()
207 keyStore, RuntimeEnvironment.application, infoProvider, mDummyChecker); in testAliasLoader_filtersNonUserSelectableAliases()
225 KeyInfoProvider infoProvider = mock(KeyInfoProvider.class); in testAliasLoader_filtersAliasesWithNonConformingParameters() local
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()
[all …]
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java313 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument
329 object = infoProvider.get(); in cacheLocked()
356 object = infoProvider.get(); in cacheLocked()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java300 public AliasLoader(KeyStore keyStore, Context context, KeyInfoProvider infoProvider, in AliasLoader() argument
304 mInfoProvider = infoProvider; in AliasLoader()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java197 UserHandle user, @NonNull Supplier<T> infoProvider, in cacheLocked() argument