From ca61556a761ea6f9581782768222336e518f0d16 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowski Date: Wed, 9 Aug 2017 00:44:01 -0700 Subject: [PATCH] resolve merge conflicts of 0a5d9ebb0b15976b47eaff77bb66a257b8b114bb to stage-aosp-master Test: this fixes merge conflict that I skipped Change-Id: Ie829182b01d01e5ae648165f30cfad7647a97db6 Merged-In: Ie829182b01d01e5ae648165f30cfad7647a97db5 --- binder/android/bluetooth/IBluetoothA2dp.aidl | 3 +++ binder/android/bluetooth/IBluetoothGatt.aidl | 4 ++++ binder/android/bluetooth/IBluetoothHeadset.aidl | 2 +- binder/android/bluetooth/IBluetoothManager.aidl | 1 + binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl | 2 +- 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/binder/android/bluetooth/IBluetoothA2dp.aidl b/binder/android/bluetooth/IBluetoothA2dp.aidl index a775a1f90..1b533cba3 100644 --- a/binder/android/bluetooth/IBluetoothA2dp.aidl +++ b/binder/android/bluetooth/IBluetoothA2dp.aidl @@ -42,4 +42,7 @@ interface IBluetoothA2dp { oneway void setCodecConfigPreference(in BluetoothCodecConfig codecConfig); oneway void enableOptionalCodecs(); oneway void disableOptionalCodecs(); + int supportsOptionalCodecs(in BluetoothDevice device); + int getOptionalCodecsEnabled(in BluetoothDevice device); + oneway void setOptionalCodecsEnabled(in BluetoothDevice device, int value); } diff --git a/binder/android/bluetooth/IBluetoothGatt.aidl b/binder/android/bluetooth/IBluetoothGatt.aidl index 05cef600c..e87f07007 100644 --- a/binder/android/bluetooth/IBluetoothGatt.aidl +++ b/binder/android/bluetooth/IBluetoothGatt.aidl @@ -16,6 +16,7 @@ package android.bluetooth; +import android.app.PendingIntent; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGattService; import android.bluetooth.le.AdvertiseSettings; @@ -46,6 +47,9 @@ interface IBluetoothGatt { void unregisterScanner(in int scannerId); void startScan(in int scannerId, in ScanSettings settings, in List filters, in List scanStorages, in String callingPackage); + void startScanForIntent(in PendingIntent intent, in ScanSettings settings, in List filters, + in String callingPackage); + void stopScanForIntent(in PendingIntent intent, in String callingPackage); void stopScan(in int scannerId); void flushPendingBatchResults(in int scannerId); diff --git a/binder/android/bluetooth/IBluetoothHeadset.aidl b/binder/android/bluetooth/IBluetoothHeadset.aidl index 6bd0d7fb4..92ab8da75 100755 --- a/binder/android/bluetooth/IBluetoothHeadset.aidl +++ b/binder/android/bluetooth/IBluetoothHeadset.aidl @@ -55,7 +55,7 @@ interface IBluetoothHeadset { void setForceScoAudio(boolean forced); boolean startScoUsingVirtualVoiceCall(in BluetoothDevice device); boolean stopScoUsingVirtualVoiceCall(in BluetoothDevice device); - void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type); + oneway void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type); void clccResponse(int index, int direction, int status, int mode, boolean mpty, String number, int type); boolean enableWBS(); diff --git a/binder/android/bluetooth/IBluetoothManager.aidl b/binder/android/bluetooth/IBluetoothManager.aidl index 5afd77418..2d5fc98e5 100644 --- a/binder/android/bluetooth/IBluetoothManager.aidl +++ b/binder/android/bluetooth/IBluetoothManager.aidl @@ -50,3 +50,4 @@ interface IBluetoothManager int updateBleAppCount(IBinder b, boolean enable, String packageName); boolean isBleAppPresent(); } + diff --git a/binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl b/binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl index 96c59e239..541583ff5 100755 --- a/binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl +++ b/binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl @@ -24,7 +24,7 @@ import android.os.IBinder; * * {@hide} */ -interface IBluetoothProfileServiceConnection { +oneway interface IBluetoothProfileServiceConnection { void onServiceConnected(in ComponentName comp, in IBinder service); void onServiceDisconnected(in ComponentName comp); } -- 2.11.0