Searched defs:startService (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
H A DServiceStartPerfTest.java40 private void startService(Intent intent) { method in class:ServiceStartPerfTest
41 final ComponentName componentName = mContext.startService(intent);
46 * Benchmark time from Context.startService() to Service.onStartCommand() when target process is
56 startService(intent);
64 * Benchmark time from Context.startService() to Service.onStartCommand() when target process is
75 startService(intent);
83 * Benchmark time from Context.startService() to Service.onStartCommand() when service is
96 startService(intent);
107 * Benchmark time from Context.startService() with FLAG_GRANT_READ_URI_PERMISSION to
121 startService(inten
[all...]
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java56 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
61 * When one of your test methods calls {@link #startService ServiceTestCase.startService()}
64 * {@link android.app.Service#startService(Intent) Service.startService(Intent)} or
90 * startService() or bindService(). The test framework provides a
128 * a test calls {@link #startService} or {@link #bindService}.
152 * (Context, Application) to it. This is called automatically by {@link #startService} or
178 * {@link android.content.Context#startService(Intent) Context.startService(Inten
186 protected void startService(Intent intent) { method in class:ServiceTestCase
[all...]
/frameworks/base/telephony/java/com/android/ims/internal/uce/uceservice/
H A DUceServiceBase.java39 public boolean startService(IUceListener uceListener) { method in class:UceServiceBase.UceServiceBinder
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
H A DServicesTests.java110 startService(serviceId);
125 startService(serviceId);
206 startService(i);
214 private void startService(int serviceId) { method in class:ServicesTests
216 InstrumentationRegistry.getContext().startService(new Intent(SERVICE_BASE_ACTION + serviceId));
368 startService(serviceId);
/frameworks/base/services/core/java/com/android/server/
H A DSystemServiceManager.java60 public SystemService startService(String className) { method in class:SystemServiceManager
72 return startService(serviceClass);
84 public <T extends SystemService> T startService(Class<T> serviceClass) { method in class:SystemServiceManager
113 startService(service);
120 public void startService(@NonNull final SystemService service) { method in class:SystemServiceManager
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBstatsCpuTimesValidationTest.java675 receiver = ICmdReceiver.Stub.asInterface(startService());
679 receiver = ICmdReceiver.Stub.asInterface(startService());
778 private IBinder startService() throws Exception { method in class:BstatsCpuTimesValidationTest
792 sContext.startService(launchIntent);
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DColorDisplayServiceTest.java112 startService();
121 startService();
130 startService();
139 startService();
148 startService();
157 startService();
166 startService();
175 startService();
184 startService();
193 startService();
1032 private void startService() { method in class:ColorDisplayServiceTest
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWifiScanningServiceTest.java396 mWifiScanningServiceImpl.startService();
458 public void startService() throws Exception { method in class:WifiScanningServiceTest
459 mWifiScanningServiceImpl.startService();
473 mWifiScanningServiceImpl.startService();
519 mWifiScanningServiceImpl.startService();
557 mWifiScanningServiceImpl.startService();
/frameworks/base/core/java/android/content/
H A DContextWrapper.java663 public ComponentName startService(Intent service) { method in class:ContextWrapper
664 return mBase.startService(service);
H A DContext.java244 * explicit call to {@link #startService}. Even without that, though,
2721 * <p>Using startService() overrides the default service lifetime that is
2724 * any clients are connected to it. Note that calls to startService()
2725 * do not nest: no matter how many times you call startService(),
2737 * <p class="note"><strong>Note:</strong> Each call to startService()
2740 * multiple milliseconds of CPU time. Due to this cost, startService()
2764 public abstract ComponentName startService(Intent service); method in class:Context
2767 * Similar to {@link #startService(Intent)}, but with an implicit promise that the
2773 * <p>Unlike the ordinary {@link #startService(Intent)}, this method can be used
2805 * to startService() ar
[all...]
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java542 public ComponentName startService(Intent service) { method in class:MockContext
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScanningServiceImpl.java293 public void startService() { method in class:WifiScanningServiceImpl
/frameworks/base/core/java/android/app/
H A DContextImpl.java1523 Log.w(TAG, "Implicit intents with startService are not safe: " + service
1530 public ComponentName startService(Intent service) { method in class:ContextImpl
1562 ComponentName cn = ActivityManager.getService().startService(
2030 * {@link #startService(Intent)} instead of {@link #startServiceAsUser(Intent, UserHandle)}.
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1871 public ComponentName startService(Intent arg0) { method in class:BridgeContext
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java20342 public ComponentName startService(IApplicationThread caller, Intent service, method in class:ActivityManagerService
20345 enforceNotIsolatedCaller("startService");
20356 "*** startService: " + service + " type=" + resolvedType + " fg=" + requireForeground);
[all...]

Completed in 253 milliseconds