/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 133 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityBlocked() 160 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() 170 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() 179 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() 192 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testActivityNotBlockedWhenForegroundActivityLaunch() 207 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testActivityNotBlockedwhenForegroundActivityLaunchInSameTask() 236 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testActivityNotBlockedWhenForegroundActivityLaunchInDifferentTask() 265 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testActivityBlockedWhenForegroundActivityRestartsItself() 288 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testSecondActivityNotBlockedWhenForegroundActivityLaunch() 307 baseActivityIntent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testSecondActivityBlockedWhenBackgroundActivityLaunch() [all …]
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 57 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".IsolatedService")); in testFailBindIsolated() 68 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".IsolatedService")); in testFailBindExternalIsolated() 81 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".ExportedService")); in testFailBindExternalExported() 93 intent.setComponent( in testFailBindExternalNonExported() 106 intent.setComponent( in testFailBindExternalNonIsolated() 119 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".ExternalService")); in testFailBindWithoutBindExternal() 131 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".ExternalService")); in testBindExternalService() 159 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".ServiceCreator")); in testBindExternalServiceWithRunningOwn() 207 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".ExternalService")); in testBindExternalServiceWithRunningOwn() 254 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".ExternalService")); in testBindExternalAboveClient() [all …]
|
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/ |
D | AppComponentFactoryTest.java | 42 .setComponent(new ComponentName(mContext.getPackageName(), in testActivity() 50 .setComponent(new ComponentName(mContext.getPackageName(), in testReceiver() 57 .setComponent(new ComponentName(mContext.getPackageName(), in testService()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerStartShortcutTest.java | 102 .setComponent(mLaunchedActivity) in testStartSingle() 131 .setComponent(mLaunchedActivity) in testStartMultiple() 135 .setComponent(mLaunchedActivity) in testStartMultiple() 138 .setComponent(mLaunchedActivity) in testStartMultiple() 210 .setComponent(mLaunchedActivity) in testShortcutWrongId() 330 .setComponent(new ComponentName("abc", "def")); in testNonExistent() 353 .setComponent(new ComponentName( in testUnExported()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/ |
D | SendPendingIntentReceiver.java | 47 newIntent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in onReceive() 54 newIntent.setComponent(APP_A_BACKGROUND_ACTIVITY); in onReceive() 63 intent.setComponent(APP_B_START_PENDING_INTENT_RECEIVER); in onReceive()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 114 new Intent().setComponent(FEATURE_A_ACTIVITY)); in shouldLoadFeatureADefault() 130 new Intent().setComponent(FEATURE_A_ACTIVITY)).createConfigurationContext(PL); in shouldLoadFeatureAPolishLocale() 158 new Intent().setComponent(FEATURE_B_ACTIVITY)); in shouldLoadFeatureBDefault() 177 new Intent().setComponent(FEATURE_B_ACTIVITY)).createConfigurationContext(PL); in shouldLoadFeatureBPolishLocale() 207 new Intent().setComponent(FEATURE_C_ACTIVITY)); in shouldLoadFeatureCDefault() 223 new Intent().setComponent(FEATURE_C_ACTIVITY)).createConfigurationContext(PL); in shouldLoadFeatureCPolishLocale()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 61 cancelJobsIntent.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_RECEIVER)); in cleanup() 75 scheduleJobIntent.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_RECEIVER)); in scheduleJob() 82 testActivity.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY)); in startAndKeepTestActivity()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 319 intent.setComponent(CERT_INSTALLER_COMPONENT); in installCaCert() 328 intent.setComponent(CERT_INSTALLER_COMPONENT); in removeCaCert() 337 intent.setComponent(CERT_INSTALLER_COMPONENT); in verifyCaCert() 369 intent.setComponent(CERT_INSTALLER_COMPONENT); in installKeyPair()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | BackgroundRestrictedAlarmsTest.java | 98 setAlarmIntent.setComponent(mAlarmScheduler); in scheduleAlarm() 109 setAlarmClockIntent.setComponent(mAlarmScheduler); in scheduleAlarmClock() 156 cancelAlarmsIntent.setComponent(mAlarmScheduler); in tearDown()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 285 queryIntent.setComponent( in testQuery() 342 queryIntent.setComponent( in testQuery() 420 startNormalIntent.setComponent(new ComponentName( in testStartNormal() 473 startNormalIntent.setComponent(new ComponentName( in testStartNormal() 545 startExposedIntent.setComponent(new ComponentName( in testStartExposed03() 583 startExposedIntent.setComponent(new ComponentName( in testStartExposed05() 618 startExposedIntent.setComponent(new ComponentName( in testStartExposed07() 668 startExposedIntent.setComponent(new ComponentName( in testStartExposed09() 764 startEphemeralIntent.setComponent( in testStartEphemeral() 819 startEphemeralIntent.setComponent( in testStartEphemeral() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 132 mIntent.setComponent(mComponentName); in testReadFromParcel() 286 mIntent.setComponent(mComponentName); in testAccessComponent() 388 mIntent.setComponent(mComponentName); in testResolveTypeIfNeeded() 392 mIntent.setComponent(mComponentName); in testResolveTypeIfNeeded() 601 mIntent.setComponent(mComponentName); in testResolveActivityInfo() 646 mIntent.setComponent(mComponentName); in testClone() 674 mIntent.setComponent(mComponentName); in testCloneFilter() 764 intent.setComponent( in testResolveActivityShortcutMatch() 828 mIntent.setComponent(mComponentName); in testGetIntent() 930 mIntent.setComponent(mComponentName); in testToURI() [all …]
|
D | ReadableUriExtraToClipDataTest.java | 84 intent.setComponent(new ComponentName(getContext(), ReadableFileReceiverActivity.class)); in testUriExtraStreamMigratedToClipData_sendIntent() 96 intent.setComponent(new ComponentName(getContext(), ReadableFileReceiverActivity.class)); in testUriExtraStreamMigratedToClipData_sendMultipleIntent()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplaySecurityTests.java | 195 final Intent intent = new Intent(Intent.ACTION_VIEW).setComponent(TEST_ACTIVITY); in testCanAccessSystemOwnedDisplay() 216 .setComponent(SECOND_NO_EMBEDDING_ACTIVITY); in testCanAccessPublicVirtualDisplayWithInternalPermission() 238 .setComponent(SECOND_NO_EMBEDDING_ACTIVITY); in testCanAccessPrivateVirtualDisplayWithInternalPermission() 260 final Intent intent = new Intent(Intent.ACTION_VIEW).setComponent(SECOND_ACTIVITY); in testCantAccessPublicVirtualDisplayNoEmbeddingPermission() 281 .setComponent(SECOND_NO_EMBEDDING_ACTIVITY); in testCantAccessPublicVirtualDisplayActivityEmbeddingNotAllowed() 303 .setComponent(SECOND_ACTIVITY); in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed() 324 final Intent intent = new Intent(Intent.ACTION_VIEW).setComponent(SECOND_ACTIVITY); in testCantAccessPrivateVirtualDisplay()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 151 queryIntent.setComponent( in testQuery() 219 queryIntent.setComponent( in testQuery() 285 queryIntent.setComponent( in testQuery() 329 startNormalIntent.setComponent(new ComponentName( in testStartNormal() 413 startEphemeralIntent.setComponent( in testStartEphemeral()
|
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/ |
D | SplitAppTest.java | 87 new Intent().setComponent(FEATURE_A_ACTIVITY)); in testFeatureAClassLoader() 102 new Intent().setComponent(FEATURE_B_ACTIVITY)); in testFeatureBClassLoader()
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | ShortcutManagerManagedUserTest.java | 54 .setIntent(new Intent(Intent.ACTION_VIEW).setComponent( in test02_createShortuctsOnPrimaryUser() 62 .setIntent(new Intent(Intent.ACTION_VIEW).setComponent( in test03_createShortuctsOnManagedProfile()
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | CommReceiver.java | 71 .setComponent(getTestService(context.getPackageName())) in handleBatterySaverBgServiceRequest() 84 .setComponent(getTestService(context.getPackageName())); in handleBatterySaverBgServiceRequest()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 310 .setComponent(new ComponentName(APP_PACKAGE_NAME, APP_REQUEST_ROLE_ACTIVITY_NAME)) in requestRole() 392 .setComponent(new ComponentName(APP_PACKAGE_NAME, in targetCurrentSdkAndChangeDefaultDialerThenIsCanceled() 404 .setComponent(new ComponentName(APP_PACKAGE_NAME, in targetCurrentSdkAndChangeDefaultSmsThenIsCanceled() 416 .setComponent(new ComponentName(APP_28_PACKAGE_NAME, in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer() 431 .setComponent(new ComponentName(APP_28_PACKAGE_NAME, in targetSdk28AndChangeDefaultSmsAndAllowThenIsDefaultSms() 484 .setComponent(new ComponentName(APP_PACKAGE_NAME, APP_IS_ROLE_HELD_ACTIVITY_NAME)) in assertRoleIsHeld()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 95 bindIntent.setComponent(new ComponentName(targetPackage, SERVICE_NAME)); in doBindService() 141 intent.setComponent(new ComponentName(sourcePackage, "android.app.stubs.CommandReceiver")); in sendCommand()
|
D | LaunchpadTabActivity.java | 34 tabIntent.setComponent((ComponentName) tabIntent.getParcelableExtra("tab")); in onCreate()
|
/cts/tests/framework/base/windowmanager/appDisplaySize/src/android/server/wm/displaysize/ |
D | SmallestWidthActivity.java | 32 startActivity(new Intent().setComponent(ComponentName.unflattenFromString( in onNewIntent()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LaunchTestOnDestroyActivity.java | 37 intent.setComponent(TEST_ACTIVITY); in onDestroy()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityLauncher.java | 142 final Intent newIntent = new Intent().setComponent(TextUtils.isEmpty(targetComponent) in launchActivityFromExtras() 234 final Intent launchIntent = new Intent(Intent.ACTION_VIEW).setComponent(componentName); in checkActivityStartOnDisplay()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BluetoothIntentsTest.java | 47 should_be_protected_broadcast.setComponent( in genericIntentTest()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | VoiceInteractionMain.java | 32 intent.setComponent(new ComponentName(this, MainInteractionService.class)); in onCreate()
|