Loading android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorNativeInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ public class CsipSetCoordinatorNativeInterface { private CsipSetCoordinatorNativeInterface() { mAdapter = BluetoothAdapter.getDefaultAdapter(); if (mAdapter == null) { Log.wtfStack(TAG, "No Bluetooth Adapter Available"); Log.wtf(TAG, "No Bluetooth Adapter Available"); } } Loading android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorService.java +2 −3 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ import com.android.bluetooth.Utils; import com.android.bluetooth.btservice.AdapterService; import com.android.bluetooth.btservice.ProfileService; import com.android.internal.annotations.VisibleForTesting; import com.android.internal.util.ArrayUtils; import java.util.ArrayList; import java.util.HashMap; Loading Loading @@ -242,7 +241,7 @@ public class CsipSetCoordinatorService extends ProfileService { return false; } ParcelUuid[] featureUuids = mAdapterService.getRemoteUuids(device); if (!ArrayUtils.contains(featureUuids, BluetoothUuid.COORDINATED_SET)) { if (!Utils.arrayContains(featureUuids, BluetoothUuid.COORDINATED_SET)) { Log.e(TAG, "Cannot connect to " + device + " : Remote does not have CSIS UUID"); return false; } Loading Loading @@ -338,7 +337,7 @@ public class CsipSetCoordinatorService extends ProfileService { synchronized (mStateMachines) { for (BluetoothDevice device : bondedDevices) { final ParcelUuid[] featureUuids = device.getUuids(); if (!ArrayUtils.contains(featureUuids, BluetoothUuid.COORDINATED_SET)) { if (!Utils.arrayContains(featureUuids, BluetoothUuid.COORDINATED_SET)) { continue; } int connectionState = BluetoothProfile.STATE_DISCONNECTED; Loading android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorStateMachine.java +4 −4 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { Log.d(TAG, "Disconnected: stack event: " + event); } if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading @@ -268,7 +268,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { CsipSetCoordinatorStackEvent event = (CsipSetCoordinatorStackEvent) message.obj; log("Connecting: stack event: " + event); if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading @@ -354,7 +354,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { CsipSetCoordinatorStackEvent event = (CsipSetCoordinatorStackEvent) message.obj; log("Disconnecting: stack event: " + event); if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading @@ -451,7 +451,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { CsipSetCoordinatorStackEvent event = (CsipSetCoordinatorStackEvent) message.obj; log("Connected: stack event: " + event); if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading
android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorNativeInterface.java +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ public class CsipSetCoordinatorNativeInterface { private CsipSetCoordinatorNativeInterface() { mAdapter = BluetoothAdapter.getDefaultAdapter(); if (mAdapter == null) { Log.wtfStack(TAG, "No Bluetooth Adapter Available"); Log.wtf(TAG, "No Bluetooth Adapter Available"); } } Loading
android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorService.java +2 −3 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ import com.android.bluetooth.Utils; import com.android.bluetooth.btservice.AdapterService; import com.android.bluetooth.btservice.ProfileService; import com.android.internal.annotations.VisibleForTesting; import com.android.internal.util.ArrayUtils; import java.util.ArrayList; import java.util.HashMap; Loading Loading @@ -242,7 +241,7 @@ public class CsipSetCoordinatorService extends ProfileService { return false; } ParcelUuid[] featureUuids = mAdapterService.getRemoteUuids(device); if (!ArrayUtils.contains(featureUuids, BluetoothUuid.COORDINATED_SET)) { if (!Utils.arrayContains(featureUuids, BluetoothUuid.COORDINATED_SET)) { Log.e(TAG, "Cannot connect to " + device + " : Remote does not have CSIS UUID"); return false; } Loading Loading @@ -338,7 +337,7 @@ public class CsipSetCoordinatorService extends ProfileService { synchronized (mStateMachines) { for (BluetoothDevice device : bondedDevices) { final ParcelUuid[] featureUuids = device.getUuids(); if (!ArrayUtils.contains(featureUuids, BluetoothUuid.COORDINATED_SET)) { if (!Utils.arrayContains(featureUuids, BluetoothUuid.COORDINATED_SET)) { continue; } int connectionState = BluetoothProfile.STATE_DISCONNECTED; Loading
android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorStateMachine.java +4 −4 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { Log.d(TAG, "Disconnected: stack event: " + event); } if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading @@ -268,7 +268,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { CsipSetCoordinatorStackEvent event = (CsipSetCoordinatorStackEvent) message.obj; log("Connecting: stack event: " + event); if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading @@ -354,7 +354,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { CsipSetCoordinatorStackEvent event = (CsipSetCoordinatorStackEvent) message.obj; log("Disconnecting: stack event: " + event); if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading Loading @@ -451,7 +451,7 @@ public class CsipSetCoordinatorStateMachine extends StateMachine { CsipSetCoordinatorStackEvent event = (CsipSetCoordinatorStackEvent) message.obj; log("Connected: stack event: " + event); if (!mDevice.equals(event.device)) { Log.wtfStack(TAG, "Device(" + mDevice + "): event mismatch: " + event); Log.wtf(TAG, "Device(" + mDevice + "): event mismatch: " + event); } switch (event.type) { case CsipSetCoordinatorStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: Loading