Home
last modified time | relevance | path

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

12345678910>>...31

/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java119 final ProvisioningActivity activity = in error_noFactoryReset_showsDialogue() local
130 final ProvisioningActivity activity = in error_noFactoryReset_doesNotReset() local
143 final ProvisioningActivity activity = in error_factoryReset_showsDialogue() local
156 final ProvisioningActivity activity = in error_factoryReset_resets() local
169 final ProvisioningActivity activity = in profileOwnerIntent_usesDefaultLogo() local
181 final ProvisioningActivity activity = in profileOwnerIntent_setCustomLogo_usesCustomLogo() local
191 final ProvisioningActivity activity = in deviceOwnerIntent_usesDefaultLogo() local
203 final ProvisioningActivity activity = in deviceOwnerIntent_setCustomLogo_usesCustomLogo() local
229 final ProvisioningActivity activity = in activity_profileOwner_backPressed_showsCancelDialog() local
243 final ProvisioningActivity activity = in activity_profileOwner_backPressed_doNotCancel_doesNotFinishActivity() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiDialogActivityTest.java125 WifiDialogActivity activity = Robolectric.setupActivity(WifiDialogActivity.class); in onSubmit_shouldConnectToNetwork() local
138 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onSubmit_noPermissionForResult_setResultWithoutData() local
149 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onSubmit_hasPermissionForResult_setResultWithData() local
161 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onSubmit2_noPermissionForResult_setResultWithoutData() local
172 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onSubmit2_hasPermissionForResult_setResultWithData() local
206 WifiDialogActivity activity = in onSubmit_whenConnectForCallerIsFalse_shouldNotConnectToNetwork() local
246 WifiDialogActivity activity = in onSubmit_whenLaunchInSetupFlow_shouldBeLightThemeForWifiDialog() local
266 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onActivityResult_noPermissionForResult_setResultWithoutData() local
278 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in onActivityResult_hasPermissionForResult_setResultWithData() local
290 WifiDialogActivity activity = spy(Robolectric.setupActivity(WifiDialogActivity.class)); in hasPermissionForResult_noCallingPackage_returnFalse() 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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DTransitionHelper.java67 public void applyContentScreenTransitions(Activity activity) { in applyContentScreenTransitions()
86 public void applyWaitingScreenTransitions(Activity activity) { in applyWaitingScreenTransitions()
95 public void startActivityWithTransition(Activity activity, Intent intent) { in startActivityWithTransition()
118 Activity activity, Intent intent, int requestCode) { in startActivityForResultWithTransition()
143 Activity activity, Intent intent, UserHandle userHandle) { in startActivityAsUserWithTransition()
160 Activity activity, Intent intent, int requestCode, UserHandle userHandle) { in startActivityForResultAsUserWithTransition()
176 public void finishActivity(Activity activity) { in finishActivity()
186 private Bundle getActivityOptionsForActivity(Activity activity) { in getActivityOptionsForActivity()
193 private boolean hasContentView(Activity activity) { in hasContentView()
201 private Bundle getRelevantActivityOptions(Activity activity, Intent intent) { in getRelevantActivityOptions()
/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.java47 public void onActivityCreated(Activity activity, Bundle bundle) { in onActivityCreated()
53 public void onActivityStarted(Activity activity) { in onActivityStarted()
57 public void onActivityResumed(Activity activity) { in onActivityResumed()
61 public void onActivityPaused(Activity activity) { in onActivityPaused()
65 public void onActivityStopped(Activity activity) { in onActivityStopped()
69 public void onActivitySaveInstanceState(Activity activity, Bundle bundle) { in onActivitySaveInstanceState()
73 public void onActivityDestroyed(Activity activity) { in onActivityDestroyed()
/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.java115 CellBroadcastListActivity activity = startActivity(); in testOnListItemClick() local
131 CellBroadcastListActivity activity = startActivity(); in testOnActivityCreatedLoaderHistoryFromCbs() local
147 CellBroadcastListActivity activity = startActivity(); in testOnLoadFinishedWithData() local
188 CellBroadcastListActivity activity = startActivity(); in testOnLoadFinishedEmptyData() local
200 CellBroadcastListActivity activity = startActivity(); in testOnLoaderReset() local
210 CellBroadcastListActivity activity = startActivity(); in testOnContextItemSelectedDelete() local
239 CellBroadcastListActivity activity = startActivity(); in testOnContextItemSelectedViewDetails() local
295 CellBroadcastListActivity activity = startActivity(); in testOnOptionsItemSelected() local
306 CellBroadcastListActivity activity = startActivity(); in testFragmentOnOptionsItemSelected() local
333 CellBroadcastListActivity activity = startActivity(); in testFragmentOnCreateOptionsMenu() local
[all …]
DCellBroadcastAlertDialogTest.java180 CellBroadcastAlertDialog activity = startActivity(); in testDismiss() local
193 CellBroadcastAlertDialog activity = startActivity(intent, null, null); in testOnNewIntent() local
209 CellBroadcastAlertDialog activity = startActivity(); in testAnimationHandler() local
228 CellBroadcastAlertDialog activity = startActivity(intent, null, null); in testOnResume() local
243 CellBroadcastAlertDialog activity = startActivity(intent, null, null); in testOnPause() local
258 CellBroadcastAlertDialog activity = startActivity(intent, null, null); in testOnKeyDown() local
265 CellBroadcastAlertDialog activity = startActivity(); in testOnConfigurationChanged() local
283 CellBroadcastAlertDialog activity = startActivity(); in testOnWindowFocusChanged() local
302 CellBroadcastAlertDialog activity = startActivity(intent, null, null); in testOnKeyDownWithEmptyMessageList() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java71 final SettingsHomepageActivity activity = Robolectric.buildActivity( in launch_shouldHaveAnimationForIaFragment() local
80 final SettingsHomepageActivity activity = Robolectric.buildActivity( in launch_configDisabled_shouldHideAvatar() local
90 final SettingsHomepageActivity activity = Robolectric.buildActivity( in launch_configEnabled_shouldShowAvatar() local
104 final SettingsHomepageActivity activity = Robolectric.buildActivity( in launch_LowRamDevice_shouldHideAvatar() local
113 final SettingsHomepageActivity activity = Robolectric.buildActivity( in showHomepageWithSuggestion_showSuggestion() local
126 final SettingsHomepageActivity activity = Robolectric.buildActivity( in showHomepageWithSuggestion_hideSuggestion() local
139 final SettingsHomepageActivity activity = Robolectric.buildActivity( in showHomepageWithSuggestion_callTwice_shouldKeepPreviousVisibility() local
158 final SettingsHomepageActivity activity = spy(activityController.get()); in onStart_isNotDebuggable_shouldHideSystemOverlay() local
177 final SettingsHomepageActivity activity = spy(activityController.get()); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DActivityTracker.java41 public void onActivityDestroyed(T activity) { in onActivityDestroyed()
57 T activity = mCurrentActivity.get(); in registerCallback() local
73 public boolean handleCreate(T activity) { in handleCreate()
78 public boolean handleNewIntent(T activity) { in handleNewIntent()
82 private boolean handleIntent(T activity, boolean alreadyOnHome) { in handleIntent()
101 boolean init(T activity, boolean alreadyOnHome); in init()
/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/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java111 SetupPassthroughActivity activity = in create_emptyIntent() local
124 SetupPassthroughActivity activity = createSetupActivityFor("com.example/.Input"); in create_noInputs() local
137 SetupPassthroughActivity activity = createSetupActivityFor("com.example/.Other"); in create_inputNotFound() local
149 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in create_validInput() local
169 SetupPassthroughActivity activity = activityController.get(); in create_trustedCallingPackage() local
192 SetupPassthroughActivity activity = activityController.get(); in create_nonTrustedCallingPackage() local
214 SetupPassthroughActivity activity = activityController.get(); in create_nullCallingPackage() local
229 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_canceled() local
241 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_ok() local
263 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in onActivityResult_3rdPartyEpg_ok() local
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarMenuItemsTest.java92 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_findMenuItemById_shouldWork() argument
108 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_text_shouldShow() argument
127 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_icon_shouldShow() argument
154 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_textAndIcon_shouldShow() argument
169 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_textAndIcon_shouldShow() argument
181 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_removeIcon_shouldShowText() argument
202 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_switch_shouldShow() argument
227 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_overflowText_shouldWork() argument
256 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_overflowIconAndText_shouldWork() argument
277 runWithActivityAndToolbar((activity, toolbar) -> { in menuItems_getMenuItems_returnsSameMenuItems() argument
[all …]
/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/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java154 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() local
168 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
179 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() local
196 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
208 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
220 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldSetIntentDataIfLockScreenAdded() local
230 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenNotAdded() local
243 SetupFingerprintEnrollIntroduction activity = mController.get(); in testLockPattern() 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/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java96 SetNewPasswordActivity activity = in testChooseLockGeneric() local
112 SetNewPasswordActivity activity = in testSetupChooseLockGeneric() local
131 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() local
155 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraWithPermission() local
185 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraInvalidValue() local
213 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() local
240 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordWithoutExtra() local
268 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission() local
295 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra() local
322 SetNewPasswordActivity activity = in launchChooseLock_setNewParentProfilePassword_DevicePasswordRequirementExtra() local
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/
DBaseLayoutController.java54 /* package */ static BaseLayoutController getBaseLayoutController(@Nullable Activity activity) { in getBaseLayoutController()
61 private BaseLayoutController(Activity activity) { in BaseLayoutController()
71 static void build(Activity activity) { in build()
81 static void destroy(Activity activity) { in destroy()
113 private void installBaseLayout(Activity activity) { in installBaseLayout()
132 private static boolean getThemeBoolean(Activity activity, int attr) { in getThemeBoolean()
168 InsetsUpdater( in InsetsUpdater()
/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/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/Settings/tests/legacy_unit/src/com/android/settings/password/
DSetupChooseLockPasswordAppTest.java76 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in testSkipDialogIsShown() local
89 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_activityLaunchedInitially() local
97 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_nothingEntered() local
108 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsShown_when_somethingEnteredToConfirm() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java98 public static int getNumCategoryColumns(@NonNull Activity activity) { in getNumCategoryColumns()
107 public static int getNumIndividualColumns(@NonNull Activity activity) { in getNumIndividualColumns()
116 public static int getNumFeaturedIndividualColumns(@NonNull Activity activity) { in getNumFeaturedIndividualColumns()
121 private static int getNumCategoryColumns(Activity activity, int windowWidthPx) { in getNumCategoryColumns()
126 private static int getNumFeaturedCategoryColumns(Activity activity, int windowWidthPx) { in getNumFeaturedCategoryColumns()
131 private static int getNumIndividualColumns(Activity activity, int windowWidthPx) { in getNumIndividualColumns()
136 private static int getNumFeaturedIndividualColumns(Activity activity, int windowWidthPx) { in getNumFeaturedIndividualColumns()
163 public static Point getCategoryTileSize(@NonNull Activity activity) { in getCategoryTileSize()
176 public static Point getFeaturedCategoryTileSize(@NonNull Activity activity) { in getFeaturedCategoryTileSize()
189 public static Point getIndividualTileSize(@NonNull Activity activity) { in getIndividualTileSize()
[all …]

12345678910>>...31