blob: 0f0033fa6ac2bab2bd83c60438e1b20288eecf46 [file] [log] [blame]
Sarah Chinb071f8a2019-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_RADIOCONFIGRESPONSE_H
18#define ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGRESPONSE_H
19
20#include <android/hardware/radio/config/1.3/IRadioConfigResponse.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
Sarah Chin6ba3da02020-02-25 00:13:51 +000031using ::android::sp;
32using ::android::hardware::hidl_array;
33using ::android::hardware::hidl_memory;
34using ::android::hardware::hidl_string;
Sarah Chinb071f8a2019-11-07 10:43:16 -080035using ::android::hardware::hidl_vec;
36using ::android::hardware::Return;
Sarah Chin6ba3da02020-02-25 00:13:51 +000037using ::android::hardware::Void;
Sarah Chinb071f8a2019-11-07 10:43:16 -080038
39struct RadioConfigResponse : public IRadioConfigResponse {
40 // Methods from ::android::hardware::radio::config::V1_0::IRadioConfigResponse follow.
41 Return<void> getSimSlotsStatusResponse(
Sarah Chin6ba3da02020-02-25 00:13:51 +000042 const ::android::hardware::radio::V1_0::RadioResponseInfo& info,
43 const hidl_vec<::android::hardware::radio::config::V1_0::SimSlotStatus>& slotStatus)
44 override;
45 Return<void> setSimSlotsMappingResponse(
46 const ::android::hardware::radio::V1_0::RadioResponseInfo& info) override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080047
48 // Methods from ::android::hardware::radio::config::V1_1::IRadioConfigResponse follow.
Sarah Chin6ba3da02020-02-25 00:13:51 +000049 Return<void> getPhoneCapabilityResponse(
50 const ::android::hardware::radio::V1_0::RadioResponseInfo& info,
51 const ::android::hardware::radio::config::V1_1::PhoneCapability& phoneCapability)
52 override;
53 Return<void> setPreferredDataModemResponse(
54 const ::android::hardware::radio::V1_0::RadioResponseInfo& info) override;
55 Return<void> setModemsConfigResponse(
56 const ::android::hardware::radio::V1_0::RadioResponseInfo& info) override;
57 Return<void> getModemsConfigResponse(
58 const ::android::hardware::radio::V1_0::RadioResponseInfo& info,
59 const ::android::hardware::radio::config::V1_1::ModemsConfig& modemsConfig) override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080060
61 // Methods from ::android::hardware::radio::config::V1_2::IRadioConfigResponse follow.
62 Return<void> getSimSlotsStatusResponse_1_2(
Sarah Chin6ba3da02020-02-25 00:13:51 +000063 const ::android::hardware::radio::V1_0::RadioResponseInfo& info,
64 const hidl_vec<::android::hardware::radio::config::V1_2::SimSlotStatus>& slotStatus)
65 override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080066
Sarah Chin6ba3da02020-02-25 00:13:51 +000067 // Methods from ::android::hidl::base::V1_0::IBase follow.
Sarah Chinb071f8a2019-11-07 10:43:16 -080068};
69
70} // namespace implementation
71} // namespace V1_3
72} // namespace config
73} // namespace radio
74} // namespace hardware
75} // namespace android
76
77#endif // ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGRESPONSE_H