/frameworks/base/core/java/android/app/ |
D | Application.java | 73 default void onActivityPreCreated(@NonNull Activity activity, in onActivityPreCreated() 80 void onActivityCreated(@NonNull Activity activity, @Nullable Bundle savedInstanceState); in onActivityCreated() 86 default void onActivityPostCreated(@NonNull Activity activity, in onActivityPostCreated() 94 default void onActivityPreStarted(@NonNull Activity activity) { in onActivityPreStarted() 100 void onActivityStarted(@NonNull Activity activity); in onActivityStarted() 106 default void onActivityPostStarted(@NonNull Activity activity) { in onActivityPostStarted() 113 default void onActivityPreResumed(@NonNull Activity activity) { in onActivityPreResumed() 119 void onActivityResumed(@NonNull Activity activity); in onActivityResumed() 125 default void onActivityPostResumed(@NonNull Activity activity) { in onActivityPostResumed() 132 default void onActivityPrePaused(@NonNull Activity activity) { in onActivityPrePaused() [all …]
|
D | Instrumentation.java | 404 private void waitForEnterAnimationComplete(Activity activity) { in waitForEnterAnimationComplete() 743 Activity activity, in match() 875 Activity activity = monitor.waitForActivity(); in waitForMonitor() local 894 Activity activity = monitor.waitForActivityWithTimeout(timeOut); in waitForMonitorWithTimeout() local 927 private final Activity activity; in invokeMenuActionSync() field in Instrumentation.MenuRunnable 990 private final Activity activity; in invokeContextMenuAction() field in Instrumentation.ContextMenuRunnable 1218 Activity activity = (Activity)clazz.newInstance(); in newActivity() local 1269 private void prePerformCreate(Activity activity) { in prePerformCreate() 1285 private void postPerformCreate(Activity activity) { in postPerformCreate() 1304 public void callActivityOnCreate(Activity activity, Bundle icicle) { in callActivityOnCreate() [all …]
|
D | ActivityTransitionState.java | 165 public void setEnterActivityOptions(Activity activity, ActivityOptions options) { in setEnterActivityOptions() 192 public void enterReady(Activity activity) { in enterReady() 261 public void onResume(Activity activity) { in onResume() 309 public boolean startExitBackTransition(final Activity activity) { in startExitBackTransition() 371 public void startExitOutTransition(Activity activity, Bundle options) { in startExitOutTransition()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 79 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testDoubleRelaunch() local 89 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testResumeAfterRelaunch() local 99 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testSleepAndStop() local 110 final Activity activity = mActivityTestRule.launchActivity(new Intent()); in testRepeatedResume() local 127 final Activity activity = mActivityTestRule.launchActivity(initIntent); in testCustomIntentPreservedOnRelaunch() local 154 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged() local 165 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivity_assetsChanged() local 193 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_DropStaleConfigurations() local 211 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_ApplyNewConfigurations() local 229 final TestActivity activity = mActivityTestRule.launchActivity(new Intent()); in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration() local [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 112 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 …]
|
D | NfcAdapter.java | 1027 public void setBeamPushUris(Uri[] uris, Activity activity) { in setBeamPushUris() 1115 public void setBeamPushUrisCallback(CreateBeamUrisCallback callback, Activity activity) { in setBeamPushUrisCallback() 1205 public void setNdefPushMessage(NdefMessage message, Activity activity, in setNdefPushMessage() 1243 public void setNdefPushMessage(NdefMessage message, Activity activity, int flags) { in setNdefPushMessage() 1324 public void setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, in setNdefPushMessageCallback() 1362 public void setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, in setNdefPushMessageCallback() 1412 Activity activity, Activity ... activities) { in setOnNdefPushCompleteCallback() 1479 public void enableForegroundDispatch(Activity activity, PendingIntent intent, in enableForegroundDispatch() 1521 public void disableForegroundDispatch(Activity activity) { in disableForegroundDispatch() 1539 void disableForegroundDispatchInternal(Activity activity, boolean force) { in disableForegroundDispatchInternal() [all …]
|
/frameworks/base/native/android/ |
D | native_activity.cpp | 24 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/view/ |
D | RunQueueTest.java | 35 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
|
D | IncludeTest.java | 37 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
|
D | ViewStubTest.java | 38 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
|
D | ViewAttachTest.java | 53 final ViewAttachTestActivity activity = getActivity(); in testAttached() local 71 final ViewAttachTestActivity activity = getActivity(); in testRoundScrollbars() local
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchObserverRegistryImpl.java | 85 public void onActivityLaunched( in onActivityLaunched() 94 public void onActivityLaunchCancelled( in onActivityLaunchCancelled() 101 public void onActivityLaunchFinished( in onActivityLaunchFinished() 135 private void handleOnActivityLaunched( in handleOnActivityLaunched() 145 private void handleOnActivityLaunchCancelled( in handleOnActivityLaunchCancelled() 154 private void handleOnActivityLaunchFinished( in handleOnActivityLaunchFinished()
|
/frameworks/base/core/java/android/companion/ |
D | CompanionDeviceManager.java | 311 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed() 326 @Override public void onActivityCreated(Activity activity, Bundle savedInstanceState) {} in onActivityCreated() 327 @Override public void onActivityStarted(Activity activity) {} in onActivityStarted() 328 @Override public void onActivityResumed(Activity activity) {} in onActivityResumed() 329 @Override public void onActivityPaused(Activity activity) {} in onActivityPaused() 330 @Override public void onActivityStopped(Activity activity) {} in onActivityStopped() 331 @Override public void onActivitySaveInstanceState(Activity activity, Bundle outState) {} in onActivitySaveInstanceState()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverActivityTest.java | 84 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne() local 114 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight() local 157 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue() local 187 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity() local 216 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption() local 253 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne() local 298 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile() local
|
D | ChooserActivityTest.java | 144 final ChooserWrapperActivity activity = mActivityRule.launchActivity( in customTitle() local 253 final ChooserWrapperActivity activity = mActivityRule in twoOptionsAndUserSelectsOne() local 282 final ChooserWrapperActivity activity = mActivityRule in updateChooserCountsAndModelAfterUserSelection() local 309 final ChooserWrapperActivity activity = mActivityRule in noResultsFromPackageManager() local 337 final ChooserWrapperActivity activity = mActivityRule in autoLaunchSingleResult() local 357 final ChooserWrapperActivity activity = mActivityRule in hasOtherProfileOneOption() local 396 final ChooserWrapperActivity activity = mActivityRule in hasOtherProfileTwoOptionsAndUserSelectsOne() local 433 final ChooserWrapperActivity activity = mActivityRule in hasLastChosenActivityAndOtherProfile() local 468 final ChooserWrapperActivity activity = mActivityRule in copyTextToClipboard() local 795 final ChooserWrapperActivity activity = mActivityRule in testGetBaseScore() local [all …]
|
D | IntentForwarderActivityTest.java | 144 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_sendIntent() local 177 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_cannotForward_sendIntent() local 198 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_noManagedProfile_sendIntent() local 224 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_chooserIntent() local 262 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_canForward_selectorIntent() local 552 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToManagedProfile_LoggingTest() local 579 IntentForwarderWrapperActivity activity = mActivityRule.launchActivity(intent); in forwardToParent_LoggingTest() local
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/ |
D | CarSetupWizardUiUtils.java | 29 public static void hideSystemUI(Activity activity) { in hideSystemUI() 37 public static void maybeHideSystemUI(Activity activity) { in maybeHideSystemUI()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifV3StyleTest.java | 43 GlifThemeActivity activity = Robolectric.setupActivity(GlifThemeActivity.class); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove() local 56 GlifThemeActivity activity = Robolectric.setupActivity(GlifThemeActivity.class); in buttonWithGlifV3_shouldBeGoogleSans() local
|
D | GlifStyleTest.java | 69 GlifThemeActivity activity = Robolectric.setupActivity(GlifThemeActivity.class); in glifThemeLight_statusBarColorShouldBeTransparent() local 75 GlifThemeActivity activity = Robolectric.setupActivity(GlifThemeActivity.class); in glifLoadingScreen_shouldHaveProgressBar() local
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RadioGroupPreCheckedTest.java | 37 final RadioGroupActivity activity = getActivity(); in testRadioButtonPreChecked() local 49 final RadioGroupActivity activity = getActivity(); in testRadioButtonChangePreChecked() local
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 98 Activity activity = clientSession.launchActivity(r); in testWindowVisibilityChange_OnCreate_Finished() local 134 Activity activity = clientSession.launchActivity(r); in testWindowVisibilityChange_OnStart_Finished() local 213 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnCreate() local 240 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnStart() local 265 Activity activity = clientSession.launchActivity(r); in testLifecycleAfterFinished_OnResume() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest3.java | 48 private ShortcutInfo shortcut(String id, ComponentName activity, int rank) { in shortcut() 52 private ShortcutInfo shortcut(String id, ComponentName activity) { in shortcut() 73 private void publishManifestShortcuts(ComponentName activity, int resId) { in publishManifestShortcuts()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | MetricsFeatureProviderTest.java | 106 final Activity activity = Robolectric.setupActivity(Activity.class); in getAttribution_notSet_shouldReturnUnknown() local 117 final Activity activity = Robolectric.buildActivity(Activity.class, intent).create().get(); in getAttribution_set_shouldReturnAttribution() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDisconnectedReceiver.java | 35 public UsbDisconnectedReceiver(Activity activity, UsbDevice device) { in UsbDisconnectedReceiver() 43 public UsbDisconnectedReceiver(Activity activity, UsbAccessory accessory) { in UsbDisconnectedReceiver()
|
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/ |
D | ActionBarShadowController.java | 51 Activity activity, Lifecycle lifecycle, View scrollView) { in attachToView() 63 private ActionBarShadowController(Activity activity, Lifecycle lifecycle, View scrollView) { in ActionBarShadowController() 100 ScrollChangeWatcher(Activity activity) { in ScrollChangeWatcher()
|