Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest3.java18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
78 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
86 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
96 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
105 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
114 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
116 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A2) in testSetDynamicShortcuts_noManifestShortcuts()
118 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A3) in testSetDynamicShortcuts_noManifestShortcuts()
129 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
131 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A2) in testSetDynamicShortcuts_noManifestShortcuts()
[all …]
DShortcutManagerTest8.java21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
272 assertWith(getCallerShortcuts()) in checkRequestPinShortcut()
289 assertWith(request.getShortcutInfo()) in checkRequestPinShortcut()
312 assertWith(getCallerShortcuts()) in checkRequestPinShortcut()
347 assertWith(getCallerShortcuts()) in testRequestPinShortcut_explicitTargetActivity()
364 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_explicitTargetActivity()
380 assertWith(getCallerShortcuts()) in testRequestPinShortcut_explicitTargetActivity()
429 assertWith(getCallerShortcuts()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
446 assertWith(request.getShortcutInfo()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
462 assertWith(getCallerShortcuts()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
[all …]
DShortcutManagerTest1.java52 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
425 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
435 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
450 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
467 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
478 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
494 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
1165 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
1179 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
1199 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
[all …]
DShortcutManagerTest4.java19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
118 assertWith(getCallerShortcuts()) in testPersistingWeirdCharacters()
DShortcutManagerTest7.java22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
303 assertWith(getCallerShortcuts()) in testClearShortcuts()
321 assertWith(getCallerShortcuts()) in testClearShortcuts()
334 assertWith(getCallerShortcuts()) in testClearShortcuts()
DShortcutManagerTest2.java20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
1219 assertWith(getCallerShortcuts())
1235 assertWith(getCallerShortcuts())
2058 assertWith(getCallerShortcuts()) in testLoadLegacySavedFile()
2104 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2107 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2110 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2121 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2124 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java746 public static ShortcutListAsserter assertWith(List<ShortcutInfo> list) { in assertWith() method
750 public static ShortcutListAsserter assertWith(ShortcutInfo... list) { in assertWith() method
751 return assertWith(list(list)); in assertWith()