OSDN Git Service

Add acceptPair method to BT stress.
authorEric Rowe <erowe@google.com>
Thu, 4 Nov 2010 01:19:46 +0000 (18:19 -0700)
committerEric Rowe <erowe@google.com>
Mon, 15 Nov 2010 20:18:23 +0000 (12:18 -0800)
commit23c067692be74c4fcd50cea48f9d469ba5288213
tree6118f9650aa51e87936755ab8ca75ba1aeba9177
parentdf3191cb88c84aab433f4b67a3495cca86ce1844
Add acceptPair method to BT stress.

Add a method to the test utils which waits to accept a bonding request from
another device.  This is identical to the pairing method except that it
waits for a remote pair request instead of initiating the pairing
request itself.  Also, add a test method to the test utils.

Change-Id: I97e215d3412d4b61757d6dc011b90cc5f2c8f084
core/tests/coretests/src/android/bluetooth/BluetoothStressTest.java
core/tests/coretests/src/android/bluetooth/BluetoothTestUtils.java