blob: e13aa1efb67a826ace02092477148f4560d73c8c [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.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
17package android.hardware.radio.config@1.3;
18
Sarah Chine1d1b0b2019-11-20 11:25:02 -080019import android.hardware.radio@1.0::RadioResponseInfo;
Sarah Chinb071f8a2019-11-07 10:43:16 -080020import @1.2::IRadioConfigResponse;
Sarah Chine1d1b0b2019-11-20 11:25:02 -080021import @1.3::PhoneCapability;
Sarah Chinb071f8a2019-11-07 10:43:16 -080022
23/**
24 * Interface declaring response functions to solicited radio config requests.
25 */
26interface IRadioConfigResponse extends @1.2::IRadioConfigResponse {
Sarah Chine1d1b0b2019-11-20 11:25:02 -080027 /**
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 Chinb071f8a2019-11-07 10:43:16 -080037};