Searched refs:startForegroundService (Results 1 – 8 of 8) sorted by relevance
38 mContext.startForegroundService(intent); in testForegroundService()
798 private void startForegroundService(int command) { in startForegroundService() method in ServiceTest804 mContext.startForegroundService(foregroundServiceIntent(command)); in startRequiredForegroundService()813 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop()819 startForegroundService( in testForegroundService_dontRemoveNotificationOnStop()831 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop()866 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop()874 startForegroundService(LocalForegroundService in testForegroundServiceRemoveNotificationOnStop()877 startForegroundService(LocalForegroundService in testForegroundServiceRemoveNotificationOnStop()885 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop()964 startForegroundService(LocalForegroundService.COMMAND_START_FOREGROUND); in testForegroundService_detachNotificationOnStop()[all …]
1046 mContext.startForegroundService(mServiceStartForegroundIntent); in testForegroundServiceAppOp()1080 mContext.startForegroundService(mServiceStartForegroundIntent); in testForegroundServiceAppOp()
114 context.startForegroundService(fgsIntent); in doStartForegroundService()122 context.startForegroundService(fgsIntent); in doStartForegroundServiceWithType()
77 context.startForegroundService(intent); in handleBatterySaverBgServiceRequest()
1044 startForegroundService(); in launchComponentAndAssertNetworkAccess()1077 private void startForegroundService() throws Exception { in startForegroundService() method in AbstractRestrictBackgroundNetworkTestCase1079 mContext.startForegroundService(launchIntent); in startForegroundService()
600 InstrumentationRegistry.getContext().startForegroundService(startExposedIntent); in testStartExposed06()620 InstrumentationRegistry.getContext().startForegroundService(startExposedIntent); in testStartExposed07()1204 context.startForegroundService(intent); in testStartForegroundService()1217 context.startForegroundService(intent); in testStartForegroundService()
87 startForegroundService(new Intent(this, DeviceSuspendTestService.class)); in activitySetUp()