Home
last modified time | relevance | path

Searched refs:setClass (Results 1 – 25 of 43) sorted by relevance

12

/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/
DErrorsTests.java75 intent.setClass(mContext, ExceptionActivity.class); in testException()
91 intent.setClass(mContext, ANRActivity.class); in testANR()
109 intent.setClass(mContext, NativeActivity.class); in testNativeCrash()
123 intent.setClass(mContext, NativeActivity.class); in testTombstone()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsProcessStateTests.java36 intent.setClass(mContext, SimpleForegroundService.class); in testForegroundService()
45 intent.setClass(mContext, SimpleActivity.class); in testActivity()
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
DStoragedTest.java45 intent.setClass(mContext, SimpleIOActivity.class); in testForegroundIO()
55 intent.setClass(mContext, SimpleIOService.class); in testBackgroundIO()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java143 mIntent.setClass(mContext, PendingIntentStubActivity.class); in testGetActivity()
183 mIntent.setClass(mContext, MockReceiver.class); in testGetBroadcast()
281 mIntent.setClass(mContext, MockService.class); in testGetService()
306 mIntent.setClass(mContext, MockService.class); in testStartServiceOnFinishedHandler()
323 mIntent.setClass(mContext, MockService.class); in testStartServiceOnFinishedHandler()
341 mIntent.setClass(mContext, MockService.class); in testCancel()
364 mIntent.setClass(mContext, MockReceiver.class); in testSend()
382 mIntent.setClass(mContext, MockReceiver.class); in testSendWithParamInt()
412 mIntent.setClass(mContext, MockReceiver.class); in testSendWithParamContextIntIntent()
438 mIntent.setClass(mContext, MockReceiver.class); in testSendWithParamIntOnFinishedHandler()
[all …]
DAliasActivityTest.java40 intent.setClass(context, AliasActivityStub.class); in testAliasActivity()
DSearchManagerTest.java33 intent.setClass(getInstrumentation().getTargetContext(), SearchManagerStubActivity.class); in setupActivity()
DNewDocumentTest.java36 intent.setClass(getContext(), NewDocumentTestActivity.class); in testNewDocument()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java57 sharePidIntent.setClass(mContext, SharePidActivity.class); in testPid()
65 sharePidStubIntent.setClass(mContext, SharePidSubActivity.class); in testPid()
75 noSharePidIntent.setClass(mContext, NoSharePidActivity.class); in testPid()
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/
DForegroundActivity.java48 newIntent.setClass(this, BackgroundActivity.class); in onCreate()
66 newIntent.setClass(this, SecondBackgroundActivity.class); in onCreate()
/cts/tests/tests/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java72 finalIntent.setClass(mContext, ConnectivityReceiver.class); in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent()
110 finalIntent.setClass(mContext, ConnectivityReceiver.class); in testConnectivityChanged_whenRegistered_shouldReceiveIntent()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java38 .setClass(InstrumentationRegistry.getTargetContext(), StateInitializeActivity.class) in showStateInitializeActivity()
DTestActivity.java131 .setClass(InstrumentationRegistry.getContext(), TestActivity.class) in startSync()
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/
DRecentTaskActivity.java38 serviceIntent.setClass(this, TaskRemovedListenerService.class); in onCreate()
DAlarmReceiver.java51 .setClass(context, AlarmReceiver.class) in createAlarmPendingIntent()
/cts/tests/app/app/src/android/app/stubs/
DClearTop.java33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( in onCreate()
DLaunchpadActivity.java295 intent.setClass(this, LocalScreen.class); in onResume()
301 intent.setClass(this, LocalScreen.class); in onResume()
380 intent.setClass(this, AliasActivityStub.class); in onResume()
490 intent.setClass(this, LocalScreen.class); in checkLifecycle()
495 intent.setClass(this, LocalDialog.class); in checkLifecycle()
DMockService.java127 intent.setClass(context, MockService.class); in stopService()
/cts/tests/tests/os/src/android/os/cts/
DClearTop.java33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( in onCreate()
DLaunchpadActivity.java288 intent.setClass(this, LocalScreen.class); in onResume()
294 intent.setClass(this, LocalScreen.class); in onResume()
373 intent.setClass(this, AliasActivityStub.class); in onResume()
483 intent.setClass(this, LocalScreen.class); in checkLifecycle()
488 intent.setClass(this, LocalDialog.class); in checkLifecycle()
/cts/tests/tests/media/src/android/media/cts/
DFaceDetectorTest.java36 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class); in setUp()
DFaceDetector_FaceTest.java37 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class); in setUp()
DAudioManagerStub.java85 intent.setClass(this, AudioManagerStubHelper.class); in onResume()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityFlowPortraitTest.java147 intent.setClass(mContext, PreferenceWithHeadersPortrait.class); in launchActivity()
DPreferenceActivityFlowLandscapeTest.java148 intent.setClass(InstrumentationRegistry.getInstrumentation().getTargetContext(), in launchActivity()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestActivity.java96 .setClass(InstrumentationRegistry.getContext(), TestActivity.class) in startSync()

12