blob: 7727ef1f9a98b7559285be854811c3bb95c77b7e [file] [log] [blame]
pkanwarde1ac792017-03-19 10:49:01 -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.1;
18
19import @1.0::IRadioResponse;
20
21/**
22 * Interface declaring response functions to solicited radio requests.
23 */
24interface IRadioResponse extends @1.0::IRadioResponse {
25 /**
26 * @param info Response info struct containing response type, serial no. and error
27 *
28 * Valid errors returned:
29 * RadioError:RIL_E_SUCCESS
30 * RadioError:RIL_E_RADIO_NOT_AVAILABLE
31 * RadioError:SIM_ABSENT
32 * RadioError:RIL_E_REQUEST_NOT_SUPPORTED
33 * RadioError:INVALID_ARGUMENTS
34 * RadioError:MODEM_INTERNAL_FAILURE
35 */
36 oneway setCarrierInfoForImsiEncryptionResponse(RadioResponseInfo info);
Grace Chen91865c22017-04-25 18:41:20 -070037
38 /**
39 * @param info Response info struct containing response type, serial no. and error
40 *
41 * Valid errors returned:
42 * RadioError:NONE
43 * RadioError:RADIO_NOT_AVAILABLE
44 * RadioError:REQUEST_NOT_SUPPORTED
45 * RadioError:INVALID_ARGUMENTS
46 */
47 oneway setSimCardPowerResponse_1_1(RadioResponseInfo info);
48
pkanwarde1ac792017-03-19 10:49:01 -070049};