/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/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerRequestPinTest.java | 82 final ShortcutInfo shortcut = makeShortcutBuilder(SHORTCUT_ID) in testRequestPinShortcut() 93 assertTrue(getManager().updateShortcuts(list(shortcut))); in testRequestPinShortcut() 96 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null)); in testRequestPinShortcut() 150 final ShortcutInfo shortcut = makeShortcutBuilder(SHORTCUT_ID) in testRequestPinShortcut_multiLaunchers() 157 assertTrue(getManager().updateShortcuts(list(shortcut))); in testRequestPinShortcut_multiLaunchers() 160 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null)); in testRequestPinShortcut_multiLaunchers() 193 ShortcutInfo shortcut = makeShortcutBuilder(SHORTCUT_ID) in testRequestPinShortcut_multiLaunchers_withDynamic() local 197 assertTrue(getManager().setDynamicShortcuts(list(shortcut))); in testRequestPinShortcut_multiLaunchers_withDynamic() 362 final ShortcutInfo shortcut = makeShortcutBuilder(HIDDEN_SHORTCUT_ID) in testRequestPinShortcutExcludedFromLauncher_ThrowsException() 369 assertTrue(getManager().requestPinShortcut(shortcut, /* intent sender */ null)); in testRequestPinShortcutExcludedFromLauncher_ThrowsException()
|
/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;
|
/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;
|
/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 | MainActivity.java | 16 package android.content.pm.cts.shortcut.backup.publisher3;
|
/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;
|
D | MainActivity.java | 16 package android.content.pm.cts.shortcut.backup.launcher3;
|
/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 | MainActivity.java | 16 package android.content.pm.cts.shortcut.backup.publisher1;
|
/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;
|
D | MainActivity.java | 16 package android.content.pm.cts.shortcut.backup.launcher2;
|
/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/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/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/ |
D | DeviceTest.java | 77 ShortcutInfo shortcut = in testPocCVE_2023_40092() local 87 UserIdField.set(shortcut, testUserId); in testPocCVE_2023_40092() 96 shortcutManager.pushDynamicShortcut(shortcut); in testPocCVE_2023_40092()
|
/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 | MainActivity.java | 16 package android.content.pm.cts.shortcut.upgrade;
|
D | Consts.java | 16 package android.content.pm.cts.shortcut.upgrade;
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | Consts.java | 16 package android.content.pm.cts.shortcut.multiuser;
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/ |
D | MainActivity.java | 16 package android.content.pm.cts.shortcut.backup.publisher4;
|