Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 95) 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.java109 .setAction(ACTION_START) in getStartIntent()
440 return new Intent(context, RecordingService.class).setAction(ACTION_STOP); in getStopIntent()
444 return new Intent(context, RecordingService.class).setAction(ACTION_PAUSE); in getPauseIntent()
448 return new Intent(context, RecordingService.class).setAction(ACTION_RESUME); in getResumeIntent()
452 return new Intent(context, RecordingService.class).setAction(ACTION_CANCEL); in getCancelIntent()
456 return new Intent(context, RecordingService.class).setAction(ACTION_SHARE) in getShareIntent()
461 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/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()
/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()
667 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildVolumeSettingsPendingIntent()
714 intent.setAction("com.android.tv.settings.action.MIGRATE_STORAGE"); in buildWizardMigratePendingIntent()
733 intent.setAction("com.android.tv.settings.action.MOVE_APP"); in buildWizardMovePendingIntent()
748 intent.setAction(Settings.ACTION_INTERNAL_STORAGE_SETTINGS); in buildWizardReadyPendingIntent()
/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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitor.java277 broadcastIntent.setAction(EXIT_BROADCAST_ACTION); in onUxRestrictionsChanged()
335 intent.setAction(EXIT_BROADCAST_ACTION); in broadcastGearReversal()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DServiceCrashTest.java68 intent.setAction(Intent.ACTION_MAIN); in testCrashQuickly()
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java87 intent.setAction(broadcastIntent.getAction());
/frameworks/base/core/java/com/android/internal/app/
DResolverTargetActionsDialogFragment.java90 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaTransferManager.java56 .setAction(MediaOutputSliceConstants.ACTION_MEDIA_OUTPUT)
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java824 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
829 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
833 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
841 intent.setAction(Intent.ACTION_HEADSET_PLUG); in sendDeviceConnectionIntent()
911 intent.setAction(AudioManager.ACTION_HDMI_AUDIO_PLUG); in configureHdmiPlugIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java83 .setAction(ACTION_DEVICE_LOCKED_CHANGED) in testActionDeviceLockedChangedWithDifferentUserIdCallsOnWorkChallengeChanged()

1234