Searched refs:COMMAND_START_FOREGROUND (Results 1 – 4 of 4) sorted by relevance
45 public static final int COMMAND_START_FOREGROUND = 1; field in LocalForegroundService87 case COMMAND_START_FOREGROUND: in onStartCommand()91 final boolean showNow = (command == COMMAND_START_FOREGROUND); in onStartCommand()
198 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundService()236 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundServiceSticky()
19 import static android.app.stubs.LocalForegroundService.COMMAND_START_FOREGROUND;932 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop()949 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_dontRemoveNotificationOnStop()984 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop()1003 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundServiceRemoveNotificationOnStop()1082 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_detachNotificationOnStop()1099 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_detachNotificationOnStop()1129 startForegroundService(COMMAND_START_FOREGROUND); in testForegroundService_notificationChannelDeletion()1335 foregroundServiceIntent(COMMAND_START_FOREGROUND), in testForegroundService_pendingIntentForeground()
1417 LocalForegroundService.COMMAND_START_FOREGROUND); in testStartForegroundTimeout()1440 LocalForegroundService.COMMAND_START_FOREGROUND); in testStartForegroundTimeout()1497 LocalForegroundService.COMMAND_START_FOREGROUND); in testSecondStartForeground()