- 29 Dec, 2016 3 commits
-
-
Marie Janssen authored
-
Treehugger Robot authored
* changes: Rename the Bluetooth profile classes for HID Device role. HIDD: Add support for HID Device Role
-
Marie Janssen authored
BluetoothManagerService will dump basic state about Bluetooth now for standard dumpsys arguments. Move it from here and track which apps enable / disable Bluetooth. Test: enable/disable a few times, check that apps are recorded correctly Bug: 33692282 Change-Id: I7505ba25a5cafda061fa23774cc31a6b83909d34
-
- 23 Dec, 2016 2 commits
-
-
Ivan Podogov authored
This CL reflects the changes from frameworks/base. Test: make Change-Id: I0e3a3335572f6ab4683e8a3b5335f3b51afba2f5
-
Hemant Gupta authored
This patch adds support for HID Device Role which enables phone being used as a Bluetooth keyboad or mouse. Change-Id: I931867442111ad997a34a166c7b2ec1daf317ddd
-
- 20 Dec, 2016 4 commits
-
-
Andre Eisenbach authored
-
Jakub Pawlowski authored
-
Jakub Pawlowski authored
Get rid of BTA state machine states for BLE scanning. Test: sl4a FilteringTest Bug: 30622771 Change-Id: If616c1100f8d1153568c2b5487a0b117e735930b
-
Jakub Pawlowski authored
-
- 19 Dec, 2016 4 commits
-
-
Jakub Pawlowski authored
Bug: 30622771 Test: sl4a ConcurrentBleAdvertisingTest Change-Id: I1cfdd29075a41057ae99b5b458876a4a9916e845
-
Jakub Pawlowski authored
-
Emil Lenngren authored
A bug was introduced in commit d828b42e which causes normal GATT clients (neither scanners nor advertisers) not being freed properly when remote process terminates, leading to out of space of available GATT clients after some time. This patch adds back a ClientDeathRecipient to handle this. Test: kill an app that has gatt client, restart it and create new gatt client, verify the client id is same as before in logcat Change-Id: I318cb1693984444a172cb81be2023a064dbc02a4
-
Jakub Pawlowski authored
Bug: 30622771 Test: sl4a BleScanTest Change-Id: Ic35017fc62f64c5ebdbca43b6b6e8e8b16062b07
-
- 17 Dec, 2016 1 commit
-
-
Jakub Pawlowski authored
-
- 16 Dec, 2016 1 commit
-
-
Jakub Pawlowski authored
This patch converts btgatt_scanner_interface_t struct into BleScannerInterface class. It also refactors three most important methods from this interface: RegisterAdvertiser, Scan, and Unregister. Rest of this interface will be updated in following patches. Bug: 30622771 Test: sl4a BleScanApiTest Change-Id: I0f0ad31dab88efbcd74a11d1908b80fcb78a5c6c
-
- 15 Dec, 2016 6 commits
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Ajay Panicker authored
Bug: 33092708 Test: Sanity test MAP on carkit Change-Id: I6c7f54f60877cf2c57df9b3521604660321214ff
-
Joseph Pirozzo authored
Change behavior of onPullComplete to group insert operations for contacts and apply together. This batching of operations reduces cross process communications and improves performace about 3x from 100 seconds for 1000 contacts to 34. Bug: 27343808 Test: SL4A test BtCarPbapTest:test_contact_download. Change-Id: I56bc23c69bc93cf44f2a8e132dea8dce8de109dc
-
Treehugger Robot authored
-
Ajay Panicker authored
Bug: 33092708 Test: runtest bluetooth Change-Id: I6d7bfd9baaa428692183a64cc7ae87438862d518
-
- 14 Dec, 2016 4 commits
-
-
Andre Eisenbach authored
-
Jakub Pawlowski authored
Bug: 33577836 Test: manual test Change-Id: I3b00490cb087b6da709332c30c2e50cba9d5e1a8
-
Treehugger Robot authored
-
Jack He authored
* Call getSharedPreferences() asynchronously during onCreate() to cache preferences in memory as early as possible to prevent ANR * Change editor.commit() to editor.apply() in AdapterService for: setPhonebookAccessPermission setMessageAccessPermission setSimAccessPermission so that these methods will return true when editor.apply() is called. After that call, the preference will be updated in memory so that following calls that use such preferences will see the change. However, there is a possibility that write to persistent storage will fail in the background which reset the preference after reboot or service restart. In this case, we need to call these method again. * Same changes in Avrcp for: blackListCurrentDevice resetBlackList In these methods, the return values for editor.commit() are already ignored and therefore no user-visible effect. Bug: 33382877 Test: mannual test, connect to carkit and browse phone book Change-Id: I605dc00db4647f06c9fa797f272188a44f0e5724
-
- 13 Dec, 2016 1 commit
-
-
Treehugger Robot authored
-
- 12 Dec, 2016 5 commits
-
-
Pavlin Radoslavov authored
This change is needed so we can remove the last instances of "using std::vector" statements in hardware/libhardware. Test: code compilation Change-Id: I5963f7c5768d67dbd92c526f41ec1c291c353aad
-
Treehugger Robot authored
-
Marie Janssen authored
Move clang-format so it applies to the whole tree, and update for Java style that is compatible with style with existing AOSP style. Test: clang-format -style=file Change-Id: I8cf854cc290669f9efefc34dcaddc43075978dfb
-
Treehugger Robot authored
-
Marie Janssen authored
If a package is being upgraded it is frozen and we can't start the MediaBrowseService on it. Test: runtest bluetooth Bug: 32977865 Change-Id: Ie0c47f6db370be70259c5e7cde67b2e89c07ab75
-
- 07 Dec, 2016 2 commits
-
-
Treehugger Robot authored
-
Ajay Panicker authored
Test: "adb shell dumpsys bluetooth_manager" after scanning with an LE app Change-Id: Id8c16aa171d9ceee9b3ce83ae5afbefa0d6fd9ed
-
- 06 Dec, 2016 6 commits
-
-
Marie Janssen authored
am: 55ddf34f Change-Id: I93307eadeb1b25cb191923ae52af4fb6580e5469
-
Treehugger Robot authored
-
Marie Janssen authored
Add clang-format file. Add PREUPLOAD to check newly uploaded code. clang-format --style=file jni/*.cpp Test: mma -j37 Change-Id: I76bc67f7e69ac374f82d6c5d9745657f31dccdae
-
ltrochtova authored
am: 80343eba Change-Id: I26a9af5750833ba8d9202c3b9159ad9ffa060bc2
-
ltrochtova authored
-
Lenka Trochtova authored
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.UserRestrictionsTest Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testBluetoothRestriction Bug: 32895300 Change-Id: I832b9c7d6427dfd977a6f0ee73c860234c1e2347
-
- 05 Dec, 2016 1 commit
-
-
Marie Janssen authored
am: f506b212 Change-Id: I3e2d7818fae0fe7d7b67f68d0c5c5cff0e826c29
-