/cts/tests/framework/base/windowmanager/app27/src/android/server/wm/app27/ |
D | Components.java | 19 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY; 20 import static android.server.wm.app.Components.TEST_ACTIVITY; 25 public class Components extends ComponentsBase { class 28 component(Components.class, LAUNCHING_ACTIVITY.getClassName()); 31 component(Components.class, TEST_ACTIVITY.getClassName()); 34 component(Components.class, "SeparateProcessActivity"); 37 component(Components.class, "LaunchEnterPipActivity"); 40 component(Components.class, "PipActivity"); 43 component(Components.class, "HomeActivity");
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | ExitAnimationActivity.java | 50 new IntentFilter(Components.ExitAnimationActivityReceiver.ACTION_FINISH), in onStart() 64 case Components.ExitAnimationActivityReceiver.ACTION_FINISH: 66 Components.ExitAnimationActivityReceiver.EXTRA_ANIMATION, 67 Components.ExitAnimationActivityReceiver.EXTRA_VALUE_ANIMATION_EMPTY); 82 case Components.ExitAnimationActivityReceiver.EXTRA_VALUE_ANIMATION_EMPTY: in getEnterAnimationRes() 83 case Components.ExitAnimationActivityReceiver.EXTRA_VALUE_ANIMATION_0_7: in getEnterAnimationRes() 84 case Components.ExitAnimationActivityReceiver.EXTRA_VALUE_ANIMATION_0_9: in getEnterAnimationRes() 86 case Components.ExitAnimationActivityReceiver.EXTRA_VALUE_LONG_ANIMATION_0_7: in getEnterAnimationRes() 96 case Components.ExitAnimationActivityReceiver.EXTRA_VALUE_ANIMATION_EMPTY: in getAnimationRes() 98 case Components.ExitAnimationActivityReceiver.EXTRA_VALUE_ANIMATION_0_7: in getAnimationRes() [all …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | PipActivity.java | 19 import static android.server.wm.app.Components.PipActivity.ACTION_CHANGE_ASPECT_RATIO; 20 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP; 21 import static android.server.wm.app.Components.PipActivity.ACTION_ENTER_PIP_AND_WAIT_FOR_UI_STATE; 22 import static android.server.wm.app.Components.PipActivity.ACTION_EXPAND_PIP; 23 import static android.server.wm.app.Components.PipActivity.ACTION_FINISH; 24 import static android.server.wm.app.Components.PipActivity.ACTION_LAUNCH_TRANSLUCENT_ACTIVITY; 25 import static android.server.wm.app.Components.PipActivity.ACTION_MOVE_TO_BACK; 26 import static android.server.wm.app.Components.PipActivity.ACTION_ON_PIP_REQUESTED; 27 import static android.server.wm.app.Components.PipActivity.ACTION_SET_ON_PAUSE_REMOTE_CALLBACK; 28 import static android.server.wm.app.Components.PipActivity.ACTION_SET_REQUESTED_ORIENTATION; [all …]
|
D | HandleSplashScreenExitActivity.java | 20 import static android.server.wm.app.Components.TestStartingWindowKeys.CANCEL_HANDLE_EXIT; 21 import static android.server.wm.app.Components.TestStartingWindowKeys.CENTER_VIEW_IS_SURFACE_VIEW; 22 import static android.server.wm.app.Components.TestStartingWindowKeys.CONTAINS_BRANDING_VIEW; 23 import static android.server.wm.app.Components.TestStartingWindowKeys.CONTAINS_CENTER_VIEW; 24 import static android.server.wm.app.Components.TestStartingWindowKeys.DELAY_RESUME; 25 import static android.server.wm.app.Components.TestStartingWindowKeys.GET_NIGHT_MODE_ACTIVITY_CHANG… 26 import static android.server.wm.app.Components.TestStartingWindowKeys.HANDLE_SPLASH_SCREEN_EXIT; 27 import static android.server.wm.app.Components.TestStartingWindowKeys.ICON_ANIMATION_DURATION; 28 import static android.server.wm.app.Components.TestStartingWindowKeys.ICON_ANIMATION_START; 29 import static android.server.wm.app.Components.TestStartingWindowKeys.ICON_BACKGROUND_COLOR; [all …]
|
D | UiScalingTestActivity.java | 19 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_ADD_SUBVIEW; 20 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_CLEAR_DEFAULT_VIEW; 21 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_GET_RESOURCES_CONFIG; 22 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_GET_SUBVIEW_SIZE; 23 import static android.server.wm.app.Components.UiScalingTestActivity.COMMAND_UPDATE_RESOURCES_CONFI… 24 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_COMMAND_SUCCESS; 25 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_RESOURCES_CONFIG; 26 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_SUBVIEW_ID; 27 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_TEXT_SIZE; 28 import static android.server.wm.app.Components.UiScalingTestActivity.KEY_VIEW_SIZE; [all …]
|
D | HideOverlayWindowsActivity.java | 19 import static android.server.wm.app.Components.HideOverlayWindowsActivity.ACTION; 20 import static android.server.wm.app.Components.HideOverlayWindowsActivity.MOTION_EVENT_EXTRA; 21 import static android.server.wm.app.Components.HideOverlayWindowsActivity.PONG; 22 import static android.server.wm.app.Components.HideOverlayWindowsActivity.REPORT_TOUCH; 23 import static android.server.wm.app.Components.HideOverlayWindowsActivity.SHOULD_HIDE;
|
D | TopActivity.java | 19 import static android.server.wm.app.Components.TopActivity.ACTION_CONVERT_FROM_TRANSLUCENT; 20 import static android.server.wm.app.Components.TopActivity.ACTION_CONVERT_TO_TRANSLUCENT; 21 import static android.server.wm.app.Components.TopActivity.EXTRA_FINISH_DELAY; 22 import static android.server.wm.app.Components.TopActivity.EXTRA_FINISH_IN_ON_CREATE;
|
D | BroadcastReceiverActivity.java | 19 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY; 20 import static android.server.wm.app.Components.BroadcastReceiverActivity.ACTION_TRIGGER_BROADCAST; 21 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_BROADCAST_ORIENTATIO… 22 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_CUTOUT_EXISTS; 23 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD; 24 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD_MET… 25 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_FINISH_BROADCAST; 26 import static android.server.wm.app.Components.BroadcastReceiverActivity.EXTRA_MOVE_BROADCAST_TO_BA…
|
D | VirtualDisplayActivity.java | 27 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_CREATE_DISPLAY; 28 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_DESTROY_DISPLAY; 29 import static android.server.wm.app.Components.VirtualDisplayActivity.COMMAND_RESIZE_DISPLAY; 30 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_CAN_SHOW_WITH_INSECURE_KE… 31 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_COMMAND; 32 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_COUNT; 33 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_DENSITY_DPI; 34 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_PRESENTATION_DISPLAY; 35 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_PUBLIC_DISPLAY; 36 import static android.server.wm.app.Components.VirtualDisplayActivity.KEY_RESIZE_DISPLAY; [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | UnsupportedErrorDialogTests.java | 32 import android.server.wm.app.Components; 81 launchActivityNoWait(Components.CRASHING_ACTIVITY); in testDevSettingOverride() 83 ensureActivityNotFocused(Components.CRASHING_ACTIVITY); in testDevSettingOverride() 104 launchActivityNoWait(Components.CRASHING_ACTIVITY); in testDevSettingPrecedence() 106 ensureActivityNotFocused(Components.CRASHING_ACTIVITY); in testDevSettingPrecedence() 121 launchActivityNoWait(Components.CRASHING_ACTIVITY); in testFirstCrashDialogNotShown() 123 ensureNoCrashDialog(Components.CRASHING_ACTIVITY); in testFirstCrashDialogNotShown() 124 ensureActivityNotFocused(Components.CRASHING_ACTIVITY); in testFirstCrashDialogNotShown() 144 launchActivityNoWait(Components.CRASHING_ACTIVITY); in testRepeatedCrashDialogNotShown() 145 ensureNoCrashDialog(Components.CRASHING_ACTIVITY); in testRepeatedCrashDialogNotShown() [all …]
|
D | ActivityRecordInputSinkTests.java | 21 import static android.server.wm.overlay.Components.TranslucentFloatingActivity.ACTION_FINISH; 22 import static android.server.wm.overlay.Components.TranslucentFloatingActivity.EXTRA_FADE_EXIT; 33 import android.server.wm.overlay.Components; 50 android.server.wm.second.Components.class.getPackage().getName(); 56 Components.TranslucentFloatingActivity.getComponent(APP_SELF); 58 Components.TranslucentFloatingActivity.getComponent(APP_A); 60 Components.TrampolineActivity.getComponent(APP_A); 84 mContext.sendBroadcast(new Intent(Components.TranslucentFloatingActivity.ACTION_FINISH)); in testOverlappingActivityInNewTask_BlocksTouches() 116 Components.TrampolineActivity.buildTrampolineExtra(OVERLAY_IN_DIFFERENT_UID)); in testOverlappingActivityInSameTaskTrampolineDifferentUid_DoesNotBlockTouches() 126 intent.replaceExtras(Components.TrampolineActivity.buildTrampolineExtra(TEST_ACTIVITY, in testOverlappingActivitySandwich_BlocksTouches() [all …]
|
D | ActivityVisibilityTests.java | 31 import static android.server.wm.app.Components.ALT_LAUNCHING_ACTIVITY; 32 import static android.server.wm.app.Components.BROADCAST_RECEIVER_ACTIVITY; 33 import static android.server.wm.app.Components.DOCKED_ACTIVITY; 34 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY; 35 import static android.server.wm.app.Components.MOVE_TASK_TO_BACK_ACTIVITY; 36 import static android.server.wm.app.Components.MoveTaskToBackActivity.EXTRA_FINISH_POINT; 37 import static android.server.wm.app.Components.MoveTaskToBackActivity.FINISH_POINT_ON_PAUSE; 38 import static android.server.wm.app.Components.MoveTaskToBackActivity.FINISH_POINT_ON_STOP; 39 import static android.server.wm.app.Components.NO_HISTORY_ACTIVITY; 40 import static android.server.wm.app.Components.RESIZEABLE_ACTIVITY; [all …]
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityTestBase.java | 42 import android.server.wm.backgroundactivity.appa.Components; 67 static final Components APP_A = Components.get(APP_A_PACKAGE); 68 static final Components APP_A_33 = Components.get(APP_A_PACKAGE + "33"); 71 static final Components APP_B = Components.get(APP_B_PACKAGE); 72 static final Components APP_B_33 = Components.get(APP_B_PACKAGE + "33"); 75 static final Components APP_C = Components.get(APP_C_PACKAGE); 76 static final Components APP_C_33 = Components.get(APP_C_PACKAGE + "33"); 77 static final Components APP_ASM_OPT_IN = 78 Components.get("android.server.wm.backgroundactivity.appasmoptin"); 82 static final Components APP_ASM_OPT_OUT = Components.get(APP_ASM_OPT_OUT_PACKAGE); [all …]
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | TestActivity.java | 19 import static android.server.wm.app.Components.TestActivity.COMMAND_NAVIGATE_UP_TO; 20 import static android.server.wm.app.Components.TestActivity.COMMAND_START_ACTIVITIES; 21 import static android.server.wm.app.Components.TestActivity.COMMAND_START_ACTIVITY; 22 import static android.server.wm.app.Components.TestActivity.EXTRA_CONFIG_ASSETS_SEQ; 23 import static android.server.wm.app.Components.TestActivity.EXTRA_FIXED_ORIENTATION; 24 import static android.server.wm.app.Components.TestActivity.EXTRA_INTENT; 25 import static android.server.wm.app.Components.TestActivity.EXTRA_INTENTS; 26 import static android.server.wm.app.Components.TestActivity.EXTRA_NO_IDLE; 27 import static android.server.wm.app.Components.TestActivity.EXTRA_OPTION; 28 import static android.server.wm.app.Components.TestActivity.TEST_ACTIVITY_ACTION_FINISH_SELF;
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DreamManagerServiceTests.java | 24 import static android.server.wm.app.Components.SHOW_WHEN_LOCKED_ACTIVITY; 25 import static android.server.wm.app.Components.TEST_ACTIVITY; 26 import static android.server.wm.app.Components.TEST_DREAM_SERVICE; 27 import static android.server.wm.app.Components.TEST_STUBBORN_DREAM_SERVICE; 43 import android.server.wm.app.Components; 206 launchActivity(Components.TEST_ACTIVITY); in testStartActivityDoesNotWakeAndIsNotResumed() 207 mWmState.waitForActivityState(Components.TEST_ACTIVITY, STATE_STOPPED); in testStartActivityDoesNotWakeAndIsNotResumed() 229 launchActivity(Components.TURN_SCREEN_ON_ACTIVITY); in testStartTurnScreenOnActivityDoesWake() 232 waitAndAssertTopResumedActivity(Components.TURN_SCREEN_ON_ACTIVITY, in testStartTurnScreenOnActivityDoesWake() 240 launchActivity(Components.TURN_SCREEN_ON_ATTR_ACTIVITY); in testStartTurnScreenOnAttrActivityDoesWake() [all …]
|
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/ |
D | Components.java | 22 public class Components extends ComponentsBase { class 54 component(Components.class, "ImplicitTargetActivity"); 57 return component(Components.class, className); in component() 61 return getPackageName(Components.class); in getPackageName()
|
/cts/tests/framework/base/windowmanager/appBackLegacy/src/android/server/wm/backlegacyapp/ |
D | BackNavigationLegacyActivity.java | 35 Components.BACK_LEGACY, in onCreate() 36 bundle -> bundle.putBoolean(Components.KEY_ON_BACK_INVOKED_CALLED, true)); in onCreate() 45 TestJournalProvider.putExtras(this, Components.BACK_LEGACY, in onBackPressed() 46 bundle -> bundle.putBoolean(Components.KEY_ON_BACK_PRESSED_CALLED, true)); in onBackPressed()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | Components.java | 22 public class Components extends ComponentsBase { class 25 component(Components.class, "DragSource"); 28 component(Components.class, "DropTarget");
|
/cts/tests/framework/base/windowmanager/appPropertyCompatEnableFakeFocusOptIn/src/android/server/wm/enablefakefocusoptin/ |
D | Components.java | 22 public class Components extends ComponentsBase { class 25 component(Components.class, "EnableFakeFocusOptInLeftActivity"); 28 component(Components.class, "EnableFakeFocusOptInRightActivity");
|
/cts/tests/framework/base/windowmanager/appPropertyCompatAllowOrientationOverride/src/android/server/wm/alloworientationoverride/ |
D | Components.java | 22 public class Components extends ComponentsBase { class 26 component(Components.class, "AllowOrientationOverrideResponsiveActivity"); 30 component(Components.class, "AllowOrientationOverrideLandscapeActivity");
|
/cts/tests/framework/base/windowmanager/appPropertyCompatEnableFakeFocusOptOut/src/android/server/wm/enablefakefocusoptout/ |
D | Components.java | 22 public class Components extends ComponentsBase { class 25 component(Components.class, "EnableFakeFocusOptOutLeftActivity"); 28 component(Components.class, "EnableFakeFocusOptOutRightActivity");
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/ |
D | BackNavigationLegacyGestureTest.java | 19 import static android.server.wm.backlegacyapp.Components.BACK_LEGACY; 30 import android.server.wm.backlegacyapp.Components; 63 extras.containsKey(Components.KEY_ON_BACK_PRESSED_CALLED))); in receiveOnBackPressed() 65 || !resultExtras.getBoolean(Components.KEY_ON_BACK_PRESSED_CALLED)) { in receiveOnBackPressed() 70 Components.KEY_ON_BACK_INVOKED_CALLED)); in receiveOnBackPressed()
|
/cts/tests/framework/base/windowmanager/app30/src/android/server/wm/app30/ |
D | Components.java | 19 import static android.server.wm.app.Components.TEST_ACTIVITY; 24 public class Components extends ComponentsBase { class 27 component(Components.class, TEST_ACTIVITY.getClassName());
|
/cts/tests/framework/base/windowmanager/translucentappsdk26/src/android/server/wm/translucentapp26/ |
D | Components.java | 19 import static android.server.wm.translucentapp.Components.TRANSLUCENT_LANDSCAPE_ACTIVITY; 24 public class Components extends ComponentsBase { class 27 Components.class, TRANSLUCENT_LANDSCAPE_ACTIVITY.getClassName());
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | Components.java | 25 public class Components extends ComponentsBase { class 26 public static final String JAVA_PACKAGE_NAME = getPackageName(Components.class); 27 private static final HashMap<String, Components> sPackageNameToComponents = new HashMap<>(); 29 public static Components get(Context context) { in get() 33 public static Components get(String packageName) { in get() 35 return sPackageNameToComponents.computeIfAbsent(packageName, Components::new); in get() 135 public Components(String appPackageName) { in Components() method in Components
|