1/* 2 * Copyright 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/** 18 * This is pixel only extension for Bluetooth HAL. 19 */ 20package hardware.google.bluetooth.sar@1.1; 21import hardware.google.bluetooth.sar@1.0; 22 23interface IBluetoothSar extends @1.0::IBluetoothSar { 24 /** 25 * API to set Bluetooth Tx power cap of each mode 26 * 27 * This API must be invoke whenever maximum Bluetooth Tx power of each mode, include chain 0, 28 * chain 1 and beamforming mode, need to be changed for optimising performance purpose in SAR 29 * scenarios. 30 * 31 * @param chain0Cap Bluetooth Tx cap of chain 0 mode. Range is between 0 and 80 units, each unit 32 * is 0.25 dBm. 33 * @param chain1Cap Bluetooth Tx cap of chain 1 mode. Range is between 0 and 80 units, each unit 34 * is 0.25 dBm. 35 * @param beamformingCap Bluetooth Tx cap of beamforming mode. Range is between 0 and 80 units, 36 * each unit is 0.25 dBm. 37 */ 38 oneway setBluetoothModeBasedTxPowerCap(int8_t[3] chain0Cap,int8_t[3] chain1Cap, 39 int8_t[6] beamformingCap); 40};