Sarah Chin | b071f8a | 2019-11-07 10:43:16 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2019 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 | |
| 17 | package android.hardware.radio.config@1.3; |
| 18 | |
Sarah Chin | e1d1b0b | 2019-11-20 11:25:02 -0800 | [diff] [blame] | 19 | import android.hardware.radio@1.0::RadioResponseInfo; |
Sarah Chin | b071f8a | 2019-11-07 10:43:16 -0800 | [diff] [blame] | 20 | import @1.2::IRadioConfigResponse; |
Sarah Chin | e1d1b0b | 2019-11-20 11:25:02 -0800 | [diff] [blame] | 21 | import @1.3::PhoneCapability; |
Sarah Chin | b071f8a | 2019-11-07 10:43:16 -0800 | [diff] [blame] | 22 | |
| 23 | /** |
| 24 | * Interface declaring response functions to solicited radio config requests. |
| 25 | */ |
| 26 | interface IRadioConfigResponse extends @1.2::IRadioConfigResponse { |
Sarah Chin | e1d1b0b | 2019-11-20 11:25:02 -0800 | [diff] [blame] | 27 | /** |
| 28 | * @param info Response info struct containing response type, serial no. and error |
| 29 | * @param phoneCapability <@1.3::PhoneCapability> it defines modem's capability for example |
| 30 | * how many logical modems it has, how many data connections it supports. |
| 31 | * |
| 32 | * Valid errors returned: |
| 33 | * RadioError:NONE |
| 34 | * RadioError:RADIO_NOT_AVAILABLE |
| 35 | */ |
| 36 | oneway getPhoneCapabilityResponse_1_3(RadioResponseInfo info, PhoneCapability phoneCapability); |
Sarah Chin | b071f8a | 2019-11-07 10:43:16 -0800 | [diff] [blame] | 37 | }; |