Searched refs:remainingTimeMs (Results 1 – 1 of 1) sorted by relevance
89 long remainingTimeMs = intent.getLongExtra(SERVICE_EXTRA_REMAINING_TIME_MS, -1); in onStartCommand() local90 if (remainingTimeMs <= 0) { in onStartCommand()100 scheduleEmergencyCallBroadcast(remainingTimeMs); in onStartCommand()129 Context context, long remainingTimeMs, int userSetAlarmVolume) { in newStartCountdownIntent() argument131 .putExtra(SERVICE_EXTRA_REMAINING_TIME_MS, remainingTimeMs) in newStartCountdownIntent()134 buildCountDownNotification(context, remainingTimeMs)); in newStartCountdownIntent()153 private static Notification buildCountDownNotification(Context context, long remainingTimeMs) { in buildCountDownNotification() argument156 long targetTimeMs = SystemClock.elapsedRealtime() + remainingTimeMs; in buildCountDownNotification()187 private void scheduleEmergencyCallBroadcast(long remainingTimeMs) { in scheduleEmergencyCallBroadcast() argument188 long alarmTimeMs = System.currentTimeMillis() + remainingTimeMs; in scheduleEmergencyCallBroadcast()