Searched refs:ShortcutLoader (Results 1 – 6 of 6) sorted by relevance
84 private val appPredictor = mock<ShortcutLoader.AppPredictorProxy>()85 private val callback = mock<Consumer<ShortcutLoader.Result>>()96 ShortcutLoader( in test_loadShortcutsWithAppPredictor_resultIntegrity()124 val resultCaptor = argumentCaptor<ShortcutLoader.Result>() in test_loadShortcutsWithAppPredictor_resultIntegrity()165 ShortcutLoader( in test_loadShortcutsWithShortcutManager_resultIntegrity()178 val resultCaptor = argumentCaptor<ShortcutLoader.Result>() in test_loadShortcutsWithShortcutManager_resultIntegrity()218 ShortcutLoader( in test_appPredictorReturnsEmptyList_fallbackToShortcutManager()237 val resultCaptor = argumentCaptor<ShortcutLoader.Result>() in test_appPredictorReturnsEmptyList_fallbackToShortcutManager()279 ShortcutLoader( in test_appPredictor_requestPredictionUpdateFailure_fallbackToShortcutManager()294 val resultCaptor = argumentCaptor<ShortcutLoader.Result>() in test_appPredictor_requestPredictionUpdateFailure_fallbackToShortcutManager()[all …]
142 import com.android.intentresolver.shortcuts.ShortcutLoader;1527 SparseArray<Pair<ShortcutLoader, Consumer<ShortcutLoader.Result>>> shortcutLoaders = in testDirectTargetSelectionLogging()1546 ShortcutLoader.Result result = new ShortcutLoader.Result( in testDirectTargetSelectionLogging()1549 new ShortcutLoader.ShortcutResultInfo[] { in testDirectTargetSelectionLogging()1550 new ShortcutLoader.ShortcutResultInfo( in testDirectTargetSelectionLogging()1601 SparseArray<Pair<ShortcutLoader, Consumer<ShortcutLoader.Result>>> shortcutLoaders = in testDirectTargetLoggingWithRankedAppTarget()1622 ShortcutLoader.Result result = new ShortcutLoader.Result( in testDirectTargetLoggingWithRankedAppTarget()1625 new ShortcutLoader.ShortcutResultInfo[] { in testDirectTargetLoggingWithRankedAppTarget()1626 new ShortcutLoader.ShortcutResultInfo( in testDirectTargetLoggingWithRankedAppTarget()1678 SparseArray<Pair<ShortcutLoader, Consumer<ShortcutLoader.Result>>> shortcutLoaders = in testShortcutTargetWithApplyAppLimits()[all …]
38 import com.android.intentresolver.shortcuts.ShortcutLoader;201 protected ShortcutLoader createShortcutLoader( in createShortcutLoader()206 Consumer<ShortcutLoader.Result> callback) { in createShortcutLoader()207 ShortcutLoader shortcutLoader = in createShortcutLoader()
31 import com.android.intentresolver.shortcuts.ShortcutLoader;54 public Function2<UserHandle, Consumer<ShortcutLoader.Result>, ShortcutLoader>
131 import com.android.intentresolver.shortcuts.ShortcutLoader;1370 ShortcutLoader shortcutLoader = ActivityManager.isLowRamDeviceStatic() in createProfileRecord()1389 protected ShortcutLoader createShortcutLoader( in createShortcutLoader()1394 Consumer<ShortcutLoader.Result> callback) { in createShortcutLoader()1395 return new ShortcutLoader( in createShortcutLoader()2428 private void onShortcutsLoaded(UserHandle userHandle, ShortcutLoader.Result result) {2437 for (ShortcutLoader.ShortcutResultInfo resultInfo : result.getShortcutsByApp()) {2685 public final ShortcutLoader shortcutLoader;2690 @Nullable ShortcutLoader shortcutLoader) {
64 open class ShortcutLoader in <lambda>() class