blob: 863754f37460020465446fd85296da82c25b67a2 [file] [log] [blame]
Daniel Bright3529f262020-11-12 16:11:29 -08001/*
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.config@1.3;
18
19import android.hardware.radio@1.6::RadioResponseInfo;
20import @1.2::IRadioConfigResponse;
21import HalDeviceCapabilities;
22
23/**
24 * Interface declaring response functions to solicited radio config requests.
25 */
26interface IRadioConfigResponse extends @1.2::IRadioConfigResponse {
27 /**
28 * @param info Response info struct containing response type, serial no. and error
29 * @param capabilities Capabilities struct containing the capabilities of the
30 * device related to the Radio HAL
31 *
32 * Valid errors returned:
33 * RadioError:NONE
34 * RadioError:RADIO_NOT_AVAILABLE
35 * RadioError:INTERNAL_ERR
36 */
37 oneway getHalDeviceCapabilitiesResponse(RadioResponseInfo info,
38 HalDeviceCapabilities capabilities);
39};