Home
last modified time | relevance | path

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

1234

/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.java142 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_canForward_sendIntent()
176 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_cannotForward_sendIntent()
197 intent.setAction(Intent.ACTION_SEND); in forwardToManagedProfile_noManagedProfile_sendIntent()
219 intent.setAction(Intent.ACTION_CHOOSER); in forwardToManagedProfile_canForward_chooserIntent()
288 .setAction(Intent.ACTION_SEND) in shouldSkipDisclosure_notWhitelisted()
303 .setAction(Intent.ACTION_SEND) in shouldSkipDisclosure_withResolverActivity()
316 .setAction(Intent.ACTION_CALL); in shouldSkipDisclosure_callIntent_call()
328 .setAction(Intent.ACTION_CALL_PRIVILEGED); in shouldSkipDisclosure_callIntent_callPrivileged()
340 .setAction(Intent.ACTION_CALL_EMERGENCY); in shouldSkipDisclosure_callIntent_callEmergency()
352 .setAction(Intent.ACTION_DIAL); in shouldSkipDisclosure_callIntent_dial()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DActionsSuggestionsHelperTest.java169 .setAction(new RemoteAction(icon, "label", "1", pendingIntent)) in testDeduplicateActions()
174 .setAction(new RemoteAction( in testDeduplicateActions()
180 .setAction(new RemoteAction( in testDeduplicateActions()
186 .setAction(new RemoteAction( in testDeduplicateActions()
192 .setAction(new RemoteAction(icon, "label", "5", pendingIntent)) in testDeduplicateActions()
224 .setAction(new RemoteAction(icon, "label", "1", pendingIntent)) in testDeduplicateActions_nullComponent()
229 .setAction(new RemoteAction( in testDeduplicateActions_nullComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java111 .setAction(ACTION_START) in getStartIntent()
427 return new Intent(context, RecordingService.class).setAction(ACTION_STOP); in getStopIntent()
431 return new Intent(context, RecordingService.class).setAction(ACTION_PAUSE); in getPauseIntent()
435 return new Intent(context, RecordingService.class).setAction(ACTION_RESUME); in getResumeIntent()
439 return new Intent(context, RecordingService.class).setAction(ACTION_CANCEL); in getCancelIntent()
443 return new Intent(context, RecordingService.class).setAction(ACTION_SHARE) in getShareIntent()
448 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAppSmsManagerTest.java65 intent.setAction(Intents.SMS_DELIVER_ACTION); in testHandleSmsReceivedIntent()
DCarrierServiceStateTrackerTest.java147 Intent intent = new Intent().setAction(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED); in testSendPrefNetworkNotification()
187 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.java103 intent.setAction(DynamicSystemClient.ACTION_START_INSTALL); in startInstallationService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java593 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
609 intent.setAction("com.android.tv.settings.action.NEW_STORAGE"); in buildInitPendingIntent()
625 intent.setAction("com.android.tv.settings.action.UNMOUNT_STORAGE"); in buildUnmountPendingIntent()
659 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildVolumeSettingsPendingIntent()
706 intent.setAction("com.android.tv.settings.action.MIGRATE_STORAGE"); in buildWizardMigratePendingIntent()
725 intent.setAction("com.android.tv.settings.action.MOVE_APP"); in buildWizardMovePendingIntent()
740 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/java/com/android/internal/app/
DResolverTargetActionsDialogFragment.java69 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) in onClick()
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java87 intent.setAction(broadcastIntent.getAction());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaTransferManager.java56 .setAction(MediaOutputSliceConstants.ACTION_MEDIA_OUTPUT)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java83 .setAction(ACTION_DEVICE_LOCKED_CHANGED) in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java814 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
819 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
823 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
831 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
901 intent.setAction(AudioManager.ACTION_HDMI_AUDIO_PLUG); in configureHdmiPlugIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsUtils.java92 queryIntent.setAction(serviceAction); in getMiddlewareServiceInfo()

1234