Searched refs:battery_percentage (Results 1 – 8 of 8) sorted by relevance
109 base::string16 battery_percentage; in UpdateTextForDefaultView() local116 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()
57 double battery_percentage() const { in battery_percentage() function in chromeos::PowerLibraryImpl58 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
23 MOCK_CONST_METHOD0(battery_percentage, double(void));
36 virtual double battery_percentage() const = 0;
325 EXPECT_CALL(*mock_power_library_, battery_percentage()) in SetPowerLibraryStatusAreaExpectations()
55 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()
128 battery_percentage_ = cros->battery_percentage(); in UpdateIconAndLabelInfo()
235 power_library->battery_percentage()); in GetBatteryInfo()