blob: d9aaa3838fa86175beec4f83c61865d10c1c8bc9 [file] [log] [blame]
Jayachandran C262b6062020-07-22 15:53:58 -07001/*
2 * Copyright (C) 2020 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.6;
18
Jayachandran C9bc276b2020-07-24 00:46:58 -070019import @1.0::RadioIndicationType;
Jayachandran C262b6062020-07-22 15:53:58 -070020import @1.5::IRadioIndication;
21
22/**
23 * Interface declaring unsolicited radio indications.
24 */
25interface IRadioIndication extends @1.5::IRadioIndication {
Jayachandran C9bc276b2020-07-24 00:46:58 -070026
27 /**
28 * Indicates data call contexts have changed.
29 *
30 * This indication is updated from IRadioIndication@1.5 to report the @1.6 version of
31 * SetupDataCallResult.
32 *
33 * @param type Type of radio indication
34 * @param dcList Array of SetupDataCallResult identical to that returned by
35 * IRadio.getDataCallList(). It is the complete list of current data contexts including
36 * new contexts that have been activated. A data call is only removed from this list
37 * when any of the below conditions is matched.
38 * 1. The framework sends a IRadio.deactivateDataCall().
39 * 2. The radio is powered off/on.
40 * 3. Unsolicited disconnect from either modem or network side.
41 */
42 oneway dataCallListChanged_1_6(RadioIndicationType type, vec<SetupDataCallResult> dcList);
Jayachandran C262b6062020-07-22 15:53:58 -070043};