Home
last modified time | relevance | path

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

12345

/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()
DLaunchpadActivity.java144 private Intent mData = (new Intent()).setAction("No result received");
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
DLocalReceiver.java63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java156 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_canForward_sendIntent()
190 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_cannotForward_sendIntent()
211 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_noManagedProfile_sendIntent()
229 intent.setAction(Intent.ACTION_CHOOSER); in launchInSameProfile_chooserIntent()
294 .setAction(Intent.ACTION_SEND) in shouldSkipDisclosure_notWhitelisted()
309 .setAction(Intent.ACTION_SEND) in shouldSkipDisclosure_withResolverActivity()
322 .setAction(Intent.ACTION_CALL); in shouldSkipDisclosure_callIntent_call()
334 .setAction(Intent.ACTION_CALL_PRIVILEGED); in shouldSkipDisclosure_callIntent_callPrivileged()
346 .setAction(Intent.ACTION_CALL_EMERGENCY); in shouldSkipDisclosure_callIntent_callEmergency()
358 .setAction(Intent.ACTION_DIAL); in shouldSkipDisclosure_callIntent_dial()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java109 .setAction(ACTION_START) in getStartIntent()
394 .setAction(ACTION_STOP) in getStopIntent()
404 return new Intent(context, RecordingService.class).setAction(ACTION_STOP_NOTIF); in getNotificationIntent()
408 return new Intent(context, RecordingService.class).setAction(ACTION_SHARE) in getShareIntent()
413 return new Intent(context, RecordingService.class).setAction(ACTION_DELETE) in getDeleteIntent()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistProxyActivity.java30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAppSmsManagerTest.java65 intent.setAction(Intents.SMS_DELIVER_ACTION); in testHandleSmsReceivedIntent()
DCarrierServiceStateTrackerTest.java135 Intent intent = new Intent().setAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in testSendPrefNetworkNotification()
177 Intent intent = new Intent().setAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in testSendEmergencyNetworkNotification()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java42 .setAction(Intent.ACTION_MAIN) in onStartCommand()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DBootCompletedReceiver.java58 startServiceIntent.setAction(DynamicSystemClient.ACTION_NOTIFY_IF_IN_USE); in onReceive()
DVerificationActivity.java97 intent.setAction(DynamicSystemClient.ACTION_START_INSTALL); in startInstallationService()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskOrganizerMultiWindowTest.java181 intent.setAction(android.provider.Settings.ACTION_SETTINGS); in makeSettingsIntent()
188 intent.setAction(Intent.ACTION_MAIN); in makeContactsIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java622 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
641 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
660 intent.setAction("com.android.tv.settings.action.UNMOUNT_STORAGE"); in buildUnmountPendingIntent()
702 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildVolumeSettingsPendingIntent()
752 intent.setAction("com.android.tv.settings.action.MIGRATE_STORAGE"); in buildWizardMigratePendingIntent()
774 intent.setAction("com.android.tv.settings.action.MOVE_APP"); in buildWizardMovePendingIntent()
792 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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitor.java277 broadcastIntent.setAction(EXIT_BROADCAST_ACTION); in onUxRestrictionsChanged()
341 intent.setAction(EXIT_BROADCAST_ACTION); in broadcastGearReversal()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DConversationActionTest.java48 .setAction(new RemoteAction(icon, "title", "descr", intent)) in toBuilder()
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java87 intent.setAction(broadcastIntent.getAction());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java87 .setAction(ACTION_DEVICE_LOCKED_CHANGED) in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()

12345