Loading android/app/src/com/android/bluetooth/BluetoothObexTransport.java +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ public class BluetoothObexTransport implements ObexTransport { return null; } String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(mSocket.getRemoteDevice()) : mSocket.getRemoteDevice().getIdentityAddress(); return mSocket.getConnectionType() == BluetoothSocket.TYPE_RFCOMM Loading android/app/src/com/android/bluetooth/a2dp/A2dpNativeInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ public class A2dpNativeInterface { if (device == null) { return Utils.getBytesFromAddress("00:00:00:00:00:00"); } if (Flags.identityAddressNullIfUnknown()) { if (Flags.identityAddressNullIfNotKnown()) { return Utils.getByteBrEdrAddress(device); } else { return mAdapterService.getByteIdentityAddress(device); Loading android/app/src/com/android/bluetooth/a2dpsink/A2dpSinkNativeInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ public class A2dpSinkNativeInterface { } private byte[] getByteAddress(BluetoothDevice device) { if (Flags.identityAddressNullIfUnknown()) { if (Flags.identityAddressNullIfNotKnown()) { return Utils.getByteBrEdrAddress(device); } else { return mAdapterService.getByteIdentityAddress(device); Loading android/app/src/com/android/bluetooth/avrcp/AvrcpNativeInterface.java +3 −3 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ public class AvrcpNativeInterface { void setBipClientStatus(BluetoothDevice device, boolean connected) { String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mAdapterService.getIdentityAddress(device.getAddress()); setBipClientStatusNative(identityAddress, connected); Loading Loading @@ -236,7 +236,7 @@ public class AvrcpNativeInterface { boolean disconnectDevice(BluetoothDevice device) { String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mAdapterService.getIdentityAddress(device.getAddress()); d("disconnectDevice: identityAddress=" + identityAddress); Loading Loading @@ -277,7 +277,7 @@ public class AvrcpNativeInterface { void sendVolumeChanged(BluetoothDevice device, int volume) { d("sendVolumeChanged: volume=" + volume); String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mAdapterService.getIdentityAddress(device.getAddress()); sendVolumeChangedNative(identityAddress, volume); Loading android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +3 −3 Original line number Diff line number Diff line Loading @@ -617,7 +617,7 @@ class AdapterProperties { void cleanupPrevBondRecordsFor(BluetoothDevice device) { String address = device.getAddress(); String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device, mService) : mService.getIdentityAddress(address); int deviceType = mRemoteDevices.getDeviceProperties(device).getDeviceType(); Loading @@ -633,7 +633,7 @@ class AdapterProperties { for (BluetoothDevice existingDevice : mBondedDevices) { String existingAddress = existingDevice.getAddress(); String existingIdentityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(existingDevice, mService) : mService.getIdentityAddress(existingAddress); int existingDeviceType = Loading Loading @@ -1185,7 +1185,7 @@ class AdapterProperties { for (BluetoothDevice device : mBondedDevices) { String address = device.getAddress(); String brEdrAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mService.getIdentityAddress(address); if (brEdrAddress.equals(address)) { Loading Loading
android/app/src/com/android/bluetooth/BluetoothObexTransport.java +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ public class BluetoothObexTransport implements ObexTransport { return null; } String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(mSocket.getRemoteDevice()) : mSocket.getRemoteDevice().getIdentityAddress(); return mSocket.getConnectionType() == BluetoothSocket.TYPE_RFCOMM Loading
android/app/src/com/android/bluetooth/a2dp/A2dpNativeInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ public class A2dpNativeInterface { if (device == null) { return Utils.getBytesFromAddress("00:00:00:00:00:00"); } if (Flags.identityAddressNullIfUnknown()) { if (Flags.identityAddressNullIfNotKnown()) { return Utils.getByteBrEdrAddress(device); } else { return mAdapterService.getByteIdentityAddress(device); Loading
android/app/src/com/android/bluetooth/a2dpsink/A2dpSinkNativeInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ public class A2dpSinkNativeInterface { } private byte[] getByteAddress(BluetoothDevice device) { if (Flags.identityAddressNullIfUnknown()) { if (Flags.identityAddressNullIfNotKnown()) { return Utils.getByteBrEdrAddress(device); } else { return mAdapterService.getByteIdentityAddress(device); Loading
android/app/src/com/android/bluetooth/avrcp/AvrcpNativeInterface.java +3 −3 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ public class AvrcpNativeInterface { void setBipClientStatus(BluetoothDevice device, boolean connected) { String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mAdapterService.getIdentityAddress(device.getAddress()); setBipClientStatusNative(identityAddress, connected); Loading Loading @@ -236,7 +236,7 @@ public class AvrcpNativeInterface { boolean disconnectDevice(BluetoothDevice device) { String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mAdapterService.getIdentityAddress(device.getAddress()); d("disconnectDevice: identityAddress=" + identityAddress); Loading Loading @@ -277,7 +277,7 @@ public class AvrcpNativeInterface { void sendVolumeChanged(BluetoothDevice device, int volume) { d("sendVolumeChanged: volume=" + volume); String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mAdapterService.getIdentityAddress(device.getAddress()); sendVolumeChangedNative(identityAddress, volume); Loading
android/app/src/com/android/bluetooth/btservice/AdapterProperties.java +3 −3 Original line number Diff line number Diff line Loading @@ -617,7 +617,7 @@ class AdapterProperties { void cleanupPrevBondRecordsFor(BluetoothDevice device) { String address = device.getAddress(); String identityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device, mService) : mService.getIdentityAddress(address); int deviceType = mRemoteDevices.getDeviceProperties(device).getDeviceType(); Loading @@ -633,7 +633,7 @@ class AdapterProperties { for (BluetoothDevice existingDevice : mBondedDevices) { String existingAddress = existingDevice.getAddress(); String existingIdentityAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(existingDevice, mService) : mService.getIdentityAddress(existingAddress); int existingDeviceType = Loading Loading @@ -1185,7 +1185,7 @@ class AdapterProperties { for (BluetoothDevice device : mBondedDevices) { String address = device.getAddress(); String brEdrAddress = Flags.identityAddressNullIfUnknown() Flags.identityAddressNullIfNotKnown() ? Utils.getBrEdrAddress(device) : mService.getIdentityAddress(address); if (brEdrAddress.equals(address)) { Loading