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.java306 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument
308 return cacheLocked(componentName, user, infoProvider, cachingLogic, usePackageIcon, in cacheLocked()
314 @NonNull Supplier<T> infoProvider, @NonNull CachingLogic<T> cachingLogic, in cacheLocked() argument
330 object = infoProvider.get(); in cacheLocked()
357 object = infoProvider.get(); in cacheLocked()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java257 public AliasLoader(KeyStore keyStore, Context context, KeyInfoProvider infoProvider, in AliasLoader() argument
261 mInfoProvider = infoProvider; in AliasLoader()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java198 UserHandle user, @NonNull Supplier<T> infoProvider, in cacheLocked() argument