Home
last modified time | relevance | path

Searched refs:shortcut (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DShortcutConfirmPin.java49 final ShortcutInfo shortcut = request.getShortcutInfo(); in onCreate() local
50 if (shortcut == null) { in onCreate()
55 replyAction = shortcut.getExtras().getString(Constants.EXTRA_REPLY_ACTION); in onCreate()
67 if (shortcut.getExtras().getBoolean(Constants.IGNORE)) { in onCreate()
75 final boolean expectPinned = shortcut.getExtras().getBoolean(Constants.ALREADY_PINNED); in onCreate()
76 if (shortcut.isPinned() != expectPinned) { in onCreate()
81 final String expectLabel = shortcut.getExtras().getString(Constants.LABEL); in onCreate()
82 if (!Objects.equals(expectLabel, shortcut.getShortLabel())) { in onCreate()
85 + shortcut.getShortLabel() + "'"); in onCreate()
89 shortcut, DisplayMetrics.DENSITY_DEFAULT); in onCreate()
[all …]
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetTest.java105 ShortcutInfo shortcut = new ShortcutInfo.Builder(getContext(), ID2).build(); in testBuilderShortcutInfo() local
107 .setPackageName(shortcut.getPackage()) in testBuilderShortcutInfo()
109 .setShortcutInfo(shortcut) in testBuilderShortcutInfo()
111 assertThat(target.getShortcutInfo()).isEqualTo(shortcut); in testBuilderShortcutInfo()
113 assertThat(clone.getShortcutInfo().getId()).isEqualTo(shortcut.getId()); in testBuilderShortcutInfo()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerRequestPinTest.java81 final ShortcutInfo shortcut = makeShortcutBuilder(SHORTCUT_ID) in testRequestPinShortcut()
92 assertTrue(getManager().updateShortcuts(list(shortcut))); in testRequestPinShortcut()
95 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null)); in testRequestPinShortcut()
149 final ShortcutInfo shortcut = makeShortcutBuilder(SHORTCUT_ID) in testRequestPinShortcut_multiLaunchers()
156 assertTrue(getManager().updateShortcuts(list(shortcut))); in testRequestPinShortcut_multiLaunchers()
159 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null)); in testRequestPinShortcut_multiLaunchers()
192 ShortcutInfo shortcut = makeShortcutBuilder(SHORTCUT_ID) in testRequestPinShortcut_multiLaunchers_withDynamic() local
196 assertTrue(getManager().setDynamicShortcuts(list(shortcut))); in testRequestPinShortcut_multiLaunchers_withDynamic()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher2;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPreBackup2Test.java16 package android.content.pm.cts.shortcut.backup.publisher2;
24 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher2;
25 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher4;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher4;
21 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/hostsidetests/shortcuts/deviceside/backup/launcher3/src/android/content/pm/cts/shortcut/backup/launcher3/
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher3;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher3;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/hostsidetests/shortcuts/deviceside/backup/publisher3/src/android/content/pm/cts/shortcut/backup/publisher3/
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher3;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher3;
25 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher1;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher1;
25 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/hostsidetests/shortcuts/deviceside/backup/launcher1/src/android/content/pm/cts/shortcut/backup/launcher1/
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher1;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher1;
21 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DMainActivity.java16 package android.content.pm.cts.shortcut.backup.launcher1;
/cts/hostsidetests/shortcuts/deviceside/backup/launcher2/src/android/content/pm/cts/shortcut/backup/launcher2/
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher2;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPostBackupTest.java16 package android.content.pm.cts.shortcut.backup.launcher2;
21 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPostUpgradeTest.java16 package android.content.pm.cts.shortcut.upgrade;
20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DShortcutManagerPreUpgradeTest.java16 package android.content.pm.cts.shortcut.upgrade;
22 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
DMainActivity.java16 package android.content.pm.cts.shortcut.upgrade;
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPreBackupTest.java16 package android.content.pm.cts.shortcut.backup.publisher4;
25 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
/cts/tests/tests/provider/src/android/provider/cts/
DUserDictionary_WordsTest.java86 private void assertWord(String word, int frequency, String shortcut, Locale locale, in assertWord() argument
89 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale); in assertWord()
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DConsts.java16 package android.content.pm.cts.shortcut.multiuser;

12