• Home
  • History
  • Annotate
  • only in /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
History log of /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d71437598026627af85c576dd53a4247455b34a 18-Apr-2017 Ajay Panicker <apanicke@google.com> Limit btsnoop file size (3/9)

Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Change-Id: I40d5da4c1b1c9b45908e5790d130f1c5e804c773
luetoothInstrumentation.java
571a4a97cde06766921335d352fdff2a7b335a58 08-Jun-2016 Yuchao Zhou <superzhou@google.com> Update enable/disable code to reduce flakiness

Change-Id: I9d3f69ca583b365bb5f89cfe16adcd6e604614c6
luetoothTestUtils.java
957abc831866470c5344750d70d2462e8676c4a7 08-Jun-2016 Sharvil Nanavati <sharvil@google.com> Fix build break by adding missing parenthesis.

Change-Id: Ia9a47e24b25e3093f19aeea297a86964c8f00722
luetoothTestUtils.java
f6aebbe4bd8a1999383b3eb485bf5d21ec5867d8 07-Jun-2016 Sharvil Nanavati <sharvil@google.com> Fix flaky discoverable stress test.

Bug: 28980767
Change-Id: I6858456f58118a3385b05d42361a5c9223ebbdc4
luetoothTestUtils.java
6570340f713d0c716ce4860f6f43d1efa230242a 25-May-2016 Sharvil Nanavati <sharvil@google.com> Clean up Bluetooth test code.

Change-Id: I502b03df842c628c7b504e2a32a17bce6d25b4f8
luetoothStressTest.java
luetoothTestUtils.java
3b3d1fea94318a4892fbd4353269749af417a81a 08-May-2015 Casper Bonde <c.bonde@samsung.com> SAP: Make it possible to enforce a 16-digit pin code (4/5)

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>
luetoothTestUtils.java
6bf513d32db7fbc157681bd642e12a201cf20a89 01-Aug-2014 Wei Wang <weiwa@google.com> Revert "Revert "Service data and manufacturer data can be repeated fields.""

This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
e/AdvertiseDataTest.java
e/ScanRecordTest.java
67c01a4b6d890212fb4647973a627e25a3a9788b 01-Aug-2014 Sungsoo Lim <sungsoo@google.com> Revert "Service data and manufacturer data can be repeated fields."

This reverts commit 26dc9b99b17ca9d8ce3632c48e8b6c1450ee53e9.

Change-Id: I1846d0a6491c5b2ba5905411bd98f5d17909b705
e/AdvertiseDataTest.java
e/ScanRecordTest.java
3f7a39063ab7b3d7a38b773449ba2b37674e3458 29-Jul-2014 Wei Wang <weiwa@google.com> Service data and manufacturer data can be repeated fields.

b/16635899

Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
e/AdvertiseDataTest.java
e/ScanRecordTest.java
0462468aaff1089f08d0859e4920f90e4378b66b 29-Jul-2014 Wei Wang <weiwa@google.com> Make scan filter accepts prefix. Add tests.

Change-Id: I714dd6d95ad2bc874dce1106b325762b19159119
e/ScanFilterTest.java
ab2ed62f15d0dac0f8ef825ff2d3677c9ae18f44 26-Jul-2014 Wei Wang <weiwa@google.com> Split manu id and manu data.

b/16407380

Change-Id: I39f6ce0ab4cccadec809f0a4f518f5d2c77a90b7
e/ScanRecordTest.java
ec64dbfbc0c7ecf41e17f3872c2d0109096f1c7a 25-Jul-2014 Wei Wang <weiwa@google.com> Fix bug of ScanSettings. Add unit test.

b/16318637.

Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
e/ScanSettingsTest.java
03259472b19fef586f5eec5d4e7d61c34a6cd298 23-Jul-2014 Wei Wang <weiwa@google.com> Fix parcel issues with empty service uuid. Added tests.

b/16490816

Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010
e/AdvertiseDataTest.java
e/ScanFilterTest.java
685c1758902a42a7beb030d8bbaed3f7ce6f6135 17-Jul-2014 Wei Wang <weiwa@google.com> 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
e/ScanFilterTest.java
e/ScanResultTest.java
7d41c138d216335e304df68babe9b88d61ee0da4 19-Jul-2014 Guang Zhu <guangzhu@google.com> 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
946f207d3d7e8e6d467782b549aa80073a68fae8 18-Jul-2014 Guang Zhu <guangzhu@google.com> add command to enable bt snoop log

Change-Id: I22a6482a90c2bb976a5ce44946e9f0fb8b59e6b2
luetoothInstrumentation.java
af74e66e29a518157cb78fcef4b4fc532b7f60b0 09-Jul-2014 Wei Wang <weiwa@google.com> Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)

Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
e/ScanFilterTest.java
e/ScanRecordTest.java
6d81118032b92caa0f5cfebe11af02a98f819d5e 22-May-2014 Wei Wang <weiwa@google.com> 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
luetoothLeAdvertiseScanDataTest.java
luetoothLeScanFilterTest.java
luetoothLeScannerTest.java
e/ScanFilterTest.java
e/ScanRecordTest.java
e/ScanResultTest.java
47c6514eaa5f1b0af101108b3c1b599cefa14b23 20-May-2014 Guang Zhu <guangzhu@google.com> 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
adf6aff5b03b1e3ca4636f9887225a7f906d1238 20-May-2014 Wei Wang <weiwa@google.com> Revert "Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising.""

This reverts commit b1d9fbc0f8dea0c77ed810190b325bfdaaf21789.

Change-Id: Ic8dec9385a7c763170ebeb1bcddd221c72f46e88
luetoothLeAdvertiseScanDataTest.java
luetoothLeScanFilterTest.java
luetoothLeScannerTest.java
319b40c9cf0b77d68c5925baa44b81f024f5705a 20-May-2014 Wei Wang <weiwa@google.com> Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising."

This reverts commit 2c4e68a86b7a9b9f760a8907b93ff40ccad56c80.

Change-Id: I98c91343d886ebe22d0bf75a710fa0b0abf738b6
luetoothLeAdvertiseScanDataTest.java
luetoothLeScanFilterTest.java
luetoothLeScannerTest.java
d22b2413b9b79374a6a8e2176de577c8eac0d1b7 20-May-2014 Guang Zhu <guangzhu@google.com> add a command to list all bonded devices

Bug: 14601515

Change-Id: I3cc5bb664485ef768bb81f1f8870ed9bf62f8329
luetoothInstrumentation.java
62d5bc745a4fd7f305a47b628b1fe902ee9d29f8 17-Apr-2014 Wei Wang <weiwa@google.com> APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple
advertising.

Change-Id: I1655eb9cffa890b6fe38108bf51078662e90bc03
luetoothLeAdvertiseScanDataTest.java
luetoothLeScanFilterTest.java
luetoothLeScannerTest.java
51800847d9a9965a5d00a7960abb50983651d4a2 07-May-2014 Wei Wang <weiwa@google.com> Add a method to check whether a UUID is 32bit.

Change-Id: I92e8bab560b2083e9f4855d28b3f54f2120ef628
luetoothUuidTest.java
82500dd86631a08d290929f64824c4fd22f0aa75 15-Apr-2014 Wei Wang <weiwa@google.com> Add parse method to parse UUID from bytes for 16 bit, 32 bit and 128 bit
Bluetooth UUIDs. Added unit tests.

Change-Id: I4ecf0ede02561a5e9815acf8a5a1309d5756b887
luetoothUuidTest.java
fa9dc683f18e68cc1170c149a40c33a191444af1 02-May-2014 Guang Zhu <guangzhu@google.com> add getAddress function to return BT mac

Change-Id: Ib2bcd123e066672e411550856db862059949100e
luetoothInstrumentation.java
e47ebbeec672ece19e260ccd7f4b83a297bce61e 29-Apr-2014 Guang Zhu <guangzhu@google.com> make success explicit in BT instrumentation util

Change-Id: I6c8eb8cdb7928fa6a7c1bc96b374667d1d6ae6a1
luetoothInstrumentation.java
03800b8873f70223dcfcf396a3762775dfc1a8ab 22-Apr-2014 Guang Zhu <guangzhu@google.com> 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
luetoothInstrumentation.java
luetoothTestUtils.java
fca8e9d919443449807f87203609e53a64368f6b 23-Nov-2011 Eric Rowe <erowe@google.com> Fix SCO start stop tests.

Change-Id: Idf292bc244a494e2ffb11359e83c0d072907ea3b
Bug-id: http://b/5644683
luetoothStressTest.java
luetoothTestUtils.java
c04c457eb7783a98fa452449484a818dbb7e0b45 15-Jun-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Refactor Bluetooth Profile."
f8789167e903b637b1dbe8f710e7c66c4cfd74fd 26-May-2011 Jaikumar Ganesh <jaikumar@google.com> 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
luetoothTestUtils.java
7af75afb2c8608dbe73509036eefd3281d646a5f 14-Jun-2011 Eric Rowe <erowe@google.com> Fix external storage bug for BT stress tests

Change-Id: Ib6cfe80449037cfee5072145fb3a4ae0e79abf06
luetoothTestRunner.java
luetoothTestUtils.java
efc1d16374955f04d713c770ab47d90d190afe83 21-Mar-2011 Albert Mojir <albert.mojir@sonyericsson.com> Bluetooth: correcting return value from cancelDiscovery

BluetoothAdapter.cancelDiscovery was previously always
returning false.

Change-Id: Ic1fd134d4b710438d95c5b8ca009104529dd1bf5
luetoothTestUtils.java
b525f089cf0f580ccb26e80bbb0db1376ba554cc 28-May-2011 Brett Chabot <brettchabot@android.com> Move bluetooth tests to their own package.

Bug 4501764

Change-Id: Id65de5d96516720e75dfbb5d522f465187e73913
luetoothRebootStressTest.java
luetoothStressTest.java
luetoothTestRunner.java
luetoothTestUtils.java