Home
last modified time | relevance | path

Searched refs:setActivity (Results 1 – 21 of 21) sorted by relevance

/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPreBackupTest.java42 .setActivity(getActivity("MainActivity")) in testPreBackup()
51 .setActivity(getActivity("MainActivity2")) in testPreBackup()
58 .setActivity(getActivity("MainActivity2")) in testPreBackup()
DShortcutManagerPostBackupTest.java55 .setActivity(getActivity("MainActivity")) in testRestoredOnOldVersion()
121 .setActivity(getActivity("MainActivity")) in testBackupDisabled()
155 .setActivity(getActivity("MainActivity")) in testRestoreWrongKey()
246 .setActivity(getActivity("MainActivity")) in testInvisibleIgnored()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/
DShortcutManagerPreBackupTest.java42 .setActivity(getActivity("MainActivity2")) in testPreBackup()
51 .setActivity(getActivity("MainActivity2")) in testPreBackup()
58 .setActivity(getActivity("MainActivity2")) in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPreBackupTest.java42 .setActivity(getActivity("MainActivity")) in testPreBackup()
51 .setActivity(getActivity("MainActivity2")) in testPreBackup()
58 .setActivity(getActivity("MainActivity2")) in testPreBackup()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/
DActivityRestartedEvent.java102 setActivity(activityInfo); in ActivityRestartedEventLogger()
108 public ActivityRestartedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() method in ActivityRestartedEvent.ActivityRestartedEventLogger
DActivityResumedEvent.java102 setActivity(activityInfo); in ActivityResumedEventLogger()
108 public ActivityResumedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() method in ActivityResumedEvent.ActivityResumedEventLogger
DActivityPausedEvent.java102 setActivity(activityInfo); in ActivityPausedEventLogger()
108 public ActivityPausedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() method in ActivityPausedEvent.ActivityPausedEventLogger
DActivityStoppedEvent.java100 setActivity(activityInfo); in ActivityStoppedEventLogger()
106 public ActivityStoppedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() method in ActivityStoppedEvent.ActivityStoppedEventLogger
DActivityStartedEvent.java100 setActivity(activityInfo); in ActivityStartedEventLogger()
106 public ActivityStartedEventLogger setActivity( in setActivity() method in ActivityStartedEvent.ActivityStartedEventLogger
DActivityDestroyedEvent.java102 setActivity(activityInfo); in ActivityDestroyedEventLogger()
108 public ActivityDestroyedEventLogger setActivity(android.content.pm.ActivityInfo activity) { in setActivity() method in ActivityDestroyedEvent.ActivityDestroyedEventLogger
DActivityCreatedEvent.java140 setActivity(activityInfo); in ActivityCreatedEventLogger()
144 … public ActivityCreatedEventLogger setActivity(android.content.pm.ActivityInfo activityInfo) { in setActivity() method in ActivityCreatedEvent.ActivityCreatedEventLogger
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerClientApiTest.java107 () -> new ShortcutInfo.Builder(getTestContext(), "id").setActivity(null)); in testShortcutInfoMissingMandatoryFields()
160 .setActivity(mainActivity) in testShortcutInfoMissingMandatoryFields()
167 .setActivity(mainActivity) in testShortcutInfoMissingMandatoryFields()
176 .setActivity(mainActivity) in testShortcutInfoMissingMandatoryFields()
185 .setActivity(new ComponentName("xxx", "s")) in testShortcutInfoMissingMandatoryFields()
194 .setActivity(new ComponentName("xxx", "s")) in testShortcutInfoMissingMandatoryFields()
206 .setActivity(nonMainActivity) in testShortcutInfoMissingMandatoryFields()
214 .setActivity(nonMainActivity) in testShortcutInfoMissingMandatoryFields()
222 .setActivity(nonMainActivity) in testShortcutInfoMissingMandatoryFields()
234 .setActivity(disabledMain) in testShortcutInfoMissingMandatoryFields()
[all …]
DShortcutManagerFakingPublisherTest.java70 .setActivity(ANOTHER_HOME_ACTIVITY) in testSpoofingPublisher()
DShortcutManagerCtsTestsBase.java517 b.setActivity(activity); in makeShortcut()
519 b.setActivity(mTargetActivityOverride); in makeShortcut()
635 q.setActivity(new ComponentName(packageName, in getShortcutsAsLauncher()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/
DDeviceTest.java81 .setActivity(new ComponentName(pkgName, pkgName + ".PocActivity")) in testPocCVE_2023_40092()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DCujTestBase.java59 mListener.setActivity(mActivity); in CujTestBase()
DPlayerListener.java142 public final void setActivity(MainActivity activity) { in setActivity() method in PlayerListener
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java296 mFingerprintDialog.setActivity(this); in showAuthenticationScreen()
393 private void setActivity(FingerprintBoundKeysTest activity) { in setActivity() method in FingerprintBoundKeysTest.FingerprintAuthDialogFragment
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java188 fadf.setActivity(that); in setupTests()
387 private void setActivity(AuthenticationBoundKeyTestActivity activity) { in setActivity() method in AuthenticationBoundKeyTestActivity.FingerprintAuthDialogFragment
/cts/tests/app/src/android/app/cts/
DActivityDumpTest.java48 public void setActivity() throws Exception { in setActivity() method in ActivityDumpTest
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt5870 method @Deprecated public void setActivity(android.app.Activity);
12561 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.…
13589 …method @NonNull public android.content.pm.ShortcutInfo.Builder setActivity(@NonNull android.conten…