blob: e87bb5b30730fc108342543e0bbcfbb1446253a1 [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::RadioIndicationType;
20import @1.1::IRadioIndication;
21
22/**
23 * Interface declaring unsolicited radio indications.
24 */
25interface IRadioIndication extends @1.1::IRadioIndication {
26
27 /**
28 * Incremental network scan results
29 */
30 oneway networkScanResult_1_2(RadioIndicationType type, NetworkScanResult result);
Sandeep Gutta4a4d8cc2017-12-12 17:38:15 +053031
32 /**
33 * Indicates SIM slot status change.
34 *
35 * @param type Type of radio indication
36 * @param slotStatus new slot status info with size equals to the number of physical slots on
37 * the device
38 */
39 oneway simSlotsStatusChanged(RadioIndicationType type, vec<SimSlotStatus> slotStatus);
Cassie3fb76172018-01-05 10:11:39 -080040
41 /**
42 * Request all of the current cell information known to the radio.
43 * Same information as returned by getCellInfoList() in 1.0::IRadio.
44 *
45 * @param type Type of radio indication
46 * @param records Current cell information known to radio
47 */
48 oneway cellInfoList_1_2(RadioIndicationType type, vec<CellInfo> records);
Sandeep Gutta4a4d8cc2017-12-12 17:38:15 +053049};