- 20 Dec, 2016 2 commits
-
-
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 3 commits
-
-
Jakub Pawlowski authored
Bug: 30622771 Test: sl4a ConcurrentBleAdvertisingTest Change-Id: I1cfdd29075a41057ae99b5b458876a4a9916e845
-
Jakub Pawlowski authored
-
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 2 commits
-
-
Marie Janssen authored
am: f506b212 Change-Id: I3e2d7818fae0fe7d7b67f68d0c5c5cff0e826c29
-
Marie Janssen authored
-
- 02 Dec, 2016 1 commit
-
-
Marie Janssen authored
Beginning of style cleanup: - no assigns in conditionals - move declarations closer to first use - replace __FUNCTION__ with __func__ - remove unnecessary gotos Test: mma && manual sanity tests Change-Id: I7f8fca01dd57f57538b71fe7d7753fffe1de4d00
-
- 01 Dec, 2016 6 commits
-
-
ltrochtova authored
am: 490b7a3b Change-Id: I8cb18c89f011e1117876ef4d044ad30e744e2f57
-
Jakub Pawlowski authored
am: 67969eff Change-Id: I1368389902709d0a9b6745f8c88d2f154db772dc
-
ltrochtova authored
am: 6add0e7b Change-Id: I2651d74350dea46faed29a82847634b035e9a15a
-
ltrochtova authored
-
Treehugger Robot authored
-
ltrochtova authored
This reverts commit 1f802f24. Change-Id: Ic5ffcf4e1ad9d024646363fa83094997058dd05b
-