Searched refs:FakePowerManagerClient (Results 1 – 9 of 9) sorted by relevance
10 FakePowerManagerClient::FakePowerManagerClient() in FakePowerManagerClient() function in chromeos::FakePowerManagerClient14 FakePowerManagerClient::~FakePowerManagerClient() { in ~FakePowerManagerClient()17 void FakePowerManagerClient::Init(dbus::Bus* bus) { in Init()20 void FakePowerManagerClient::AddObserver(Observer* observer) { in AddObserver()24 void FakePowerManagerClient::RemoveObserver(Observer* observer) { in RemoveObserver()28 void FakePowerManagerClient::RequestStatusUpdate() { in RequestStatusUpdate()31 void FakePowerManagerClient::SetPolicy( in SetPolicy()36 void FakePowerManagerClient::RequestShutdown() { in RequestShutdown()39 void FakePowerManagerClient::DecreaseScreenBrightness(bool allow_off) { in DecreaseScreenBrightness()42 void FakePowerManagerClient::SetScreenBrightnessPercent(double percent, in SetScreenBrightnessPercent()[all …]
22 class FakePowerManagerClient : public PowerManagerClient {24 FakePowerManagerClient();25 virtual ~FakePowerManagerClient();74 DISALLOW_COPY_AND_ASSIGN(FakePowerManagerClient);
26 fake_power_client_ = new FakePowerManagerClient; in SetUp()42 FakePowerManagerClient* fake_power_client_;
39 power_manager_client_.reset(new chromeos::FakePowerManagerClient); in SetUp()49 scoped_ptr<chromeos::FakePowerManagerClient> power_manager_client_;
146 power_manager_client_.reset(new chromeos::FakePowerManagerClient); in SetUp()156 scoped_ptr<chromeos::FakePowerManagerClient> power_manager_client_;
56 FakePowerManagerClient* fake_power_manager_client_; // Not owned.66 fake_power_manager_client_(new FakePowerManagerClient) { in PowerPrefsTest()
113 chromeos::FakePowerManagerClient* power_manager_client_;154 power_manager_client_ = new chromeos::FakePowerManagerClient; in SetUpInProcessBrowserTestFixture()
1235 power_manager_client_ = new chromeos::FakePowerManagerClient; in SetUpInProcessBrowserTestFixture()1268 chromeos::FakePowerManagerClient* power_manager_client_;
166 FakePowerManagerClient* power_manager_client_; // Not owned.363 power_manager_client_ = new FakePowerManagerClient; in SetUp()