Home
last modified time | relevance | path

Searched refs:setDynamicShortcuts (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest11.java63 assertTrue(mManager.setDynamicShortcuts(makeShortcuts("s1", "s2"))); in testShortcutChangeCallback_setDynamicShortcuts()
80 assertTrue(mManager.setDynamicShortcuts(makeShortcuts("s1", "s2"))); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
90 assertTrue(mManager.setDynamicShortcuts(makeShortcuts("s2", "s3"))); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
114 assertTrue(mManager.setDynamicShortcuts( in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
131 assertTrue(mManager.setDynamicShortcuts(makeShortcuts("s3", "s4"))); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
148 assertTrue(mManager.setDynamicShortcuts(makeShortcuts("s1", "s2"))); in testShortcutChangeCallback_pinShortcuts()
172 assertTrue(mManager.setDynamicShortcuts(makeShortcuts("s1", "s2", "s3"))); in testShortcutChangeCallback_pinShortcuts_unpinOthers()
211 assertTrue(mManager.setDynamicShortcuts(list(makeLongLivedShortcut("s1"), in testShortcutChangeCallback_cacheShortcuts()
239 assertTrue(mManager.setDynamicShortcuts(list(makeLongLivedShortcut("s1"), in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
271 assertTrue(mManager.setDynamicShortcuts(list(makeLongLivedShortcut("s1"), in testShortcutChangeCallback_uncacheShortcuts()
[all …]
DShortcutManagerTest2.java152 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields()
169 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields()
186 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields()
206 assertTrue(getManager().setDynamicShortcuts(list(si))); in testShortcutInfoMissingMandatoryFields()
1457 assertTrue(mManager.setDynamicShortcuts(list(
1473 assertTrue(mManager.setDynamicShortcuts(list(
1563 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1568 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1573 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1580 assertFalse(mManager.setDynamicShortcuts(list(si1)));
[all …]
DShortcutManagerTest1.java313 assertTrue(mManager.setDynamicShortcuts(list(si1, si2, si3))); in testSetDynamicShortcuts()
321 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testSetDynamicShortcuts()
327 assertTrue(mManager.setDynamicShortcuts(list())); in testSetDynamicShortcuts()
338 assertTrue(mManager.setDynamicShortcuts(list(si2, si3))); in testSetDynamicShortcuts()
346 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); in testSetDynamicShortcuts()
359 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testAddDynamicShortcuts()
420 assertTrue(mManager.setDynamicShortcuts(list(s1, s2))); in testPushDynamicShortcut()
512 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testUnlimitedCalls()
526 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testUnlimitedCalls()
558 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testPublishWithNoActivity()
[all …]
DShortcutManagerTest3.java81 mManager.setDynamicShortcuts(list( in testSetDynamicShortcuts_noManifestShortcuts()
88 assertTrue(mManager.setDynamicShortcuts(list( in testSetDynamicShortcuts_noManifestShortcuts()
97 assertTrue(mManager.setDynamicShortcuts(list( in testSetDynamicShortcuts_noManifestShortcuts()
107 assertTrue(mManager.setDynamicShortcuts(list( in testSetDynamicShortcuts_noManifestShortcuts()
116 assertTrue(mManager.setDynamicShortcuts(list( in testSetDynamicShortcuts_noManifestShortcuts()
128 assertTrue(mManager.setDynamicShortcuts(list( in testSetDynamicShortcuts_noManifestShortcuts()
143 assertTrue(mManager.setDynamicShortcuts(list())); in testSetDynamicShortcuts_noManifestShortcuts()
DShortcutManagerTest10.java80 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); in testCreateShortcutResult_alreadyPinned()
102 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); in testCreateShortcutResult_alreadyPinnedByAnother()
DShortcutManagerTest8.java481 assertTrue(mManager.setDynamicShortcuts(list(s1))); in testRequestPinShortcut_dynamicExists()
599 assertTrue(mManager.setDynamicShortcuts(list(s))); in testRequestPinShortcut_dynamicExists_alreadyPinned()
759 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); in testRequestPinShortcut_wasDynamic_alreadyPinned()
787 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); in testRequestPinShortcut_wasDynamic_disabled_alreadyPinned()
850 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother()
981 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1"), makeShortcut("s2")))); in testRequestPinShortcut_launcherAlreadyHasPinned()
1047 assertTrue(mManager.setDynamicShortcuts(list(s1))); in testRequestPinShortcut_dynamicExists_titleWontChange()
1177 assertTrue(mManager.setDynamicShortcuts(list(s1))); in testRequestPinShortcut_dynamicExists_thenRemoved_error()
1235 assertTrue(mManager.setDynamicShortcuts(list(s1))); in testRequestPinShortcut_dynamicExists_thenRemoved_okay()
1407 assertTrue(mManager.setDynamicShortcuts(list(s1))); in testRequestPinShortcut_dynamicExists_thenDisabled_error()
DShortcutManagerTest4.java107 assertTrue(mManager.setDynamicShortcuts(list( in testPersistingWeirdCharacters()
DBaseShortcutManagerTest.java503 public boolean setDynamicShortcuts(@NonNull List<ShortcutInfo> shortcutInfoList) { in setDynamicShortcuts() method in BaseShortcutManagerTest.ShortcutManagerTestable
506 return super.setDynamicShortcuts(cloneShortcutList(shortcutInfoList)); in setDynamicShortcuts()
2103 assertTrue(mManager.setDynamicShortcuts(list(
2108 assertTrue(mManager.setDynamicShortcuts(list(
2113 assertTrue(mManager.setDynamicShortcuts(list(
2118 assertTrue(mManager.setDynamicShortcuts(list()));
2121 assertTrue(mManager.setDynamicShortcuts(list(
2126 assertTrue(mManager.setDynamicShortcuts(list(
2179 assertTrue(mManager.setDynamicShortcuts(list(
2183 assertTrue(mManager.setDynamicShortcuts(list(
[all …]
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl29 boolean setDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, in setDynamicShortcuts() method
DShortcutManager.java142 public boolean setDynamicShortcuts(@NonNull List<ShortcutInfo> shortcutInfoList) { in setDynamicShortcuts() method in ShortcutManager
144 return mService.setDynamicShortcuts(mContext.getPackageName(), in setDynamicShortcuts()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1832 public boolean setDynamicShortcuts(String packageName, ParceledListSlice shortcutInfoList, in setDynamicShortcuts() method in ShortcutService
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile26202 HPLcom/android/server/pm/ShortcutService;->lambda$setDynamicShortcuts$3(Landroid/content/pm/Shortcu…
26245 HPLcom/android/server/pm/ShortcutService;->setDynamicShortcuts(Ljava/lang/String;Landroid/content/p…
/frameworks/base/api/
Dcurrent.txt12492 …method public boolean setDynamicShortcuts(@NonNull java.util.List<android.content.pm.ShortcutInfo>…