Searched refs:setAction (Results 1 - 25 of 103) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityScreen.java52 res.setAction("test");
85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!"));
97 res.setAction("test");
122 setResult(RESULT_CANCELED, (new Intent()).setAction(
129 setResult(RESULT_CANCELED, (new Intent()).setAction(
132 setResult(RESULT_CANCELED, (new Intent()).setAction(
135 setResult(RESULT_CANCELED, (new Intent()).setAction(
138 setResult(RESULT_CANCELED, (new Intent()).setAction(
144 setResult(RESULT_CANCELED, (new Intent()).setAction(
H A DClearTop.java34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK)
45 setResult(RESULT_CANCELED, new Intent().setAction(
H A DRemoteReceiver.java36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE);
H A DActivityTestsBase.java109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error));
133 mIntent.setAction(action);
209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg));
H A DActivityThreadTest.java106 initIntent.setAction(ACTION_VIEW);
121 customIntent.setAction(ACTION_EDIT);
H A DTestedScreen.java44 intent.setAction(DELIVER_RESULT);
51 setResult(RESULT_OK, (new Intent()).setAction(
H A DLocalReceiver.java63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistProxyActivity.java30 intent.setAction(Intent.ACTION_ASSIST);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DSnackbarUsage.java54 .setAction("Action", new View.OnClickListener() {
71 .setAction("Action", new View.OnClickListener() {
83 .setAction("Action which wraps", new View.OnClickListener() {
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DSnackbarUsage.java54 .setAction("Action", new View.OnClickListener() {
71 .setAction("Action", new View.OnClickListener() {
83 .setAction("Action which wraps", new View.OnClickListener() {
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DSendResult.java67 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
79 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DSendResult.java67 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
79 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSchedulerService.java36 .setAction(Intent.ACTION_MAIN)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DAppSmsManagerTest.java65 intent.setAction(Intents.SMS_DELIVER_ACTION);
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/
H A DIntentUtil.java59 intent.setAction(ACTION_CALL_MEDIA_BROWSER_SERVICE_METHOD);
71 intent.setAction(ACTION_CALL_MEDIA_SESSION_METHOD);
84 intent.setAction(ACTION_CALL_MEDIA_CONTROLLER_METHOD);
98 intent.setAction(ACTION_CALL_TRANSPORT_CONTROLS_METHOD);
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/
H A DAccessibilityEventCompat.java333 public static void setAction(AccessibilityEvent event, int action) { method in class:AccessibilityEventCompat
335 event.setAction(action);
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
H A DCommandHandler.java66 intent.setAction(ACTION_SCHEDULE_WORK);
73 intent.setAction(ACTION_DELAY_MET);
80 intent.setAction(ACTION_STOP_WORK);
87 intent.setAction(ACTION_CONSTRAINTS_CHANGED);
93 intent.setAction(ACTION_RESCHEDULE);
104 intent.setAction(ACTION_EXECUTION_COMPLETED);
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
H A DServiceCrashTest.java68 intent.setAction(Intent.ACTION_MAIN);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverTargetActionsDialogFragment.java90 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DIntentForwarderActivityTest.java113 intent.setAction(Intent.ACTION_SEND);
147 intent.setAction(Intent.ACTION_SEND);
168 intent.setAction(Intent.ACTION_SEND);
190 intent.setAction(Intent.ACTION_CHOOSER);
/frameworks/base/services/core/java/com/android/server/security/
H A DKeyChainSystemService.java87 intent.setAction(broadcastIntent.getAction());
/frameworks/opt/car/services/src/com/android/internal/car/
H A DCarServiceHelperService.java79 intent.setAction(CAR_SERVICE_INTERFACE);
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/
H A DActivityNavigator.java203 setAction(a.getString(R.styleable.ActivityNavigator_action));
265 public Destination setAction(String action) { method in class:ActivityNavigator.Destination
269 mIntent.setAction(action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DShareCompat.java216 mIntent = new Intent().setAction(Intent.ACTION_SEND);
252 mIntent.setAction(Intent.ACTION_SEND);
264 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE);
403 mIntent.setAction(Intent.ACTION_SEND);

Completed in 858 milliseconds

12345