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

123

/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/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/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistProxyActivity.java31 startService(intent);
/frameworks/base/services/java/com/android/server/
H A DSystemServer.java548 Installer installer = mSystemServiceManager.startService(Installer.class);
554 mSystemServiceManager.startService(DeviceIdentifiersPolicyService.class);
559 mActivityManagerService = mSystemServiceManager.startService(
570 mPowerManagerService = mSystemServiceManager.startService(PowerManagerService.class);
581 mSystemServiceManager.startService(RecoverySystemService.class);
591 mSystemServiceManager.startService(LightsService.class);
597 mSystemServiceManager.startService(WEAR_SIDEKICK_SERVICE_CLASS);
604 mDisplayManagerService = mSystemServiceManager.startService(DisplayManagerService.class);
656 mSystemServiceManager.startService(UserManagerService.LifeCycle.class);
675 mSystemServiceManager.startService(ne
[all...]
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
H A DSystemAlarmScheduler.java54 mContext.startService(cancelIntent);
64 mContext.startService(scheduleIntent);
H A DConstraintProxy.java37 context.startService(constraintChangedIntent);
H A DRescheduleReceiver.java61 context.startService(reschedule);
/frameworks/base/telephony/java/com/android/ims/internal/uce/uceservice/
H A DIUceService.aidl41 boolean startService(IUceListener uceListener);
H A DUceServiceBase.java39 public boolean startService(IUceListener uceListener) { method in class:UceServiceBase.UceServiceBinder
/frameworks/support/lifecycle/service/src/androidTest/java/androidx/lifecycle/
H A DServiceLifecycleTest.java94 context.startService(mServiceIntent);
111 context.startService(mServiceIntent);
133 context.startService(mServiceIntent);
160 context.startService(mServiceIntent);
183 context.startService(mServiceIntent);
/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/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/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/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScanningService.java53 mImpl.startService();
/frameworks/support/legacy/core-utils/src/main/java/androidx/legacy/content/
H A DWakefulBroadcastReceiver.java45 * {@link android.content.Context#startService startService()}, except that
80 * Do a {@link android.content.Context#startService(android.content.Intent)
81 * Context.startService}, but holding a wake lock while the service starts.
90 * {@link android.content.Context#startService(android.content.Intent)
91 * Context.startService}.
102 ComponentName comp = context.startService(intent);
/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/android/service/settings/suggestions/
H A DSuggestionServiceTest.java60 mServiceTestRule.startService(mMockServiceIntent);
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportReceiver.java61 context.startService(serviceIntent);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DServiceIntentSender.java74 mContext.startService(intent);
/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/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/AmSlam/src/test/amslam/
H A DMainActivity.java175 sAppContext.startService(intent);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerService.java80 startService(onCreateServiceIntent());
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DLocalServiceBroadcaster.java101 startService(new Intent(LocalServiceBroadcaster.this, LocalService.class));

Completed in 539 milliseconds

123