Searched refs:startService (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/support/compat/java/android/support/v4/content/
H A DContextCompat.java548 * startForegroundService() was introduced in O, just call startService
555 * @see Context#startService()
562 context.startService(intent);
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaButtonReceiver.java290 context.startService(intent);
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestActivity.java102 startService(new Intent(getBaseContext(), SoundTriggerTestService.class));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DRttServiceTest.java91 mRttServiceImpl.startService();
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DPlayback.java91 mService.startService(i);
H A DMediaBrowserServiceSupport.java533 // is disconnected. Call startService(Intent) and then stopSelf(..) when we no longer
535 startService(new Intent(getApplicationContext(), MediaBrowserServiceSupport.class));
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DPlayback.java91 mService.startService(i);
H A DMediaBrowserServiceSupport.java533 // is disconnected. Call startService(Intent) and then stopSelf(..) when we no longer
535 startService(new Intent(getApplicationContext(), MediaBrowserServiceSupport.class));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWifiScanningServiceTest.java349 mWifiScanningServiceImpl.startService();
411 public void startService() throws Exception { method in class:WifiScanningServiceTest
412 mWifiScanningServiceImpl.startService();
426 mWifiScanningServiceImpl.startService();
455 mWifiScanningServiceImpl.startService();
493 mWifiScanningServiceImpl.startService();
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
H A DWapPushManager.java219 if (mContext.startService(intent) == null) {
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java405 startService(new Intent(this, SchedulerService.class));
/frameworks/support/compat/java/android/support/v4/app/
H A DJobIntentService.java45 * {@link android.content.Context#startService Context.startService}.
181 if (mContext.startService(intent) != null) {
624 // someone has already called startService with a new Intent that will be
/frameworks/base/core/java/android/content/
H A DContextWrapper.java649 public ComponentName startService(Intent service) { method in class:ContextWrapper
650 return mBase.startService(service);
H A DContext.java241 * explicit call to {@link #startService}. Even without that, though,
2668 * <p>Using startService() overrides the default service lifetime that is
2671 * any clients are connected to it. Note that calls to startService()
2672 * do not nest: no matter how many times you call startService(),
2684 * <p class="note"><strong>Note:</strong> Each call to startService()
2687 * multiple milliseconds of CPU time. Due to this cost, startService()
2711 public abstract ComponentName startService(Intent service); method in class:Context
2714 * Similar to {@link #startService(Intent)}, but with an implicit promise that the
2720 * <p>Unlike the ordinary {@link #startService(Intent)}, this method can be used
2752 * to startService() ar
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DRttService.java218 public void startService() { method in class:RttService.RttServiceImpl
766 mImpl.startService();
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUClient.java388 mRedirectListener.startService();
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java530 public ComponentName startService(Intent service) { method in class:MockContext
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java229 startService(intent);
/frameworks/base/core/java/android/app/
H A DContextImpl.java1468 Log.w(TAG, "Implicit intents with startService are not safe: " + service
1475 public ComponentName startService(Intent service) { method in class:ContextImpl
1507 ComponentName cn = ActivityManager.getService().startService(
1973 * {@link #startService(Intent)} instead of {@link #startServiceAsUser(Intent, UserHandle)}.
H A DIActivityManager.aidl129 ComponentName startService(in IApplicationThread caller, in Intent service,
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1857 public ComponentName startService(Intent arg0) { method in class:BridgeContext
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java531 ComponentName cn = mInterface.startService(null, intent, intent.getType(),
H A DActivityManagerService.java18257 public ComponentName startService(IApplicationThread caller, Intent service, method in class:ActivityManagerService
18260 enforceNotIsolatedCaller("startService");
18271 "*** startService: " + service + " type=" + resolvedType + " fg=" + requireForeground);
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScanningServiceImpl.java292 public void startService() { method in class:WifiScanningServiceImpl
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java714 // This is posted to the *main* looper intentionally, to defer calling startService()
722 mContext.startService(startServiceIntent);

Completed in 1037 milliseconds

123