Home
last modified time | relevance | path

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

/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/service/
DEmergencyActionForegroundService.java90 long remainingTimeMs = intent.getLongExtra(SERVICE_EXTRA_REMAINING_TIME_MS, -1); in onStartCommand() local
91 if (remainingTimeMs <= 0) { in onStartCommand()
102 scheduleEmergencyCallBroadcast(remainingTimeMs); in onStartCommand()
131 Context context, long remainingTimeMs, int userSetAlarmVolume) { in newStartCountdownIntent() argument
133 .putExtra(SERVICE_EXTRA_REMAINING_TIME_MS, remainingTimeMs) in newStartCountdownIntent()
136 buildCountDownNotification(context, remainingTimeMs)); in newStartCountdownIntent()
160 private static Notification buildCountDownNotification(Context context, long remainingTimeMs) { in buildCountDownNotification() argument
163 long targetTimeMs = SystemClock.elapsedRealtime() + remainingTimeMs; in buildCountDownNotification()
194 private void scheduleEmergencyCallBroadcast(long remainingTimeMs) { in scheduleEmergencyCallBroadcast() argument
195 long alarmTimeMs = System.currentTimeMillis() + remainingTimeMs; in scheduleEmergencyCallBroadcast()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySettingsFeatureProvider.java60 @NonNull Context context, long remainingTimeMs, long currentTimeMs); in getWirelessChargingRemainingLabel() argument
DBatterySettingsFeatureProviderImpl.java74 @NonNull Context context, long remainingTimeMs, long currentTimeMs) { in getWirelessChargingRemainingLabel() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java817 long remainingTimeMs, boolean chargingStringV2Enabled) { in prepareTestGetBatteryInfoEnvironment() argument
818 when(mBatteryUsageStats.getChargeTimeRemainingMs()).thenReturn(remainingTimeMs); in prepareTestGetBatteryInfoEnvironment()