Home
last modified time | relevance | path

Searched refs:HealthInfo (Results 1 – 19 of 19) sorted by relevance

/aosp14/system/core/healthd/include/healthd/
H A DBatteryMonitor_v1.h29 class HealthInfo; variable
36 struct HealthInfo;
39 struct HealthInfo;
42 struct HealthInfo;
66 android::hardware::health::V1_0::HealthInfo getHealthInfo_1_0() const;
67 android::hardware::health::V2_0::HealthInfo getHealthInfo_2_0() const;
68 android::hardware::health::V2_1::HealthInfo getHealthInfo_2_1() const;
69 const aidl::android::hardware::health::HealthInfo& getHealthInfo() const;
75 static void logValues(const android::hardware::health::V2_1::HealthInfo& health_info,
84 std::unique_ptr<aidl::android::hardware::health::HealthInfo> mHealthInfo;
H A DBatteryMonitor.h29 class HealthInfo; variable
36 struct HealthInfo;
39 struct HealthInfo;
42 struct HealthInfo;
76 android::hardware::health::V1_0::HealthInfo getHealthInfo_1_0() const;
77 android::hardware::health::V2_0::HealthInfo getHealthInfo_2_0() const;
78 android::hardware::health::V2_1::HealthInfo getHealthInfo_2_1() const;
79 const aidl::android::hardware::health::HealthInfo& getHealthInfo() const;
89 static void logValues(const android::hardware::health::V2_1::HealthInfo& health_info,
99 std::unique_ptr<aidl::android::hardware::health::HealthInfo> mHealthInfo;
/aosp14/system/core/healthd/
H A DBatteryMonitor_v1.cpp54 using HealthInfo_1_0 = android::hardware::health::V1_0::HealthInfo;
55 using HealthInfo_2_0 = android::hardware::health::V2_0::HealthInfo;
56 using HealthInfo_2_1 = android::hardware::health::V2_1::HealthInfo;
60 using aidl::android::hardware::health::HealthInfo;
67 ::android::hardware::health::V1_0::HealthInfo* out) { in translateToHidl()
123 static void initHealthInfo(HealthInfo* health_info) { in initHealthInfo()
138 mHealthInfo(std::make_unique<HealthInfo>()) { in BatteryMonitor()
162 const HealthInfo& BatteryMonitor::getHealthInfo() const { in getHealthInfo()
454 HealthInfo aidl_health_info; in logValues()
464 const HealthInfo& props = *mHealthInfo; in isChargerOnline()
[all …]
H A DBatteryMonitor.cpp54 using HealthInfo_1_0 = android::hardware::health::V1_0::HealthInfo;
55 using HealthInfo_2_0 = android::hardware::health::V2_0::HealthInfo;
56 using HealthInfo_2_1 = android::hardware::health::V2_1::HealthInfo;
63 using aidl::android::hardware::health::HealthInfo;
70 ::android::hardware::health::V1_0::HealthInfo* out) { in translateToHidl()
126 static void initHealthInfo(HealthInfo* health_info) { in initHealthInfo()
142 mHealthInfo(std::make_unique<HealthInfo>()) { in BatteryMonitor()
166 const HealthInfo& BatteryMonitor::getHealthInfo() const { in getHealthInfo()
540 HealthInfo aidl_health_info; in logValues()
550 const HealthInfo& props = *mHealthInfo; in isChargerOnline()
[all …]
H A Dcharger_test.cpp37 using android::hardware::health::V2_1::HealthInfo;
144 void UpdateHealthInfo(HealthInfo*) override { getUpdateNotifier().set(true /* updated */); } in UpdateHealthInfo() argument
H A Dhealthd_mode_charger_hidl.h30 using HealthInfo_2_1 = android::hardware::health::V2_1::HealthInfo;
H A DAndroid.bp15 // Need HealthInfo definition from headers of these shared
/aosp14/frameworks/base/services/core/java/com/android/server/health/
H A DHealthHalCallbackHidl.java60 public void healthInfoChanged(android.hardware.health.V2_0.HealthInfo props) { in healthInfoChanged()
61 android.hardware.health.V2_1.HealthInfo propsLatest = in healthInfoChanged()
62 new android.hardware.health.V2_1.HealthInfo(); in healthInfoChanged()
73 public void healthInfoChanged_2_1(android.hardware.health.V2_1.HealthInfo props) { in healthInfoChanged_2_1()
H A DUtils.java34 android.hardware.health.V1_0.HealthInfo dst, in copy()
35 android.hardware.health.V1_0.HealthInfo src) { in copy()
63 android.hardware.health.HealthInfo dst, android.hardware.health.HealthInfo src) { in copyV1Battery()
H A DHealthRegCallbackAidl.java21 import android.hardware.health.HealthInfo;
115 public void healthInfoChanged(HealthInfo healthInfo) throws RemoteException { in healthInfoChanged()
H A DHealthInfoCallback.java30 void update(android.hardware.health.HealthInfo props); in update()
H A DHealthServiceWrapperHidl.java23 import android.hardware.health.HealthInfo;
153 public HealthInfo getHealthInfo() throws RemoteException { in getHealthInfo()
156 final Mutable<HealthInfo> ret = new Mutable<>(); in getHealthInfo()
H A DHealthServiceWrapperAidl.java22 import android.hardware.health.HealthInfo;
191 public HealthInfo getHealthInfo() throws RemoteException { in getHealthInfo()
H A DHealthServiceWrapper.java71 public abstract android.hardware.health.HealthInfo getHealthInfo() throws RemoteException; in getHealthInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java32 import android.hardware.health.HealthInfo;
143 private HealthInfo mHealthInfo;
144 private final HealthInfo mLastHealthInfo = new HealthInfo();
451 private void update(android.hardware.health.HealthInfo info) { in update()
473 private static int plugType(HealthInfo healthInfo) { in plugType()
/aosp14/system/core/storaged/
H A Dstoraged.cpp74 using aidl::android::hardware::health::HealthInfo;
117 ScopedAStatus healthInfoChanged(const HealthInfo& info) override { in healthInfoChanged()
/aosp14/system/core/fastboot/device/
H A Dvariables.cpp119 using aidl::android::hardware::health::HealthInfo; in GetBatteryVoltageHelper()
126 HealthInfo health_info; in GetBatteryVoltageHelper()
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java4206 android.hardware.health.HealthInfo healthInfo;
/aosp14/frameworks/base/services/
H A Dart-profile24HealthInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/hardware/health/HealthInfo;+]Landroid…
25 HSPLandroid/hardware/health/HealthInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
26 HSPLandroid/hardware/health/HealthInfo;-><init>()V
27 HSPLandroid/hardware/health/HealthInfo;->readFromParcel(Landroid/os/Parcel;)V+]Landroid/os/Parcel;L…
33 HPLandroid/hardware/health/IHealth$Stub$Proxy;->getHealthInfo()Landroid/hardware/health/HealthInfo;
127 …oid/server/BatteryService$$ExternalSyntheticLambda3;->update(Landroid/hardware/health/HealthInfo;)V
133 …jJgn5KcldjJelOt5uQgeylfgM(Lcom/android/server/BatteryService;Landroid/hardware/health/HealthInfo;)V
134 …;->-$$Nest$fgetmHealthInfo(Lcom/android/server/BatteryService;)Landroid/hardware/health/HealthInfo;
138 HSPLcom/android/server/BatteryService;->plugType(Landroid/hardware/health/HealthInfo;)I
148 HSPLcom/android/server/BatteryService;->update(Landroid/hardware/health/HealthInfo;)V+]Ljava/lang/O…
[all …]