History log of /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e76a08babeec457d3ec28d24d91c833fbd223ba5 31-Mar-2018 Ashutosh Singh <ashutoshrsingh@google.com> Making SL4A Bluetooth code Google Style Compliant.

Making Facade files Google code style compliant.

Bug: 34132524, 3413256, 34132613, 34132905
Test: Manually, upload tests pass, ran it.

Change-Id: Id514313387f9afec17230efd57683a51fc612682
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
b6ccc67c1081ff6bb4f3a5fc9b32af79b058e058 11-Jan-2017 tturney <tturney@google.com> PTS Command Line Tool Changes

BluetoothConnectionFacade
* Make it possible to send a blind
pairing request through bluetoothBond
method.

BluetoothFacade
* Add new method to fetch uuids with
SDP called bluetoothFedtchUuidsWithSdp.

GattClientFacade
* Modify all Descriptor and Characteristic
accessors to use index instead of UUID as
Bluetooth GATT services can have multiple
Characteristics or Descriptors with the same
UUID which was causing methods to return
prematurely. Put deprecation tags on old
methods.

* Create Characteristic and Descriptor
methods that find the respective service
attributes by instance id (also referred
to as handle).

* Create methods to modify properties
and permissions of Characteristics and
Descriptors in order to force certain states
and responses to be returned to PTS.

* Create methods that read and write to
invalid instance ids. THis is used for
negative testcases in PTS.

* Create methods that modify the local
GATT Service database using reflection
of hidden methods.

* Fix various documentation issues.

GattServerFacade
* Create method to notify Characteristic
changed by instance id.

* Fix various documentation issues.

* Create method to set Characteristic
byte value for notification tests.

* Create method to set Descriptor
byte value for notifcation tests.

* Create method to get read value
of Gatt Server's Characteristic or
Descriptor.

* Create method to set instance id of
service even though it is currently broken.

* Create method to set handles to reserve
for a Bluetooth GATT Service

* Create method to set the isAdvertisePreferred
value for a service.

* Create method to add included services.

* Create methods to set various data types of
Characteristics.

* Create getters and setters for Characteristic
and Descriptor Instance ID and UUIDs.

BluetoothRfcommFacade
* Create new wrappers to call hidden APIS
to call BluetoothDevice.createL2capSocket
and BluetoothDevice.createRfcommSocket.

Test: Ran various PTS tests
Bug: 33580347
Bug: 37250843
Bug: 33582013
Bug: 33588302
Change-Id: Ia4aae313e26cdd5c171cce46525e3898ebd8679b
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
dbc9989ecfdcbc96456a61060ba5ffb4240dc8a1 20-Apr-2017 Ajay Panicker <apanicke@google.com> Limit btsnoop file size (6/8)

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
Merged-In: I1ed6667a49082772ad20adbc8fe4c9a5456d9b2c
Change-Id: I1ed6667a49082772ad20adbc8fe4c9a5456d9b2c
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
f4f931f156d7a3ee3ebf5e291bd950d9d12c6370 10-Mar-2017 Jakub Pawlowski <jpawlowski@google.com> Bluetooth 5 feature checks and scan settings

Test: None
Bug: 30622771
Change-Id: I889368c3c8f12f9f5ae7e62639e9e0c10d6dcc17
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
f04335f899f2cce69f843692a3cb9cec229683c2 29-Dec-2016 tturney <tturney@google.com> Update Copyright values for 2017

Also ran google-java-format to remove
unused imports from affected files.

Bug: 33965425
Test: Build SL4A
Change-Id: Ied5d1427eaa400469212ca58544c7aec925a4379
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
48e46479b58eff2b6cf67b459f68f918375b5567 14-Apr-2016 Sanket Agarwal <sanketa@google.com> Add PBAP Client facade to SL4A instrumentation.

(cherry picked from commit 086a841e38cac76ada83683f7129aa42f402a665)

Change-Id: I186a3975ffab0ff8b7536238b8c39cd28f561b0d
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
073e003fd3208f5ca4ab773cc03a6895142da257 26-Oct-2016 Marie Janssen <jamuraa@google.com> Add Bluetooth LE state change listener functions

Test: BleBackgroundScanTest:test_airplane_mode_disables_ble

Change-Id: If435de2b5798315f239aaed5c6766cd6a120b466
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
e37cd1056f918c3a5ec88d0866259079c80eb505 30-Sep-2016 Nathan Harold <nharold@google.com> Add a Persistent Listener for Connectivity Change Broadcasts

Toggling airplane mode triggers bluetooth to toggle on and off.
Because this is not an explicit toggle of bluetooth, we need a
way to listen for the adapter state change without explicitly
toggling bluetooth. Adding a way to start and stop listening to
bluetooth state change broadcasts achieves this goal.

Bug: 31473466
Test: none
Change-Id: I694fe1d070c05db3af61a9163662faa6a652bd38
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
32f91f4c2d5179b6518a8a2c5ca1556c992f766f 08-Jul-2016 tturney <tturney@google.com> Add new api to BluetoothFacade for factory reset

Add the ability to call BluetoothAdapter.factoryReset
through SL4A

Bug: b/30016055
Change-Id: I4c42408ed859f8dbcd2d706fc6fb17e0310bf745
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java
9f32db87b486c93a0ea71eb1781ee45676b8bf8b 09-Feb-2016 Xin Li <delphij@google.com> Move sl4a to its own project.

BUG: 26914381
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/BluetoothFacade.java