Home
last modified time | relevance | path

Searched refs:IHealthInfoCallback (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DCallback.h41 Callback_2_0(const sp<V2_0::IHealthInfoCallback>& callback) : callback_(callback) {} in Callback_2_0()
48 sp<V2_0::IHealthInfoCallback> callback_;
53 Callback_2_1(const sp<IHealthInfoCallback>& callback) : callback_(callback) {} in Callback_2_1()
60 sp<IHealthInfoCallback> callback_;
63 inline std::unique_ptr<Callback> Wrap(const sp<V2_0::IHealthInfoCallback>& callback_2_0) { in Wrap()
64 auto callback_2_1 = IHealthInfoCallback::castFrom(callback_2_0).withDefault(nullptr); in Wrap()
DHealth.h48 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
50 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
DBinderHealth.h40 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
42 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
/hardware/interfaces/health/2.1/
DIHealthInfoCallback.hal19 import @2.0::IHealthInfoCallback;
22 * IHealthInfoCallback is the updated callback interface to
25 * A @2.1::IHealthInfoCallback must implement healthInfoChanged_2_1(). The
29 interface IHealthInfoCallback extends @2.0::IHealthInfoCallback {
DIHealth.hal23 import IHealthInfoCallback;
29 * @2.0::IHealthInfoCallback and @2.1::IHealthInfoCallback.
31 * to @2.1::IHealthInfoCallback.
34 * @2.1::IHealthInfoCallback.healthInfoChanged_2_1(). All fields introduced
36 * @2.0::IHealthInfoCallback.healthInfoChanged().
38 * @2.0::IHealthInfoCallback.healthInfoChanged().
DAndroid.bp18 "IHealthInfoCallback.hal",
/hardware/interfaces/health/2.0/default/include/health2/
DHealth.h41 Return<Result> registerCallback(const sp<IHealthInfoCallback>& callback) override;
42 Return<Result> unregisterCallback(const sp<IHealthInfoCallback>& callback) override;
63 std::vector<sp<IHealthInfoCallback>> callbacks_;
70 Return<Result> updateAndNotify(const sp<IHealthInfoCallback>& cb);
/hardware/interfaces/health/2.0/
DIHealthInfoCallback.hal20 * IHealthInfoCallback is the callback interface to
23 interface IHealthInfoCallback {
DAndroid.bp18 "IHealthInfoCallback.hal",
DIHealth.hal21 import IHealthInfoCallback;
40 registerCallback(IHealthInfoCallback callback) generates (Result result);
51 unregisterCallback(IHealthInfoCallback callback) generates (Result result);
/hardware/interfaces/health/2.0/default/
DHealth.cpp47 Return<Result> Health::registerCallback(const sp<IHealthInfoCallback>& callback) { in registerCallback()
85 Return<Result> Health::unregisterCallback(const sp<IHealthInfoCallback>& callback) { in unregisterCallback()
172 Return<Result> Health::updateAndNotify(const sp<IHealthInfoCallback>& callback) { in updateAndNotify()
174 std::vector<sp<IHealthInfoCallback>> storedCallbacks{std::move(callbacks_)}; in updateAndNotify()
/hardware/interfaces/health/utils/libhealth2impl/
DBinderHealth.cpp55 Return<Result> BinderHealth::registerCallback(const sp<V2_0::IHealthInfoCallback>& callback) { in registerCallback()
127 Return<Result> BinderHealth::unregisterCallback(const sp<V2_0::IHealthInfoCallback>& callback) { in unregisterCallback()
DHealth.cpp73 Return<Result> Health::registerCallback(const sp<V2_0::IHealthInfoCallback>&) { in registerCallback() argument
77 Return<Result> Health::unregisterCallback(const sp<V2_0::IHealthInfoCallback>&) { in unregisterCallback() argument
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp106 class Callback_2_0 : public android::hardware::health::V2_0::IHealthInfoCallback,
113 class Callback_2_1 : public android::hardware::health::V2_1::IHealthInfoCallback,
/hardware/qcom/sm7250/gps/android/utils/
Dbattery_listener.cpp49 using android::hardware::health::V2_1::IHealthInfoCallback;
61 struct BatteryListenerImpl : public hardware::health::V2_1::IHealthInfoCallback,
/hardware/qcom/sm8150/gps/android/utils/
Dbattery_listener.cpp49 using android::hardware::health::V2_1::IHealthInfoCallback;
61 struct BatteryListenerImpl : public hardware::health::V2_1::IHealthInfoCallback,
/hardware/qcom/sm8150p/gps/android/utils/
Dbattery_listener.cpp58 struct BatteryListenerImpl : public hardware::health::V2_0::IHealthInfoCallback,
/hardware/qcom/sm7150/gps/android/utils/
Dbattery_listener.cpp61 struct BatteryListenerImpl : public hardware::health::V2_0::IHealthInfoCallback,
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp80 class Callback : public IHealthInfoCallback {
/hardware/interfaces/
Dcurrent.txt347 …54bb05e40c79503208b40f786a318029a2a4f66e34f10f2a76 android.hardware.health@2.0::IHealthInfoCallback
712 …ba5167c5c0a7c2f077c2acbb98b81902a072517829fd9fd67f android.hardware.health@2.1::IHealthInfoCallback