/external/chromium/chrome/browser/chromeos/status/ |
power_menu_button_browsertest.cc | 25 MockPowerLibrary *mock_power_library_; member in class:chromeos::PowerMenuButtonTest 28 mock_power_library_(NULL) { 34 mock_power_library_ = cros_mock_->mock_power_library(); 46 power->PowerChanged(mock_power_library_); 52 EXPECT_CALL(*mock_power_library_, battery_is_present()) 55 EXPECT_CALL(*mock_power_library_, battery_percentage()) 58 EXPECT_CALL(*mock_power_library_, battery_fully_charged()) 61 EXPECT_CALL(*mock_power_library_, line_power_on()) 64 EXPECT_CALL(*mock_power_library_, battery_time_to_empty()) 67 EXPECT_CALL(*mock_power_library_, battery_time_to_full() [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
cros_mock.cc | 42 mock_power_library_(NULL), 102 if (mock_power_library_) 104 mock_power_library_ = new StrictMock<MockPowerLibrary>(); 105 test_api()->SetPowerLibrary(mock_power_library_, true); 147 return mock_power_library_; 314 EXPECT_CALL(*mock_power_library_, AddObserver(_)) 317 EXPECT_CALL(*mock_power_library_, battery_fully_charged()) 321 EXPECT_CALL(*mock_power_library_, battery_is_present()) 325 EXPECT_CALL(*mock_power_library_, battery_percentage()) 329 EXPECT_CALL(*mock_power_library_, line_power_on() [all...] |
cros_mock.h | 98 MockPowerLibrary* mock_power_library_; member in class:chromeos::CrosMock
|