Home
last modified time | relevance | path

Searched refs:startService (Results 1 – 25 of 52) sorted by relevance

123

/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
H A DColorDisplayServiceTest.java159 startService(); in customSchedule_whenStartedAfterNight_ifOffAfterNight_turnsOff()
168 startService(); in customSchedule_whenStartedAfterNight_ifOffBeforeNight_turnsOff()
177 startService(); in customSchedule_whenStartedAfterNight_ifOffDuringNight_turnsOff()
186 startService(); in customSchedule_whenStartedAfterNight_ifOffInFuture_turnsOff()
195 startService(); in customSchedule_whenStartedAfterNight_ifOnAfterNight_turnsOn()
204 startService(); in customSchedule_whenStartedAfterNight_ifOnBeforeNight_turnsOff()
213 startService(); in customSchedule_whenStartedAfterNight_ifOnDuringNight_turnsOff()
222 startService(); in customSchedule_whenStartedAfterNight_ifOnInFuture_turnsOff()
231 startService(); in customSchedule_whenStartedBeforeNight_ifOffAfterNight_turnsOff()
240 startService(); in customSchedule_whenStartedBeforeNight_ifOffBeforeNight_turnsOff()
[all …]
/aosp14/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1215 mSystemServiceManager.startService(LightsService.class); in startBootstrapServices()
1336 mSystemServiceManager.startService(resourcesService); in startBootstrapServices()
1352 mSystemServiceManager.startService(SensorService.class); in startBootstrapServices()
1370 mSystemServiceManager.startService(BatteryService.class); in startCoreServices()
1419 mSystemServiceManager.startService(GpuService.class); in startCoreServices()
2207 mSystemServiceManager.startService( in startOtherServices()
2537 mSystemServiceManager.startService(AuthService.class); in startOtherServices()
2627 mSystemServiceManager.startService(IOT_SERVICE_CLASS); in startOtherServices()
2666 .startService(AD_SERVICES_MANAGER_SERVICE_CLASS); in startOtherServices()
2832 mSystemServiceManager.startService(className); in startOtherServices()
[all …]
/aosp14/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
H A DServiceStartPerfTest.java57 private void startService(Intent intent) { in startService() method in ServiceStartPerfTest
58 final ComponentName componentName = mContext.startService(intent); in startService()
73 startService(intent); in startServiceNotRunning()
92 startService(intent); in startServiceProcessRunning()
113 startService(intent); in startServiceAlreadyBound()
138 startService(intent); in startServiceProcessRunningReadUriPermission()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DSystemServiceManagerTest.java57 mSystemServiceManager.startService(service1); in testSealStartedServices()
63 () -> mSystemServiceManager.startService(service2)); in testSealStartedServices()
76 mSystemServiceManager.startService(service); in testDuplicateServices()
80 mSystemServiceManager.startService(service); in testDuplicateServices()
/aosp14/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
H A DServicesTests.java114 startService(serviceId); in testRecoverFromZipCorruption()
129 startService(serviceId); in testRecoverFromDexCorruption()
210 startService(i); in startServices()
218 private void startService(int serviceId) { in startService() method in ServicesTests
220 … InstrumentationRegistry.getContext().startService(new Intent(SERVICE_BASE_ACTION + serviceId)); in startService()
372 startService(serviceId); in checkRecover()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java101 final int servicePid = startService(startFlag); in testRestartStartedService()
133 assertThat(startService(Service.START_NOT_STICKY), is(servicePid)); in testRestart_boundNotStickyStartedService_restarted()
152 final int servicePid = startService(Service.START_NOT_STICKY); in testRestart_notStickyStartedNoAutoCreateBoundService_notRestarted()
161 private int startService(int code) { in startService() method in ServiceTest
163 () -> mContext.startService(mServiceIntent.putExtra(EXTRA_START_CODE, code))); in startService()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemServiceManager.java139 public SystemService startService(String className) { in startService() method in SystemServiceManager
142 return startService(serviceClass); in startService()
155 return startService(serviceClass); in startServiceFromJar()
204 public <T extends SystemService> T startService(Class<T> serviceClass) { in startService() method in SystemServiceManager
233 startService(service); in startService()
240 public void startService(@NonNull final SystemService service) { in startService() method in SystemServiceManager
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistProxyActivity.java31 startService(intent); in onCreate()
/aosp14/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
H A DRingtoneReceiver.java34 context.startService( in initResourceRingtones()
/aosp14/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportRequestedReceiver.java45 context.startService(serviceIntent); in onReceive()
/aosp14/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)); in testStressConcurentFirstLaunch()
/aosp14/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
H A DSuggestionServiceTest.java61 mServiceTestRule.startService(mMockServiceIntent); in canStartService()
/aosp14/frameworks/base/core/java/com/android/ims/internal/uce/uceservice/
H A DIUceService.aidl42 boolean startService(IUceListener uceListener); in startService() method
H A DUceServiceBase.java39 public boolean startService(IUceListener uceListener) { in startService() method in UceServiceBase.UceServiceBinder
/aosp14/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java186 protected void startService(Intent intent) { in startService() method in ServiceTestCase
/aosp14/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerService.java80 startService(onCreateServiceIntent()); in onPlaybackStarted()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DBstatsCpuTimesValidationTest.java569 receiver = ICmdReceiver.Stub.asInterface(startService()); in doSomeWork()
573 receiver = ICmdReceiver.Stub.asInterface(startService()); in doSomeWork()
672 private IBinder startService() throws Exception { in startService() method in BstatsCpuTimesValidationTest
686 sContext.startService(launchIntent); in startService()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/
H A DCpuMonitorServiceTest.java130 startService(); in setUp()
542 private void startService() { in startService() method in CpuMonitorServiceTest
572 startService(); in replaceServiceWithUserBuildService()
/aosp14/frameworks/base/tests/AmSlam/src/test/amslam/
H A DMainActivity.java175 sAppContext.startService(intent);
/aosp14/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeApp.java59 startService(new Intent(FakeApp.this, FakeBackgroundService.class));
/aosp14/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java96 startService(new Intent(TrackerActivity.this, in onOptionsItemSelected()
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DCompanionDeviceDiscoveryService.java130 context.startService(intent); in startForRequest()
136 context.startService(intent); in stop()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DSettingsInjector.java415 setting.startService(); in handleMessage()
498 public void startService() { in startService() method in SettingsInjector.Setting
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DStagingManager.java161 void startService(StagingManager stagingManager) { in startService() method in StagingManager.Lifecycle
163 LocalServices.getService(SystemServiceManager.class).startService(this); in startService()
782 new Lifecycle(mContext).startService(this); in systemReady()
/aosp14/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
H A DMainActivity.java75 startService(startServiceIntent); in onCreate()

123