Lines Matching refs:startForegroundService
511 private void startForegroundService(int command) { in startForegroundService() method in ServiceTest
517 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()
682 startForegroundService( in testForegroundService_detachNotificationOnStop()
694 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_detachNotificationOnStop()