OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PowerStatus
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/ash/system/chromeos/power/
power_status.h
20
//
PowerStatus
is a singleton that receives updates about the system's
23
class ASH_EXPORT
PowerStatus
: public chromeos::PowerManagerClient::Observer {
57
static
PowerStatus
* Get();
133
PowerStatus
();
134
virtual ~
PowerStatus
();
146
DISALLOW_COPY_AND_ASSIGN(
PowerStatus
);
power_status.cc
62
static
PowerStatus
* g_power_status = NULL;
76
const int
PowerStatus
::kMaxBatteryTimeToDisplaySec = 24 * 60 * 60;
79
void
PowerStatus
::Initialize() {
81
g_power_status = new
PowerStatus
();
85
void
PowerStatus
::Shutdown() {
92
bool
PowerStatus
::IsInitialized() {
97
PowerStatus
*
PowerStatus
::Get() {
98
CHECK(g_power_status) << "
PowerStatus
::Get() called before Initialize().";
103
bool
PowerStatus
::ShouldDisplayBatteryTime(const base::TimeDelta& time)
[
all
...]
Completed in 38 milliseconds