Home
last modified time | relevance | path

Searched refs:assertWith (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest3.java18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
88 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
96 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
106 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
115 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
124 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
126 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A2) in testSetDynamicShortcuts_noManifestShortcuts()
128 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A3) in testSetDynamicShortcuts_noManifestShortcuts()
139 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
141 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A2) in testSetDynamicShortcuts_noManifestShortcuts()
[all …]
DShortcutManagerTest8.java21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
275 assertWith(getCallerShortcuts()) in checkRequestPinShortcut()
292 assertWith(request.getShortcutInfo()) in checkRequestPinShortcut()
315 assertWith(getCallerShortcuts()) in checkRequestPinShortcut()
352 assertWith(getCallerShortcuts()) in testRequestPinShortcut_explicitTargetActivity()
369 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_explicitTargetActivity()
385 assertWith(getCallerShortcuts()) in testRequestPinShortcut_explicitTargetActivity()
434 assertWith(getCallerShortcuts()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
451 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
467 assertWith(getCallerShortcuts()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
[all …]
DShortcutManagerTest11.java18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
75 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts()
105 assertWith(changedShortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
109 assertWith(removedShortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
144 assertWith(changedShortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
168 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_pinShortcuts()
203 assertWith(changedShortcuts.getValue()) in testShortcutChangeCallback_pinShortcuts_unpinOthers()
207 assertWith(removedShortcuts.getValue()) in testShortcutChangeCallback_pinShortcuts_unpinOthers()
236 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_cacheShortcuts()
269 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
[all …]
DShortcutManagerTest1.java51 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
652 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
662 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
677 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
694 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
705 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
721 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
1447 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
1459 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
1476 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
[all …]
DShortcutManagerTest4.java19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
131 assertWith(getCallerShortcuts()) in testPersistingWeirdCharacters()
DShortcutManagerTest7.java23 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
300 assertWith(getCallerShortcuts()) in testClearShortcuts()
318 assertWith(getCallerShortcuts()) in testClearShortcuts()
331 assertWith(getCallerShortcuts()) in testClearShortcuts()
362 assertWith(getCallerShortcuts()) in testGetShortcuts()
DShortcutManagerTest2.java20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
1517 assertWith(getCallerShortcuts())
1533 assertWith(getCallerShortcuts())
2370 assertWith(getCallerShortcuts()) in testLoadLegacySavedFile()
2416 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2419 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2422 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2433 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2436 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java815 public static ShortcutListAsserter assertWith(List<ShortcutInfo> list) { in assertWith() method
819 public static ShortcutListAsserter assertWith(ShortcutInfo... list) { in assertWith() method
820 return assertWith(list(list)); in assertWith()