Searched refs:startForegroundService (Results 1 – 4 of 4) sorted by relevance
511 private void startForegroundService(int command) { in startForegroundService() method in ServiceTest517 mContext.startForegroundService(foregroundServiceIntent(command)); in startRequiredForegroundService()526 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop()532 startForegroundService( in testForegroundService_dontRemoveNotificationOnStop()544 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop()579 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop()587 startForegroundService(LocalForegroundService in testForegroundServiceRemoveNotificationOnStop()590 startForegroundService(LocalForegroundService in testForegroundServiceRemoveNotificationOnStop()598 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop()676 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_detachNotificationOnStop()[all …]
37 mContext.startForegroundService(intent); in testForegroundService()
906 startForegroundService(); in launchComponentAndAssertNetworkAccess()937 private void startForegroundService() throws Exception { in startForegroundService() method in AbstractRestrictBackgroundNetworkTestCase939 mContext.startForegroundService(launchIntent); in startForegroundService()
518 InstrumentationRegistry.getContext().startForegroundService(startExposedIntent); in testStartExposed06()538 InstrumentationRegistry.getContext().startForegroundService(startExposedIntent); in testStartExposed07()