Home
last modified time | relevance | path

Searched defs:intent (Results 1 – 25 of 204) 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.java39 Intent intent = new Intent(); in getBroadcast_shouldCreateIntentForBroadcast() local
54 Intent intent = new Intent(); in getActivity_shouldCreateIntentForBroadcast() local
98 Intent intent = new Intent(); in getService_shouldCreateIntentForBroadcast() local
133 Intent intent = new Intent(); in send_shouldFillInIntentData() local
172 Intent intent = new Intent(); in send_shouldNotFillIn_whenPendingIntentIsImmutable() local
188 Intent intent = new Intent().putExtra("whatever", 5); in updatePendingIntent() local
204 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() local
210 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() local
217 Intent intent = new Intent(); in getActivity_withFlagNoCreate_shouldReturnExistingIntent() local
228 Intent intent = new Intent(); in getActivity_withNoFlags_shouldReturnExistingIntent() local
[all …]
DShadowAlarmManagerTest.java126 Intent intent = new Intent(activity, activity.getClass()); in shouldSupportGetNextScheduledAlarm() local
140 Intent intent = new Intent(activity, activity.getClass()); in getNextScheduledAlarm_shouldReturnRepeatingAlarms() local
154 Intent intent = new Intent(activity, activity.getClass()); in peekNextScheduledAlarm_shouldReturnNextAlarm() local
165 Intent intent = new Intent(context, String.class); in cancel_removesMatchingPendingIntents() local
202 Intent intent = new Intent("ACTION!"); in schedule_useRequestCodeToMatchExistingPendingIntents() local
216 Intent intent = new Intent("ACTION!"); in cancel_useRequestCodeToMatchExistingPendingIntents() local
DShadowContextImplTest.java91 PendingIntent intent = PendingIntent.getActivity(context, 0, in startIntentSender_activityIntent() local
102 PendingIntent intent = PendingIntent.getBroadcast(context, 0, in startIntentSender_broadcastIntent() local
113 PendingIntent intent = PendingIntent.getService(context, 0, in startIntentSender_serviceIntent() local
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DIntentTest.java37 Intent intent = new Intent(); in testStringExtra() local
44 Intent intent = new Intent(); in testCharSequenceExtra() local
52 Intent intent = new Intent(); in testIntExtra() local
60 Intent intent = new Intent(); in testDoubleExtra() local
68 Intent intent = new Intent(); in testFloatExtra() local
76 Intent intent = new Intent(); in testIntArrayExtra() local
87 Intent intent = new Intent(); in testLongArrayExtra() local
98 Intent intent = new Intent(); in testSerializableExtra() local
109 Intent intent = new Intent(); in testParcelableExtra() local
118 Intent intent = new Intent(); in testParcelableArrayExtra() local
[all …]
DPendingIntentTest.java37 Intent intent = new Intent(); in getBroadcast__shouldCreateIntentForBroadcast() local
49 Intent intent = new Intent(); in getActivity__shouldCreateIntentForBroadcast() local
61 Intent intent = new Intent(); in getService__shouldCreateIntentForBroadcast() local
73 Intent intent = new Intent(); in send__shouldFillInIntentData() 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.java80 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
110 public IBinder onBind(Intent intent) { in onBind()
133 Intent intent = (Intent)msg.obj; in handleMessage() local
173 Intent intent = new Intent(RcsPresence.ACTION_PRESENCE_CHANGED); in handlePublishState() local
184 Intent intent = new Intent(RcsPresence.ACTION_PRESENCE_CHANGED); in handlePublishState() local
194 private void handlePresence(Intent intent) { in handlePresence()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplication.java169 public void startActivity(Intent intent) { in startActivity()
175 public void startActivity(Intent intent, Bundle options) { in startActivity()
181 public ComponentName startService(Intent intent) { in startService()
199 …public void setComponentNameAndServiceForBindServiceForIntent(Intent intent, ComponentName name, I… in setComponentNameAndServiceForBindServiceForIntent()
205 …public boolean bindService(final Intent intent, final ServiceConnection serviceConnection, int i) { in bindService()
342 public void sendBroadcast(Intent intent) { in sendBroadcast()
347 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast()
352 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { in sendOrderedBroadcast()
357 …public void sendOrderedBroadcast(Intent intent, String receiverPermission, BroadcastReceiver resul… in sendOrderedBroadcast()
368 private List<Wrapper> getAppropriateWrappers(Intent intent, String receiverPermission) { in getAppropriateWrappers()
[all …]
DShadowBroadcastReceiver.java24 public void onReceive(Context context, Intent intent) { in onReceive()
30 public void onReceive(Context context, Intent intent, AtomicBoolean abort) { in onReceive()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java76 public List<ResolveInfo> queryIntentActivities( Intent intent, int flags ) { in queryIntentActivities()
81 public List<ResolveInfo> queryIntentServices( Intent intent, int flags ) { in queryIntentServices()
86 public List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags) { in queryBroadcastReceivers()
91 public ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity()
97 public ResolveInfo resolveService(Intent intent, int flags) { in resolveService()
101 public void addResolveInfoForIntent( Intent intent, List<ResolveInfo> info ) { in addResolveInfoForIntent()
105 public void addResolveInfoForIntent(Intent intent, ResolveInfo info) { in addResolveInfoForIntent()
115 public Drawable getActivityIcon(Intent intent) { in getActivityIcon()
128 public void addActivityIcon( Intent intent, Drawable d ) { in addActivityIcon()
192 private List<ResolveInfo> queryIntent(Intent intent, int flags) { in queryIntent()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DFragmentController.java26 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { in of()
34 …public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent, Bundle argu… in of()
39 …ent> FragmentController<F> of(F fragment, Class<? extends Activity> activityClass, Intent intent) { in of()
48 Intent intent, Bundle arguments) { in of()
52 private FragmentController(F fragment, Class<? extends Activity> activityClass, Intent intent) { in FragmentController()
61 Intent intent, Bundle arguments) { in FragmentController()
DServiceController.java16 public static <T extends Service> ServiceController<T> of(T service, Intent intent) { in of()
22 private ServiceController(T service, Intent intent) { in ServiceController()
79 public ServiceController<T> withIntent(Intent intent) { in withIntent()
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
DIntentServiceController.java17 …tic <T extends IntentService> IntentServiceController<T> of(final T service, final Intent intent) { in of()
23 private IntentServiceController(final T service, final Intent intent) { in IntentServiceController()
86 public IntentServiceController<T> withIntent(Intent intent) { in withIntent()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DTestBroadcastReceiver.java9 public Intent intent; field in TestBroadcastReceiver
12 public void onReceive(Context context, Intent intent) { in onReceive()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPendingIntent.java28 …public static PendingIntent getActivity(Context context, int requestCode, Intent intent, int flags… in getActivity()
33 …public static PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flag… in getBroadcast()
38 …public static PendingIntent getService(Context context, int requestCode, Intent intent, int flags)… in getService()
48 public void send(Context context, int code, Intent intent) throws CanceledException { in send()
84 Intent intent = null; in readPendingIntentOrNullFromParcel() local
179 …private static PendingIntent create(Context context, Intent intent, boolean isActivity, boolean is… in create()
/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/robolectric/src/main/java/org/robolectric/
DRobolectric.java47 …tatic <T extends Service> ServiceController<T> buildService(Class<T> serviceClass, Intent intent) { in buildService()
59 …ntentService> IntentServiceController<T> buildIntentService(Class<T> serviceClass, Intent intent) { in buildIntentService()
83 …c <T extends Activity> ActivityController<T> buildActivity(Class<T> activityClass, Intent intent) { in buildActivity()
105 …c <T extends Fragment> FragmentController<T> buildFragment(Class<T> fragmentClass, Intent intent) { in buildFragment()
110 Intent intent, in buildFragment()
117 Intent intent) { in buildFragment()
129 Intent intent, in buildFragment()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DIntentServiceControllerTest.java123 public IBinder onBind(Intent intent) { in onBind()
131 protected void onHandleIntent(Intent intent) { in onHandleIntent()
152 public void onRebind(Intent intent) { in onRebind()
159 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/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/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
DScriptingLayerService.java85 public IBinder onBind(Intent intent) { in onBind()
160 private void startAction(Intent intent, int flags, int startId) { in startAction()
217 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand()
241 private AndroidProxy launchServer(Intent intent, boolean requiresHandshake) { in launchServer()
254 private ScriptProcess launchScript(Intent intent, AndroidProxy proxy) { in launchScript()
/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