summaryrefslogtreecommitdiffstats
path: root/core/tests/bluetoothtests
Commit message (Collapse)AuthorAgeFilesLines
* Use LOCAL_MAC_ADDRESS permission in bluetoothtests.Joshua Schwarz2015-09-011-0/+1
| | | | Change-Id: If2b0797a4bc526e1fdb058d83d4d2bc676875cee
* SAP: Make it possible to enforce a 16-digit pin code (4/5)Casper Bonde2015-06-091-0/+1
| | | | | | | | | | This change enable the posibility to enforce using a 16-digit pin or MITM for a RFCOMM or L2CAP connection. This is needed for the SIM access profile. Change-Id: I3205013f9e758c353381442a86845dab467780f8 Signed-off-by: Casper Bonde <c.bonde@samsung.com>
* Add CHANGE_NETWORK_STATE permission to bt testsEric Rowe2014-10-151-0/+1
| | | | Change-Id: Ie0a579de3b7d1163a8fe245eb377f21eeed048a3
* Revert "Revert "Service data and manufacturer data can be repeated fields.""Wei Wang2014-08-012-8/+8
| | | | This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
* Revert "Service data and manufacturer data can be repeated fields."Sungsoo Lim2014-08-012-8/+8
| | | | | | This reverts commit 26dc9b99b17ca9d8ce3632c48e8b6c1450ee53e9. Change-Id: I1846d0a6491c5b2ba5905411bd98f5d17909b705
* Service data and manufacturer data can be repeated fields.Wei Wang2014-07-312-8/+8
| | | | | | b/16635899 Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
* Make scan filter accepts prefix. Add tests.Wei Wang2014-07-281-21/+45
| | | | Change-Id: I714dd6d95ad2bc874dce1106b325762b19159119
* Split manu id and manu data.Wei Wang2014-07-271-5/+4
| | | | | | b/16407380 Change-Id: I39f6ce0ab4cccadec809f0a4f518f5d2c77a90b7
* Fix bug of ScanSettings. Add unit test.Wei Wang2014-07-251-0/+64
| | | | | | b/16318637. Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
* Fix parcel issues with empty service uuid. Added tests.Wei Wang2014-07-232-1/+144
| | | | | | b/16490816 Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010
* More API modification of BLE APIs (1/2).Wei Wang2014-07-182-7/+14
| | | | | | | | | | | | | | | 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
* am f59ce468: am b477fc6c: Merge "add command to enable bt snoop log" into ↵Guang Zhu2014-07-191-0/+10
|\ | | | | | | | | | | | | klp-modular-dev * commit 'f59ce46880ebe2c2466a2c862ec2ed401f635d51': add command to enable bt snoop log
| * add command to enable bt snoop logGuang Zhu2014-07-171-0/+10
| | | | | | | | Change-Id: I22a6482a90c2bb976a5ce44946e9f0fb8b59e6b2
* | Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)Wei Wang2014-07-112-7/+7
| | | | | | | | Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
* | Address API review comments.Wei Wang2014-05-293-59/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | am cd98ecc6: am 6071e45a: Merge "add a command to list all bonded devices" ↵Guang Zhu2014-05-201-0/+14
|\ \ | |/ | | | | | | | | | | into klp-modular-dev * commit 'cd98ecc66b968c5d5d0d12522c4c8c9b848bf181': add a command to list all bonded devices
| * add a command to list all bonded devicesGuang Zhu2014-05-191-0/+14
| | | | | | | | | | | | Bug: 14601515 Change-Id: I3cc5bb664485ef768bb81f1f8870ed9bf62f8329
* | Revert "Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost ↵Wei Wang2014-05-193-0/+312
| | | | | | | | | | | | | | | | and multiple advertising."" This reverts commit b1d9fbc0f8dea0c77ed810190b325bfdaaf21789. Change-Id: Ic8dec9385a7c763170ebeb1bcddd221c72f46e88
* | Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and ↵Wei Wang2014-05-203-312/+0
| | | | | | | | | | | | | | | | multiple advertising." This reverts commit 2c4e68a86b7a9b9f760a8907b93ff40ccad56c80. Change-Id: I98c91343d886ebe22d0bf75a710fa0b0abf738b6
* | APIs for BLE scan, scan filter, batch scan, onFound/onLost and multipleWei Wang2014-05-193-0/+312
| | | | | | | | | | | | advertising. Change-Id: I1655eb9cffa890b6fe38108bf51078662e90bc03
* | Add a method to check whether a UUID is 32bit.Wei Wang2014-05-191-0/+16
| | | | | | | | Change-Id: I92e8bab560b2083e9f4855d28b3f54f2120ef628
* | Add parse method to parse UUID from bytes for 16 bit, 32 bit and 128 bitWei Wang2014-05-061-0/+50
|/ | | | | | Bluetooth UUIDs. Added unit tests. Change-Id: I4ecf0ede02561a5e9815acf8a5a1309d5756b887
* add getAddress function to return BT macGuang Zhu2014-05-021-0/+8
| | | | Change-Id: Ib2bcd123e066672e411550856db862059949100e
* make success explicit in BT instrumentation utilGuang Zhu2014-04-281-6/+9
| | | | Change-Id: I6c8eb8cdb7928fa6a7c1bc96b374667d1d6ae6a1
* add bt instrumentation to run as a utilGuang Zhu2014-04-213-0/+111
| | | | | | | | | 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
* Fix SCO start stop tests.Eric Rowe2011-11-223-1/+14
| | | | | Change-Id: Idf292bc244a494e2ffb11359e83c0d072907ea3b Bug-id: http://b/5644683
* Merge "Refactor Bluetooth Profile."Jaikumar Ganesh2011-06-141-2/+14
|\
| * Refactor Bluetooth Profile.Jaikumar Ganesh2011-06-141-2/+14
| | | | | | | | | | | | | | | | Move connect / disconnect / set and get priority functions down the interface as they are not generic enough for all profiles. Change-Id: I2656e1bdbc8046c53bb0dfbd9172f5f10b57aa7d
* | Fix external storage bug for BT stress testsEric Rowe2011-06-143-2/+3
|/ | | | Change-Id: Ib6cfe80449037cfee5072145fb3a4ae0e79abf06
* Bluetooth: correcting return value from cancelDiscoveryAlbert Mojir2011-06-021-2/+1
| | | | | | | BluetoothAdapter.cancelDiscovery was previously always returning false. Change-Id: Ic1fd134d4b710438d95c5b8ca009104529dd1bf5
* Move bluetooth tests to their own package.Brett Chabot2011-06-016-0/+2234
Bug 4501764 Change-Id: Id65de5d96516720e75dfbb5d522f465187e73913