Loading core/tests/bluetoothtests/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> Loading core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestRunner.java +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ import android.util.Log; * [-e pan_address <address>] \ * [-e pair_pin <pin>] \ * [-e pair_passkey <passkey>] \ * -w com.android.frameworks.coretests/android.bluetooth.BluetoothTestRunner * -w com.android.bluetooth.tests/android.bluetooth.BluetoothTestRunner * } * </pre> */ Loading core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -290,7 +290,7 @@ public class BluetoothTestUtils extends Assert { @Override public void onReceive(Context context, Intent intent) { if (AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED.equals(intent.getAction())) { if (AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED.equals(intent.getAction())) { int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, AudioManager.SCO_AUDIO_STATE_ERROR); assertNotSame(AudioManager.SCO_AUDIO_STATE_ERROR, state); Loading Loading
core/tests/bluetoothtests/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> Loading
core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestRunner.java +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ import android.util.Log; * [-e pan_address <address>] \ * [-e pair_pin <pin>] \ * [-e pair_passkey <passkey>] \ * -w com.android.frameworks.coretests/android.bluetooth.BluetoothTestRunner * -w com.android.bluetooth.tests/android.bluetooth.BluetoothTestRunner * } * </pre> */ Loading
core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -290,7 +290,7 @@ public class BluetoothTestUtils extends Assert { @Override public void onReceive(Context context, Intent intent) { if (AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED.equals(intent.getAction())) { if (AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED.equals(intent.getAction())) { int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, AudioManager.SCO_AUDIO_STATE_ERROR); assertNotSame(AudioManager.SCO_AUDIO_STATE_ERROR, state); Loading