Eric Rowe
500f7583ed
Add CHANGE_NETWORK_STATE permission to bt tests
...
Change-Id: Ie0a579de3b7d1163a8fe245eb377f21eeed048a3
2014-10-15 14:06:30 -07:00
Wei Wang
6bf513d32d
Revert "Revert "Service data and manufacturer data can be repeated fields.""
...
This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
2014-08-01 11:12:37 -07:00
Sungsoo Lim
67c01a4b6d
Revert "Service data and manufacturer data can be repeated fields."
...
This reverts commit 26dc9b99b17ca9d8ce3632c48e8b6c1450ee53e9.
Change-Id: I1846d0a6491c5b2ba5905411bd98f5d17909b705
2014-08-01 01:24:14 +00:00
Wei Wang
3f7a39063a
Service data and manufacturer data can be repeated fields.
...
b/16635899
Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
2014-07-31 15:43:05 -07:00
Wei Wang
0462468aaf
Make scan filter accepts prefix. Add tests.
...
Change-Id: I714dd6d95ad2bc874dce1106b325762b19159119
2014-07-28 21:46:44 -07:00
Wei Wang
ab2ed62f15
Split manu id and manu data.
...
b/16407380
Change-Id: I39f6ce0ab4cccadec809f0a4f518f5d2c77a90b7
2014-07-27 23:12:26 -07:00
Wei Wang
ec64dbfbc0
Fix bug of ScanSettings. Add unit test.
...
b/16318637.
Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
2014-07-25 10:56:08 -07:00
Wei Wang
03259472b1
Fix parcel issues with empty service uuid. Added tests.
...
b/16490816
Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010
2014-07-23 10:23:10 -07:00
Wei Wang
685c175890
More API modification of BLE APIs (1/2).
...
Changed include:
1) Add serviceDataUuid to filter so it matches sanRecord and
AdvertiseData.
2) Add raw bytes to ScanRecord and make ScanResult take a ScanRecord
instead of raw bytes.
3) Change from setServiceUuid(List) to addServiceUuid(ParcelUuid).
4) Added include device name
5) Removed service not registered and added ADVERTISE_DATA_TOO_LARGE.
6) Fixed a few comments.
Change-Id: Ibbe07183b1293835c4a84728d1cd2d61e5d627d3
2014-07-18 18:31:00 -07:00
Guang Zhu
7d41c138d2
am f59ce468: am b477fc6c: Merge "add command to enable bt snoop log" into klp-modular-dev
...
* commit 'f59ce46880ebe2c2466a2c862ec2ed401f635d51':
add command to enable bt snoop log
2014-07-19 00:33:58 +00:00
Guang Zhu
946f207d3d
add command to enable bt snoop log
...
Change-Id: I22a6482a90c2bb976a5ce44946e9f0fb8b59e6b2
2014-07-17 20:24:56 -07:00
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