blob: 505c595a84b33ec8c45713ba4760b0e711dee819 [file] [log] [blame]
Malcolm Chen360e1f92019-10-02 11:38:13 -07001/*
2 * Copyright (C) 2019 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.5;
18
19import @1.0::RadioResponseInfo;
20import @1.4::IRadioResponse;
21
22/**
23 * Interface declaring response functions to solicited radio requests.
24 */
25interface IRadioResponse extends @1.4::IRadioResponse {
sqianf1850bf2019-11-12 18:26:30 -080026 /**
27 * @param info Response info struct containing response type, serial no. and error
28 *
29 * Valid errors returned:
30 * RadioError:NONE
31 * RadioError:INVALID_ARGUMENTS
32 * RadioError:RADIO_NOT_AVAILABLE
33 */
34 oneway setSignalStrengthReportingCriteriaResponse_1_5(RadioResponseInfo info);
Malcolm Chenfb6d6242019-11-12 19:03:12 -080035
36 /**
37 * @param info Response info struct containing response type, serial no. and error
38 *
39 * Valid errors returned:
40 * RadioError:NONE
41 * RadioError:SIM_ABSENT
42 * RadioError:RADIO_NOT_AVAILABLE
43 * RadioError:INTERNAL_ERR
44 * RadioError:BUSY
Malcolm Chenfb6d6242019-11-12 19:03:12 -080045 */
46 oneway enableUiccApplicationsResponse(RadioResponseInfo info);
47
48 /**
49 * @param info Response info struct containing response type, serial no. and error
50 * @param enabled whether Uicc applications are enabled.
51 *
52 * Valid errors returned:
53 * RadioError:NONE
54 * RadioError:SIM_ABSENT
55 * RadioError:RADIO_NOT_AVAILABLE
56 * RadioError:INTERNAL_ERR
Malcolm Chenfb6d6242019-11-12 19:03:12 -080057 */
58 oneway areUiccApplicationsEnabledResponse(RadioResponseInfo info, bool enabled);
59
60 /**
61 * @param info Response info struct containing response type, serial no. and error
Sarah Chinb7709bb2019-11-01 13:19:31 -070062 *
63 * Valid errors returned:
64 * RadioError:NONE
65 * RadioError:RADIO_NOT_AVAILABLE
66 * RadioError:INTERNAL_ERR
67 * RadioError:INVALID_ARGUMENTS
68 */
69 oneway setSystemSelectionChannelsResponse_1_5(RadioResponseInfo info);
70
71 /**
72 * @param info Response info struct containing response type, serial no. and error
73 *
74 * Valid errors returned:
75 * RadioError:NONE
76 * RadioError:RADIO_NOT_AVAILABLE
77 * RadioError:DEVICE_IN_USE
78 * RadioError:INTERNAL_ERR
79 * RadioError:MODEM_ERR
80 * RadioError:INVALID_ARGUMENTS
81 */
82 oneway startNetworkScanResponse_1_5(RadioResponseInfo info);
Malcolm Chen360e1f92019-10-02 11:38:13 -070083};