Home
last modified time | relevance | path

Searched defs:intent (Results 1 – 25 of 215) sorted by relevance

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java38 Intent intent = new Intent(); in resolveActivityInfo_shouldReturnActivityInfoForExistingActivity() local
46 Intent intent = new Intent(); in testGetExtraReturnsNull_whenThereAreNoExtrasAdded() local
52 Intent intent = new Intent(); in testStringExtra() local
59 Intent intent = new Intent(); in testCharSequenceExtra() local
67 Intent intent = new Intent(); in testIntExtra() local
75 Intent intent = new Intent(); in testDoubleExtra() local
83 Intent intent = new Intent(); in testFloatExtra() local
91 Intent intent = new Intent(); in testIntArrayExtra() local
102 Intent intent = new Intent(); in testLongArrayExtra() local
113 Intent intent = new Intent(); in testSerializableExtra() local
[all …]
DShadowPendingIntentTest.java40 Intent intent = new Intent(); in getBroadcast_shouldCreateIntentForBroadcast() local
56 Intent intent = new Intent(); in getActivity_shouldCreateIntentForBroadcast() local
103 Intent intent = new Intent(); in getService_shouldCreateIntentForBroadcast() local
120 Intent intent = new Intent(); in getForegroundService_shouldCreateIntentForBroadcast() local
156 Intent intent = new Intent("action"); in send_shouldFillInIntentData() local
172 Intent intent = new Intent("action"); in send_shouldNotReusePreviouslyFilledInIntentData() local
244 Intent intent = new Intent(); in send_shouldNotFillIn_whenPendingIntentIsImmutable() local
260 Intent intent = new Intent().putExtra("whatever", 5); in updatePendingIntent() local
276 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() local
282 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() local
[all …]
DShadowAlarmManagerTest.java212 Intent intent = new Intent(activity, activity.getClass()); in shouldSupportGetNextScheduledAlarm() local
226 Intent intent = new Intent(activity, activity.getClass()); in getNextScheduledAlarm_shouldReturnRepeatingAlarms() local
240 Intent intent = new Intent(activity, activity.getClass()); in peekNextScheduledAlarm_shouldReturnNextAlarm() local
251 Intent intent = new Intent(context, String.class); in cancel_removesMatchingPendingIntents() local
288 Intent intent = new Intent("ACTION!"); in schedule_useRequestCodeToMatchExistingPendingIntents() local
300 Intent intent = new Intent("ACTION!"); in cancel_useRequestCodeToMatchExistingPendingIntents() local
317 Intent intent = new Intent("ACTION!"); in cancel_removesMatchingListeners() local
DShadowContextImplTest.java114 PendingIntent intent = in startIntentSender_activityIntent() local
131 PendingIntent intent = in startIntentSender_broadcastIntent() local
146 PendingIntent intent = in startIntentSender_serviceIntent() local
226 Intent intent = new Intent(); in startActivityAsUser() local
/external/sl4a/Common/src/com/googlecode/android_scripting/
DIntentBuilders.java38 Intent intent = new Intent(); in buildTriggerServiceIntent() local
52 Intent intent = new Intent(); in buildStartInBackgroundIntent() local
68 Intent intent = new Intent(); in buildStartInTerminalIntent() local
84 Intent intent = new Intent(); in buildStartInterpreterIntent() local
102 Intent intent = new Intent(); in buildInterpreterShortcutIntent() local
120 Intent intent = new Intent(); in buildBackgroundShortcutIntent() local
137 Intent intent = new Intent(); in buildTerminalShortcutIntent() local
153 final Intent intent = buildTriggerServiceIntent(); in buildTriggerServicePendingIntent() local
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DLauncherUtils.java52 Intent intent = new Intent(context, PollingService.class); in launchPollingService() local
64 Intent intent = new Intent(context, PollingService.class); in stopPollingService() local
71 Intent intent = new Intent(context, EABService.class); in launchEabService() local
78 Intent intent = new Intent(context, EABService.class); in stopEabService() local
DPersistService.java79 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
109 public IBinder onBind(Intent intent) { in onBind()
132 Intent intent = (Intent)msg.obj; in handleMessage() local
172 Intent intent = new Intent(RcsPresence.ACTION_PRESENCE_CHANGED); in handlePublishState() local
183 Intent intent = new Intent(RcsPresence.ACTION_PRESENCE_CHANGED); in handlePublishState() local
193 private void handlePresence(Intent intent) { in handlePresence()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java89 protected Activity startActivitySync(Intent intent, Bundle options) { in startActivitySync()
99 Intent intent, in execStartActivity()
119 Intent intent, in execStartActivity()
127 private void logStartedActivity(Intent intent, int requestCode, Bundle options) { in logStartedActivity()
133 private void verifyActivityInManifest(Intent intent) { in verifyActivityInManifest()
155 Context who, IBinder contextThread, Object appTask, Intent intent, Bundle options) { in execStartActivityFromAppTask()
165 Intent intent, in execStartActivity()
186 Intent intent, in execStartActivity()
199 Intent intent, in execStartActivityAsCaller()
208 Intent intent, in sendOrderedBroadcast()
[all …]
DShadowContextImpl.java88 IntentSender intent, in startIntentSender()
146 protected void sendBroadcast(Intent intent) { in sendBroadcast()
151 protected void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
157 protected void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
164 Intent intent, in sendOrderedBroadcast()
186 Intent intent, in sendOrderedBroadcastAsUser()
208 Intent intent, in sendOrderedBroadcastAsUser()
230 protected void sendStickyBroadcast(Intent intent) { in sendStickyBroadcast()
287 protected boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) { in bindService()
294 Intent intent, final ServiceConnection serviceConnection, int i, UserHandle userHandle) { in bindServiceAsUser()
[all …]
DShadowPendingIntent.java64 Context context, int requestCode, @NonNull Intent intent, int flags) { in getActivity()
70 Context context, int requestCode, @NonNull Intent intent, int flags, Bundle options) { in getActivity()
88 Context context, int requestCode, @NonNull Intent intent, int flags) { in getBroadcast()
94 Context context, int requestCode, @NonNull Intent intent, int flags) { in getService()
100 Context context, int requestCode, @NonNull Intent intent, int flags) { in getForegroundService()
129 protected void send(Context context, int code, Intent intent) throws CanceledException { in send()
134 protected void send(Context context, int code, Intent intent, PendingIntent.OnFinished onFinished, in send()
140 protected void send(Context context, int code, Intent intent, PendingIntent.OnFinished onFinished, in send()
147 protected void send(Context context, int code, Intent intent, PendingIntent.OnFinished onFinished, in send()
355 Intent intent = shadowPendingIntent.getSavedIntent(); in create() local
DShadowBroadcastReceiver.java24 protected void onReceive(Context context, Intent intent) { in onReceive()
30 public void onReceive(Context context, Intent intent, AtomicBoolean abort) { in onReceive()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectric.java35 …tatic <T extends Service> ServiceController<T> buildService(Class<T> serviceClass, Intent intent) { in buildService()
47 …ntentService> IntentServiceController<T> buildIntentService(Class<T> serviceClass, Intent intent) { in buildIntentService()
71 …c <T extends Activity> ActivityController<T> buildActivity(Class<T> activityClass, Intent intent) { in buildActivity()
93 …c <T extends Fragment> FragmentController<T> buildFragment(Class<T> fragmentClass, Intent intent) { in buildFragment()
98 Intent intent, in buildFragment()
105 Intent intent) { in buildFragment()
117 Intent intent, in buildFragment()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DFragmentController.java25 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { in of()
33 …public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent, Bundle argu… in of()
38 …ent> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Intent intent) { in of()
47 Intent intent, Bundle arguments) { in of()
51 private FragmentController(F fragment, Class<? extends Activity> activityClass, Intent intent) { in FragmentController()
60 Intent intent, Bundle arguments) { in FragmentController()
DComponentController.java16 protected Intent intent; field in ComponentController
21 public ComponentController(T component, Intent intent) { in ComponentController()
42 …Intent intent = this.intent == null ? new Intent(RuntimeEnvironment.application, component.getClas… in getIntent() local
DServiceController.java18 public static <T extends Service> ServiceController<T> of(T service, Intent intent) { in of()
24 private ServiceController(T service, Intent intent) { in ServiceController()
88 public ServiceController<T> withIntent(Intent intent) { in withIntent()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
DScriptingLayerService.java86 public IBinder onBind(Intent intent) { in onBind()
163 private void startAction(Intent intent, int flags, int startId) { in startAction()
224 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
248 private AndroidProxy launchServer(Intent intent, boolean requiresHandshake) { in launchServer()
261 private ScriptProcess launchScript(Intent intent, AndroidProxy proxy) { in launchScript()
276 private InterpreterProcess launchInterpreter(Intent intent, AndroidProxy proxy) { in launchInterpreter()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/intent/
DLabeledIntentTest.java68 Intent intent = result.resolvedIntent; in resolve_preferTitleWithEntity() local
83 Intent intent = result.resolvedIntent; in resolve_useAvailableTitle() local
99 Intent intent = result.resolvedIntent; in resolve_titleChooser() local
115 Intent intent = result.resolvedIntent; in resolve_titleChooserReturnsNull() local
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/
DRoboMonitoringInstrumentation.java41 public Activity startActivitySync(final Intent intent) { in startActivitySync()
70 Intent intent, in execStartActivity()
89 Intent intent, in execStartActivity()
108 Intent intent, in execStartActivity()
128 Intent intent, in execStartActivity()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DIntentUtil.java99 Intent intent, DownloadTracker downloadTracker) { in createMediaItemsFromIntent()
123 public static void addToIntent(List<MediaItem> mediaItems, Intent intent) { in addToIntent()
159 Uri uri, Intent intent, String extrasKeySuffix, @Nullable DownloadRequest downloadRequest) { in createMediaItemFromIntent()
178 Intent intent, String extrasKeySuffix) { in createSubtitlesFromIntent()
191 MediaItem.Builder builder, Intent intent, String extrasKeySuffix) { in populateDrmPropertiesFromIntent()
242 MediaItem.PlaybackProperties playbackProperties, Intent intent, String extrasKeySuffix) { in addPlaybackPropertiesToIntent()
270 MediaItem.DrmConfiguration drmConfiguration, Intent intent, String extrasKeySuffix) { in addDrmConfigurationToIntent()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java234 public void startActivity(Intent intent) { in startActivity()
239 public void startActivity(Intent intent, Bundle bundle) { in startActivity()
254 …public void startIntentSender(IntentSender intentSender, Intent intent, int i, int i1, int i2) thr… in startIntentSender()
259 …public void startIntentSender(IntentSender intentSender, Intent intent, int i, int i1, int i2, Bun… in startIntentSender()
264 public void sendBroadcast(Intent intent) { in sendBroadcast()
269 public void sendBroadcast(Intent intent, String s) { in sendBroadcast()
274 public void sendOrderedBroadcast(Intent intent, String s) { in sendOrderedBroadcast()
279 …public void sendOrderedBroadcast(Intent intent, String s, BroadcastReceiver broadcastReceiver, Han… in sendOrderedBroadcast()
284 public void sendStickyBroadcast(Intent intent) { in sendStickyBroadcast()
289 …public void sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver broadcastReceiver, Handler… in sendStickyOrderedBroadcast()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DIntentServiceControllerTest.java124 public IBinder onBind(Intent intent) { in onBind()
132 protected void onHandleIntent(Intent intent) { in onHandleIntent()
153 public void onRebind(Intent intent) { in onRebind()
160 public boolean onUnbind(Intent intent) { in onUnbind()
DServiceControllerTest.java124 public IBinder onBind(Intent intent) { in onBind()
146 public void onRebind(Intent intent) { in onRebind()
153 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
163 public boolean onUnbind(Intent intent) { in onUnbind()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigTestReceiver.java10 public void onReceive(Context context, Intent intent) { in onReceive()
15 public void onReceive(Context context, Intent intent) { in onReceive()
/external/robolectric-shadows/shadows/androidx/fragment/src/main/java/org/robolectric/shadows/androidx/fragment/
DFragmentController.java24 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in FragmentController()
36 Intent intent, in FragmentController()
64 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { in of()
100 F fragment, Intent intent, Bundle arguments) { in of()
113 F fragment, Class<? extends FragmentActivity> activityClass, Intent intent) { in of()
143 Intent intent, in of()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DApplicationManagerFacade.java65 Intent intent = new Intent(Intent.ACTION_MAIN); in getLaunchableApplications() local
77 Intent intent = new Intent(Intent.ACTION_MAIN); in launch() local
85 Intent intent = new Intent(Intent.ACTION_MAIN); in launchForResult() local
111 Intent intent = new Intent(Intent.ACTION_MAIN); in createIntentForClassName() local

123456789