blob: c92446cbe2edff3f42a758a164c2ab86271b04ab [file] [log] [blame]
Sarah Chin83e3ca82019-11-07 10:43:16 -08001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.1 (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.1
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
17#ifndef ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGINDICATION_H
18#define ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGINDICATION_H
19
20#include <android/hardware/radio/config/1.3/IRadioConfigIndication.h>
21#include <hidl/MQDescriptor.h>
22#include <hidl/Status.h>
23
24namespace android {
25namespace hardware {
26namespace radio {
27namespace config {
28namespace V1_3 {
29namespace implementation {
30
31using namespace ::android::hardware::radio::V1_0;
32using namespace ::android::hardware::radio::config;
33
Sarah Chin83e3ca82019-11-07 10:43:16 -080034using ::android::hardware::hidl_vec;
35using ::android::hardware::Return;
36using ::android::hardware::Void;
37
38struct RadioConfigIndication : public IRadioConfigIndication {
39 // Methods from ::android::hardware::radio::config::V1_0::IRadioConfigIndication follow.
40 Return<void> simSlotsStatusChanged(RadioIndicationType type,
41 const hidl_vec<V1_0::SimSlotStatus>& slotStatus) override;
42
43 // Methods from ::android::hardware::radio::config::V1_2::IRadioConfigIndication follow.
44 Return<void> simSlotsStatusChanged_1_2(
45 RadioIndicationType type, const hidl_vec<V1_2::SimSlotStatus>& slotStatus) override;
46};
47
48} // namespace implementation
49} // namespace V1_3
50} // namespace config
51} // namespace radio
52} // namespace hardware
53} // namespace android
54
55#endif // ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGINDICATION_H