blob: 6f543abfa505032fee1b1b01f788cb460a7d041f [file] [log] [blame]
Jordan Liu57cb7b82018-10-18 10:23:15 -07001/*
2 * Copyright (C) 2018 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.1;
18
19import android.hardware.radio@1.0::RadioResponseInfo;
20import @1.0::IRadioConfigResponse;
21import @1.1::SimSlotStatus;
22
23/**
24 * Interface declaring response functions to solicited radio config requests.
25 */
26interface IRadioConfigResponse extends @1.0::IRadioConfigResponse {
27
28 /**
29 * @param info Response info struct containing response type, serial no. and error
30 * @param slotStatus Sim slot struct containing all the physical SIM slots info with size
31 * equal to the number of physical slots on the device
32 *
33 * Valid errors returned:
34 * RadioError:NONE
35 * RadioError:RADIO_NOT_AVAILABLE
36 * RadioError:NO_MEMORY
37 * RadioError:INTERNAL_ERR
38 * RadioError:MODEM_ERR
39 */
40 oneway getSimSlotsStatusResponse_1_1(RadioResponseInfo info, vec<SimSlotStatus> slotStatus);
41};