Wei Wang
af74e66e29
Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)
...
Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
2014-07-11 11:06:10 -07:00
Wei Wang
6d81118032
Address API review comments.
...
1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes
except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings.
2. Make all callbacks abstract classes instead of interfaces.
3. Moved AdvertisementData and ScanRecord out and removed
AdvertiseBaseData
4. Removed newBuild and use new Builder for all builders.
5. Using setxxx in builders.
6. Misc other changes.
Fixes b/15140940
Change-Id: I32ae3d24a9491baf96048040b5ac78f6f731e468
NO_SQ: multi-project submit
2014-05-29 17:21:54 -07:00
Guang Zhu
47c6514eaa
am cd98ecc6: am 6071e45a: Merge "add a command to list all bonded devices" into klp-modular-dev
...
* commit 'cd98ecc66b968c5d5d0d12522c4c8c9b848bf181':
add a command to list all bonded devices
2014-05-20 09:58:35 +00:00
Wei Wang
adf6aff5b0
Revert "Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising.""
...
This reverts commit b1d9fbc0f8dea0c77ed810190b325bfdaaf21789.
Change-Id: Ic8dec9385a7c763170ebeb1bcddd221c72f46e88
2014-05-19 23:52:45 -07:00
Wei Wang
319b40c9cf
Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising."
...
This reverts commit 2c4e68a86b7a9b9f760a8907b93ff40ccad56c80.
Change-Id: I98c91343d886ebe22d0bf75a710fa0b0abf738b6
2014-05-20 04:52:35 +00:00
Guang Zhu
d22b2413b9
add a command to list all bonded devices
...
Bug: 14601515
Change-Id: I3cc5bb664485ef768bb81f1f8870ed9bf62f8329
2014-05-19 21:36:10 -07:00
Wei Wang
62d5bc745a
APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple
...
advertising.
Change-Id: I1655eb9cffa890b6fe38108bf51078662e90bc03
2014-05-19 19:40:49 -07:00
Wei Wang
51800847d9
Add a method to check whether a UUID is 32bit.
...
Change-Id: I92e8bab560b2083e9f4855d28b3f54f2120ef628
2014-05-19 19:37:05 -07:00
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