Home
last modified time | relevance | path

Searched refs:EmptyActivity (Results 1 – 25 of 36) sorted by relevance

12

/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DDeviceAssociationTest.java44 import android.virtualdevice.cts.applaunch.AppComponents.EmptyActivity;
217 Activity activity = mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in activityContext_startActivityOnVirtualDevice_returnsVirtualDeviceId()
223 Activity activity = mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in activityContext_startActivityOnDefaultDevice_returnsDefaultDeviceId()
229 Activity activity = mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in activityContext_activityMovesDisplay_returnsDeviceIdAssociatedWithDisplay()
245 mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in applicationContext_lastActivityOnVirtualDevice_returnsVirtualDeviceId()
253 Activity activity = mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in applicationContext_recreateActivity_returnsDeviceIdOfActivity()
254 ActivityMonitor monitor = new ActivityMonitor(EmptyActivity.class.getName(), in applicationContext_recreateActivity_returnsDeviceIdOfActivity()
267 Activity activity = mRule.startActivityOnDisplaySync(DEFAULT_DISPLAY, EmptyActivity.class); in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
269 ActivityMonitor monitor = new ActivityMonitor(EmptyActivity.class.getName(), in applicationContext_recreateFirstActivity_returnsDeviceOfLastCreatedActivity()
282 Activity activity = mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in applicationContext_activityOnVirtualDeviceDestroyed_returnsDefault()
[all …]
DActivityManagementTest.java40 import android.virtualdevice.cts.applaunch.AppComponents.EmptyActivity;
77 new ComponentName(mContext, EmptyActivity.class);
104 EmptyActivity activity = in removeActivityListener_shouldStopCallbacks()
105 mRule.startActivityOnDisplaySync(mVirtualDisplayId, EmptyActivity.class); in removeActivityListener_shouldStopCallbacks()
120 EmptyActivity activity = in activityListener_shouldCallOnTopActivityChange()
121 mRule.startActivityOnDisplaySync(mVirtualDisplayId, EmptyActivity.class); in activityListener_shouldCallOnTopActivityChange()
160 Intent intent = new Intent(Intent.ACTION_MAIN).setClass(service, EmptyActivity.class); in launchPendingIntent_activityIntent_shouldLaunchActivity()
178 .setClass(service, EmptyActivity.class); in launchPendingIntent_serviceIntentTrampolineActivity_shouldLaunchActivity()
208 mContext, 1, new Intent(mContext, EmptyActivity.class), in launchPendingIntent_nullArguments_shouldThrow()
DActivityBlockingTest.java48 import android.virtualdevice.cts.applaunch.AppComponents.EmptyActivity;
80 private final Intent mEmptyActivityIntent = new Intent(mContext, EmptyActivity.class)
318 EmptyActivity emptyActivity = in setAllowedCrossTaskNavigations_shouldBlockNonAllowedNavigations()
319 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in setAllowedCrossTaskNavigations_shouldBlockNonAllowedNavigations()
329 EmptyActivity emptyActivity = in setAllowedCrossTaskNavigations_shouldAllowNavigations()
330 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in setAllowedCrossTaskNavigations_shouldAllowNavigations()
340 EmptyActivity emptyActivity = in setBlockedCrossTaskNavigations_shouldAllowNavigations()
341 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in setBlockedCrossTaskNavigations_shouldAllowNavigations()
351 EmptyActivity emptyActivity = in setBlockedCrossTaskNavigations_shouldBlockNonAllowedNavigations()
352 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in setBlockedCrossTaskNavigations_shouldBlockNonAllowedNavigations()
[all …]
DVirtualDeviceHomeTest.java60 import android.virtualdevice.cts.applaunch.AppComponents.EmptyActivity;
200 EmptyActivity activity = in virtualDeviceHome_noCustomHomeComponent()
201 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in virtualDeviceHome_noCustomHomeComponent()
224 EmptyActivity activity = in virtualDeviceHome_noCustomHomeComponent_sendHomeIntent()
225 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in virtualDeviceHome_noCustomHomeComponent_sendHomeIntent()
257 EmptyActivity activity = in virtualDeviceHome_withCustomHomeComponent()
258 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in virtualDeviceHome_withCustomHomeComponent()
277 EmptyActivity activity = in virtualDeviceHome_withCustomHomeComponent_sendHomeIntent()
278 mRule.startActivityOnDisplaySync(mVirtualDisplay, EmptyActivity.class); in virtualDeviceHome_withCustomHomeComponent_sendHomeIntent()
DAppComponents.java35 public static class EmptyActivity extends Activity {} class in AppComponents
71 startActivity(new Intent(this, EmptyActivity.class) in onStartCommand()
DRestrictActivityTest.java42 import android.virtualdevice.cts.applaunch.AppComponents.EmptyActivity;
87 assertActivityLaunchSucceeds(EmptyActivity.class, /* displayCategories= */ null); in nonRestrictedActivityOnNonRestrictedDevice_shouldSucceed()
98 EmptyActivity.class, Set.of(ACTIVITY_CATEGORY, NON_MATCHING_ACTIVITY_CATEGORY)); in nonRestrictedActivityOnRestrictedDevice_shouldFail()
172 public static class RestrictedActivity extends EmptyActivity {}
DRecentTasksTest.java35 import android.virtualdevice.cts.applaunch.AppComponents.EmptyActivity;
60 Activity activity = mRule.startActivityOnDisplaySync(virtualDisplay, EmptyActivity.class); in activityLaunchedOnVirtualDeviceWithDefaultRecentPolicy_includedInRecents()
82 Activity activity = mRule.startActivityOnDisplaySync(virtualDisplay, EmptyActivity.class); in activityLaunchedOnVirtualDeviceWithCustomRecentPolicy_excludedFromRecents()
DStreamedAppBehaviorTest.java71 AppComponents.EmptyActivity activity = mRule.startActivityOnDisplaySync( in appsInVirtualDevice_shouldNotHaveAccessToCamera()
72 virtualDisplay, AppComponents.EmptyActivity.class); in appsInVirtualDevice_shouldNotHaveAccessToCamera()
/cts/tests/tests/appwidget/AppBal/src/android.appwidget.cts.appbal/
DEmptyActivity.java20 public class EmptyActivity extends Activity { } class
DBalService.java48 Intent intent = new Intent(this, EmptyActivity.class); in startBackgroundActivity()
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/src/com/android/cts/useembeddeddex/
DEmptyActivity.java21 public class EmptyActivity extends Activity {} class
/cts/tests/tests/appwidget/src/android/appwidget/cts/activity/
DEmptyActivity.java20 public class EmptyActivity extends Activity { } class
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/feature_split/src/com/android/cts/useembeddeddex/feature_x/
DEmptyActivity.java22 public class EmptyActivity extends Activity {} class
/cts/hostsidetests/appcompat/compatchanges/preInstallOverrideApps/src/com/android/cts/appcompat/preinstalloverride/
DEmptyActivity.java20 public class EmptyActivity extends Activity { class
/cts/hostsidetests/appcompat/compatchanges/preInstallOverrideApps/src/com/android/cts/appcompat/preinstalloverride2/
DEmptyActivity.java20 public class EmptyActivity extends Activity { class
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature_warm/src/com/android/cts/splitapp/feature/warm/
DEmptyActivity.java21 public class EmptyActivity extends Activity { class
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/activities/
DEmptyActivity.java25 public final class EmptyActivity extends Activity { class
/cts/tests/translation/src/android/translation/cts/
DEmptyActivity.java25 public class EmptyActivity extends Activity { class
DSimpleActivity.java58 Intent intent = new Intent(this, EmptyActivity.class); in startEmptyActivity()
/cts/tests/framework/base/biometrics/apps/util/src/android/server/biometrics/util/
DEmptyActivity.java23 public class EmptyActivity extends Activity { class
/cts/tests/tests/graphics/src/android/graphics/cts/
DEmptyActivity.java27 public final class EmptyActivity extends Activity { class
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DEmptyActivity.java29 public class EmptyActivity extends Activity { class
/cts/tests/camera/src/android/hardware/camera2/cts/
DEmptyActivity.java27 public class EmptyActivity extends Activity { class
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DDarkTextThemeTest.java31 import android.appwidget.cts.activity.EmptyActivity;
70 public ActivityTestRule<EmptyActivity> mActivityRule =
71 new ActivityTestRule<>(EmptyActivity.class);
75 private EmptyActivity mActivity;
DWidgetTransitionTest.java35 import android.appwidget.cts.activity.EmptyActivity;
77 public ActivityTestRule<EmptyActivity> mActivityRule =
78 new ActivityTestRule<>(EmptyActivity.class);
82 private EmptyActivity mActivity;

12