Home
last modified time | relevance | path

Searched refs:shortcutsByApp (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/shortcuts/
DShortcutLoaderTest.kt134 assertEquals("Wrong shortcut count", 1, result.shortcutsByApp.size) in test_loadShortcutsWithAppPredictor_resultIntegrity()
135 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_loadShortcutsWithAppPredictor_resultIntegrity()
136 for (shortcut in result.shortcutsByApp[0].shortcuts) { in test_loadShortcutsWithAppPredictor_resultIntegrity()
188 assertEquals("Wrong shortcut count", 1, result.shortcutsByApp.size) in test_loadShortcutsWithShortcutManager_resultIntegrity()
189 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_loadShortcutsWithShortcutManager_resultIntegrity()
190 for (shortcut in result.shortcutsByApp[0].shortcuts) { in test_loadShortcutsWithShortcutManager_resultIntegrity()
247 assertEquals("Wrong shortcut count", 1, result.shortcutsByApp.size) in test_appPredictorReturnsEmptyList_fallbackToShortcutManager()
248 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_appPredictorReturnsEmptyList_fallbackToShortcutManager()
249 for (shortcut in result.shortcutsByApp[0].shortcuts) { in test_appPredictorReturnsEmptyList_fallbackToShortcutManager()
304 assertEquals("Wrong shortcut count", 1, result.shortcutsByApp.size) in test_appPredictor_requestPredictionUpdateFailure_fallbackToShortcutManager()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DShortcutLoader.kt328 val shortcutsByApp: Array<ShortcutResultInfo>, in <lambda>() constant in com.android.intentresolver.shortcuts.ShortcutLoader.Result