Home
last modified time | relevance | path

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

12345678910>>...16

/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
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java39 Intent intent = new Intent(); in resolveActivityInfo_shouldReturnActivityInfoForExistingActivity() local
47 Intent intent = new Intent(); in testGetExtraReturnsNull_whenThereAreNoExtrasAdded() local
53 Intent intent = new Intent(); in testStringExtra() local
60 Intent intent = new Intent(); in testCharSequenceExtra() local
68 Intent intent = new Intent(); in testIntExtra() local
76 Intent intent = new Intent(); in testDoubleExtra() local
84 Intent intent = new Intent(); in testFloatExtra() local
92 Intent intent = new Intent(); in testIntArrayExtra() local
103 Intent intent = new Intent(); in testLongArrayExtra() local
114 Intent intent = new Intent(); in testSerializableExtra() local
[all …]
DShadowPendingIntentTest.java49 Intent intent = new Intent(); in getBroadcast_shouldCreateIntentForBroadcast() local
65 Intent intent = new Intent(); in getActivity_withBundle_shouldCreateIntentForBroadcast() local
121 Intent intent = new Intent().setPackage("dummy.package"); in getService_shouldCreateIntentForBroadcast() local
138 Intent intent = new Intent().setPackage("dummy.package"); in getForegroundService_shouldCreateIntentForBroadcast() local
174 Intent intent = new Intent("action"); in send_shouldFillInIntentData() local
190 Intent intent = new Intent("action"); in send_shouldNotReusePreviouslyFilledInIntentData() local
262 Intent intent = new Intent(); in send_shouldNotFillIn_whenPendingIntentIsImmutable() local
278 Intent intent = new Intent().putExtra("whatever", 5); in updatePendingIntent() local
294 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() local
300 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() local
[all …]
/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/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/simple/
DBroadcastReceiverTest.java55 Intent intent = new Intent(); in verifyReceiverInjectedValue() local
71 Intent intent = new Intent(); in verifyBaseReceiverInjectedValue() local
87 Intent intent = new Intent(); in verifyBaseReceiverIsNotDoubleInjected() local
104 Intent intent = new Intent(); in verifyComplexReceiverInjectedValue() local
122 public void onReceive(Context context, Intent intent) { in onReceive()
137 public void onReceive(Context context, Intent intent) { in onReceive()
152 public void onReceive(Context context, Intent intent) { in onReceive()
167 public void onReceive(Context context, Intent intent) { in onReceive()
198 public void onReceive(Context context, Intent intent) { in onReceive()
/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()
294 protected boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) { in bindService()
301 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
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
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()
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
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java128 protected Activity startActivitySync(Intent intent, Bundle options) { in startActivitySync()
151 Intent intent, in execStartActivity()
171 Intent intent, in execStartActivity()
185 Intent intent, in execStartActivity()
206 Intent intent, in execStartActivity()
224 Intent intent, in execStartActivity()
258 private void logStartedActivity(Intent intent, String target, int requestCode, Bundle options) { in logStartedActivity()
265 private void verifyActivityInManifest(Intent intent) { in verifyActivityInManifest()
276 Intent intent, in sendOrderedBroadcastAsUser()
324 Intent intent, in getAppropriateWrappers()
[all …]
DShadowContextImpl.java107 IntentSender intent, in startIntentSender()
167 protected void sendBroadcast(Intent intent) { in sendBroadcast()
174 protected void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
182 protected void sendBroadcastAsUser(@RequiresPermission Intent intent, UserHandle user) { in sendBroadcastAsUser()
189 protected void sendBroadcastAsUser( in sendBroadcastAsUser()
196 protected void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
203 Intent intent, in sendOrderedBroadcast()
229 Intent intent, in sendOrderedBroadcastAsUser()
253 Intent intent, in sendOrderedBroadcastAsUser()
275 protected void sendStickyBroadcast(Intent intent) { in sendStickyBroadcast()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DIntentUtil.java72 public static List<MediaItem> createMediaItemsFromIntent(Intent intent) { in createMediaItemsFromIntent()
89 public static void addToIntent(List<MediaItem> mediaItems, Intent intent) { in addToIntent()
119 Uri uri, Intent intent, String extrasKeySuffix) { in createMediaItemFromIntent()
152 Intent intent, String extrasKeySuffix) { in createSubtitleConfiguration()
166 MediaItem.Builder builder, Intent intent, String extrasKeySuffix) { in populateDrmPropertiesFromIntent()
200 MediaItem.LocalConfiguration localConfiguration, Intent intent, String extrasKeySuffix) { in addPlaybackPropertiesToIntent()
222 MediaItem.DrmConfiguration drmConfiguration, Intent intent, String extrasKeySuffix) { in addDrmConfigurationToIntent()
255 Intent intent, in addClippingConfigurationToIntent()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DIntentUtil.java72 public static List<MediaItem> createMediaItemsFromIntent(Intent intent) { in createMediaItemsFromIntent()
89 public static void addToIntent(List<MediaItem> mediaItems, Intent intent) { in addToIntent()
119 Uri uri, Intent intent, String extrasKeySuffix) { in createMediaItemFromIntent()
152 Intent intent, String extrasKeySuffix) { in createSubtitleConfiguration()
166 MediaItem.Builder builder, Intent intent, String extrasKeySuffix) { in populateDrmPropertiesFromIntent()
200 MediaItem.LocalConfiguration localConfiguration, Intent intent, String extrasKeySuffix) { in addPlaybackPropertiesToIntent()
222 MediaItem.DrmConfiguration drmConfiguration, Intent intent, String extrasKeySuffix) { in addDrmConfigurationToIntent()
255 Intent intent, in addClippingConfigurationToIntent()
/external/robolectric/robolectric/src/main/java/org/robolectric/
DRobolectric.java36 …tatic <T extends Service> ServiceController<T> buildService(Class<T> serviceClass, Intent intent) { in buildService()
48 …ntentService> IntentServiceController<T> buildIntentService(Class<T> serviceClass, Intent intent) { in buildIntentService()
89 Class<T> activityClass, Intent intent) { in buildActivity()
106 Class<T> activityClass, Intent intent, @Nullable Bundle activityOptions) { in buildActivity()
191 Class<T> fragmentClass, Intent intent) { in buildFragment()
210 Class<T> fragmentClass, Intent intent, Bundle arguments) { in buildFragment()
233 Class<T> fragmentClass, Class<? extends Activity> activityClass, Intent intent) { in buildFragment()
279 Intent intent, in buildFragment()
/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java34 public void startActivity(Intent intent, @Nullable Bundle activityOptions) { in startActivity()
39 public void startActivity(Intent intent) { in startActivity()
44 public void startActivityForResult(Intent intent, @Nullable Bundle activityOptions) { in startActivityForResult()
50 public void startActivityForResult(Intent intent) { in startActivityForResult()
165 Intent intent = Intent.makeMainActivity(componentName); in getIntentForActivity() local
/external/setupdesign/main/src/com/google/android/setupdesign/transition/
DTransitionHelper.java367 public static void startActivityWithTransition(Activity activity, Intent intent) { in startActivityWithTransition()
380 Activity activity, Intent intent, Bundle overrideActivityOptions) { in startActivityWithTransition()
431 Activity activity, Intent intent, Bundle overrideActivityOptions) { in startActivityWithTransitionInternal()
456 Activity activity, Intent intent, int requestCode) { in startActivityForResultWithTransition()
470 Activity activity, Intent intent, int requestCode, Bundle overrideActivityOptions) { in startActivityForResultWithTransition()
523 Activity activity, Intent intent, int requestCode, Bundle overrideActivityOptions) { in startActivityForResultWithTransitionInternal()
608 public static Bundle makeActivityOptions(Activity activity, Intent intent) { in makeActivityOptions()
635 Activity activity, Intent intent, boolean overrideActivityOptionsFromIntent) { in makeActivityOptions()
/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()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
DScriptingLayerService.java86 public IBinder onBind(Intent intent) { in onBind()
165 private void startAction(Intent intent, int flags, int startId) { in startAction()
226 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
250 private AndroidProxy launchServer(Intent intent, boolean requiresHandshake) { in launchServer()
263 private ScriptProcess launchScript(Intent intent, AndroidProxy proxy) { in launchScript()
280 private InterpreterProcess launchInterpreter(Intent intent, AndroidProxy proxy) { in launchInterpreter()
/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/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/robolectric/shadows/framework/src/main/java/org/robolectric/android/controller/
DFragmentController.java34 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { in of()
42 …public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent, Bundle argu… in of()
47 …ent> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Intent intent) { in of()
56 Intent intent, Bundle arguments) { in of()
60 private FragmentController(F fragment, Class<? extends Activity> activityClass, Intent intent) { in FragmentController()
69 Intent intent, Bundle arguments) { in FragmentController()

12345678910>>...16