Loading framework/tests/util/src/BlockingBluetoothAdapter.kt +1 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ object BlockingBluetoothAdapter { if (adapter.isBleScanAlwaysAvailable()) { break } Log.d(TAG, "Ble scan not yet available… Sleeping 20 ms $i/5") Log.d(TAG, "Ble scan not yet available... Sleeping 20 ms $i/5") Thread.sleep(20) } if (!adapter.isBleScanAlwaysAvailable()) { Loading service/src/LogTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ class LogTest { @Test fun log_errorThrowable() { Log.e(TAG, "Logging error… ", RuntimeException("With a Throwable")) Log.e(TAG, "Logging error... ", RuntimeException("With a Throwable")) } @Test Loading service/src/com/android/server/bluetooth/BluetoothManagerService.java +2 −2 Original line number Diff line number Diff line Loading @@ -501,14 +501,14 @@ class BluetoothManagerService { if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action)) { String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME); if (newName != null) { Log.d(TAG, "Bluetooth Adapter name changed to " + newName); Log.d(TAG, "Local name changed to: " + newName); storeNameAndAddress(newName, null); } } else if (BluetoothAdapter.ACTION_BLUETOOTH_ADDRESS_CHANGED.equals(action)) { String newAddress = intent.getStringExtra(BluetoothAdapter.EXTRA_BLUETOOTH_ADDRESS); if (newAddress != null) { Log.d(TAG, "Local address changed to …" + logAddress(newAddress)); Log.d(TAG, "Local address changed to: " + logAddress(newAddress)); storeNameAndAddress(null, newAddress); } else { Log.e(TAG, "No Bluetooth Adapter address parameter found"); Loading Loading
framework/tests/util/src/BlockingBluetoothAdapter.kt +1 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ object BlockingBluetoothAdapter { if (adapter.isBleScanAlwaysAvailable()) { break } Log.d(TAG, "Ble scan not yet available… Sleeping 20 ms $i/5") Log.d(TAG, "Ble scan not yet available... Sleeping 20 ms $i/5") Thread.sleep(20) } if (!adapter.isBleScanAlwaysAvailable()) { Loading
service/src/LogTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ class LogTest { @Test fun log_errorThrowable() { Log.e(TAG, "Logging error… ", RuntimeException("With a Throwable")) Log.e(TAG, "Logging error... ", RuntimeException("With a Throwable")) } @Test Loading
service/src/com/android/server/bluetooth/BluetoothManagerService.java +2 −2 Original line number Diff line number Diff line Loading @@ -501,14 +501,14 @@ class BluetoothManagerService { if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action)) { String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME); if (newName != null) { Log.d(TAG, "Bluetooth Adapter name changed to " + newName); Log.d(TAG, "Local name changed to: " + newName); storeNameAndAddress(newName, null); } } else if (BluetoothAdapter.ACTION_BLUETOOTH_ADDRESS_CHANGED.equals(action)) { String newAddress = intent.getStringExtra(BluetoothAdapter.EXTRA_BLUETOOTH_ADDRESS); if (newAddress != null) { Log.d(TAG, "Local address changed to …" + logAddress(newAddress)); Log.d(TAG, "Local address changed to: " + logAddress(newAddress)); storeNameAndAddress(null, newAddress); } else { Log.e(TAG, "No Bluetooth Adapter address parameter found"); Loading