OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BatteryService
(Results
1 - 3
of
3
) sorted by null
/frameworks/native/services/sensorservice/
BatteryService.cpp
28
#include "
BatteryService
.h"
33
BatteryService
::
BatteryService
() {
41
bool
BatteryService
::addSensor(uid_t uid, int handle) {
53
bool
BatteryService
::removeSensor(uid_t uid, int handle) {
63
void
BatteryService
::enableSensorImpl(uid_t uid, int handle) {
72
void
BatteryService
::disableSensorImpl(uid_t uid, int handle) {
82
void
BatteryService
::cleanupImpl(uid_t uid) {
98
ANDROID_SINGLETON_STATIC_INSTANCE(
BatteryService
)
BatteryService.h
26
class
BatteryService
: public Singleton<
BatteryService
> {
28
friend class Singleton<
BatteryService
>;
31
BatteryService
();
55
BatteryService
::getInstance().enableSensorImpl(uid, handle);
58
BatteryService
::getInstance().disableSensorImpl(uid, handle);
61
BatteryService
::getInstance().cleanupImpl(uid);
/frameworks/base/services/core/java/com/android/server/
BatteryService.java
61
* <p>
BatteryService
monitors the charging status, and charge level of the device
90
public final class
BatteryService
extends SystemService {
91
private static final String TAG =
BatteryService
.class.getSimpleName();
150
public
BatteryService
(Context context) {
[
all
...]
Completed in 48 milliseconds