Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest3.java88 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()
182 assertWith(getCallerShortcuts()).selectDynamic().selectByActivity(A1) in testAddDynamicShortcuts_noManifestShortcuts()
[all …]
H A DShortcutManagerTest8.java275 assertWith(getCallerShortcuts()) in checkRequestPinShortcut()
315 assertWith(getCallerShortcuts()) in checkRequestPinShortcut()
352 assertWith(getCallerShortcuts()) in testRequestPinShortcut_explicitTargetActivity()
385 assertWith(getCallerShortcuts()) in testRequestPinShortcut_explicitTargetActivity()
434 assertWith(getCallerShortcuts()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
467 assertWith(getCallerShortcuts()) in testRequestPinShortcut_noTargetActivity_noMainActivity()
493 assertWith(getCallerShortcuts()) in testRequestPinShortcut_dynamicExists()
527 assertWith(getCallerShortcuts()) in testRequestPinShortcut_dynamicExists()
547 assertWith(getCallerShortcuts()) in testRequestPinShortcut_manifestExists()
583 assertWith(getCallerShortcuts()) in testRequestPinShortcut_manifestExists()
[all …]
H A DShortcutManagerTest11.java75 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_setDynamicShortcuts()
168 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_pinShortcuts()
236 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_cacheShortcuts()
269 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
298 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_uncacheShortcuts()
374 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_updateShortcuts()
402 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_addDynamicShortcuts()
425 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_pushDynamicShortcut()
455 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_pushDynamicShortcut_existingId()
528 assertWith(shortcuts.getValue()) in testShortcutChangeCallback_pushDynamicShortcut_causeDeletionButCached()
[all …]
H A DShortcutManagerTest1.java601 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
611 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
626 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
643 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
654 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
670 assertWith(getCallerShortcuts()) in testPublishWithNoActivity()
5859 assertWith( in checkBackupAndRestore_success()
5868 assertWith( in checkBackupAndRestore_success()
5900 assertWith( in checkBackupAndRestore_success()
5908 assertWith( in checkBackupAndRestore_success()
[all …]
H A DShortcutManagerTest4.java19 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.assertWith;
131 assertWith(getCallerShortcuts()) in testPersistingWeirdCharacters()
H A 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()
H A 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()
/aosp14/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A 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()