blob: b0aece952ddc585ce3b0e8d4e812f259cd2016e7 [file] [log] [blame]
pkanwar8b675882017-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);
37};