blob: dc169bb6356e1c2955f1cdb2b4e10beb3fca5c08 [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 Chine1d1b0b2019-11-20 11:25:02 -080031using namespace ::android::hardware::radio::config;
32
Sarah Chinb071f8a2019-11-07 10:43:16 -080033using ::android::hardware::hidl_vec;
34using ::android::hardware::Return;
Sarah Chine1d1b0b2019-11-20 11:25:02 -080035
36using ::android::hardware::radio::V1_0::RadioResponseInfo;
Sarah Chinb071f8a2019-11-07 10:43:16 -080037
38struct RadioConfigResponse : public IRadioConfigResponse {
39 // Methods from ::android::hardware::radio::config::V1_0::IRadioConfigResponse follow.
40 Return<void> getSimSlotsStatusResponse(
Sarah Chine1d1b0b2019-11-20 11:25:02 -080041 const RadioResponseInfo& info,
42 const hidl_vec<V1_0::SimSlotStatus>& slotStatus) override;
43 Return<void> setSimSlotsMappingResponse(const RadioResponseInfo& info) override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080044
45 // Methods from ::android::hardware::radio::config::V1_1::IRadioConfigResponse follow.
Sarah Chine1d1b0b2019-11-20 11:25:02 -080046 Return<void> getPhoneCapabilityResponse(const RadioResponseInfo& info,
47 const V1_1::PhoneCapability& phoneCapability) override;
48 Return<void> setPreferredDataModemResponse(const RadioResponseInfo& info) override;
49 Return<void> setModemsConfigResponse(const RadioResponseInfo& info) override;
50 Return<void> getModemsConfigResponse(const RadioResponseInfo& info,
51 const V1_1::ModemsConfig& modemsConfig) override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080052
53 // Methods from ::android::hardware::radio::config::V1_2::IRadioConfigResponse follow.
54 Return<void> getSimSlotsStatusResponse_1_2(
Sarah Chine1d1b0b2019-11-20 11:25:02 -080055 const RadioResponseInfo& info,
56 const hidl_vec<V1_2::SimSlotStatus>& slotStatus) override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080057
Sarah Chine1d1b0b2019-11-20 11:25:02 -080058 // Methods from ::android::hardware::radio::config::V1_3::IRadioConfigResponse follow.
59 Return<void> getPhoneCapabilityResponse_1_3(
60 const RadioResponseInfo& info, const V1_3::PhoneCapability& phoneCapability) override;
Sarah Chinb071f8a2019-11-07 10:43:16 -080061};
62
63} // namespace implementation
64} // namespace V1_3
65} // namespace config
66} // namespace radio
67} // namespace hardware
68} // namespace android
69
70#endif // ANDROID_HARDWARE_RADIO_CONFIG_V1_3_RADIOCONFIGRESPONSE_H