Home
last modified time | relevance | path

Searched refs:testComponentName (Results 1 – 6 of 6) sorted by relevance

/cts/tests/smartspace/src/android/smartspace/cts/
DSmartspaceTargetTest.java59 ComponentName testComponentName = new ComponentName("package_name", "class_name"); in testCreateSmartspaceTarget() local
61 info.provider = testComponentName; in testCreateSmartspaceTarget()
63 testComponentName, Process.myUserHandle()) in testCreateSmartspaceTarget()
96 assertThat(testTarget.getComponentName()).isEqualTo(testComponentName); in testCreateSmartspaceTarget()
111 ComponentName testComponentName = new ComponentName("package_name", "class_name"); in testCreateSmartspaceTargetFromWidget() local
113 info.provider = testComponentName; in testCreateSmartspaceTargetFromWidget()
115 testComponentName, Process.myUserHandle()) in testCreateSmartspaceTargetFromWidget()
119 assertThat(testTarget.getWidget().provider).isEqualTo(testComponentName); in testCreateSmartspaceTargetFromWidget()
125 ComponentName testComponentName = new ComponentName("package_name", "class_name"); in testCreateSmartspaceTargetFromRemoteViews() local
129 testComponentName, Process.myUserHandle()) in testCreateSmartspaceTargetFromRemoteViews()
[all …]
/cts/tests/contextualsearch/src/android/contextualsearch/cts/
DContextualSearchStateTest.kt44 assertThat(testState.structure!!.activityComponent).isEqualTo(testComponentName) in <lambda>()
65 assertThat(copyState.structure!!.activityComponent).isEqualTo(testComponentName) in <lambda>()
73 private val testComponentName = ComponentName("pkg", "class") in <lambda>() constant
81 testComponentName.writeToParcel(parcel, 0) in <lambda>()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityLegacyFlowTest.java92 ComponentName testComponentName = new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY); in recreate() local
93 waitForActivityState(testComponentName, STATE_RESUMED); in recreate()
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobSchedulerReceiver.java173 ComponentName testComponentName = new ComponentName(context, TestFgsService.class); in onReceive() local
174 startFgsIntent.setComponent(testComponentName); in onReceive()
191 ComponentName testComponentName = new ComponentName(context, TestFgsService.class); in onReceive() local
192 startFgsIntent.setComponent(testComponentName); in onReceive()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java302 ComponentName testComponentName = new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY); in startAndKeepTestActivity() local
303 testActivity.setComponent(testComponentName); in startAndKeepTestActivity()
306 new WindowManagerStateHelper().waitForActivityState(testComponentName, STATE_RESUMED); in startAndKeepTestActivity()
317 ComponentName testComponentName = in closeActivity() local
319 new WindowManagerStateHelper().waitForActivityRemoved(testComponentName); in closeActivity()
DBaseJobSchedulerTest.java273 ComponentName testComponentName = new ComponentName(mContext, TestActivity.class); in startAndKeepTestActivity() local
274 testActivity.setComponent(testComponentName); in startAndKeepTestActivity()
276 new WindowManagerStateHelper().waitForActivityState(testComponentName, STATE_RESUMED); in startAndKeepTestActivity()