Home
last modified time | relevance | path

Searched refs:ACTIVITY (Results 1 – 11 of 11) sorted by relevance

/cts/libs/vogar-expect/src/vogar/expect/
DModeId.java20 DEVICE, JVM, ACTIVITY, SIM, HOST; enumConstant
23 return this != ACTIVITY; in acceptsVmArgs()
31 return this == DEVICE || this == ACTIVITY || this == SIM || this == HOST; in requiresAndroidSdk()
/cts/tests/app/app/src/android/app/stubs/
DActivityCallbacksTestActivity.java56 ACTIVITY, enumConstant
273 collectEvent(Source.ACTIVITY, Event.ON_PRE_CREATE); in onCreate()
275 collectEvent(Source.ACTIVITY, Event.ON_POST_CREATE); in onCreate()
280 collectEvent(Source.ACTIVITY, Event.ON_PRE_START); in onStart()
282 collectEvent(Source.ACTIVITY, Event.ON_POST_START); in onStart()
287 collectEvent(Source.ACTIVITY, Event.ON_PRE_RESUME); in onResume()
289 collectEvent(Source.ACTIVITY, Event.ON_POST_RESUME); in onResume()
294 collectEvent(Source.ACTIVITY, Event.ON_PRE_PAUSE); in onPause()
296 collectEvent(Source.ACTIVITY, Event.ON_POST_PAUSE); in onPause()
301 collectEvent(Source.ACTIVITY, Event.ON_PRE_STOP); in onStop()
[all …]
/cts/tools/manifest-generator/tests/src/com/android/compatibility/common/generator/
DManifestGeneratorTest.java51 private static final String ACTIVITY = " <activity android:name=\"%s\" />\r\n"; field in ManifestGeneratorTest
95 String activityXml = String.format(ACTIVITY, ACTIVITY_A) in testManifest()
96 + String.format(ACTIVITY, ACTIVITY_B); in testManifest()
/cts/tests/tests/content/src/android/content/pm/cts/
DSaferIntentTest.java143 ACTIVITY, SERVICE, BROADCAST enumConstant
564 case ACTIVITY -> compIntent in testComponentMismatch()
575 case ACTIVITY -> assertThrows( in testComponentMismatch()
589 case ACTIVITY -> mContext.startActivity(compIntent); in testComponentMismatch()
602 case ACTIVITY -> mContext.startActivity(compIntent); in testComponentMismatch()
614 if (type.equals(LaunchType.ACTIVITY)) { in testComponentMismatch()
620 case ACTIVITY -> mContext.startActivity(packageIntent); in testComponentMismatch()
633 case ACTIVITY -> mContext.startActivity(packageIntent); in testComponentMismatch()
644 testComponentMismatch(LaunchType.ACTIVITY); in testActivityIntentMismatch()
671 case ACTIVITY -> mContext.startActivity(intent); in testComponentNullActionMatch()
[all …]
/cts/tools/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java39 private static final String ACTIVITY = "activity"; field in ManifestGenerator
154 serializer.startTag(ns, ACTIVITY); in generate()
156 serializer.endTag(ns, ACTIVITY); in generate()
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/
DCtsGpuProfilingDataTest.java72 private static final String ACTIVITY = "GpuRenderStagesDeviceActivity"; field in CtsGpuProfilingDataTest
157 getDevice().executeShellV2Command("am start -n " + APP + "/." + ACTIVITY); in testProfilingDataProducersAvailable()
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DFgsTimeoutHelper.java61 public static ComponentName ACTIVITY = field in FgsTimeoutHelper
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/
DShortFgsHelper.java70 public static ComponentName ACTIVITY = field in ShortFgsHelper
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutTest.java18 import static android.app.cts.fgstimeouttesthelper.FgsTimeoutHelper.ACTIVITY;
562 .setComponent(ACTIVITY) in startActivityToResetLimits()
564 waitForMethodCall(ACTIVITY, "onCreate"); in startActivityToResetLimits()
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java255 expectedEvents.add(new Pair<>(Source.ACTIVITY, preEvent)); in addNestedEvents()
269 expectedEvents.add(new Pair<>(Source.ACTIVITY, postEvent)); in addNestedEvents()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTest.java18 import static android.app.cts.shortfgstesthelper.ShortFgsHelper.ACTIVITY;
855 .setComponent(ACTIVITY) in testTopStartedShortService()
857 waitForMethodCall(ACTIVITY, "onCreate"); in testTopStartedShortService()
876 waitForMethodCall(ACTIVITY, "onDestroy"); in testTopStartedShortService()