Home
last modified time | relevance | path

Searched refs:FakePowerManagerClient (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chromeos/dbus/
Dfake_power_manager_client.cc10 FakePowerManagerClient::FakePowerManagerClient() in FakePowerManagerClient() function in chromeos::FakePowerManagerClient
14 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 …]
Dfake_power_manager_client.h22 class FakePowerManagerClient : public PowerManagerClient {
24 FakePowerManagerClient();
25 virtual ~FakePowerManagerClient();
74 DISALLOW_COPY_AND_ASSIGN(FakePowerManagerClient);
Dpower_policy_controller_unittest.cc26 fake_power_client_ = new FakePowerManagerClient; in SetUp()
42 FakePowerManagerClient* fake_power_client_;
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dmounted_disk_monitor_unittest.cc39 power_manager_client_.reset(new chromeos::FakePowerManagerClient); in SetUp()
49 scoped_ptr<chromeos::FakePowerManagerClient> power_manager_client_;
Dvolume_manager_unittest.cc146 power_manager_client_.reset(new chromeos::FakePowerManagerClient); in SetUp()
156 scoped_ptr<chromeos::FakePowerManagerClient> power_manager_client_;
/external/chromium_org/chrome/browser/chromeos/power/
Dpower_prefs_unittest.cc56 FakePowerManagerClient* fake_power_manager_client_; // Not owned.
66 fake_power_manager_client_(new FakePowerManagerClient) { in PowerPrefsTest()
/external/chromium_org/chrome/browser/chromeos/policy/
Dpower_policy_browsertest.cc113 chromeos::FakePowerManagerClient* power_manager_client_;
154 power_manager_client_ = new chromeos::FakePowerManagerClient; in SetUpInProcessBrowserTestFixture()
/external/chromium_org/chrome/browser/apps/
Dapp_browsertest.cc1235 power_manager_client_ = new chromeos::FakePowerManagerClient; in SetUpInProcessBrowserTestFixture()
1268 chromeos::FakePowerManagerClient* power_manager_client_;
/external/chromium_org/chrome/browser/chromeos/system/
Dautomatic_reboot_manager_unittest.cc166 FakePowerManagerClient* power_manager_client_; // Not owned.
363 power_manager_client_ = new FakePowerManagerClient; in SetUp()