Loading framework/java/android/bluetooth/BluetoothGatt.java +12 −8 Original line number Diff line number Diff line Loading @@ -370,7 +370,8 @@ public final class BluetoothGatt implements BluetoothProfile { + (" status=" + status) + (" clientIf=" + clientIf) + (" connected=" + connected) + (" device=" + address)); + (" device=" + BluetoothUtils.toAnonymizedAddress(address))); } if (!address.equals(mDevice.getAddress())) { return; Loading Loading @@ -479,7 +480,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onCharacteristicRead() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" handle=" + handle) + (" Status=" + status)); } Loading Loading @@ -546,7 +547,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onCharacteristicWrite() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" handle=" + handle) + (" Status=" + status)); } Loading Loading @@ -819,7 +820,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onReadRemoteRssi() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" rssi=" + rssi) + (" status=" + status)); } Loading Loading @@ -849,7 +850,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onConfigureMTU() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" mtu=" + mtu) + (" status=" + status)); } Loading Loading @@ -881,7 +882,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onConnectionUpdated() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" interval=" + interval) + (" latency=" + latency) + (" timeout=" + timeout) Loading Loading @@ -916,7 +917,10 @@ public final class BluetoothGatt implements BluetoothProfile { @Override public void onServiceChanged(String address) { if (DBG) { Log.d(TAG, "onServiceChanged() - Device=" + address); Log.d( TAG, "onServiceChanged() - Device=" + BluetoothUtils.toAnonymizedAddress(address)); } if (!address.equals(mDevice.getAddress())) { Loading Loading @@ -951,7 +955,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onSubrateChange() - " + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" subrateFactor=" + subrateFactor) + (" latency=" + latency) + (" contNum=" + contNum) Loading framework/java/android/bluetooth/BluetoothGattServer.java +6 −6 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ public final class BluetoothGattServer implements BluetoothProfile { + " connected=" + connected + " device=" + address); + BluetoothUtils.toAnonymizedAddress(address)); } try { mCallback.onConnectionStateChange( Loading Loading @@ -305,7 +305,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onExecuteWrite() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", transId=" + transId + "execWrite=" Loading Loading @@ -334,7 +334,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onNotificationSent() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", status=" + status); } Loading Loading @@ -388,7 +388,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onPhyUpdate() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", txPHy=" + txPhy + ", rxPHy=" Loading Loading @@ -417,7 +417,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onPhyUpdate() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", txPHy=" + txPhy + ", rxPHy=" Loading Loading @@ -446,7 +446,7 @@ public final class BluetoothGattServer implements BluetoothProfile { Log.d( TAG, "onConnectionUpdated() - Device=" + address + BluetoothUtils.toAnonymizedAddress(address) + " interval=" + interval + " latency=" Loading Loading
framework/java/android/bluetooth/BluetoothGatt.java +12 −8 Original line number Diff line number Diff line Loading @@ -370,7 +370,8 @@ public final class BluetoothGatt implements BluetoothProfile { + (" status=" + status) + (" clientIf=" + clientIf) + (" connected=" + connected) + (" device=" + address)); + (" device=" + BluetoothUtils.toAnonymizedAddress(address))); } if (!address.equals(mDevice.getAddress())) { return; Loading Loading @@ -479,7 +480,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onCharacteristicRead() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" handle=" + handle) + (" Status=" + status)); } Loading Loading @@ -546,7 +547,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onCharacteristicWrite() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" handle=" + handle) + (" Status=" + status)); } Loading Loading @@ -819,7 +820,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onReadRemoteRssi() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" rssi=" + rssi) + (" status=" + status)); } Loading Loading @@ -849,7 +850,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onConfigureMTU() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" mtu=" + mtu) + (" status=" + status)); } Loading Loading @@ -881,7 +882,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onConnectionUpdated() -" + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" interval=" + interval) + (" latency=" + latency) + (" timeout=" + timeout) Loading Loading @@ -916,7 +917,10 @@ public final class BluetoothGatt implements BluetoothProfile { @Override public void onServiceChanged(String address) { if (DBG) { Log.d(TAG, "onServiceChanged() - Device=" + address); Log.d( TAG, "onServiceChanged() - Device=" + BluetoothUtils.toAnonymizedAddress(address)); } if (!address.equals(mDevice.getAddress())) { Loading Loading @@ -951,7 +955,7 @@ public final class BluetoothGatt implements BluetoothProfile { Log.d( TAG, "onSubrateChange() - " + (" Device=" + address) + (" Device=" + BluetoothUtils.toAnonymizedAddress(address)) + (" subrateFactor=" + subrateFactor) + (" latency=" + latency) + (" contNum=" + contNum) Loading
framework/java/android/bluetooth/BluetoothGattServer.java +6 −6 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ public final class BluetoothGattServer implements BluetoothProfile { + " connected=" + connected + " device=" + address); + BluetoothUtils.toAnonymizedAddress(address)); } try { mCallback.onConnectionStateChange( Loading Loading @@ -305,7 +305,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onExecuteWrite() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", transId=" + transId + "execWrite=" Loading Loading @@ -334,7 +334,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onNotificationSent() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", status=" + status); } Loading Loading @@ -388,7 +388,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onPhyUpdate() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", txPHy=" + txPhy + ", rxPHy=" Loading Loading @@ -417,7 +417,7 @@ public final class BluetoothGattServer implements BluetoothProfile { TAG, "onPhyUpdate() - " + "device=" + address + BluetoothUtils.toAnonymizedAddress(address) + ", txPHy=" + txPhy + ", rxPHy=" Loading Loading @@ -446,7 +446,7 @@ public final class BluetoothGattServer implements BluetoothProfile { Log.d( TAG, "onConnectionUpdated() - Device=" + address + BluetoothUtils.toAnonymizedAddress(address) + " interval=" + interval + " latency=" Loading