Searched refs:IHealthInfoCallback (Results 1 – 20 of 20) sorted by relevance
41 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()
48 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;50 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
40 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;42 const sp<::android::hardware::health::V2_0::IHealthInfoCallback>& callback) override;
19 import @2.0::IHealthInfoCallback;22 * IHealthInfoCallback is the updated callback interface to25 * A @2.1::IHealthInfoCallback must implement healthInfoChanged_2_1(). The29 interface IHealthInfoCallback extends @2.0::IHealthInfoCallback {
23 import IHealthInfoCallback;29 * @2.0::IHealthInfoCallback and @2.1::IHealthInfoCallback.31 * to @2.1::IHealthInfoCallback.34 * @2.1::IHealthInfoCallback.healthInfoChanged_2_1(). All fields introduced36 * @2.0::IHealthInfoCallback.healthInfoChanged().38 * @2.0::IHealthInfoCallback.healthInfoChanged().
18 "IHealthInfoCallback.hal",
41 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);
20 * IHealthInfoCallback is the callback interface to23 interface IHealthInfoCallback {
21 import IHealthInfoCallback;40 registerCallback(IHealthInfoCallback callback) generates (Result result);51 unregisterCallback(IHealthInfoCallback callback) generates (Result result);
47 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()
55 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()
73 Return<Result> Health::registerCallback(const sp<V2_0::IHealthInfoCallback>&) { in registerCallback() argument77 Return<Result> Health::unregisterCallback(const sp<V2_0::IHealthInfoCallback>&) { in unregisterCallback() argument
106 class Callback_2_0 : public android::hardware::health::V2_0::IHealthInfoCallback,113 class Callback_2_1 : public android::hardware::health::V2_1::IHealthInfoCallback,
49 using android::hardware::health::V2_1::IHealthInfoCallback;61 struct BatteryListenerImpl : public hardware::health::V2_1::IHealthInfoCallback,
58 struct BatteryListenerImpl : public hardware::health::V2_0::IHealthInfoCallback,
61 struct BatteryListenerImpl : public hardware::health::V2_0::IHealthInfoCallback,
80 class Callback : public IHealthInfoCallback {
347 …54bb05e40c79503208b40f786a318029a2a4f66e34f10f2a76 android.hardware.health@2.0::IHealthInfoCallback712 …ba5167c5c0a7c2f077c2acbb98b81902a072517829fd9fd67f android.hardware.health@2.1::IHealthInfoCallback