/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 52 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()
|
D | ClearTop.java | 34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK) in onCreate() 45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
|
D | ActivityTestsBase.java | 109 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()
|
D | TestedScreen.java | 44 intent.setAction(DELIVER_RESULT); in onCreate() 51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
|
D | RemoteReceiver.java | 36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | VirtualTouchEventTest.java | 49 .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()
|
D | VirtualMouseButtonEventTest.java | 40 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_RELEASE).build()); in buttonEvent_noButtonCode() 52 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in buttonEvent_created()
|
D | VirtualKeyEventTest.java | 41 () -> 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/ |
D | IntentForwarderActivityTest.java | 169 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/ |
D | ReviewNotificationPermissionsReceiverTest.java | 77 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/ |
D | VerificationActivity.java | 96 intent.setAction(ACTION_NOTIFY_KEYGUARD_DISMISSED); in notifyKeyguardDismissed() 114 intent.setAction(DynamicSystemClient.ACTION_START_INSTALL); in startInstallationService()
|
D | BootCompletedReceiver.java | 46 startServiceIntent.setAction(DynamicSystemClient.ACTION_NOTIFY_IF_IN_USE); in onReceive()
|
/frameworks/base/errorprone/tests/res/android/content/ |
D | Intent.java | 24 public Intent setAction(String action) { in setAction() method in Intent
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 63 .setAction(AppWidgetManager.ACTION_APPWIDGET_ENABLED)); in onReceive() 65 .setAction(AppWidgetManager.ACTION_APPWIDGET_UPDATE)); in onReceive()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistProxyActivity.java | 30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpActivity.java | 75 sendIntent.setAction(ActivityManager.ACTION_REPORT_HEAP_LIMIT); in onCreate() 113 sendIntent.setAction(Intent.ACTION_SEND); in onCreate()
|
D | BugreportRequestedReceiver.java | 43 serviceIntent.setAction(intent.getAction()); in onReceive()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConversationAction.java | 213 .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/ |
D | IssueRecordingService.kt | 135 .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/ |
D | AppSmsManagerTest.java | 66 intent.setAction(Intents.SMS_DELIVER_ACTION); in testHandleSmsReceivedIntent()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SchedulerService.java | 42 .setAction(Intent.ACTION_MAIN) in onStartCommand()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 437 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/ |
D | StorageNotification.java | 649 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/ |
D | ServiceCrashTest.java | 68 intent.setAction(Intent.ACTION_MAIN); in testCrashQuickly()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupTest.java | 94 event.setAction(MotionEvent.ACTION_SCROLL); in testDispatchMouseEventsUnderCursor() 109 event.setAction(MotionEvent.ACTION_SCROLL); in testDispatchMouseEventsUnderCursor()
|