OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HintManager
(Results
1 - 8
of
8
) sorted by null
/system/extras/libperfmgr/include/perfmgr/
HintManager.h
29
//
HintManager
is the external interface of the library to be used by PowerHAL
30
// to do power hints with sysfs nodes.
HintManager
maintains a representation of
33
class
HintManager
{
35
HintManager
(sp<NodeLooperThread> nm,
38
~
HintManager
() {
60
// Static method to construct
HintManager
from the JSON config file.
61
static std::unique_ptr<
HintManager
> GetFromJSON(
64
// Return available hints managed by
HintManager
78
HintManager
(
HintManager
const&) = delete
[
all
...]
/device/google/wahoo/power-libperfmgr/
InteractionHandler.h
24
#include <perfmgr/
HintManager
.h>
26
using ::android::perfmgr::
HintManager
;
36
InteractionHandler(std::shared_ptr<
HintManager
> const & hint_manager);
68
std::shared_ptr<
HintManager
> mHintManager;
Power.h
25
#include <perfmgr/
HintManager
.h>
42
using ::android::perfmgr::
HintManager
;
70
std::shared_ptr<
HintManager
> mHintManager;
InteractionHandler.cpp
38
InteractionHandler::InteractionHandler(std::shared_ptr<
HintManager
> const & hint_manager)
Power.cpp
55
mHintManager(
HintManager
::GetFromJSON("/vendor/etc/powerhint.json")),
520
std::string buf(android::base::StringPrintf("
HintManager
Running: %s\n"
/system/extras/libperfmgr/tests/
HintManagerTest.cc
26
#include "perfmgr/
HintManager
.h"
96
class HintManagerTest : public ::testing::Test, public
HintManager
{
99
:
HintManager
(nullptr,
164
HintManager
hm(nm_, actions_);
174
HintManager
hm(nm_, actions_);
183
HintManager
hm(nm_, actions_);
224
HintManager
::ParseNodes(json_doc_);
250
HintManager
::ParseNodes(json_doc_);
260
HintManager
::ParseNodes(json_doc_);
267
HintManager
::ParseNodes("invalid json")
[
all
...]
/system/extras/libperfmgr/
HintManager.cc
27
#include "perfmgr/
HintManager
.h"
32
bool
HintManager
::ValidateHint(const std::string& hint_type) const {
44
bool
HintManager
::DoHint(const std::string& hint_type) {
51
bool
HintManager
::DoHint(const std::string& hint_type,
65
bool
HintManager
::EndHint(const std::string& hint_type) {
72
bool
HintManager
::IsRunning() const {
76
std::vector<std::string>
HintManager
::GetHints() const {
84
void
HintManager
::DumpToFd(int fd) {
102
std::unique_ptr<
HintManager
>
HintManager
::GetFromJSON
[
all
...]
/system/extras/libperfmgr/tools/
ConfigVerifier.cc
26
#include "perfmgr/
HintManager
.h"
31
class NodeVerifier : public
HintManager
{
70
:
HintManager
(nm, actions) {}
100
std::unique_ptr<android::perfmgr::
HintManager
> hm =
101
android::perfmgr::
HintManager
::GetFromJSON(json_file);
Completed in 569 milliseconds