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

12

/frameworks/base/services/java/com/android/server/
H A DSystemServer.java312 Installer installer = mSystemServiceManager.startService(Installer.class);
315 mActivityManagerService = mSystemServiceManager.startService(
324 mPowerManagerService = mSystemServiceManager.startService(PowerManagerService.class);
332 mDisplayManagerService = mSystemServiceManager.startService(DisplayManagerService.class);
369 mSystemServiceManager.startService(LightsService.class);
372 mSystemServiceManager.startService(BatteryService.class);
375 mSystemServiceManager.startService(UsageStatsService.class);
382 mSystemServiceManager.startService(WebViewUpdateService.class);
432 mSystemServiceManager.startService(TelecomLoaderService.class);
468 mSystemServiceManager.startService(AlarmManagerServic
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DVoiceInteractionMain.java46 startService(new Intent(VoiceInteractionMain.this, MainInteractionService.class));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBootReceiver.java40 context.startService(loadavg);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiScanningService.java50 mImpl.startService(getContext());
H A DRttService.java116 public void startService(Context context) { method in class:RttService.RttServiceImpl
442 mImpl.startService(getContext());
/frameworks/base/services/core/java/com/android/server/
H A DSystemServiceManager.java53 public SystemService startService(String className) { method in class:SystemServiceManager
65 return startService(serviceClass);
77 public <T extends SystemService> T startService(Class<T> serviceClass) { method in class:SystemServiceManager
/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/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java50 getInstrumentation().getContext().startService(new Intent(SERVICE_BASE_ACTION + i));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DServiceMonitor.java73 startService();
210 startService();
223 private void startService() { method in class:ServiceMonitor
225 if (mDebug) Log.d(mTag, "startService mServiceName=" + mServiceName);
262 startService();
/frameworks/support/v4/java/android/support/v4/content/
H A DWakefulBroadcastReceiver.java42 * {@link android.content.Context#startService startService()}, except that
67 * Do a {@link android.content.Context#startService(android.content.Intent)
68 * Context.startService}, but holding a wake lock while the service starts.
77 * {@link android.content.Context#startService(android.content.Intent)
78 * Context.startService}.
89 ComponentName comp = context.startService(intent);
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java55 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
60 * When one of your test methods calls {@link #startService ServiceTestCase.startService()}
63 * {@link android.app.Service#startService(Intent) Service.startService(Intent)} or
89 * startService() or bindService(). The test framework provides a
121 * a test calls {@link #startService} or {@link #bindService}.
145 * (Context, Application) to it. This is called automatically by {@link #startService} or
177 * {@link android.content.Context#startService(Intent) Context.startService(Inten
185 protected void startService(Intent intent) { method in class:ServiceTestCase
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java97 startService(intent);
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
H A DSetAlarm.java111 ComponentName cn = getContext().startService(mServceIntent);
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeApp.java54 startService(new Intent(FakeApp.this, FakeBackgroundService.class));
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerService.java80 startService(onCreateServiceIntent());
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
H A DMainActivity.java74 startService(startServiceIntent);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java96 startService(new Intent(TrackerActivity.this,
/frameworks/base/core/java/android/content/
H A DContextWrapper.java515 public ComponentName startService(Intent service) { method in class:ContextWrapper
516 return mBase.startService(service);
H A DContext.java164 * explicit call to {@link #startService}. Even without that, though,
1914 * <p>Using startService() overrides the default service lifetime that is
1917 * any clients are connected to it. Note that calls to startService()
1918 * are not nesting: no matter how many times you call startService(),
1946 public abstract ComponentName startService(Intent service); method in class:Context
1951 * to startService() are not counted -- this stops the service no matter
1972 * @see #startService
1977 * @hide like {@link #startService(Intent)} but for a specific user.
2001 * {@link #startService} with the arguments containing the command to be
2028 * @see #startService
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDebuggingManager.java298 if (mContext.startService(intent) != null) {
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
H A DWapPushManager.java219 if (mContext.startService(intent) == null) {
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java433 public ComponentName startService(Intent service) { method in class:MockContext
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java405 startService(new Intent(this, SchedulerService.class));
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java208 startService(intent);
/frameworks/base/core/java/android/app/
H A DContextImpl.java1684 Log.w(TAG, "Implicit intents with startService are not safe: " + service
1691 public ComponentName startService(Intent service) { method in class:ContextImpl
1711 ComponentName cn = ActivityManagerNative.getDefault().startService(
2116 * {@link #startService(Intent)} instead of {@link #startServiceAsUser(Intent, UserHandle)}.

Completed in 2424 milliseconds

12