Home
last modified time | relevance | path

Searched defs:activity (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DDefaultActivityBinder.java53 public abstract Activity bindTunerActivity(TunerActivity activity); in bindTunerActivity()
59 public abstract Activity bindForegroundServicesDialog(ForegroundServicesDialog activity); in bindForegroundServicesDialog()
65 public abstract Activity bindWorkLockActivity(WorkLockActivity activity); in bindWorkLockActivity()
71 public abstract Activity bindBrightnessDialog(BrightnessDialog activity); in bindBrightnessDialog()
77 public abstract Activity bindUsbDebuggingActivity(UsbDebuggingActivity activity); in bindUsbDebuggingActivity()
84 UsbDebuggingSecondaryUserActivity activity); in bindUsbDebuggingSecondaryUserActivity()
90 public abstract Activity bindUsbPermissionActivity(UsbPermissionActivity activity); in bindUsbPermissionActivity()
96 public abstract Activity bindUsbConfirmActivity(UsbConfirmActivity activity); in bindUsbConfirmActivity()
102 public abstract Activity bindUsbAccessoryUriActivity(UsbAccessoryUriActivity activity); in bindUsbAccessoryUriActivity()
108 public abstract Activity bindCreateUserActivity(CreateUserActivity activity); in bindCreateUserActivity()
[all …]
/frameworks/base/core/java/android/app/
DApplication.java76 default void onActivityPreCreated(@NonNull Activity activity, in onActivityPreCreated()
83 void onActivityCreated(@NonNull Activity activity, @Nullable Bundle savedInstanceState); in onActivityCreated()
89 default void onActivityPostCreated(@NonNull Activity activity, in onActivityPostCreated()
97 default void onActivityPreStarted(@NonNull Activity activity) { in onActivityPreStarted()
103 void onActivityStarted(@NonNull Activity activity); in onActivityStarted()
109 default void onActivityPostStarted(@NonNull Activity activity) { in onActivityPostStarted()
116 default void onActivityPreResumed(@NonNull Activity activity) { in onActivityPreResumed()
122 void onActivityResumed(@NonNull Activity activity); in onActivityResumed()
128 default void onActivityPostResumed(@NonNull Activity activity) { in onActivityPostResumed()
135 default void onActivityPrePaused(@NonNull Activity activity) { in onActivityPrePaused()
[all …]
DActivityTransitionState.java168 public void setEnterActivityOptions(Activity activity, ActivityOptions options) { in setEnterActivityOptions()
195 public void enterReady(Activity activity) { in enterReady()
254 public void onStop(Activity activity) { in onStop()
267 public void onResume(Activity activity) { in onResume()
320 public boolean startExitBackTransition(final Activity activity) { in startExitBackTransition()
382 public void startExitOutTransition(Activity activity, Bundle options) { in startExitOutTransition()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java206 final ActivityRecord activity = createActivityWith2LevelTask(); in testTaskFragmentCleanupOnClearingTask() local
215 final ActivityRecord activity = createActivityWith2LevelTask(); in testTaskFragmentCleanupOnActivityRemoval() local
224 final ActivityRecord activity = createActivityWith2LevelTask(); in testRootTaskCleanupOnTaskRemoval() local
234 final ActivityRecord activity = createActivityWithTask(); in testRemoveChildWithOverlayActivity() local
247 final ActivityRecord activity = createActivityWith2LevelTask(); in testNoCleanupMovingActivityInSameStack() local
256 final ActivityRecord activity = createActivityWithTask(); in testPausingWhenVisibleFromStopped() local
306 private void ensureActivityConfiguration(ActivityRecord activity) { in ensureActivityConfiguration()
313 final ActivityRecord activity = new ActivityBuilder(mAtm).build(); in testCanBeLaunchedOnDisplay() local
323 final ActivityRecord activity = createActivityWithTask(); in testsApplyOptionsLocked() local
352 final ActivityRecord activity = createActivityWithTask(); in testNewOverrideConfigurationIncrementsSeq() local
[all …]
DRecentsAnimationControllerTest.java114 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testRemovedBeforeStarted_expectCanceled() local
132 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testCancelAfterRemove_expectIgnored() local
153 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testIncludedApps_expectTargetAndVisible() local
194 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testWallpaperIncluded_expectTarget() local
216 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() local
243 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testFinish_expectTargetAndWallpaperAdaptersRemoved() local
270 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testDeferCancelAnimation() local
273 assertEquals(activity.getTask().getTopVisibleActivity(), activity); in testDeferCancelAnimation() local
291 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testDeferCancelAnimationWithScreenShot() local
294 assertEquals(activity.getTask().getTopVisibleActivity(), activity); in testDeferCancelAnimationWithScreenShot() local
[all …]
DUnknownAppVisibilityControllerTest.java47 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testFlow() local
59 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testSkipResume() local
87 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testClear() local
95 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testRemoveFinishingInvisibleActivityFromUnknown() local
105 final ActivityRecord activity = createNonAttachedActivityRecord(mDisplayContent); in testAppRemoved() local
DSizeCompatTests.java1086 final ActivityRecord activity = new ActivityBuilder(mAtm) in testShouldCreateCompatDisplayInsetsOnResizeableTask() local
1118 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */true, in testShouldCreateCompatDisplayInsetsWhenUnresizeableAndSupportsSizeChangesTrue() local
1131 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */false, in testShouldCreateCompatDisplayInsetsWhenUnresizeableAndSupportsSizeChangesFalse() local
1144 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */false, in testShouldCreateCompatDisplayInsetsWhenResizeableAndSupportsSizeChangesFalse() local
1158 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */false, in testShouldCreateCompatDisplayInsetsWhenUnfixedOrientationSupportsSizeChangesFalse() local
1172 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */false, in testShouldCreateCompatDisplayInsetsWhenForceResizeAppOverrideSet() local
1186 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */true, in testShouldCreateCompatDisplayInsetsWhenForceNonResizeOverrideSet() local
1200 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */true, in testShouldCreateCompatDisplayInsetsWhenForceNonResizeSetAndUnfixedOrientation() local
1214 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */false, in testNeverSandboxDisplayApis_configEnabled_sandboxingNotApplied() local
1234 final ActivityRecord activity = buildActivityRecord(/* supportsSizeChanges= */false, in testNeverSandboxDisplayApis_configDisabled_sandboxingApplied() local
[all …]
DAppTransitionTests.java104 final ActivityRecord activity = createActivityRecord(dc); in testKeyguardOverride() local
120 final ActivityRecord activity = createActivityRecord(dc); in testKeyguardUnoccludeOcclude() local
136 final ActivityRecord activity = createActivityRecord(dc); in testKeyguardKeep() local
151 final ActivityRecord activity = createActivityRecord(dc); in testCrashing() local
166 final ActivityRecord activity = createActivityRecord(dc); in testKeepKeyguard_withCrashing() local
181 final ActivityRecord activity = createActivityRecord(dc); in testSkipTransitionAnimation() local
195 final ActivityRecord activity = createActivityRecord(mDc); in testTaskChangeWindowingMode() local
211 final ActivityRecord activity = createActivityRecord(mDc); in testTaskFragmentChange() local
231 final ActivityRecord activity = createHierarchyForTaskFragmentTest( in testTaskFragmentOpeningTransition() local
246 final ActivityRecord activity = createHierarchyForTaskFragmentTest( in testEmbeddedTaskOpeningTransition() local
[all …]
DWindowProcessControllerTests.java224 final ActivityRecord activity = createActivityRecord(wpc); in testActivityNotOverridingSystemUiProcessConfig() local
237 final ActivityRecord activity = createActivityRecord(mWpc); in testActivityNotOverridingImeProcessConfig() local
250 final ActivityRecord activity = createActivityRecord(mWpc); in testActivityNotOverridingAllyProcessConfig() local
263 final ActivityRecord activity = createActivityRecord(mWpc); in testActivityNotOverridingVoiceInteractionProcessConfig() local
326 final ActivityRecord activity = createActivityRecord(mWpc); in testComputeOomAdjFromActivities() local
382 final ActivityRecord activity = createActivityRecord(mWpc); in testComputeProcessActivityState() local
415 final ActivityRecord activity = createActivityRecord(mWpc); in testTopActivityUiModeChangeScheduleConfigChange() local
425 final ActivityRecord activity = createActivityRecord(mWpc); in testTopActivityUiModeChangeForDifferentPackage_noScheduledConfigChange() local
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
DEmptyLifecycleCallbacksAdapter.java29 public void onActivityCreated(Activity activity, Bundle savedInstanceState) { in onActivityCreated()
33 public void onActivityStarted(Activity activity) { in onActivityStarted()
37 public void onActivityResumed(Activity activity) { in onActivityResumed()
41 public void onActivityPaused(Activity activity) { in onActivityPaused()
45 public void onActivityStopped(Activity activity) { in onActivityStopped()
49 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in onActivitySaveInstanceState()
53 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java112 Activity activity; field in NfcActivityManager.NfcActivityState
124 public NfcActivityState(Activity activity) { in NfcActivityState()
163 synchronized NfcActivityState findActivityState(Activity activity) { in findActivityState()
173 synchronized NfcActivityState getActivityState(Activity activity) { in getActivityState()
191 synchronized void destroyActivityState(Activity activity) { in destroyActivityState()
205 public void enableReaderMode(Activity activity, ReaderCallback callback, int flags, in enableReaderMode()
222 public void disableReaderMode(Activity activity) { in disableReaderMode()
248 public void setNdefPushContentUri(Activity activity, Uri[] uris) { in setNdefPushContentUri()
265 public void setNdefPushContentUriCallback(Activity activity, in setNdefPushContentUriCallback()
282 public void setNdefPushMessage(Activity activity, NdefMessage message, int flags) { in setNdefPushMessage()
[all …]
/frameworks/base/native/android/
Dnative_activity.cpp24 void ANativeActivity_finish(ANativeActivity* activity) { in ANativeActivity_finish()
28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) { in ANativeActivity_setWindowFormat()
32 void ANativeActivity_setWindowFlags(ANativeActivity* activity, in ANativeActivity_setWindowFlags()
37 void ANativeActivity_showSoftInput(ANativeActivity* activity, uint32_t flags) { in ANativeActivity_showSoftInput()
41 void ANativeActivity_hideSoftInput(ANativeActivity* activity, uint32_t flags) { in ANativeActivity_hideSoftInput()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java116 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testDoubleRelaunch() local
126 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testResumeAfterRelaunch() local
137 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testRepeatedResume() local
155 final Activity activity = mActivityTestRule.launchActivity(initIntent); in testCustomIntentPreservedOnRelaunch() local
182 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged() local
197 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in relaunchActivityAndAssertPreserveWindow() local
224 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_DropStaleConfigurations() local
242 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_ApplyNewConfigurations() local
260 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() local
296 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder() local
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueueTest.java35 final RunQueue activity = getActivity(); in testRunnableRan() local
42 final RunQueue activity = getActivity(); in testRunnableCancelled() local
49 final RunQueue activity = getActivity(); in testListenerFired() local
56 final RunQueue activity = getActivity(); in testTreeObserverKilled() local
DViewStubTest.java38 final StubbedView activity = getActivity(); in testStubbed() local
47 final StubbedView activity = getActivity(); in testInflated() local
58 final StubbedView activity = getActivity(); in testInflatedId() local
71 final StubbedView activity = getActivity(); in testInflatedLayoutParams() local
DIncludeTest.java37 final Include activity = getActivity(); in testIncluded() local
48 final Include activity = getActivity(); in testIncludedWithLayoutParams() local
61 final Include activity = getActivity(); in testIncludedWithVisibility() local
70 final Include activity = getActivity(); in testIncludedWithSize() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DHideNonSystemOverlayMixinTest.java54 TestActivity activity = mActivityController.get(); in startActivity_shouldHideNonSystemOverlay() local
65 TestActivity activity = mActivityController.get(); in stopActivity_shouldUnhideNonSystemOverlay() local
75 final TestActivity activity = mActivityController.get(); in isEnabled_isAllowedOverlaySettings_returnFalse() local
85 TestActivity activity = mActivityController.get(); in isEnabled_isNotAllowedOverlaySettings_returnTrue() local
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSampleSidecarImpl.java101 Activity activity = ActivityThread.currentActivityThread().getActivity(windowToken); in getWindowLayoutInfo() local
110 private List<SidecarDisplayFeature> getDisplayFeatures(@NonNull Activity activity) { in getDisplayFeatures()
144 public void onActivityCreated(Activity activity, Bundle savedInstanceState) { in onActivityCreated()
150 public void onActivityConfigurationChanged(Activity activity) { in onActivityConfigurationChanged()
155 private void onDisplayFeaturesChangedForActivity(@NonNull Activity activity) { in onDisplayFeaturesChangedForActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelTest.kt185 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_showActivityConfigFalse_noUpdatesReceived() constant
224 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_nullSsid_outputsFalse() constant
258 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_allLocationViewModelsReceiveSameData() constant
281 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activityIn_hasActivityInTrue_outputsTrue() constant
300 val activity = DataActivityModel(hasActivityIn = false, hasActivityOut = true) in activityIn_hasActivityInFalse_outputsFalse() constant
319 val activity = DataActivityModel(hasActivityIn = false, hasActivityOut = true) in activityOut_hasActivityOutTrue_outputsTrue() constant
338 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activityOut_hasActivityOutFalse_outputsFalse() constant
358 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activityContainer_hasActivityInTrue_outputsTrue() constant
378 val activity = DataActivityModel(hasActivityIn = false, hasActivityOut = true) in activityContainer_hasActivityOutTrue_outputsTrue() constant
398 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activityContainer_inAndOutTrue_outputsTrue() constant
[all …]
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DSplitNavLayoutTest.java71 Activity activity = Robolectric.buildActivity(CarSetupWizardLayoutTestActivity.class) in test_UltraWideContentWidth_isSetToCustomWidth() local
82 Activity activity = Robolectric.buildActivity(CarSetupWizardLayoutTestActivity.class) in test_UltraWideContentWidthIsSetTo0_withoutCustomValue() local
94 Activity activity = Robolectric.buildActivity(CarSetupWizardLayoutTestActivity.class) in test_layoutDirectionIsLtr_inRtrLocale() local
108 Activity activity = Robolectric.buildActivity(CarSetupWizardLayoutTestActivity.class) in test_layoutDirectionIsLtrInUltraWide_isRtrLocale() local
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DBufferPresentationTests.kt31 val trace = withTrace { activity -> in <lambda>() method
45 val trace = withTrace { activity -> in <lambda>() method
60 val trace = withTrace { activity -> in <lambda>() method
79 val trace = withTrace { activity -> in <lambda>() method
103 runOnUiThread { activity -> in <lambda>() method
122 runOnUiThread { activity -> in <lambda>() method
137 runOnUiThread { activity -> in <lambda>() method
158 runOnUiThread { activity -> in <lambda>() method
/frameworks/base/services/core/java/com/android/server/wm/
DUnknownAppVisibilityController.java92 void appRemovedOrHidden(@NonNull ActivityRecord activity) { in appRemovedOrHidden()
103 void notifyLaunched(@NonNull ActivityRecord activity) { in notifyLaunched()
119 void notifyAppResumedFinished(@NonNull ActivityRecord activity) { in notifyAppResumedFinished()
132 void notifyRelayouted(@NonNull ActivityRecord activity) { in notifyRelayouted()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiPermissionChecker.java42 public WifiPermissionChecker(Activity activity) { in WifiPermissionChecker()
46 public WifiPermissionChecker(Activity activity, IActivityManager activityManager) { in WifiPermissionChecker()
90 private String getLaunchedFromPackage(Activity activity) { in getLaunchedFromPackage()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java100 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnCreate() local
127 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnStart() local
152 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnResume() local
174 final TestActivity[] activity = new TestActivity[1]; in testLifecycleOfRelaunch() local
245 private void recreateAndVerifyNoRelaunch(ActivityThread activityThread, TestActivity activity) { in recreateAndVerifyNoRelaunch()
253 private void recreateAndVerifyRelaunched(ActivityThread activityThread, TestActivity activity, in recreateAndVerifyRelaunched()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java102 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne() local
135 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight() local
180 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue() local
214 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity() local
244 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption() local
283 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne() local
330 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile() local
438 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in testWorkTab_workTabListPopulatedBeforeGoingToTab() local
457 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in testWorkTab_workTabUsesExpectedAdapter() local
476 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in testWorkTab_personalTabUsesExpectedAdapter() local
[all …]

12345678910>>...15