Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 143) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java52 res.setAction("test"); in onCreate()
85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume()
97 res.setAction("test"); in onResume()
122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
DClearTop.java34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK) in onCreate()
45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DActivityTestsBase.java109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
133 mIntent.setAction(action); in runLaunchpad()
209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg)); in onTimeout()
DTestedScreen.java44 intent.setAction(DELIVER_RESULT); in onCreate()
51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
DRemoteReceiver.java36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
/frameworks/base/tests/Input/src/android/hardware/input/
DVirtualTouchEventTest.java49 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noPointerId()
59 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noToolType()
69 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noX()
80 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noY()
90 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_created()
108 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_created_withPressureAndAxis()
131 .setAction(VirtualTouchEvent.ACTION_CANCEL) in touchEvent_cancelUsedImproperly()
148 .setAction(VirtualTouchEvent.ACTION_MOVE) in touchEvent_palmUsedImproperly()
159 .setAction(VirtualTouchEvent.ACTION_CANCEL) in touchEvent_palmAndCancelUsedProperly()
DVirtualMouseButtonEventTest.java40 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_RELEASE).build()); in buttonEvent_noButtonCode()
52 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in buttonEvent_created()
DVirtualKeyEventTest.java41 () -> new VirtualKeyEvent.Builder().setAction(VirtualKeyEvent.ACTION_DOWN).build()); in keyEvent_noKeyCode()
53 .setAction(VirtualKeyEvent.ACTION_DOWN) in keyEvent_created()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java169 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_canForward_sendIntent()
209 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_cannotForward_sendIntent()
230 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_noManagedProfile_sendIntent()
248 intent.setAction(Intent.ACTION_CHOOSER); in launchInSameProfile_chooserIntent()
323 .setAction(Intent.ACTION_SEND) in shouldSkipDisclosure_notWhitelisted()
338 .setAction(Intent.ACTION_SEND) in shouldSkipDisclosure_withResolverActivity()
351 .setAction(Intent.ACTION_CALL); in shouldSkipDisclosure_callIntent_call()
363 .setAction(Intent.ACTION_CALL_PRIVILEGED); in shouldSkipDisclosure_callIntent_callPrivileged()
375 .setAction(Intent.ACTION_CALL_EMERGENCY); in shouldSkipDisclosure_callIntent_callEmergency()
387 .setAction(Intent.ACTION_DIAL); in shouldSkipDisclosure_callIntent_dial()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DReviewNotificationPermissionsReceiverTest.java77 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_REMIND); in testReceive_remindMeLater_firstTime()
101 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_REMIND); in testReceive_remindMeLater_laterTimes()
126 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_DISMISS); in testReceive_dismiss()
147 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_CANCELED); in testReceive_notificationCanceled_firstSwipe()
171 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_CANCELED); in testReceive_notificationCanceled_secondSwipe()
195 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_CANCELED); in testReceive_notificationCanceled_fromDismiss()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DVerificationActivity.java96 intent.setAction(ACTION_NOTIFY_KEYGUARD_DISMISSED); in notifyKeyguardDismissed()
114 intent.setAction(DynamicSystemClient.ACTION_START_INSTALL); in startInstallationService()
DBootCompletedReceiver.java46 startServiceIntent.setAction(DynamicSystemClient.ACTION_NOTIFY_IF_IN_USE); in onReceive()
/frameworks/base/errorprone/tests/res/android/content/
DIntent.java24 public Intent setAction(String action) { in setAction() method in Intent
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java63 .setAction(AppWidgetManager.ACTION_APPWIDGET_ENABLED)); in onReceive()
65 .setAction(AppWidgetManager.ACTION_APPWIDGET_UPDATE)); in onReceive()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistProxyActivity.java30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java75 sendIntent.setAction(ActivityManager.ACTION_REPORT_HEAP_LIMIT); in onCreate()
113 sendIntent.setAction(Intent.ACTION_SEND); in onCreate()
DBugreportRequestedReceiver.java43 serviceIntent.setAction(intent.getAction()); in onReceive()
/frameworks/base/core/java/android/view/textclassifier/
DConversationAction.java213 .setAction(mAction) in toBuilder()
239 public Builder setAction(@Nullable RemoteAction action) { in setAction() method in ConversationAction.Builder
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DIssueRecordingService.kt135 .setAction(ACTION_STOP) in getStopIntent()
144 Intent(context, IssueRecordingService::class.java).setAction(ACTION_START) in getStopIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAppSmsManagerTest.java66 intent.setAction(Intents.SMS_DELIVER_ACTION); in testHandleSmsReceivedIntent()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java42 .setAction(Intent.ACTION_MAIN) in onStartCommand()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java437 pressEvent.setAction(MotionEvent.ACTION_BUTTON_PRESS); in sendClick()
441 releaseEvent.setAction(MotionEvent.ACTION_BUTTON_RELEASE); in sendClick()
446 upEvent.setAction(MotionEvent.ACTION_UP); in sendClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java649 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
669 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
689 intent.setAction("com.android.tv.settings.action.UNMOUNT_STORAGE"); in buildUnmountPendingIntent()
735 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildVolumeSettingsPendingIntent()
788 intent.setAction("com.android.tv.settings.action.MIGRATE_STORAGE"); in buildWizardMigratePendingIntent()
811 intent.setAction("com.android.tv.settings.action.MOVE_APP"); in buildWizardMovePendingIntent()
830 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildWizardReadyPendingIntent()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DServiceCrashTest.java68 intent.setAction(Intent.ACTION_MAIN); in testCrashQuickly()
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupTest.java94 event.setAction(MotionEvent.ACTION_SCROLL); in testDispatchMouseEventsUnderCursor()
109 event.setAction(MotionEvent.ACTION_SCROLL); in testDispatchMouseEventsUnderCursor()

123456