10 Commits

Author SHA1 Message Date
Wei Wang
82500dd866 Add parse method to parse UUID from bytes for 16 bit, 32 bit and 128 bit
Bluetooth UUIDs. Added unit tests.

Change-Id: I4ecf0ede02561a5e9815acf8a5a1309d5756b887
2014-05-06 19:20:46 -07:00
Guang Zhu
fa9dc683f1 add getAddress function to return BT mac
Change-Id: Ib2bcd123e066672e411550856db862059949100e
2014-05-02 12:38:51 -07:00
Guang Zhu
e47ebbeec6 make success explicit in BT instrumentation util
Change-Id: I6c8eb8cdb7928fa6a7c1bc96b374667d1d6ae6a1
2014-04-28 20:12:35 -07:00
Guang Zhu
03800b8873 add bt instrumentation to run as a util
some bt test util methods are useful as device setup util, this
change exposes some of them via a BluetoothInstrumentation so
that they can be invoked like commands for setting up or
controlling bt state in test harness

Change-Id: I1d40baf374e145ab550ae4fa5f581e2eaf2e29bb
2014-04-21 19:06:17 -07:00
Eric Rowe
fca8e9d919 Fix SCO start stop tests.
Change-Id: Idf292bc244a494e2ffb11359e83c0d072907ea3b
Bug-id: http://b/5644683
2011-11-22 19:16:50 -08:00
Jaikumar Ganesh
c04c457eb7 Merge "Refactor Bluetooth Profile." 2011-06-14 21:33:03 -07:00
Jaikumar Ganesh
f8789167e9 Refactor Bluetooth Profile.
Move connect / disconnect / set and get priority
functions down the interface as they are not generic enough
for all profiles.

Change-Id: I2656e1bdbc8046c53bb0dfbd9172f5f10b57aa7d
2011-06-14 21:29:52 -07:00
Eric Rowe
7af75afb2c Fix external storage bug for BT stress tests
Change-Id: Ib6cfe80449037cfee5072145fb3a4ae0e79abf06
2011-06-14 17:26:44 -07:00
Albert Mojir
efc1d16374 Bluetooth: correcting return value from cancelDiscovery
BluetoothAdapter.cancelDiscovery was previously always
returning false.

Change-Id: Ic1fd134d4b710438d95c5b8ca009104529dd1bf5
2011-06-02 10:30:49 -07:00
Brett Chabot
b525f089cf Move bluetooth tests to their own package.
Bug 4501764

Change-Id: Id65de5d96516720e75dfbb5d522f465187e73913
2011-06-01 16:04:30 -07:00