/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/ |
D | ShortcutConfirmPin.java | 49 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/ |
D | SearchTargetTest.java | 105 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/ |
D | ShortcutManagerRequestPinTest.java | 81 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/ |
D | ShortcutManagerPostBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.publisher2; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPreBackup2Test.java | 16 package android.content.pm.cts.shortcut.backup.publisher2; 24 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPreBackupTest.java | 16 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/ |
D | ShortcutManagerPreBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.launcher4; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPostBackupTest.java | 16 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/ |
D | ShortcutManagerPostBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.launcher3; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPreBackupTest.java | 16 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/ |
D | ShortcutManagerPostBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.publisher3; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPreBackupTest.java | 16 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/ |
D | ShortcutManagerPostBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.publisher1; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPreBackupTest.java | 16 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/ |
D | ShortcutManagerPreBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.launcher1; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPostBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.launcher1; 21 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | MainActivity.java | 16 package android.content.pm.cts.shortcut.backup.launcher1;
|
/cts/hostsidetests/shortcuts/deviceside/backup/launcher2/src/android/content/pm/cts/shortcut/backup/launcher2/ |
D | ShortcutManagerPreBackupTest.java | 16 package android.content.pm.cts.shortcut.backup.launcher2; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPostBackupTest.java | 16 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/ |
D | ShortcutManagerPostUpgradeTest.java | 16 package android.content.pm.cts.shortcut.upgrade; 20 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | ShortcutManagerPreUpgradeTest.java | 16 package android.content.pm.cts.shortcut.upgrade; 22 import android.content.pm.cts.shortcut.device.common.ShortcutManagerDeviceTestBase;
|
D | MainActivity.java | 16 package android.content.pm.cts.shortcut.upgrade;
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/ |
D | ShortcutManagerPreBackupTest.java | 16 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/ |
D | UserDictionary_WordsTest.java | 86 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/ |
D | Consts.java | 16 package android.content.pm.cts.shortcut.multiuser;
|