OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:power_manager
(Results
1 - 23
of
23
) sorted by null
/external/chromium_org/ui/chromeos/
user_activity_power_manager_notifier.cc
21
power_manager
::UserActivityType GetUserActivityTypeForEvent(
24
return
power_manager
::USER_ACTIVITY_OTHER;
28
return
power_manager
::USER_ACTIVITY_BRIGHTNESS_DOWN_KEY_PRESS;
30
return
power_manager
::USER_ACTIVITY_BRIGHTNESS_UP_KEY_PRESS;
32
return
power_manager
::USER_ACTIVITY_VOLUME_DOWN_KEY_PRESS;
34
return
power_manager
::USER_ACTIVITY_VOLUME_MUTE_KEY_PRESS;
36
return
power_manager
::USER_ACTIVITY_VOLUME_UP_KEY_PRESS;
38
return
power_manager
::USER_ACTIVITY_OTHER;
/external/chromium_org/chromeos/dbus/
power_manager_client.cc
24
#include "chromeos/dbus/
power_manager
/input_event.pb.h"
25
#include "chromeos/dbus/
power_manager
/peripheral_battery_status.pb.h"
26
#include "chromeos/dbus/
power_manager
/policy.pb.h"
27
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
28
#include "chromeos/dbus/
power_manager
/suspend.pb.h"
65
// -
power_manager
can already detect that the client is gone and
86
power_manager
::kPowerManagerInterface,
87
power_manager
::kDecreaseScreenBrightnessMethod);
98
power_manager
::kIncreaseScreenBrightnessMethod);
103
power_manager
::kDecreaseKeyboardBrightnessMethod)
[
all
...]
fake_power_manager_client.h
13
#include "chromeos/dbus/
power_manager
/policy.pb.h"
14
#include "chromeos/dbus/
power_manager
/suspend.pb.h"
27
power_manager
::PowerManagementPolicy& policy() { return policy_; }
54
power_manager
::UserActivityType type) OVERRIDE;
57
const
power_manager
::PowerManagementPolicy& policy) OVERRIDE;
79
power_manager
::PowerManagementPolicy policy_;
power_manager_client.h
18
namespace
power_manager
{
namespace
58
const
power_manager
::PowerSupplyProperties& proto) {}
142
virtual void NotifyUserActivity(
power_manager
::UserActivityType type) = 0;
150
const
power_manager
::PowerManagementPolicy& policy) = 0;
power_policy_controller.cc
18
//
power_manager
::PowerManagementPolicy::Delays object, to |str|, an
28
//
power_manager
::PowerManagementPolicy::Delays object, to |str|, an
40
// Returns the
power_manager
::PowerManagementPolicy_Action value
42
power_manager
::PowerManagementPolicy_Action GetProtoAction(
46
return
power_manager
::PowerManagementPolicy_Action_SUSPEND;
48
return
power_manager
::PowerManagementPolicy_Action_STOP_SESSION;
50
return
power_manager
::PowerManagementPolicy_Action_SHUT_DOWN;
52
return
power_manager
::PowerManagementPolicy_Action_DO_NOTHING;
55
return
power_manager
::PowerManagementPolicy_Action_DO_NOTHING;
94
const
power_manager
::PowerManagementPolicy& policy)
[
all
...]
power_policy_controller_unittest.cc
67
power_manager
::PowerManagementPolicy expected_policy;
79
power_manager
::PowerManagementPolicy_Action_SUSPEND);
81
power_manager
::PowerManagementPolicy_Action_STOP_SESSION);
83
power_manager
::PowerManagementPolicy_Action_SHUT_DOWN);
105
power_manager
::PowerManagementPolicy_Action_SUSPEND);
160
power_manager
::PowerManagementPolicy_Action_DO_NOTHING);
171
power_manager
::PowerManagementPolicy expected_policy;
173
power_manager
::PowerManagementPolicy_Action_DO_NOTHING);
175
power_manager
::PowerManagementPolicy_Action_DO_NOTHING);
power_policy_controller.h
14
#include "chromeos/dbus/
power_manager
/policy.pb.h"
64
const
power_manager
::PowerManagementPolicy& policy);
106
power_manager
::PowerManagementPolicy prefs_policy_;
fake_power_manager_client.cc
10
#include "chromeos/dbus/
power_manager
/policy.pb.h"
76
power_manager
::UserActivityType type) {
83
const
power_manager
::PowerManagementPolicy& policy) {
/external/chromium_org/content/browser/battery_status/
battery_status_manager_chromeos.cc
9
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
56
const
power_manager
::PowerSupplyProperties& proto) const {
58
power_manager
::PowerSupplyProperties_BatteryState_NOT_PRESENT;
62
const
power_manager
::PowerSupplyProperties& proto) const {
64
power_manager
::PowerSupplyProperties_ExternalPower_USB;
68
const
power_manager
::PowerSupplyProperties& proto) const {
70
power_manager
::PowerSupplyProperties_BatteryState_DISCHARGING;
73
bool IsBatteryFull(const
power_manager
::PowerSupplyProperties& proto) const {
75
power_manager
::PowerSupplyProperties_BatteryState_FULL;
79
const
power_manager
::PowerSupplyProperties& proto) const
[
all
...]
/external/chromium_org/ash/system/chromeos/power/
tray_power_unittest.cc
10
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
14
using
power_manager
::PowerSupplyProperties;
89
power_manager
::PowerSupplyProperties_ExternalPower_DISCONNECTED);
91
power_manager
::PowerSupplyProperties_BatteryState_DISCHARGING);
115
power_manager
::PowerSupplyProperties_ExternalPower_USB);
123
power_manager
::PowerSupplyProperties_ExternalPower_USB);
142
power_manager
::PowerSupplyProperties_ExternalPower_AC);
144
power_manager
::PowerSupplyProperties_BatteryState_NOT_PRESENT);
157
power_manager
::PowerSupplyProperties_ExternalPower_AC);
159
power_manager
::PowerSupplyProperties_BatteryState_CHARGING)
[
all
...]
power_status.cc
30
void SanitizeProto(
power_manager
::PowerSupplyProperties* proto) {
34
power_manager
::PowerSupplyProperties_BatteryState_FULL)
39
power_manager
::PowerSupplyProperties_ExternalPower_DISCONNECTED;
142
power_manager
::PowerSupplyProperties_BatteryState_NOT_PRESENT;
147
power_manager
::PowerSupplyProperties_BatteryState_FULL;
152
power_manager
::PowerSupplyProperties_BatteryState_CHARGING;
157
power_manager
::PowerSupplyProperties_BatteryState_DISCHARGING;
183
power_manager
::PowerSupplyProperties_ExternalPower_DISCONNECTED;
188
power_manager
::PowerSupplyProperties_ExternalPower_AC;
193
power_manager
::PowerSupplyProperties_ExternalPower_USB
[
all
...]
power_status.h
13
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
135
void SetProtoForTesting(const
power_manager
::PowerSupplyProperties& proto);
144
const
power_manager
::PowerSupplyProperties& proto) OVERRIDE;
149
power_manager
::PowerSupplyProperties proto_;
power_status_view_unittest.cc
9
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
15
using
power_manager
::PowerSupplyProperties;
39
void UpdatePowerStatus(const
power_manager
::PowerSupplyProperties& proto) {
/external/chromium_org/chrome/browser/chromeos/power/
power_data_collector.cc
9
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
52
const
power_manager
::PowerSupplyProperties& prop) {
56
power_manager
::PowerSupplyProperties::DISCONNECTED);
power_data_collector.h
17
namespace
power_manager
{
namespace
86
const
power_manager
::PowerSupplyProperties& prop) OVERRIDE;
power_data_collector_unittest.cc
7
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
34
power_manager
::PowerSupplyProperties prop1, prop2;
36
prop1.set_external_power(
power_manager
::PowerSupplyProperties::DISCONNECTED);
45
prop2.set_external_power(
power_manager
::PowerSupplyProperties::AC);
power_prefs_unittest.cc
31
#include "chromeos/dbus/
power_manager
/policy.pb.h"
87
power_manager
::PowerManagementPolicy()),
103
power_manager
::PowerManagementPolicy expected_policy;
125
static_cast<
power_manager
::PowerManagementPolicy_Action>(
128
static_cast<
power_manager
::PowerManagementPolicy_Action>(
131
static_cast<
power_manager
::PowerManagementPolicy_Action>(
/external/chromium_org/chrome/browser/power/
process_power_collector.h
28
namespace
power_manager
{
namespace
99
const
power_manager
::PowerSupplyProperties& prop) OVERRIDE;
process_power_collector_unittest.cc
29
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
45
power_manager
::PowerSupplyProperties prop;
46
prop.set_external_power(
power_manager
::PowerSupplyProperties::AC);
47
prop.set_battery_state(
power_manager
::PowerSupplyProperties::DISCHARGING);
process_power_collector.cc
24
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
68
const
power_manager
::PowerSupplyProperties& prop) {
70
power_manager
::PowerSupplyProperties::DISCHARGING) {
/external/chromium_org/athena/system/
status_icon_container_view.cc
14
#include "chromeos/dbus/
power_manager
/power_supply_properties.pb.h"
69
const
power_manager
::PowerSupplyProperties& proto) const {
97
bool IsCharging(const
power_manager
::PowerSupplyProperties& proto) const {
99
power_manager
::PowerSupplyProperties_ExternalPower_DISCONNECTED;
104
const
power_manager
::PowerSupplyProperties& proto) OVERRIDE {
/external/chromium_org/chrome/browser/chromeos/policy/
power_policy_browsertest.cc
39
#include "chromeos/dbus/
power_manager
/policy.pb.h"
59
namespace pm =
power_manager
;
/external/chromium_org/chrome/browser/apps/
ephemeral_app_browsertest.cc
1030
extensions::PowerApiManager*
power_manager
=
local
[
all
...]
Completed in 851 milliseconds