OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BatteryService
(Results
1 - 13
of
13
) sorted by null
/frameworks/native/services/sensorservice/
BatteryService.h
26
class
BatteryService
: public Singleton<
BatteryService
> {
28
friend class Singleton<
BatteryService
>;
31
BatteryService
();
56
BatteryService
::getInstance().enableSensorImpl(uid, handle);
59
BatteryService
::getInstance().disableSensorImpl(uid, handle);
62
BatteryService
::getInstance().cleanupImpl(uid);
BatteryService.cpp
28
#include "
BatteryService
.h"
33
BatteryService
::
BatteryService
() : mBatteryStatService(nullptr) {
36
bool
BatteryService
::addSensor(uid_t uid, int handle) {
48
bool
BatteryService
::removeSensor(uid_t uid, int handle) {
58
void
BatteryService
::enableSensorImpl(uid_t uid, int handle) {
67
void
BatteryService
::disableSensorImpl(uid_t uid, int handle) {
77
void
BatteryService
::cleanupImpl(uid_t uid) {
94
bool
BatteryService
::checkService() {
105
ANDROID_SINGLETON_STATIC_INSTANCE(
BatteryService
)
[
all
...]
SensorService.cpp
34
#include "
BatteryService
.h"
[
all
...]
/frameworks/native/services/batteryservice/include/batteryservice/
IBatteryPropertiesListener.h
23
#include <
batteryservice
/
BatteryService
.h>
/frameworks/base/services/tests/servicestests/src/com/android/server/
BatteryServiceTest.java
48
@Mock
BatteryService
.HealthServiceWrapper.Callback mCallback;
49
@Mock
BatteryService
.HealthServiceWrapper.IServiceManagerSupplier mManagerSupplier;
50
@Mock
BatteryService
.HealthServiceWrapper.IHealthSupplier mHealthServiceSupplier;
51
BatteryService
.HealthServiceWrapper mWrapper;
53
private static final String HEALTHD =
BatteryService
.HealthServiceWrapper.INSTANCE_HEALTHD;
54
private static final String VENDOR =
BatteryService
.HealthServiceWrapper.INSTANCE_VENDOR;
82
//
BatteryService
.HealthServiceWrapper.Notification, but still call it correctly.
100
mWrapper = new
BatteryService
.HealthServiceWrapper();
/system/core/healthd/include/healthd/
BatteryMonitor.h
20
#include <
batteryservice
/
BatteryService
.h>
healthd.h
20
#include <
batteryservice
/
BatteryService
.h>
/hardware/interfaces/health/2.0/default/
healthd_common.cpp
23
#include <
batteryservice
/
BatteryService
.h>
/system/core/healthd/
healthd_draw.cpp
18
#include <
batteryservice
/
BatteryService
.h>
BatteryMonitor.cpp
34
#include <
batteryservice
/
BatteryService
.h>
/frameworks/base/services/core/java/com/android/server/
BatteryService.java
87
* <p>
BatteryService
monitors the charging status, and charge level of the device
116
public final class
BatteryService
extends SystemService {
117
private static final String TAG =
BatteryService
.class.getSimpleName();
195
public
BatteryService
(Context context) {
[
all
...]
/frameworks/base/services/java/com/android/server/
SystemServer.java
697
mSystemServiceManager.startService(
BatteryService
.class);
[
all
...]
/prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar
Completed in 238 milliseconds