Home
last modified time | relevance | path

Searched refs:remainingTimeMs (Results 1 – 1 of 1) sorted by relevance

/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/service/
DEmergencyActionForegroundService.java89 long remainingTimeMs = intent.getLongExtra(SERVICE_EXTRA_REMAINING_TIME_MS, -1); in onStartCommand() local
90 if (remainingTimeMs <= 0) { in onStartCommand()
100 scheduleEmergencyCallBroadcast(remainingTimeMs); in onStartCommand()
129 Context context, long remainingTimeMs, int userSetAlarmVolume) { in newStartCountdownIntent() argument
131 .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() argument
156 long targetTimeMs = SystemClock.elapsedRealtime() + remainingTimeMs; in buildCountDownNotification()
187 private void scheduleEmergencyCallBroadcast(long remainingTimeMs) { in scheduleEmergencyCallBroadcast() argument
188 long alarmTimeMs = System.currentTimeMillis() + remainingTimeMs; in scheduleEmergencyCallBroadcast()