OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PowerSaveBlocker
(Results
1 - 25
of
37
) sorted by null
1
2
/external/chromium/chrome/browser/
power_save_blocker_stub.cc
9
void
PowerSaveBlocker
::ApplyBlock(bool blocking) {
power_save_blocker_common.cc
9
int
PowerSaveBlocker
::blocker_count_ = 0;
11
PowerSaveBlocker
::
PowerSaveBlocker
(bool enable) : enabled_(false) {
16
PowerSaveBlocker
::~
PowerSaveBlocker
(void) {
20
void
PowerSaveBlocker
::Enable() {
28
void
PowerSaveBlocker
::Disable() {
37
void
PowerSaveBlocker
::PostAdjustBlockCount(int delta) {
40
NewRunnableFunction(&
PowerSaveBlocker
::AdjustBlockCount, delta));
44
void
PowerSaveBlocker
::AdjustBlockCount(int delta)
[
all
...]
power_save_blocker.h
13
class
PowerSaveBlocker
{
15
explicit
PowerSaveBlocker
(bool enabled);
16
~
PowerSaveBlocker
();
40
DISALLOW_COPY_AND_ASSIGN(
PowerSaveBlocker
);
power_save_blocker_win.cc
12
void
PowerSaveBlocker
::ApplyBlock(bool blocking) {
power_save_blocker_mac.cc
12
void
PowerSaveBlocker
::ApplyBlock(bool blocking) {
/external/chromium_org/content/browser/
power_save_blocker_impl.cc
9
PowerSaveBlocker
::~
PowerSaveBlocker
() {}
12
scoped_ptr<
PowerSaveBlocker
>
PowerSaveBlocker
::Create(
15
return scoped_ptr<
PowerSaveBlocker
>(new PowerSaveBlockerImpl(type, reason));
power_save_blocker_impl.h
14
class PowerSaveBlockerImpl : public
PowerSaveBlocker
{
21
//
PowerSaveBlocker
should associated with the ViewAndroid,
33
// class
PowerSaveBlocker
::Delegate
34
// : public base::RefCounted<
PowerSaveBlocker
::Delegate> {
power_save_blocker_mac.cc
30
base::Thread* thread = new (instance) base::Thread("
PowerSaveBlocker
");
67
case
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension:
70
case
PowerSaveBlocker
::kPowerSaveBlockPreventDisplaySleep:
power_save_blocker_win.cc
83
void ApplySimpleBlock(
PowerSaveBlocker
::PowerSaveBlockerType type,
92
if (type ==
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension)
/external/chromium_org/content/public/browser/
power_save_blocker.h
18
class CONTENT_EXPORT
PowerSaveBlocker
{
35
virtual ~
PowerSaveBlocker
() = 0;
38
// blocking are desired, instantiate one
PowerSaveBlocker
for each type.
40
static scoped_ptr<
PowerSaveBlocker
> Create(PowerSaveBlockerType type,
/external/chromium_org/content/browser/loader/
power_save_block_resource_throttle.h
16
class
PowerSaveBlocker
;
33
scoped_ptr<
PowerSaveBlocker
> power_save_blocker_;
power_save_block_resource_throttle.cc
24
// Delay
PowerSaveBlocker
activation to dismiss small requests.
42
power_save_blocker_ =
PowerSaveBlocker
::Create(
43
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension,
/external/chromium_org/content/browser/download/
download_file_factory.cc
23
scoped_ptr<
PowerSaveBlocker
> psb(
24
PowerSaveBlocker
::Create(
25
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension,
download_file_impl.h
25
class
PowerSaveBlocker
;
46
scoped_ptr<
PowerSaveBlocker
> power_save_blocker,
109
scoped_ptr<
PowerSaveBlocker
> power_save_blocker_;
/external/chromium_org/chrome/browser/extensions/api/power/
power_api_manager.h
23
typedef base::Callback<scoped_ptr<content::
PowerSaveBlocker
>(
24
content::
PowerSaveBlocker
::PowerSaveBlockerType,
37
// Replaces the function that will be called to create
PowerSaveBlocker
58
// Function that should be called to create
PowerSaveBlocker
objects.
63
scoped_ptr<content::
PowerSaveBlocker
> power_save_blocker_;
power_api_manager.cc
18
content::
PowerSaveBlocker
::PowerSaveBlockerType
22
return content::
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension;
25
return content::
PowerSaveBlocker
::kPowerSaveBlockPreventDisplaySleep;
28
return content::
PowerSaveBlocker
::kPowerSaveBlockPreventDisplaySleep;
52
base::Bind(&content::
PowerSaveBlocker
::Create);
73
: create_blocker_function_(base::Bind(&content::
PowerSaveBlocker
::Create)),
100
content::
PowerSaveBlocker
::PowerSaveBlockerType type =
102
scoped_ptr<content::
PowerSaveBlocker
> new_blocker(
power_api_unittest.cc
35
//
PowerSaveBlocker
being created or destroyed.
46
// Stub implementation of content::
PowerSaveBlocker
that just runs a
48
class PowerSaveBlockerStub : public content::
PowerSaveBlocker
{
96
scoped_ptr<content::
PowerSaveBlocker
> CreateStub(
97
content::
PowerSaveBlocker
::PowerSaveBlockerType type,
101
case content::
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension:
105
case content::
PowerSaveBlocker
::kPowerSaveBlockPreventDisplaySleep:
110
return scoped_ptr<content::
PowerSaveBlocker
>(
261
//
PowerSaveBlocker
is needed; the blocker from the first extension
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
PowerSaveBlocker.java
10
class
PowerSaveBlocker
{
/external/chromium_org/chrome/browser/chromeos/
chrome_browser_main_chromeos.h
18
class
PowerSaveBlocker
;
71
scoped_ptr<content::
PowerSaveBlocker
> retail_mode_power_save_blocker_;
/external/chromium_org/content/browser/android/
content_video_view.h
21
class
PowerSaveBlocker
;
100
scoped_ptr<
PowerSaveBlocker
> power_save_blocker_;
content_video_view.cc
200
power_save_blocker_ =
PowerSaveBlocker
::Create(
201
PowerSaveBlocker
::kPowerSaveBlockPreventDisplaySleep,
/external/chromium/chrome/browser/download/
base_file.h
90
PowerSaveBlocker
power_save_blocker_;
/external/chromium_org/content/public/test/
test_file_error_injector.cc
39
scoped_ptr<
PowerSaveBlocker
> power_save_blocker,
114
scoped_ptr<
PowerSaveBlocker
> power_save_blocker,
318
scoped_ptr<
PowerSaveBlocker
> psb(
319
PowerSaveBlocker
::Create(
320
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension,
/external/chromium_org/chrome/browser/drive/
drive_uploader.cc
59
power_save_blocker(content::
PowerSaveBlocker
::Create(
60
content::
PowerSaveBlocker
::kPowerSaveBlockPreventAppSuspension,
104
scoped_ptr<content::
PowerSaveBlocker
> power_save_blocker;
/external/chromium_org/content/browser/devtools/
render_view_devtools_agent_host.cc
182
PowerSaveBlocker
::Create(
183
PowerSaveBlocker
::kPowerSaveBlockPreventDisplaySleep,
Completed in 451 milliseconds
1
2