Home
last modified time | relevance | path

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

/external/chromium_org/ash/system/chromeos/power/
Dpower_status_view.cc109 base::string16 battery_percentage; in UpdateTextForDefaultView() local
116 battery_percentage = l10n_util::GetStringFUTF16( in UpdateTextForDefaultView()
144 battery_percentage = battery_time_status.empty() ? in UpdateTextForDefaultView()
145 battery_percentage : battery_percentage + ASCIIToUTF16(" - "); in UpdateTextForDefaultView()
147 percentage_label_->SetVisible(!battery_percentage.empty()); in UpdateTextForDefaultView()
148 percentage_label_->SetText(battery_percentage); in UpdateTextForDefaultView()
/external/chromium/chrome/browser/chromeos/cros/
Dpower_library.cc57 double battery_percentage() const { in battery_percentage() function in chromeos::PowerLibraryImpl
58 return status_.battery_percentage; in battery_percentage()
128 << " per=" << status.battery_percentage in UpdatePowerStatus()
171 double battery_percentage() const { return 50.0; } in battery_percentage() function in chromeos::PowerLibraryStubImpl
Dmock_power_library.h23 MOCK_CONST_METHOD0(battery_percentage, double(void));
Dpower_library.h36 virtual double battery_percentage() const = 0;
Dcros_mock.cc325 EXPECT_CALL(*mock_power_library_, battery_percentage()) in SetPowerLibraryStatusAreaExpectations()
/external/chromium/chrome/browser/chromeos/status/
Dpower_menu_button_browsertest.cc55 EXPECT_CALL(*mock_power_library_, battery_percentage()) in IN_PROC_BROWSER_TEST_F()
77 EXPECT_CALL(*mock_power_library_, battery_percentage()) in IN_PROC_BROWSER_TEST_F()
144 EXPECT_CALL(*mock_power_library_, battery_percentage()) in IN_PROC_BROWSER_TEST_F()
202 EXPECT_CALL(*mock_power_library_, battery_percentage()) in IN_PROC_BROWSER_TEST_F()
Dpower_menu_button.cc128 battery_percentage_ = cros->battery_percentage(); in UpdateIconAndLabelInfo()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc235 power_library->battery_percentage()); in GetBatteryInfo()