Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java143 startService(); in customSchedule_whenStartedAfterNight_ifOffAfterNight_turnsOff()
152 startService(); in customSchedule_whenStartedAfterNight_ifOffBeforeNight_turnsOff()
161 startService(); in customSchedule_whenStartedAfterNight_ifOffDuringNight_turnsOff()
170 startService(); in customSchedule_whenStartedAfterNight_ifOffInFuture_turnsOff()
179 startService(); in customSchedule_whenStartedAfterNight_ifOnAfterNight_turnsOn()
188 startService(); in customSchedule_whenStartedAfterNight_ifOnBeforeNight_turnsOff()
197 startService(); in customSchedule_whenStartedAfterNight_ifOnDuringNight_turnsOff()
206 startService(); in customSchedule_whenStartedAfterNight_ifOnInFuture_turnsOff()
215 startService(); in customSchedule_whenStartedBeforeNight_ifOffAfterNight_turnsOff()
224 startService(); in customSchedule_whenStartedBeforeNight_ifOffBeforeNight_turnsOff()
[all …]
/frameworks/base/services/java/com/android/server/
DSystemServer.java675 Installer installer = mSystemServiceManager.startService(Installer.class); in startBootstrapServices()
681 mSystemServiceManager.startService(DeviceIdentifiersPolicyService.class); in startBootstrapServices()
686 mSystemServiceManager.startService(UriGrantsManagerService.Lifecycle.class); in startBootstrapServices()
692 ActivityTaskManagerService atm = mSystemServiceManager.startService( in startBootstrapServices()
694 mActivityManagerService = ActivityManagerService.Lifecycle.startService( in startBootstrapServices()
706 mPowerManagerService = mSystemServiceManager.startService(PowerManagerService.class); in startBootstrapServices()
710 mSystemServiceManager.startService(ThermalManagerService.class); in startBootstrapServices()
721 mSystemServiceManager.startService(RecoverySystemService.Lifecycle.class); in startBootstrapServices()
731 mSystemServiceManager.startService(LightsService.class); in startBootstrapServices()
737 mSystemServiceManager.startService(WEAR_SIDEKICK_SERVICE_CLASS); in startBootstrapServices()
[all …]
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java41 private void startService(Intent intent) { in startService() method in ServiceStartPerfTest
42 final ComponentName componentName = mContext.startService(intent); in startService()
57 startService(intent); in startServiceNotRunning()
76 startService(intent); in startServiceProcessRunning()
97 startService(intent); in startServiceAlreadyBound()
122 startService(intent); in startServiceProcessRunningReadUriPermission()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
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()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java200 getContext().startService(new Intent(service).putExtras(bundle)); in startExpectResult()
204 getContext().startService(new Intent(service).putExtras(bundle)); in startExpectResult()
224 getContext().startService(service); in startExpectNoPermission()
239 getContext().startService(service); in bindExpectResult()
274 getContext().startService(service); in bindExpectResult()
304 getContext().startService(service); in bindExpectResult()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java64 public SystemService startService(String className) { in startService() method in SystemServiceManager
76 return startService(serviceClass); in startService()
88 public <T extends SystemService> T startService(Class<T> serviceClass) { in startService() method in SystemServiceManager
117 startService(service); in startService()
124 public void startService(@NonNull final SystemService service) { in startService() method in SystemServiceManager
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistProxyActivity.java31 startService(intent); in onCreate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningService.java53 mImpl.startService(); in onBootPhase()
/frameworks/base/core/java/com/android/ims/internal/uce/uceservice/
DIUceService.aidl42 boolean startService(IUceListener uceListener); in startService() method
DUceServiceBase.java39 public boolean startService(IUceListener uceListener) { in startService() method in UceServiceBase.UceServiceBinder
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
DServicesTests.java50 getInstrumentation().getContext().startService(new Intent(SERVICE_BASE_ACTION + i)); in testStressConcurentFirstLaunch()
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionServiceTest.java61 mServiceTestRule.startService(mMockServiceIntent); in canStartService()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java61 context.startService(serviceIntent); in onReceive()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DServiceIntentSender.java74 mContext.startService(intent); in sendUpdateNotificationIntent()
/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java186 protected void startService(Intent intent) { in startService() method in ServiceTestCase
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerService.java80 startService(onCreateServiceIntent()); in onPlaybackStarted()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java54 startService(new Intent(FakeApp.this, FakeBackgroundService.class));
/frameworks/base/tests/AmSlam/src/test/amslam/
DMainActivity.java175 sAppContext.startService(intent);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java677 receiver = ICmdReceiver.Stub.asInterface(startService()); in doSomeWork()
681 receiver = ICmdReceiver.Stub.asInterface(startService()); in doSomeWork()
780 private IBinder startService() throws Exception { in startService() method in BstatsCpuTimesValidationTest
794 sContext.startService(launchIntent); in startService()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java96 startService(new Intent(TrackerActivity.this, in onOptionsItemSelected()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java416 setting.startService(); in handleMessage()
494 public void startService() { in startService() method in SettingsInjector.Setting
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java75 startService(startServiceIntent); in onCreate()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DIntentFilterVerificationReceiver.java139 context.startService(serviceIntent); in onReceive()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java102 startService(new Intent(getBaseContext(), SoundTriggerTestService.class)); in onCreate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java408 mWifiScanningServiceImpl.startService(); in startServiceAndLoadDriver()
466 public void startService() throws Exception { in startService() method in WifiScanningServiceTest
467 mWifiScanningServiceImpl.startService(); in startService()
481 mWifiScanningServiceImpl.startService(); in disconnectClientBeforeWifiEnabled()
527 mWifiScanningServiceImpl.startService(); in disconnectClientAfterStartingWifi()
565 mWifiScanningServiceImpl.startService(); in rejectBackgroundScanRequestWhenHalReturnsInvalidCapabilities()
2492 mWifiScanningServiceImpl.startService(); in rejectRestrictedMessagesFromNonPrivilegedApps()

12