| /* |
| * Copyright (C) 2019 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. |
| */ |
| |
| package android.hardware.radio.config@1.3; |
| |
| import @1.1::IRadioConfig; |
| |
| /** |
| * 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. |
| */ |
| interface IRadioConfig extends @1.1::IRadioConfig { |
| /** |
| * Request current phone capability. |
| * |
| * @param serial Serial number of request. |
| * |
| * Response callback is IRadioResponse.getPhoneCapabilityResponse_1_3() which |
| * will return <@1.3::PhoneCapability>. |
| */ |
| oneway getPhoneCapability_1_3(int32_t serial); |
| }; |