Searched refs:getDashboardLabel (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | TopLevelBatteryPreferenceControllerTest.java | 103 assertThat(mController.getDashboardLabel(mContext, info, true)) in getDashboardLabel_returnsBatterPercentString() 114 assertThat(mController.getDashboardLabel(mContext, info, true)) in getDashboardLabel_returnsRemainingLabel() 125 assertThat(mController.getDashboardLabel(mContext, info, true)).isEqualTo(info.chargeLabel); in getDashboardLabel_returnsChargeLabel() 135 assertThat(mController.getDashboardLabel(mContext, info, true)) in getDashboardLabel_incompatibleCharger_returnsCorrectLabel() 150 assertThat(mController.getDashboardLabel(mContext, info, true)).isEqualTo(info.statusLabel); in getDashboardLabel_notChargingState_returnsCorrectLabel()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | TopLevelBatteryPreferenceController.java | 109 return getDashboardLabel(mContext, mBatteryInfo, batteryStatusUpdate); in getSummary() 112 protected CharSequence getDashboardLabel( in getDashboardLabel() method in TopLevelBatteryPreferenceController
|