Searched refs:startService (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java201 getContext().startService(new Intent(service).putExtras(bundle));
205 getContext().startService(new Intent(service).putExtras(bundle));
225 getContext().startService(service);
240 getContext().startService(service);
275 getContext().startService(service);
305 getContext().startService(service);
/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java98 startService(intent);
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java52 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
57 * When one of your test methods calls {@link #startService ServiceTestCase.startService()}
60 * {@link android.app.Service#startService(Intent) Service.startService(Intent)} or
86 * startService() or bindService(). The test framework provides a
118 * a test calls {@link #startService} or {@link #bindService}.
142 * (Context, Application) to it. This is called automatically by {@link #startService} or
174 * {@link android.content.Context#startService(Intent) Context.startService(Inten
182 protected void startService(Intent intent) { method in class:ServiceTestCase
[all...]
/frameworks/base/vpn/java/android/net/vpn/
H A DVpnManager.java141 mContext.startService(new Intent(ACTION_VPN_SERVICE));
/frameworks/base/core/java/android/content/
H A DContextWrapper.java335 public ComponentName startService(Intent service) { method in class:ContextWrapper
336 return mBase.startService(service);
H A DContext.java85 * explicit call to {@link #startService}. Even without that, though,
1020 * <p>Using startService() overrides the default service lifetime that is
1023 * any clients are connected to it. Note that calls to startService()
1024 * are not nesting: no matter how many times you call startService(),
1052 public abstract ComponentName startService(Intent service); method in class:Context
1057 * to startService() are not counted -- this stops the service no matter
1079 * @see #startService
1098 * {@link #startService} with the arguments containing the command to be
1122 * @see #startService
/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java67 context.startService(loadavg);
H A DStatusBarManagerService.java119 mContext.startService(intent);
H A DDevicePolicyManagerService.java874 mContext.startService(intent);
H A DPackageManagerService.java4479 am.startService(null, intent, null);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java95 startService(new Intent(TrackerActivity.this,
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java305 public ComponentName startService(Intent service) { method in class:MockContext
/frameworks/base/core/java/android/app/
H A DIActivityManager.java154 public ComponentName startService(IApplicationThread caller, Intent service, method in interface:IActivityManager
H A DContextImpl.java835 public ComponentName startService(Intent service) { method in class:ContextImpl
837 ComponentName cn = ActivityManagerNative.getDefault().startService(
H A DActivityManagerNative.java609 ComponentName cn = startService(app, service, resolvedType);
1934 public ComponentName startService(IApplicationThread caller, Intent service, method in class:ActivityManagerProxy
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java238 ComponentName cn = mAm.startService(null, intent, intent.getType());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1212 public ComponentName startService(Intent arg0) { method in class:BridgeContext
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1198 mContext.startService(service);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java9111 if (DEBUG_SERVICE) Slog.v(TAG, "startService: " + service
9159 public ComponentName startService(IApplicationThread caller, Intent service, method in class:ActivityManagerService

Completed in 281 milliseconds