Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceControllerTest.java155 mBatteryInfo.statusLabel = BATTERY_STATUS; in updatePreference_noRemainingTime_showStatusLabel()
165 mBatteryInfo.statusLabel = BATTERY_STATUS; in updatePreference_statusAnomalous_showStatusLabel()
242 var expectedChargingString = batteryInfo.statusLabel + " • " + batteryInfo.remainingLabel; in updateBatteryStatus_chargingString_statusWithRemainingLabel()
257 var expectedChargingString = batteryInfo.statusLabel + " • " + batteryInfo.remainingLabel; in updateBatteryStatus_chargingStringV2FastCharging_statusWithRemainingLabel()
313 var expectedChargingString = batteryInfo.statusLabel + " • " + batteryInfo.remainingLabel; in updateBatteryStatus_noCustomizedWirelessChargingLabel_statusWithRemainingLabel()
332 var expectedChargingString = batteryInfo.statusLabel + " • " + batteryInfo.remainingLabel; in updateBatteryStatus_noCustomizedWirelessChargingLabel_v1StatusWithRemainingLabel()
366 var expectedChargingString = batteryInfo.statusLabel; in updateBatteryStatus_chargingOptimizationModeNoRemainingLabel_statusLabel()
383 var expectedChargingString = batteryInfo.statusLabel + " • " + batteryInfo.remainingLabel; in updateBatteryStatus_notChargingOptimizationMode_statusWithRemainingLabel()
394 String statusLabel, in arrangeUpdateBatteryStatusTestWithRemainingLabel() argument
401 mBatteryInfo.statusLabel = statusLabel; in arrangeUpdateBatteryStatusTestWithRemainingLabel()
[all …]
DTopLevelBatteryPreferenceControllerTest.java148 info.statusLabel = "expected returned label"; in getDashboardLabel_notChargingState_returnsCorrectLabel()
150 assertThat(mController.getDashboardLabel(mContext, info, true)).isEqualTo(info.statusLabel); in getDashboardLabel_notChargingState_returnsCorrectLabel()
DBatteryInfoTest.java150 assertThat(info.statusLabel).isEqualTo(STATUS_NOT_CHARGING); in getBatteryInfo_hasStatusLabel()
847 .that(info.statusLabel) in assertGetBatteryInfo()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceController.java94 return info.statusLabel; in generateLabel()
106 if (info.statusLabel != null && !info.discharging) { in generateLabel()
112 info.statusLabel, in generateLabel()
117 R.string.battery_state_and_duration, info.statusLabel, info.remainingLabel); in generateLabel()
DTopLevelBatteryPreferenceController.java169 return info.statusLabel; in generateLabel()
DBatteryInfo.java61 public String statusLabel; field in BatteryInfo
315 info.statusLabel = Utils.getBatteryStatus(context, batteryBroadcast, isCompactStatus); in getBatteryInfo()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSummaryRepository.kt64 if (statusLabel.isNullOrEmpty()) return sanitizedSsid in <lambda>()
68 statusLabel, in <lambda>()
DWifiSummaryUpdater.java96 if (TextUtils.isEmpty(mWifiTracker.statusLabel)) { in getSummary()
101 ssid, mWifiTracker.statusLabel); in getSummary()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/
DWifiSummaryRepositoryTest.kt109 statusLabel = STATUS_LABEL in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiSummaryUpdaterTest.java139 mWifiTracker.statusLabel = "Very Fast"; in getSummary_wifiConnected_withSpeedLabel_shouldReturnSsid_withSpeedLabel()