blob: 3d8d971694d42b9172899c34335cedae51b5fee6 [file] [log] [blame]
Tomasz Wasilczyk6301e8f2021-10-18 16:53:40 -07001/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#pragma once
17
18#include <aidl/android/hardware/radio/config/IRadioConfigIndication.h>
19#include <android/hardware/radio/config/1.2/IRadioConfigIndication.h>
20
21namespace android::hardware::radio::compat {
22
23class RadioConfigIndication : public config::V1_2::IRadioConfigIndication {
24 std::shared_ptr<aidl::android::hardware::radio::config::IRadioConfigIndication> mCallback;
25
26 Return<void> simSlotsStatusChanged(
27 V1_0::RadioIndicationType type,
28 const hidl_vec<config::V1_0::SimSlotStatus>& slotStatus) override;
29 Return<void> simSlotsStatusChanged_1_2(
30 V1_0::RadioIndicationType type,
31 const hidl_vec<config::V1_2::SimSlotStatus>& slotStatus) override;
32
33 public:
34 RadioConfigIndication(
35 std::shared_ptr<aidl::android::hardware::radio::config::IRadioConfigIndication> cb);
36};
37
38} // namespace android::hardware::radio::compat