/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
H A D | ServiceStartPerfTest.java | 40 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 D | ServiceTestCase.java | 56 * 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 D | UceServiceBase.java | 39 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 D | ServicesTests.java | 110 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 D | SystemServiceManager.java | 60 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 D | BstatsCpuTimesValidationTest.java | 675 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 D | ColorDisplayServiceTest.java | 112 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 D | WifiScanningServiceTest.java | 396 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 D | ContextWrapper.java | 663 public ComponentName startService(Intent service) { method in class:ContextWrapper 664 return mBase.startService(service);
|
H A D | Context.java | 244 * 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 D | MockContext.java | 542 public ComponentName startService(Intent service) { method in class:MockContext
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | WifiScanningServiceImpl.java | 293 public void startService() { method in class:WifiScanningServiceImpl
|
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 1523 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 D | BridgeContext.java | 1871 public ComponentName startService(Intent arg0) { method in class:BridgeContext
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 20342 public ComponentName startService(IApplicationThread caller, Intent service, method in class:ActivityManagerService 20345 enforceNotIsolatedCaller("startService"); 20356 "*** startService: " + service + " type=" + resolvedType + " fg=" + requireForeground); [all...] |