blob: c80e762611b04b61033354a56826eb0165d70723 [file] [log] [blame]
sqian8ffbfa52018-08-29 20:26:03 -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@1.3;
18
19import @1.0::RadioIndicationType;
20import @1.2::IRadioIndication;
21
22/**
23 * Interface declaring unsolicited radio indications.
24 */
25interface IRadioIndication extends @1.2::IRadioIndication {
26 /**
27 * Indicate and update all of the current Emergency Number information known to the radio,
28 * when any of the Emergency Number sources (For example, network operator signals, sim card
29 * information, modem configuration, OEM configuration or system properties, etc.) change the
30 * list of emergency numbers.
31 *
32 * 112, 911 are always available. Besides, 000, 08, 110, 999, 118 and 119 should be available
33 * when sim is not present.
34 *
35 * This should be the same information as returned by getCurrentEmergencyNumberList() in
36 * 1.3::IRadio.
37 *
38 * The indicated list of emergency numbers should not have duplicate @1.3::EmergencyNumber.
39 * Please refer the document of @1.3::EmergencyNumber to construct each emergency number to be
40 * returned.
41 *
42 * Reference: 3GPP TS 22.101 version 9.1.0 Release 9
43 *
44 * @param type Type of radio indication
45 * @param emergencyNumberList List of current Emergency Number information
46 * (@1.3::EmergencyNumber) known to radio. Radio must collect all sources of the emergency
47 * numbers to build the indication. For example, network operator signals, sim card
48 * information, modem configuration, OEM configuration (for example, OEM specific system
49 * properties), always-available emergency numbers and sim-absence emergency numbers, etc.
50 */
51 oneway currentEmergencyNumberList(RadioIndicationType type,
52 vec<EmergencyNumber> emergencyNumberList);
53};