Home
last modified time | relevance | path

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

12

/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/aidl/android/hardware/health/
DIHealth.aidl24 import android.hardware.health.IHealthInfoCallback;
54 void registerCallback(in IHealthInfoCallback callback); in registerCallback()
67 void unregisterCallback(in IHealthInfoCallback callback); in unregisterCallback()
DIHealthInfoCallback.aidl26 interface IHealthInfoCallback { interface
/hardware/interfaces/health/utils/libhealthshim/include/health-shim/
Dshim.h29 using HidlHealthInfoCallback = ::android::hardware::health::V2_0::IHealthInfoCallback;
35 const std::shared_ptr<IHealthInfoCallback>& in_callback) override;
37 const std::shared_ptr<IHealthInfoCallback>& in_callback) override;
54 std::map<std::shared_ptr<IHealthInfoCallback>, ::android::sp<HidlHealthInfoCallback>>
/hardware/interfaces/health/aidl/default/include/health-impl/
DHealth.h50 const std::shared_ptr<IHealthInfoCallback>& callback) override;
52 const std::shared_ptr<IHealthInfoCallback>& callback) override;
107 bool unregisterCallbackInternal(std::shared_ptr<IHealthInfoCallback> callback);
116 std::map<LinkedCallback*, std::shared_ptr<IHealthInfoCallback>> callbacks_;
/hardware/interfaces/health/aidl/default/
DLinkedCallback.h38 std::shared_ptr<Health> service, std::shared_ptr<IHealthInfoCallback> callback);
49 std::weak_ptr<IHealthInfoCallback> callback_;
DLinkedCallback.cpp28 std::shared_ptr<Health> service, std::shared_ptr<IHealthInfoCallback> callback) { in Make()
/hardware/interfaces/health/aidl/aidl_api/android.hardware.health/1/android/hardware/health/
DIHealth.aidl37 void registerCallback(in android.hardware.health.IHealthInfoCallback callback); in registerCallback()
38 void unregisterCallback(in android.hardware.health.IHealthInfoCallback callback); in unregisterCallback()
DIHealthInfoCallback.aidl36 interface IHealthInfoCallback { interface
/hardware/interfaces/health/aidl/aidl_api/android.hardware.health/current/android/hardware/health/
DIHealth.aidl37 void registerCallback(in android.hardware.health.IHealthInfoCallback callback); in registerCallback()
38 void unregisterCallback(in android.hardware.health.IHealthInfoCallback callback); in unregisterCallback()
DIHealthInfoCallback.aidl36 interface IHealthInfoCallback { interface
/hardware/interfaces/health/aidl/aidl_api/android.hardware.health/3/android/hardware/health/
DIHealth.aidl37 void registerCallback(in android.hardware.health.IHealthInfoCallback callback); in registerCallback()
38 void unregisterCallback(in android.hardware.health.IHealthInfoCallback callback); in unregisterCallback()
DIHealthInfoCallback.aidl36 interface IHealthInfoCallback { interface
/hardware/interfaces/health/aidl/aidl_api/android.hardware.health/2/android/hardware/health/
DIHealth.aidl37 void registerCallback(in android.hardware.health.IHealthInfoCallback callback); in registerCallback()
38 void unregisterCallback(in android.hardware.health.IHealthInfoCallback callback); in unregisterCallback()
DIHealthInfoCallback.aidl36 interface IHealthInfoCallback { interface
/hardware/interfaces/health/2.0/
DIHealthInfoCallback.hal20 * IHealthInfoCallback is the callback interface to
23 interface IHealthInfoCallback {
DAndroid.bp18 "IHealthInfoCallback.hal",
/hardware/interfaces/health/utils/libhealthshim/
Dshim.cpp29 using HidlHealthInfoCallback = ::android::hardware::health::V2_0::IHealthInfoCallback;
37 using AidlHealthInfoCallback = ::aidl::android::hardware::health::IHealthInfoCallback;
96 const std::shared_ptr<IHealthInfoCallback>& in_callback) { in registerCallback()
103 const std::shared_ptr<IHealthInfoCallback>& in_callback) { in unregisterCallback()
/hardware/interfaces/health/utils/libhealth2impl/
DBinderHealth.cpp54 Return<Result> BinderHealth::registerCallback(const sp<V2_0::IHealthInfoCallback>& callback) { in registerCallback()
126 Return<Result> BinderHealth::unregisterCallback(const sp<V2_0::IHealthInfoCallback>& callback) { in unregisterCallback()
/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,

12