OSDN Git Service

resolve merge conflicts of 0a5d9ebb0b15976b47eaff77bb66a257b8b114bb to stage-aosp...
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 9 Aug 2017 07:44:01 +0000 (00:44 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 9 Aug 2017 08:56:34 +0000 (08:56 +0000)
Test: this fixes merge conflict that I skipped
Change-Id: Ie829182b01d01e5ae648165f30cfad7647a97db6
Merged-In: Ie829182b01d01e5ae648165f30cfad7647a97db5

binder/android/bluetooth/IBluetoothA2dp.aidl
binder/android/bluetooth/IBluetoothGatt.aidl
binder/android/bluetooth/IBluetoothHeadset.aidl
binder/android/bluetooth/IBluetoothManager.aidl
binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl

index a775a1f..1b533cb 100644 (file)
@@ -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);
 }
index 05cef60..e87f070 100644 (file)
@@ -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<ScanFilter> filters,
                    in List scanStorages, in String callingPackage);
+    void startScanForIntent(in PendingIntent intent, in ScanSettings settings, in List<ScanFilter> filters,
+                            in String callingPackage);
+    void stopScanForIntent(in PendingIntent intent, in String callingPackage);
     void stopScan(in int scannerId);
     void flushPendingBatchResults(in int scannerId);
 
index 6bd0d7f..92ab8da 100755 (executable)
@@ -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();
index 5afd774..2d5fc98 100644 (file)
@@ -50,3 +50,4 @@ interface IBluetoothManager
     int updateBleAppCount(IBinder b, boolean enable, String packageName);
     boolean isBleAppPresent();
 }
+
index 96c59e2..541583f 100755 (executable)
@@ -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);
 }