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;
85 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
93 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
103 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
112 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
121 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
123 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A2) in testSetDynamicShortcuts_noManifestShortcuts()
125 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A3) in testSetDynamicShortcuts_noManifestShortcuts()
136 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testSetDynamicShortcuts_noManifestShortcuts()
138 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;
436 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
446 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
461 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
478 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
489 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
505 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
1176 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
1190 assertWith(getCallerShortcuts()) in testUpdateShortcuts_icons()
1210 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;
1280 assertWith(getCallerShortcuts())
1296 assertWith(getCallerShortcuts())
2119 assertWith(getCallerShortcuts()) in testLoadLegacySavedFile()
2165 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2168 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2171 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2182 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
2185 assertWith(mManager.getDynamicShortcuts()).isEmpty(); in testEphemeralApp()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java752 public static ShortcutListAsserter assertWith(List<ShortcutInfo> list) { in assertWith() method
756 public static ShortcutListAsserter assertWith(ShortcutInfo... list) { in assertWith() method
757 return assertWith(list(list)); in assertWith()