summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth
diff options
context:
space:
mode:
authorWilliam Clark <wclark@codeaurora.org>2015-10-13 13:17:05 -0700
committerSteve Kondik <steve@cyngn.com>2015-11-30 19:31:22 -0800
commit570d204c4765330e872806022bd25b7b89b936f8 (patch)
tree73d12c5a8a6aa6bb1f4c89660ae6d52a4a81f6da /core/java/android/bluetooth
parent114b9c670dabacd2f5e3e7b3f2ae8033221b800c (diff)
downloadframeworks_base-570d204c4765330e872806022bd25b7b89b936f8.zip
frameworks_base-570d204c4765330e872806022bd25b7b89b936f8.tar.gz
frameworks_base-570d204c4765330e872806022bd25b7b89b936f8.tar.bz2
Udpate instrumentation code
Added changes to support new features in QSSP Change-Id: I92c0a4eb3cb5363fbf08185f25644a3202c38788
Diffstat (limited to 'core/java/android/bluetooth')
-rw-r--r--core/java/android/bluetooth/BluetoothAdapter.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java
index 8fd63d7..24beba6 100644
--- a/core/java/android/bluetooth/BluetoothAdapter.java
+++ b/core/java/android/bluetooth/BluetoothAdapter.java
@@ -541,7 +541,7 @@ public final class BluetoothAdapter {
* @throws IllegalArgumentException if address is invalid
*/
public BluetoothDevice getRemoteDevice(String address) {
- android.util.SeempLog.record(79);
+ android.util.SeempLog.record(62);
return new BluetoothDevice(address);
}
@@ -557,7 +557,7 @@ public final class BluetoothAdapter {
* @throws IllegalArgumentException if address is invalid
*/
public BluetoothDevice getRemoteDevice(byte[] address) {
- android.util.SeempLog.record(79);
+ android.util.SeempLog.record(62);
if (address == null || address.length != 6) {
throw new IllegalArgumentException("Bluetooth address must have 6 bytes");
}
@@ -789,7 +789,7 @@ public final class BluetoothAdapter {
@RequiresPermission(Manifest.permission.BLUETOOTH)
@AdapterState
public int getState() {
- android.util.SeempLog.record(80);
+ android.util.SeempLog.record(63);
try {
synchronized(mManagerCallback) {
if (mService != null)
@@ -886,7 +886,7 @@ public final class BluetoothAdapter {
*/
@RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN)
public boolean enable() {
- android.util.SeempLog.record(73);
+ android.util.SeempLog.record(56);
int state = STATE_OFF;
if (isEnabled() == true){
if (DBG) Log.d(TAG, "enable(): BT is already enabled..!");
@@ -936,7 +936,7 @@ public final class BluetoothAdapter {
*/
@RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN)
public boolean disable() {
- android.util.SeempLog.record(74);
+ android.util.SeempLog.record(57);
try {
return mManagerService.disable(true);
} catch (RemoteException e) {Log.e(TAG, "", e);}
@@ -954,7 +954,7 @@ public final class BluetoothAdapter {
* @hide
*/
public boolean disable(boolean persist) {
- android.util.SeempLog.record(74);
+ android.util.SeempLog.record(57);
try {
return mManagerService.disable(persist);
@@ -1199,7 +1199,7 @@ public final class BluetoothAdapter {
*/
@RequiresPermission(Manifest.permission.BLUETOOTH_ADMIN)
public boolean startDiscovery() {
- android.util.SeempLog.record(75);
+ android.util.SeempLog.record(58);
if (getState() != STATE_ON) return false;
try {
synchronized(mManagerCallback) {
@@ -1418,7 +1418,7 @@ public final class BluetoothAdapter {
*/
@RequiresPermission(Manifest.permission.BLUETOOTH)
public Set<BluetoothDevice> getBondedDevices() {
- android.util.SeempLog.record(78);
+ android.util.SeempLog.record(61);
if (getState() != STATE_ON) {
return toDeviceSet(new BluetoothDevice[0]);
}
@@ -1471,7 +1471,7 @@ public final class BluetoothAdapter {
*/
@RequiresPermission(Manifest.permission.BLUETOOTH)
public int getProfileConnectionState(int profile) {
- android.util.SeempLog.record(81);
+ android.util.SeempLog.record(64);
if (getState() != STATE_ON) return BluetoothProfile.STATE_DISCONNECTED;
try {
synchronized(mManagerCallback) {
@@ -1594,7 +1594,7 @@ public final class BluetoothAdapter {
@RequiresPermission(Manifest.permission.BLUETOOTH)
public BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord(String name, UUID uuid)
throws IOException {
- android.util.SeempLog.record(76);
+ android.util.SeempLog.record(59);
return createNewRfcommSocketAndRecord(name, uuid, false, false);
}