blob: 36974923757c1b9385fd47039643b398f45178bb [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
34using ::android::sp;
35using ::android::hardware::hidl_array;
36using ::android::hardware::hidl_memory;
37using ::android::hardware::hidl_string;
38using ::android::hardware::hidl_vec;
39using ::android::hardware::Return;
40using ::android::hardware::Void;
41
42struct RadioConfigIndication : public IRadioConfigIndication {
43 // Methods from ::android::hardware::radio::config::V1_0::IRadioConfigIndication follow.
44 Return<void> simSlotsStatusChanged(RadioIndicationType type,
45 const hidl_vec<V1_0::SimSlotStatus>& slotStatus) override;
46
47 // Methods from ::android::hardware::radio::config::V1_2::IRadioConfigIndication follow.
48 Return<void> simSlotsStatusChanged_1_2(
49 RadioIndicationType type, const hidl_vec<V1_2::SimSlotStatus>& slotStatus) override;
50};
51
52} // namespace implementation
53} // namespace V1_3
54} // namespace config
55} // namespace radio
56} // namespace hardware
57} // namespace android
58
59#endif // ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGINDICATION_H