/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerMaxCountTest.java | 33 assertTrue(getManager().setDynamicShortcuts(list(makeShortcut("s1")))); 35 makeShortcut("s1"), 36 makeShortcut("s2"), 37 makeShortcut("s3"), 38 makeShortcut("s4"), 39 makeShortcut("s5") 46 makeShortcut("s1x"), 47 makeShortcut("s2x"), 48 makeShortcut("s3x"), 49 makeShortcut("s4x") [all...] |
ShortcutManagerLauncherApiTest.java | 51 makeShortcut("s1"), 52 makeShortcut("s2"), 53 makeShortcut("s3"), 54 makeShortcut("s4"), 55 makeShortcut("s5") 70 makeShortcut("s1"), 71 makeShortcut("s2"), 72 makeShortcut("s3"), 73 makeShortcut("s4"), 74 makeShortcut("s5" [all...] |
ShortcutManagerMultiLauncherTest.java | 44 makeShortcut("s1"), 45 makeShortcut("s2"), 46 makeShortcut("s3"), 47 makeShortcut("s4"), 48 makeShortcut("s5") 67 makeShortcut("s1"), 68 makeShortcut("s2"), 69 makeShortcut("s3"), 70 makeShortcut("s4"), 71 makeShortcut("s5" [all...] |
ShortcutManagerSpoofDetectionTest.java | 52 getManager().setDynamicShortcuts(list(makeShortcut("s1"))); 55 getManager().addDynamicShortcuts(list(makeShortcut("s1"))); 70 getManager().updateShortcuts(list(makeShortcut("s1"))); 104 getLauncherApps().startShortcut(makeShortcut("s"), null, null);
|
ShortcutManagerSpoofingTest.java | 46 ShortcutInfo s1 = makeShortcut("s1", "title1"); 50 ShortcutInfo s1 = makeShortcut("s1", "title2"); 54 ShortcutInfo s1 = makeShortcut("s1", "title3"); 108 ShortcutInfo s1 = makeShortcut("s1", "title1");
|
ShortcutManagerUsageTest.java | 94 makeShortcut(id1), 95 makeShortcut(id2) 100 makeShortcut(id1), 101 makeShortcut(id3)
|
ShortcutManagerClientApiTest.java | 239 makeShortcut("s1", "title1"), 240 makeShortcut("s2", "title2"), 241 makeShortcut("s3", "title3")))); 267 makeShortcut("s1x", "title1x")))); 307 makeShortcut("s2", "title2-updated")))); 552 makeShortcut("s1")))); 577 makeShortcut("s1", "title1"), 578 makeShortcut("s2", "title2"), 579 makeShortcut("s3", "title3")))); 605 makeShortcut("s1x", "title1x")))) [all...] |
ShortcutManagerCtsTestsBase.java | 346 protected ShortcutInfo makeShortcut(String id) { 347 return makeShortcut(id, "Title-" + id); 351 return makeShortcut( 359 protected ShortcutInfo makeShortcut(String id, String shortLabel) { 360 return makeShortcut( 365 protected ShortcutInfo makeShortcut(String id, ComponentName activity) { 366 return makeShortcut( 375 return makeShortcut( 386 ret.add(makeShortcut(id)); 398 protected ShortcutInfo makeShortcut(String id, String shortLabel, ComponentName activity [all...] |
ShortcutManagerLauncherCallbackTest.java | 158 makeShortcut("s1"), 159 makeShortcut("s2") 183 makeShortcut("s2") 195 makeShortcut("sx")
|
ShortcutManagerNegativeTest.java | 137 makeShortcut("s1"))));
|
/packages/apps/Launcher3/src/com/android/launcher3/discovery/ |
AppDiscoveryAppInfo.java | 60 public ShortcutInfo makeShortcut() { 64 return super.makeShortcut();
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
CreateShortcutTest.java | 122 makeShortcut("d1"), makeShortcut("d2"), 123 makeShortcut(Settings.ManageApplicationsActivity.class), 124 makeShortcut("d3"), 125 makeShortcut(Settings.SoundSettingsActivity.class)); 137 private ShortcutInfo makeShortcut(Class<?> className) { 139 return makeShortcut(SHORTCUT_ID_PREFIX + cn.flattenToShortString()); 142 private ShortcutInfo makeShortcut(String id) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest10.java | 56 ShortcutInfo s1 = makeShortcut("s1"); 65 ShortcutInfo s1 = makeShortcut("s1"); 80 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); 88 ShortcutInfo s1 = makeShortcut("s1"); 102 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); 112 ShortcutInfo s1 = makeShortcut("s1"); 128 ShortcutInfo s1 = makeShortcut("s1");
|
BaseShortcutManagerTest.java | [all...] |
ShortcutManagerTest1.java | 255 final ShortcutInfo si1 = makeShortcut( 264 final ShortcutInfo si2 = makeShortcut( 271 final ShortcutInfo si3 = makeShortcut( 312 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); 319 final ShortcutInfo si1 = makeShortcut("shortcut1"); 320 final ShortcutInfo si2 = makeShortcut("shortcut2"); 321 final ShortcutInfo si3 = makeShortcut("shortcut3"); 347 assertTrue(mManager.addDynamicShortcuts(list(makeShortcut("shortcut1")))); 360 assertTrue(mManager.addDynamicShortcuts(list(makeShortcut("s1")))); 490 final ShortcutInfo si1 = makeShortcut("shortcut1") [all...] |
ShortcutManagerTest4.java | 109 makeShortcut("s{\u0000}{\u0001}{\uD800\uDC00}x[\uD801][\uDC01]")
|
ShortcutManagerTest2.java | [all...] |
ShortcutManagerTest8.java | 177 ShortcutInfo s1 = makeShortcut("s1"); 189 ShortcutInfo s1 = makeShortcut("s1"); 201 ShortcutInfo s1 = makeShortcut("s1"); 229 assertTrue(mManager.requestPinShortcut(makeShortcut("s1"), 759 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); 787 assertTrue(mManager.setDynamicShortcuts(list(makeShortcut("s1")))); [all...] |
ShortcutManagerTest7.java | 296 makeShortcut("s1"), makeShortcut("s2"))));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PromiseAppInfo.java | 39 public ShortcutInfo makeShortcut() {
|
AppInfo.java | 104 public ShortcutInfo makeShortcut() {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ApplicationInfo.java | 115 public ShortcutInfo makeShortcut() {
|
FolderIcon.java | 422 item = ((ApplicationInfo) d.dragInfo).makeShortcut();
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
AddWorkspaceItemsTask.java | 90 item = ((AppInfo) item).makeShortcut(); 125 itemInfo = ((AppInfo) item).makeShortcut();
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
LauncherAccessibilityDelegate.java | 169 ShortcutInfo info = ((AppInfo) item).makeShortcut();
|