Home
last modified time | relevance | path

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

12345678910>>...34

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiDialogActivityTest.java97 WifiDialogActivity activity = Robolectric.setupActivity(WifiDialogActivity.class); in onSubmit_shouldConnectToNetwork() local
110 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onSubmit_noPermissionForResult_setResultWithoutData() local
121 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onSubmit_hasPermissionForResult_setResultWithData() local
133 WifiDialogActivity activity = in onSubmit_whenConnectForCallerIsFalse_shouldNotConnectToNetwork() local
151 WifiDialogActivity activity = in onSubmit_whenLaunchInSetupFlow_shouldBeLightThemeForWifiDialog() local
171 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onActivityResult_noPermissionForResult_setResultWithoutData() local
183 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onActivityResult_hasPermissionForResult_setResultWithData() local
195 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in hasPermissionForResult_noCallingPackage_returnFalse() local
205 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in hasPermissionForResult_noPermission_returnFalse() local
219 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in hasPermissionForResult_hasCoarseLocationPermission_returnTrue() local
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java37 public static final void showDocumentsClipped(Activity activity, int docCount) { in showDocumentsClipped()
43 public static final void showMove(Activity activity, int docCount) { in showMove()
48 public static final void showCopy(Activity activity, int docCount) { in showCopy()
53 public static final void showCompress(Activity activity, int docCount) { in showCompress()
58 public static final void showExtract(Activity activity, int docCount) { in showExtract()
63 public static final void showDelete(Activity activity, int docCount) { in showDelete()
68 public static final void showOperationRejected(Activity activity) { in showOperationRejected()
72 public static final void showOperationFailed(Activity activity) { in showOperationFailed()
76 public static final void showRenameFailed(Activity activity) { in showRenameFailed()
80 public static final void showInspectorError(Activity activity) { in showInspectorError()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DMonitoredActivity.java30 public void onActivityCreated(MonitoredActivity activity); in onActivityCreated()
31 public void onActivityDestroyed(MonitoredActivity activity); in onActivityDestroyed()
32 public void onActivityStarted(MonitoredActivity activity); in onActivityStarted()
33 public void onActivityStopped(MonitoredActivity activity); in onActivityStopped()
37 public void onActivityCreated(MonitoredActivity activity) { in onActivityCreated()
40 public void onActivityDestroyed(MonitoredActivity activity) { in onActivityDestroyed()
43 public void onActivityStarted(MonitoredActivity activity) { in onActivityStarted()
46 public void onActivityStopped(MonitoredActivity activity) { in onActivityStopped()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DActivityLeakTracker.java46 public void onActivityCreated(Activity activity, Bundle bundle) { in onActivityCreated()
52 public void onActivityStarted(Activity activity) { in onActivityStarted()
56 public void onActivityResumed(Activity activity) { in onActivityResumed()
60 public void onActivityPaused(Activity activity) { in onActivityPaused()
64 public void onActivityStopped(Activity activity) { in onActivityStopped()
68 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) { in onActivitySaveInstanceState()
72 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java94 final ProvisioningActivity activity = in error_noFactoryReset_showsDialogue() local
105 final ProvisioningActivity activity = in error_noFactoryReset_doesNotReset() local
118 final ProvisioningActivity activity = in error_factoryReset_showsDialogue() local
129 final ProvisioningActivity activity = in error_factoryReset_resets() local
142 final ProvisioningActivity activity = in profileOwnerIntent_usesDefaultLogo() local
153 final ProvisioningActivity activity = in profileOwnerIntent_setCustomLogo_usesCustomLogo() local
162 final ProvisioningActivity activity = in deviceOwnerIntent_usesDefaultLogo() local
173 final ProvisioningActivity activity = in deviceOwnerIntent_setCustomLogo_usesCustomLogo() local
214 final ProvisioningActivity activity = in activity_profileOwner_backPressed_showsCancelDialog() local
227 final ProvisioningActivity activity = in activity_profileOwner_backPressed_doNotCancel_doesNotFinishActivity() local
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java430 private static void sendBroadcast(Activity activity, int serialNumber, int category, in sendBroadcast()
440 public static void testSendMessage7bit(Activity activity, int serialNumber, in testSendMessage7bit()
445 public static void testSendMessage7bitUmts(Activity activity, int serialNumber, in testSendMessage7bitUmts()
450 public static void testSendMessage7bitNoPadding(Activity activity, int serialNumber, in testSendMessage7bitNoPadding()
455 public static void testSendMessage7bitNoPaddingUmts(Activity activity, int serialNumber, in testSendMessage7bitNoPaddingUmts()
460 public static void testSendMessage7bitMultipageGsm(Activity activity, int serialNumber, in testSendMessage7bitMultipageGsm()
473 public static void testSendMessage7bitMultipageUmts(Activity activity, int serialNumber, in testSendMessage7bitMultipageUmts()
478 public static void testSendMessage7bitWithLanguage(Activity activity, int serialNumber, in testSendMessage7bitWithLanguage()
483 public static void testSendMessage7bitWithLanguageInBody(Activity activity, int serialNumber, in testSendMessage7bitWithLanguageInBody()
488 public static void testSendMessage7bitWithLanguageInBodyUmts(Activity activity, in testSendMessage7bitWithLanguageInBodyUmts()
[all …]
DSendGsmCmasMessages.java58 private static void sendBroadcast(Activity activity, SmsCbMessage cbMessage) { in sendBroadcast()
69 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasPresAlert()
87 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasExtremeAlert()
106 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasSevereAlert()
125 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasAmberAlert()
144 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasMonthlyTest()
163 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendCmasExerciseTest()
182 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendPublicSafetyMessagesAlert()
200 Activity activity, int serialNumber, boolean isAdditionalLang) { in testSendStateLocalTestAlert()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListActivityTest.java104 CellBroadcastListActivity activity = startActivity(); in testOnListItemClick() local
120 CellBroadcastListActivity activity = startActivity(); in testOnActivityCreatedLoaderHistoryFromCbs() local
136 CellBroadcastListActivity activity = startActivity(); in testOnLoadFinishedWithData() local
177 CellBroadcastListActivity activity = startActivity(); in testOnLoadFinishedEmptyData() local
189 CellBroadcastListActivity activity = startActivity(); in testOnLoaderReset() local
199 CellBroadcastListActivity activity = startActivity(); in testOnContextItemSelectedDelete() local
230 CellBroadcastListActivity activity = startActivity(); in testOnContextItemSelectedViewDetails() local
286 CellBroadcastListActivity activity = startActivity(); in testOnOptionsItemSelected() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DSimpleActivityRule.java72 public void onActivityCreated(Activity activity, Bundle bundle) { in onActivityCreated()
79 public void onActivityStarted(Activity activity) { in onActivityStarted()
83 public void onActivityResumed(Activity activity) { in onActivityResumed()
87 public void onActivityPaused(Activity activity) { in onActivityPaused()
91 public void onActivityStopped(Activity activity) { in onActivityStopped()
95 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) { in onActivitySaveInstanceState()
99 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed()
/packages/apps/LegacyCamera/src/com/android/camera/
DMenuHelper.java80 private static void startCameraActivity(Activity activity, Intent intent, in startCameraActivity()
99 public static void gotoMode(int mode, Activity activity) { in gotoMode()
121 public static void gotoVideoMode(Activity activity, boolean resetEffect) { in gotoVideoMode()
127 public static void gotoCameraMode(Activity activity) { in gotoCameraMode()
132 public static void gotoVideoMode(Activity activity, Intent intent) { in gotoVideoMode()
136 public static void gotoCameraMode(Activity activity, Intent intent) { in gotoCameraMode()
140 public static void gotoCameraImageGallery(Activity activity) { in gotoCameraImageGallery()
144 public static void gotoCameraVideoGallery(Activity activity) { in gotoCameraVideoGallery()
148 private static void gotoGallery(Activity activity, int windowTitleId, in gotoGallery()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/
DCarUi.java48 public static ToolbarController getToolbar(Activity activity) { in getToolbar()
65 public static ToolbarController requireToolbar(Activity activity) { in requireToolbar()
79 public static void replaceInsetsChangedListenerWith(Activity activity, in replaceInsetsChangedListenerWith()
96 public static Insets getInsets(Activity activity) { in getInsets()
115 public static Insets requireInsets(Activity activity) { in requireInsets()
154 /* package */ static BaseLayoutController getBaseLayoutController(Activity activity) { in getBaseLayoutController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java127 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() local
141 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
152 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() local
169 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
181 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
193 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldSetIntentDataIfLockScreenAdded() local
203 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenNotAdded() local
216 SetupFingerprintEnrollIntroduction activity = mController.get(); in testLockPattern() local
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DBitmapCreationCheck.java61 public void onActivityCreated(Activity activity, Bundle bundle) { in onActivityCreated()
66 public void onActivityStarted(Activity activity) { } in onActivityStarted()
69 public void onActivityResumed(Activity activity) { } in onActivityResumed()
72 public void onActivityPaused(Activity activity) { } in onActivityPaused()
75 public void onActivityStopped(Activity activity) { } in onActivityStopped()
78 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) { } in onActivitySaveInstanceState()
81 public void onActivityDestroyed(Activity activity) { } in onActivityDestroyed()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DActivityTracker.java43 public void onActivityDestroyed(T activity) { in onActivityDestroyed()
58 T activity = mCurrentActivity.get(); in runCallbackWhenActivityExists() local
66 public boolean handleCreate(T activity) { in handleCreate()
71 public boolean handleNewIntent(T activity, Intent intent) { in handleNewIntent()
75 private boolean handleIntent(T activity, Intent intent, boolean alreadyOnHome) { in handleIntent()
97 boolean init(T activity, boolean alreadyOnHome); in init()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java96 SetNewPasswordActivity activity = in testChooseLockGeneric() local
111 SetNewPasswordActivity activity = in testSetupChooseLockGeneric() local
132 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() local
156 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraWithPermission() local
186 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraInvalidValue() local
214 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() local
241 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordWithoutExtra() local
269 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission() local
296 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra() local
316 SetNewPasswordActivity activity = in launchChooseLock_callingAppIsAdmin_setsAdminExtra() local
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java112 SetupPassthroughActivity activity = in create_emptyIntent() local
125 SetupPassthroughActivity activity = createSetupActivityFor("com.example/.Input"); in create_noInputs() local
138 SetupPassthroughActivity activity = createSetupActivityFor("com.example/.Other"); in create_inputNotFound() local
150 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in create_validInput() local
170 SetupPassthroughActivity activity = activityController.get(); in create_trustedCallingPackage() local
194 SetupPassthroughActivity activity = activityController.get(); in create_nonTrustedCallingPackage() local
210 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_canceled() local
222 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_ok() local
244 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_3rdPartyEpg_ok() local
265 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_3rdPartyEpg_notWhiteListed() local
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DSetupChooseLockPasswordAppTest.java75 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in testSkipDialogIsShown() local
88 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_activityLaunchedInitially() local
96 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_nothingEntered() local
107 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsShown_when_somethingEnteredToConfirm() local
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailChangePinActivity.java117 public void onEnter(VoicemailChangePinActivity activity) { in onEnter()
125 public void onInputChanged(VoicemailChangePinActivity activity) { in onInputChanged()
130 public void handleNext(VoicemailChangePinActivity activity) { in handleNext()
136 public void handleResult(VoicemailChangePinActivity activity, @ChangePinResult int result) { in handleResult()
154 public void onEnter(VoicemailChangePinActivity activity) { in onEnter()
161 final VoicemailChangePinActivity activity, @ChangePinResult int result) { in handleResult()
188 public void onLeave(VoicemailChangePinActivity activity) { in onLeave()
198 public void onEnter(VoicemailChangePinActivity activity) { in onEnter()
209 public void onInputChanged(VoicemailChangePinActivity activity) { in onInputChanged()
226 public void handleNext(VoicemailChangePinActivity activity) { in handleNext()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DLastAccessedStorage.java42 Activity activity, ProvidersAccess providers, State state); in getLastAccessed()
44 void setLastAccessed(Activity activity, DocumentStack stack); in setLastAccessed()
46 void setLastAccessedToExternalApp(Activity activity); in setLastAccessedToExternalApp()
60 Activity activity, ProvidersAccess providers, State state) { in getLastAccessed()
78 public void setLastAccessed(Activity activity, DocumentStack stack) { in setLastAccessed()
84 public void setLastAccessedToExternalApp(Activity activity) { in setLastAccessedToExternalApp()
/packages/apps/Launcher3/src_plugins/com/android/systemui/plugins/shared/
DLauncherOverlayManager.java49 default void onActivityCreated(Activity activity, Bundle bundle) { } in onActivityCreated()
52 default void onActivityStarted(Activity activity) { } in onActivityStarted()
55 default void onActivityResumed(Activity activity) { } in onActivityResumed()
58 default void onActivityPaused(Activity activity) { } in onActivityPaused()
61 default void onActivityStopped(Activity activity) { } in onActivityStopped()
64 default void onActivitySaveInstanceState(Activity activity, Bundle bundle) { } in onActivitySaveInstanceState()
67 default void onActivityDestroyed(Activity activity) { } in onActivityDestroyed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
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
87 TestActivity activity = mActivityController.get(); in isEnabled_isNotAllowedOverlaySettings_returnTrue() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivityTest.java48 AccessibilitySettingsForSetupWizardActivity activity = in createSetupAccessibilityActivity_shouldBeSUWTheme() local
56 AccessibilitySettingsForSetupWizardActivity activity = in onCreate_hasFontSizeComponent_shouldGoToFontSizePreferenceDirectly() local
74 AccessibilitySettingsForSetupWizardActivity activity = in onCreate_noFontSizeComponent_shouldNotFinishCurrentActivity() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityTest.java105 Activity activity = mActivityRule.launchActivity( in profileOwnerDefaultColors() local
114 Activity activity = mActivityRule.launchActivity( in profileOwnerCustomColors() local
124 Activity activity = mActivityRule.launchActivity( in deviceOwnerDefaultColorsAndLogo() local
133 Activity activity = mActivityRule.launchActivity( in deviceOwnerCustomColor() local
144 Activity activity = mActivityRule.launchActivity( in deviceOwnerCustomLogo() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/overlay/
DSurveyFeatureProvider.java37 void downloadSurvey(Activity activity, String surveyId, @Nullable String data); in downloadSurvey()
46 boolean showSurveyIfAvailable(Activity activity, String surveyId); in showSurveyIfAvailable()
78 BroadcastReceiver createAndRegisterReceiver(Activity activity); in createAndRegisterReceiver()
85 static void unregisterReceiver(Activity activity, BroadcastReceiver receiver) { in unregisterReceiver()
/packages/apps/Settings/src/com/android/settings/overlay/
DSurveyFeatureProvider.java37 void downloadSurvey(Activity activity, String surveyId, @Nullable String data); in downloadSurvey()
46 boolean showSurveyIfAvailable(Activity activity, String surveyId); in showSurveyIfAvailable()
78 BroadcastReceiver createAndRegisterReceiver(Activity activity); in createAndRegisterReceiver()
85 static void unregisterReceiver(Activity activity, BroadcastReceiver receiver) { in unregisterReceiver()

12345678910>>...34