Searched refs:BatteryProperty (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/os/
H A DBatteryProperty.aidl19 parcelable BatteryProperty;
H A DBatteryProperty.java29 public class BatteryProperty implements Parcelable { class in inherits:Parcelable
35 public BatteryProperty() { method in class:BatteryProperty
48 * frameworks/native/services/batteryservice/BatteryProperty.cpp
51 private BatteryProperty(Parcel p) { method in class:BatteryProperty
63 public static final Parcelable.Creator<BatteryProperty> CREATOR
64 = new Parcelable.Creator<BatteryProperty>() {
65 public BatteryProperty createFromParcel(Parcel p) {
66 return new BatteryProperty(p);
69 public BatteryProperty[] newArray(int size) {
70 return new BatteryProperty[siz
[all...]
H A DIBatteryPropertiesRegistrar.aidl20 import android.os.BatteryProperty;
29 int getProperty(in int id, out BatteryProperty prop);
H A DBatteryManager.java20 import android.os.BatteryProperty;
235 BatteryProperty prop = new BatteryProperty();
/frameworks/native/services/batteryservice/
H A DBatteryProperty.cpp27 * frameworks/base/core/java/android/os/BatteryProperty.java
30 status_t BatteryProperty::readFromParcel(Parcel* p) {
35 status_t BatteryProperty::writeToParcel(Parcel* p) const {
H A DAndroid.mk6 BatteryProperty.cpp \
H A DIBatteryPropertiesRegistrar.cpp48 status_t getProperty(int id, struct BatteryProperty *val) {
92 struct BatteryProperty val;
/frameworks/native/include/batteryservice/
H A DIBatteryPropertiesRegistrar.h38 virtual status_t getProperty(int id, struct BatteryProperty *val) = 0;
H A DBatteryService.h47 // must be kept in sync with definitions in BatteryProperty.java
49 BATTERY_PROP_CHARGE_COUNTER = 1, // equals BatteryProperty.CHARGE_COUNTER constant
50 BATTERY_PROP_CURRENT_NOW = 2, // equals BatteryProperty.CURRENT_NOW constant
51 BATTERY_PROP_CURRENT_AVG = 3, // equals BatteryProperty.CURRENT_AVG constant
52 BATTERY_PROP_CAPACITY = 4, // equals BatteryProperty.CAPACITY constant
53 BATTERY_PROP_ENERGY_COUNTER = 5, // equals BatteryProperty.ENERGY_COUNTER constant
73 struct BatteryProperty { struct in namespace:android

Completed in 821 milliseconds