You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
* This interface is used by telephony and telecom to talk to cellular radio for the purpose of
* radio configuration, and it is not associated with any specific modem or slot.
* All the functions have minimum one parameter:
* serial: which corresponds to serial no. of request. Serial numbers must only be memorized for the
* duration of a method call. If clients provide colliding serials (including passing the same
* serial to different methods), multiple responses (one for each method call) must still be served.
*/
package android.hardware.radio.config@1.3;
import @1.1::IRadioConfig;
import IRadioConfigResponse;
interface IRadioConfig extends @1.1::IRadioConfig {
/**
* Gets the available Radio Hal capabilities on the current device.
*
* This is called once per device boot up.
*
* @param serial Serial number of request
*
* Response callback is
* IRadioConfigResponse.getHalDeviceCapabilitiesResponse()
*/
oneway getHalDeviceCapabilities(int32_t serial);
};