1/* 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 * 17 * This interface is used by telephony and telecom to talk to cellular radio for the purpose of 18 * radio configuration, and it is not associated with any specific modem or slot. 19 * All the functions have minimum one parameter: 20 * serial: which corresponds to serial no. of request. Serial numbers must only be memorized for the 21 * duration of a method call. If clients provide colliding serials (including passing the same 22 * serial to different methods), multiple responses (one for each method call) must still be served. 23 */ 24 25package android.hardware.radio.config@1.3; 26 27import @1.1::IRadioConfig; 28import IRadioConfigResponse; 29 30interface IRadioConfig extends @1.1::IRadioConfig { 31 /** 32 * Gets the available Radio Hal capabilities on the current device. 33 * 34 * This is called once per device boot up. 35 * 36 * @param serial Serial number of request 37 * 38 * Response callback is 39 * IRadioConfigResponse.getHalDeviceCapabilitiesResponse() 40 */ 41 oneway getHalDeviceCapabilities(int32_t serial); 42}; 43