blob: 5bfbbaef56eb5e26840c9ae7c2656ca8be3d6cda [file] [log] [blame]
Cassie8c3011e2017-10-26 15:51:48 -07001/*
2 * Copyright (C) 2016 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@1.2;
18
19import @1.0::RadioResponseInfo;
20import @1.1::IRadioResponse;
21
22/**
23 * Interface declaring response functions to solicited radio requests.
24 */
25interface IRadioResponse extends @1.1::IRadioResponse {
26
27 /**
28 * @param info Response info struct containing response type, serial no. and error
29 * @param cellInfo List of current cell information known to radio
30 *
31 * Valid errors returned:
32 * RadioError:NONE
33 * RadioError:RADIO_NOT_AVAILABLE
34 * RadioError:NO_MEMORY
35 * RadioError:INTERNAL_ERR
36 * RadioError:SYSTEM_ERR
37 * RadioError:MODEM_ERR
38 * RadioError:NO_NETWORK_FOUND
39 * RadioError:REQUEST_NOT_SUPPORTED
40 * RadioError:NO_RESOURCES
41 * RadioError:CANCELLED
42 */
43 oneway getCellInfoListResponse_1_2(RadioResponseInfo info, vec<CellInfo> cellInfo);
44};