/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityOptionsTest.java | 41 import android.app.ActivityOptions; 82 ActivityOptions opts = ActivityOptions.makeBasic(); in testMerge_NoClobber() 95 optsBundle.putAll(ActivityOptions.makeBasic().toBundle()); in testMerge_NoClobber() 98 ActivityOptions restoredOpts = ActivityOptions.fromBundle(optsBundle); in testMerge_NoClobber() 118 ActivityOptions opts = ActivityOptions.makeLaunchIntoPip(params); in testMakeLaunchIntoPip() 129 ActivityOptions options = ActivityOptions.makeBasic(); in testAbortListenerCalled() 142 ActivityOptions optionsCopy = ActivityOptions.fromBundle(options.toBundle()); in testAbortListenerCalled() 151 final ActivityOptions options = ActivityOptions.makeBasic(); in testTransferLaunchCookie() 218 final ActivityOptions options = ActivityOptions.makeBasic(); in testActivityOptionsFromBundle() 223 new ActivityOptions(bundle); in testActivityOptionsFromBundle() [all …]
|
D | SafeActivityOptionsTest.java | 36 import android.app.ActivityOptions; 60 final ActivityOptions opts1 = ActivityOptions.makeBasic(); in testMerge() 62 final ActivityOptions opts2 = ActivityOptions.makeBasic(); in testMerge() 65 final ActivityOptions result = options.mergeActivityOptions(opts1, opts2); in testMerge() 75 final SafeActivityOptions clone = new SafeActivityOptions(ActivityOptions.makeBasic() in test_selectiveCloneDisplayOptions() 89 final SafeActivityOptions clone = new SafeActivityOptions(ActivityOptions.makeBasic() in test_selectiveCloneLunchRootTask() 100 ActivityOptions.makeRemoteTransition(transition)) in test_selectiveCloneLunchRemoteTransition() 134 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in test_getOptions() 139 activityOptions = ActivityOptions.makeBasic(); in test_getOptions() 143 activityOptions = ActivityOptions.makeBasic(); in test_getOptions() [all …]
|
D | TaskLaunchParamsModifierTests.java | 43 import android.app.ActivityOptions; 152 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayIdIfSet() 172 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaTokenIfSet() 193 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaFeatureIdIfSet() 473 ActivityOptions options = ActivityOptions.makeBasic(); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayAreaToken() 495 ActivityOptions options = ActivityOptions.makeBasic(); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayAreaFeatureId() 520 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaFeatureIdDisplayIdNotSet() 547 final ActivityOptions options = ActivityOptions.makeBasic() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea() 582 final ActivityOptions options = ActivityOptions.makeBasic() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea_unresizableApp() 600 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformOnFreeformDisplay() [all …]
|
D | PendingRemoteAnimationRegistryTest.java | 23 import android.app.ActivityOptions; 71 ActivityOptions opts = ActivityOptions.makeBasic(); in testOverrideActivityOptions() 79 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testOverrideActivityOptions_null() 87 ActivityOptions opts = ActivityOptions.makeBasic(); in testOverrideLaunchCookie() 109 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testTimeout_overridenEntry()
|
D | BackgroundActivityStartControllerTests.java | 31 import android.app.ActivityOptions; 243 ActivityOptions checkedOptions = ActivityOptions.makeBasic(); in testRegularActivityStart_noExemption_isBlocked() 278 ActivityOptions checkedOptions = ActivityOptions.makeBasic(); in testRegularActivityStart_notAllowed_isBlocked() 313 ActivityOptions checkedOptions = ActivityOptions.makeBasic(); in testRegularActivityStart_allowedByCaller_isAllowed() 348 ActivityOptions checkedOptions = ActivityOptions.makeBasic(); in testRegularActivityStart_allowedByRealCaller_isAllowed() 382 ActivityOptions checkedOptions = ActivityOptions.makeBasic(); in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict() 420 ActivityOptions checkedOptions = ActivityOptions.makeBasic() in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked() 422 ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED) in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked() 424 ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED); in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked() 459 ActivityOptions checkedOptions = ActivityOptions.makeBasic() in testPendingIntent_allowedByCallerAndOptIn_isAllowed() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/ |
D | TvPipMenuTests.kt | 22 import com.android.server.wm.flicker.testapp.ActivityOptions in <lambda>() 185 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_NO_OP) in <lambda>() 187 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_OFF) in <lambda>() 189 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_CLEAR) in <lambda>() 194 uiDevice.clickTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_OFF) in <lambda>() 197 uiDevice.waitForTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_ON) in <lambda>() 201 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_NO_OP) in <lambda>() 203 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_CLEAR) in <lambda>() 208 uiDevice.clickTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_CLEAR) in <lambda>() 212 .waitUntilTvPipMenuElementWithDescriptionIsGone(ActivityOptions.Pip.MENU_ACTION_ON) in <lambda>() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 80 public class ActivityOptions extends ComponentOptions { class 556 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation() 577 public static @NonNull ActivityOptions makeCustomAnimation(@NonNull Context context, in makeCustomAnimation() 603 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation() 606 ActivityOptions opts = new ActivityOptions(); in makeCustomAnimation() 639 public static @NonNull ActivityOptions makeCustomAnimation(@NonNull Context context, in makeCustomAnimation() 643 ActivityOptions opts = makeCustomAnimation(context, enterResId, exitResId, backgroundColor, in makeCustomAnimation() 674 public static @NonNull ActivityOptions makeCustomTaskAnimation(@NonNull Context context, in makeCustomTaskAnimation() 678 ActivityOptions opts = makeCustomAnimation(context, enterResId, exitResId, 0, in makeCustomTaskAnimation() 697 public static ActivityOptions makeCustomInPlaceAnimation(Context context, int animId) { in makeCustomInPlaceAnimation() [all …]
|
D | ComponentOptions.java | 19 import static android.app.ActivityOptions.BackgroundActivityStartMode; 20 import static android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED; 21 import static android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_COMPAT; 22 import static android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED; 23 import static android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_SYSTEM_DEFINED;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 38 import android.app.ActivityOptions; 69 private final @Nullable ActivityOptions mOriginalOptions; 70 private @Nullable ActivityOptions mCallerOptions; 81 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions)) in fromBundle() 92 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions), in fromBundle() 104 public SafeActivityOptions(@Nullable ActivityOptions options) { in SafeActivityOptions() 115 private SafeActivityOptions(@Nullable ActivityOptions options, int callingPid, int callingUid) { in SafeActivityOptions() 128 final ActivityOptions options = cloneLaunchingOptions(mOriginalOptions); in selectiveCloneLaunchOptions() 129 final ActivityOptions callerOptions = cloneLaunchingOptions(mCallerOptions); in selectiveCloneLaunchOptions() 142 private ActivityOptions cloneLaunchingOptions(ActivityOptions options) { in cloneLaunchingOptions() [all …]
|
D | ActivityInterceptorCallback.java | 23 import android.app.ActivityOptions; 197 private final ActivityOptions mCheckedOptions; 241 private ActivityOptions mCheckedOptions = null; 307 public Builder setCheckedOptions(@Nullable ActivityOptions checkedOptions) { in setCheckedOptions() 388 public ActivityOptions getCheckedOptions() { in getCheckedOptions() 413 private final ActivityOptions mActivityOptions; 423 @NonNull ActivityOptions activityOptions) { in ActivityInterceptResult() 440 @NonNull ActivityOptions activityOptions, boolean activityResolved) { in ActivityInterceptResult() 455 public ActivityOptions getActivityOptions() { in getActivityOptions()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | ActivityEmbeddingMainActivity.java | 66 ActivityOptions.ActivityEmbedding.TrampolineActivity.COMPONENT)); in launchTrampolineActivity() 75 ActivityOptions.ActivityEmbedding.SecondaryActivity.COMPONENT)); in launchSecondaryActivity() 82 new ActivityFilter(ActivityOptions.ActivityEmbedding.AlwaysExpandActivity.COMPONENT, in launchAlwaysExpandActivity() 92 ActivityOptions.ActivityEmbedding.AlwaysExpandActivity.COMPONENT)); in launchAlwaysExpandActivity() 101 ActivityOptions.ActivityEmbedding.PlaceholderPrimaryActivity.COMPONENT)); in launchPlaceholderSplit() 125 ActivityOptions.ActivityEmbedding.MainActivity.COMPONENT, in getSplitPairFilters() 126 ActivityOptions.ActivityEmbedding.SecondaryActivity.COMPONENT, in getSplitPairFilters() 130 ActivityOptions.ActivityEmbedding.MainActivity.COMPONENT, in getSplitPairFilters() 131 ActivityOptions.ActivityEmbedding.TrampolineActivity.COMPONENT, in getSplitPairFilters() 141 ActivityOptions.ActivityEmbedding.PlaceholderPrimaryActivity.COMPONENT, in createSplitPlaceholderRules() [all …]
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | ActivityOptionsWrapper.java | 20 import android.app.ActivityOptions; 31 private final ActivityOptions mOptions; 36 private ActivityOptionsWrapper(ActivityOptions options) { in ActivityOptionsWrapper() 43 public static ActivityOptionsWrapper create(ActivityOptions options) { in create() 52 public ActivityOptions getOptions() { in getOptions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfaces.java | 22 import android.app.ActivityOptions; 113 ActivityOptions options = getDefaultActivityOptions(animationAdapter); in getActivityOptions() 135 ActivityOptions options = getDefaultActivityOptions(animationAdapter); in getActivityOptions() 136 options.setSourceInfo(isKeyguardShowing ? ActivityOptions.SourceInfo.TYPE_LOCKSCREEN in getActivityOptions() 137 : ActivityOptions.SourceInfo.TYPE_NOTIFICATION, eventTime); in getActivityOptions() 144 static ActivityOptions getDefaultActivityOptions( in getDefaultActivityOptions() 146 ActivityOptions options; in getDefaultActivityOptions() 149 options = ActivityOptions.makeRemoteTransition( in getDefaultActivityOptions() 154 options = ActivityOptions.makeRemoteAnimation(animationAdapter); in getDefaultActivityOptions() 157 options = ActivityOptions.makeBasic(); in getDefaultActivityOptions()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/appcompat/src/com/android/wm/shell/flicker/appcompat/ |
D | TransparentBaseAppCompat.kt | 28 import com.android.server.wm.flicker.testapp.ActivityOptions 39 launcherName = ActivityOptions.LaunchTransparentActivity.LABEL, 40 component = ActivityOptions.LaunchTransparentActivity.COMPONENT.toFlickerComponent() 45 launcherName = ActivityOptions.TransparentActivity.LABEL, 46 component = ActivityOptions.TransparentActivity.COMPONENT.toFlickerComponent()
|
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | ActivityEmbeddingAppHelper.kt | 32 import com.android.server.wm.flicker.testapp.ActivityOptions 39 launcherName: String = ActivityOptions.ActivityEmbedding.MainActivity.LABEL, 231 ActivityOptions.ActivityEmbedding.MainActivity.COMPONENT.toFlickerComponent() 234 ActivityOptions.ActivityEmbedding.SecondaryActivity.COMPONENT.toFlickerComponent() 237 ActivityOptions.ActivityEmbedding.ThirdActivity.COMPONENT.toFlickerComponent() 240 ActivityOptions.ActivityEmbedding.AlwaysExpandActivity.COMPONENT.toFlickerComponent() 243 ActivityOptions.ActivityEmbedding.PlaceholderPrimaryActivity.COMPONENT 247 ActivityOptions.ActivityEmbedding.PlaceholderSecondaryActivity.COMPONENT 251 ActivityOptions.ActivityEmbedding.TrampolineActivity.COMPONENT.toFlickerComponent()
|
D | TwoActivitiesAppHelper.kt | 28 import com.android.server.wm.flicker.testapp.ActivityOptions 34 launcherName: String = ActivityOptions.LaunchNewActivity.LABEL, 36 ActivityOptions.LaunchNewActivity.COMPONENT.toFlickerComponent() 40 ActivityOptions.SimpleActivity.COMPONENT.toFlickerComponent()
|
D | LaunchBubbleHelper.kt | 22 import com.android.server.wm.flicker.testapp.ActivityOptions 27 ActivityOptions.Bubbles.LaunchBubble.LABEL, 28 ActivityOptions.Bubbles.LaunchBubble.COMPONENT.toFlickerComponent()
|
D | TransferSplashscreenAppHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.TransferSplashscreenActivity.LABEL, 31 ActivityOptions.TransferSplashscreenActivity.COMPONENT.toFlickerComponent()
|
D | FixedOrientationAppHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.PortraitOnlyActivity.LABEL, 31 ActivityOptions.PortraitOnlyActivity.COMPONENT.toFlickerComponent()
|
D | NonResizeableAppHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.NonResizeableActivity.LABEL, 31 ActivityOptions.NonResizeableActivity.COMPONENT.toFlickerComponent()
|
D | SeamlessRotationAppHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.SeamlessRotation.LABEL, 31 ActivityOptions.SeamlessRotation.COMPONENT.toFlickerComponent()
|
D | SimpleAppHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.SimpleActivity.LABEL, 30 component: ComponentNameMatcher = ActivityOptions.SimpleActivity.COMPONENT.toFlickerComponent()
|
D | ShowWhenLockedAppHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.ShowWhenLockedActivity.LABEL, 31 ActivityOptions.ShowWhenLockedActivity.COMPONENT.toFlickerComponent()
|
D | ImeStateInitializeHelper.kt | 23 import com.android.server.wm.flicker.testapp.ActivityOptions 29 launcherName: String = ActivityOptions.Ime.StateInitializeActivity.LABEL, 31 ActivityOptions.Ime.StateInitializeActivity.COMPONENT.toFlickerComponent()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | RecentsTransition.java | 18 import android.app.ActivityOptions; 19 import android.app.ActivityOptions.OnAnimationStartedListener; 41 public static ActivityOptions createAspectScaleAnimation(Context context, Handler handler, in createAspectScaleAnimation() 61 final ActivityOptions opts = ActivityOptions.makeMultiThumbFutureAspectScaleAnimation( in createAspectScaleAnimation()
|