Lines Matching refs:intent
22 import android.content.Intent;
63 * {@link android.app.Service#startService(Intent) Service.startService(Intent)} or
64 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
65 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores
122 private Intent mServiceIntent = null;
183 * {@link android.content.Context#startService(Intent) Context.startService(Intent)} with
184 * an {@link android.content.Intent} that identifies a service.
188 * @param intent An Intent that identifies a service, of the same form as the Intent passed to
189 * {@link android.content.Context#startService(Intent) Context.startService(Intent)}.
191 protected void startService(Intent intent) {
201 mService.onStartCommand(intent, 0, mServiceId);
209 * {@link android.content.Context#bindService(Intent, ServiceConnection, int)
210 * Context.bindService(Intent, ServiceConnection, flags)} with an
211 * {@link android.content.Intent} that identifies a service.
216 * you only provide the Intent. The method returns an object whose type is a
230 * @param intent An Intent object of the form expected by
236 protected IBinder bindService(Intent intent) {
247 mServiceIntent = intent.cloneFilter();
248 IBinder result = mService.onBind(intent);