b4a1f3abe22831d654dea4f386b747f8d5e928cf |
|
23-May-2016 |
Jacky Cheung <jackyc@google.com> |
Add BT_HCI_TIMEOUT and BT_CONFIG_SOURCE log events. These events are used to track HCI timeout and configuration file usage respectively. Change-Id: I5c8b6ef20b61f03b9ccb74f3b1c9784e4653b770
/system/bt/btif/src/btif_config.c
|
3114ad623ca39bf6cbcee7f4841c00077faafcba |
|
19-May-2016 |
Jacky Cheung <jackyc@google.com> |
Improve config file sync during configuration save. Add fsync() calls to force sync to disk while saving configuration file. It is necessary to do a sync on the temp file before rename, and to sync again on its parent directory to ensure both the file content and the directory are up-to-date. Bug: 27354612 Change-Id: I3a862ad59c8ae5beb8ea2c727eb5f275a2d5823e (cherry picked from commit 95dbe03a693f4a920204b8c6acbba5269915a59f)
/system/bt/btif/src/btif_config.c
|
b7e9cb4c35abbacce5313c6f1e2f5a51dc0946bb |
|
13-May-2016 |
Ajay Panicker <apanicke@google.com> |
Add sync to write the backup file to the filesystem Bug: 27354612 Change-Id: I5a7751b6f08831d43647391774501f211336e9eb
/system/bt/btif/src/btif_config.c
|
9eb556804ae753b6fabc66329952dae596f378b7 |
|
12-May-2016 |
Ajay Panicker <apanicke@google.com> |
Add config logging, make parsing stricter, and move sync The functions that parse the config file will report failure if the config file is improperly formatted or is missing the necessary Adapter section. Also moved sync to sync the filesystem after the config file is saved. Bug: 27354612 Change-Id: Ia75ff628d83bdc933c4bc16761d6c55eef19b757
/system/bt/btif/src/btif_config.c
|
995c7d63e15923a1a8bdfb2456cc4086468e281c |
|
18-Apr-2016 |
Ajay Panicker <apanicke@google.com> |
Protect config module init and add date to config file Bug: 27354612 Change-Id: Ie956faddaa69101211e554722d682c18ed00a20a
/system/bt/btif/src/btif_config.c
|
a042f8a02288e69154c405bbdf93c412a14da8bd |
|
13-Apr-2016 |
Marie Janssen <jamuraa@google.com> |
btif: add count of devices loaded on startup Report devices initially loaded from the config file. Also removes the config mutex from btif_debug_config_dump as the config is not modified. Bug: 27354612 Change-Id: I25033ce28744051412f0d2bd554f0651e807ba7c
/system/bt/btif/src/btif_config.c
|
c7087d2466a291185853a6b2a16f789233e3420f |
|
18-Mar-2016 |
Ajay Panicker <apanicke@google.com> |
Add guest mode functionality (2/5) Add a flag to enable() to start Bluetooth in restricted mode. In restricted mode, all devices that are paired during restricted mode are deleted upon leaving restricted mode. Right now restricted mode is only entered while a guest user is active. Bug: 27410683 Change-Id: I8f23d28ef0aa3a8df13d469c73005c8e1b894d19
/system/bt/btif/src/btif_config.c
|
da576af1312568c4892e6b217d89a82897d60d91 |
|
05-Apr-2016 |
Marie Janssen <jamuraa@google.com> |
Fix memory leak when saving paired devices Followup from r.android.com/210955 Minor style fixes for osi/config also included. Bug: 26071376 Change-Id: I26563b75a59a6f0ae074676754889cb988a69358
/system/bt/btif/src/btif_config.c
|
b9d28c30f9ef9f8f046bb08238abef9cba445be6 |
|
25-Mar-2016 |
Marie Janssen <jamuraa@google.com> |
btif: Don't persist remote devices to the config We don't need to persist the unpaired devices to NVRAM so skip saving them. This fixes a regression in a previous patch where the most recent instead of the least recent devices would be removed, making some devices unpairable in extremely busy environments. Bug: 26071376 Change-Id: If7ee9d960f70c836bf08b78da5f3fc852ba60a85
/system/bt/btif/src/btif_config.c
|
236141f48707c5ed3ebc9549b3a9db5151fbb482 |
|
01-Mar-2016 |
Ajay Panicker <apanicke@google.com> |
Allow factory reset when bluetooth is off (2/2) Bug: 27348444 Change-Id: Idf0c0bda892c76be037fd28ed352237d4c5b8263
/system/bt/btif/src/btif_config.c
|
7c6f8f332c42199748082edfa4aaf5ee45a373d7 |
|
30-Mar-2016 |
Alain Vongsouvanh <alainv@google.com> |
Bring back support for legacy bt_config.xml If a device migrates directly from L or earlier to a version using this new implementation, all bt_config will be lost, requiring to repair to the devices. Bug: 27824878 Change-Id: Ifdca0d8cad8efaa9f503ca40ac0725547a06f15c
/system/bt/btif/src/btif_config.c
|
20af7c3cc040e82124184ad869d840ad6fa1eacf |
|
28-Mar-2016 |
Ajay Panicker <apanicke@google.com> |
Revert "Add guest mode functionality (2/5)" This reverts commit 45ee419b233480060548f19b09de6726d28a06ea. Change-Id: I7d24acbe09305611c4e0bbfe7d40348d0fd1c365
/system/bt/btif/src/btif_config.c
|
45ee419b233480060548f19b09de6726d28a06ea |
|
18-Mar-2016 |
Ajay Panicker <apanicke@google.com> |
Add guest mode functionality (2/5) Add a flag to enable() to start Bluetooth in restricted mode. In restricted mode, all devices that are paired during restricted mode are deleted upon leaving restricted mode. Right now restricted mode is only entered while a guest user is active. Bug: 27410683 Change-Id: I19ff91d1d7fb8c60230fee7a05d32574b5b2aeda
/system/bt/btif/src/btif_config.c
|
63ddbe8813aac242071dffc0bd413ba60e6dd7bf |
|
21-Mar-2016 |
Ajay Panicker <apanicke@google.com> |
Add config source to dumpsys output This logs where the config file was loaded from in the Bluetooth Manager dumpsys output. Bug: 27354612 Change-Id: I50d4aaa0be4f4d1d890580b03742713f4345c80f
/system/bt/btif/src/btif_config.c
|
f621aa868f2d980d7a8a1afaa6d70dcf42866bc5 |
|
11-Feb-2016 |
Ajay Panicker <apanicke@google.com> |
Create backup for bt_config.conf Move current config file to a backup when a new config file is saved. This backup can be used in case there is an error loading the current config file. Change-Id: Icc210c457dc71a72fc2e82ff72c91207b25deaf1
/system/bt/btif/src/btif_config.c
|
5fe6f0cf6b223e3ed6be4912d55b3ed5b41ce0cd |
|
06-Feb-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Removed checks for NULL returns after osi_calloc() / osi_malloc() Removed explicit checks for NULL pointer returns after calls to osi_calloc() and osi_malloc(), because those are not needed. If the memory allocation fails, osi_calloc() and osi_malloc() will trigger an assert. Bug: 27048759 Change-Id: I2791eb2f69c08f991f8fcdef10e101a41568cd95
/system/bt/btif/src/btif_config.c
|
37f7f8380f91221f5f49248ee09be927434b0875 |
|
10-Feb-2016 |
Ajay Panicker <apanicke@google.com> |
Remove code related to legacy config file Change-Id: Ia82d9bbffcc5df1ec4cddff28d812ca221505ab9
/system/bt/btif/src/btif_config.c
|
9ca88af1d964c546af1c3dc2c16c4c98071fd5b1 |
|
26-Jan-2016 |
Sharvil Nanavati <sharvil@google.com> |
Fix return value for HAL function config_clear. Change-Id: I75712f721f7031705d0accb4ffe89467d52d7aa3
/system/bt/btif/src/btif_config.c
|
78bcff79e1b1f0efce436b33bdd6da88745bfc8a |
|
05-Dec-2015 |
Pavlin Radoslavov <pavlin@google.com> |
Refactor the Bluetooth timers * Updated the alarm API: - Existing API alarm_new() is modified to take an alarm name as an argument. - New API alarm_new_periodic() is used to create a periodic alarm. - Added new API alarm_is_scheduled() to test whether an alarm is scheduled. - Existing API alarm_set_periodic() is removed: a periodic alarm is created by alarm_new_periodic(). - Added new API alarm_set_on_queue() to set an alarm whose callback is executed on a specific queue. - Added new API alarm_register_processing_queue() and alarm_unregister_processing_queue() to register/unregister a queue and the corresponding thread for alarm processing. - Added corresponding unit tests. * Updated the alarm internals: - Added alarm_info_t for collecting alarm-related information and statistics. - Collect and store alarm-related statistics into alarm_info_t per alarm. - Include the alarm-related statistics and info into the native dumpsys output for Bluetooth. - Once an alarm expires, the alarm execution is scheduled for processing on another internal alarm-specific thread, not on the thread that is maintaining the alarms. - Implemented callback execution ordering guarantee among timers on the same thread with exactly same timeout values. * Refactor some of the usage of alarm_set() and simplify the code by using alarm_set_on_queue() instead. * Removed the non_repeating timers wrapper, and use directly the alarm mechanism / API. * Refactored all timer_entry_t timers and replaced them with alarm_t timers: - Replaced the btu_start_timer() / btu_stop_timer() / btu_start_quick_timer() / btu_stop_quick_timer() / btu_oneshot_alarm() mechanism with alarm_set_on_queue() and alarm_cancel() - Removed the whole mechanism around the BTU_TTYPE_* timers. * Fixed a bug when processing the GATT indication confirmation timer expiration (timer tGATT_TCB.conf_timer: b/26610829). * Renamed and/or split misc. timeout functions, fields, and timers * Renamed time-related constants and changed the values from seconds to milliseconds * Replaced timer tAVDT_CCB.timer_entry with three mutually exclusive timers: idle_ccb_timer, ret_ccb_timer, rsp_ccb_timer The reason we are using three timers, is because in the original code function avdt_ccb_chk_timer() used the timer type in its logic: it would stop the timer only if the type is "idle". * Removed btm_ble_timeout() and replaced it with multiple timeout callback functions (per timer) * Fix the actual value of the global constant BT_1SEC_TIMEOUT and rename it to BT_1SEC_TIMEOUT_MS * Removed btu_cb and associated timers and events, because they are never used. * Removed unused timers, functions, struct and declarations that are not used / needed. Bug: 26611369 Bug: 26610829 Change-Id: I812c8c31710a5daefc58b01fcf35c353768f390f
/system/bt/btif/src/btif_config.c
|
32b3a8a408b23aa28324ad9f56654c98fe2ac914 |
|
24-Dec-2015 |
Srinu Jella <sjella@codeaurora.org> |
Offload config save functionality to BTIF thread Offload config save functionality to btif thread from timer thread as timer callback thread is critical in a2dp playback case. If the timer callback thread is busy in config save due to IO operations, it may lead to a2dp audio choppy. Fix to avoid the "bt_config.conf" file corruption from the file system. This will avoid losing the paired information in some corner case, such as abrupt power off and on. This patch will ensure bt_config is saved to NVRAM. Bug: 24875861 CRs-Fixed: 953993 Change-Id: I893e9afefa89cbab6e7ddd8835ca77d3e316874c
/system/bt/btif/src/btif_config.c
|
d77f1999ecece56c1cbb333f4ddc26f0b5bac2c5 |
|
09-Dec-2015 |
Marie Janssen <jamuraa@google.com> |
Fix crashes with lots of discovered LE devices When loads of devices are discovered a config file which is too large can be written out, which causes the BT daemon to crash on startup. This limits the number of config entries for unpaired devices which are initialized, and prevents a large number from being saved to the filesystem. Bug: 26071376 Change-Id: I4a74094f57a82b17f94e99a819974b8bc8082184
/system/bt/btif/src/btif_config.c
|
08393054f0867d0f86a7f9c2eb156e67a86382c7 |
|
07-Aug-2015 |
Marie Janssen <jamuraa@google.com> |
resolved conflicts for merge of 49a86709 to mnc-dev-plus-aosp Change-Id: Icd7ec2fd78ac4383da430708a88abaeba9009437
|
49a86709488e5cfd5e23759da18bf9613e15b04d |
|
08-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
build: LOG_TAG consistency, include order, build fixes Fix the order of includes across a bunch of files, and declare LOG_TAG at the top of every file in which it is used. Consistently use bt_ as a LOG_TAG prefix. Fix issues with LOG macro usage. Remove unused includes and double-includes (when in related .h) Add includes as necessary to compile cleanly (problems surfaced by reordering includes) Change-Id: Ic55520c8302b06bbc1942c10c448b20844669da6
/system/bt/btif/src/btif_config.c
|
6fc5461ea7f0f39bf658684564e25cd3551ca284 |
|
05-Aug-2015 |
Ajay Panicker <apanicke@google.com> |
am aa3be1a6: Implement Bluetooth settings factory reset (3/5) * commit 'aa3be1a696b9ae1142fe9f358ad5f97e99da7892': Implement Bluetooth settings factory reset (3/5)
|
aa3be1a696b9ae1142fe9f358ad5f97e99da7892 |
|
29-Jul-2015 |
Ajay Panicker <apanicke@google.com> |
Implement Bluetooth settings factory reset (3/5) Implemented the factory reset function to be used to reset all bluetooth settings on device to factory default Bug: 16161518
/system/bt/btif/src/btif_config.c
|
f2d6434a6b7ad98e20c7a601d2a0950237514837 |
|
09-Jul-2015 |
Arman Uguray <armansito@google.com> |
gn-build: Add bluetooth-service target This patch makes the Bluetooth system service (service/) buildable using GN: 1. Added new BUILD.gn file for service/ 2. Added conditional compilation for global config paths, with TODOs for generalizing them later. 3. Added a shim for loading the Bluetooth library that calls hw_get_module on Android and explicitly calls dlopen on OS_GENERIC. 4. Fixed compile warnings and errors. 5. Did some minor clean up in gatt_server.cpp for better readability. Bug: 22124644 Change-Id: I3226537a3a5211a6762651a35707638df29956b0
/system/bt/btif/src/btif_config.c
|
49120dc867c7818511b5afec461dfc97d17eef58 |
|
08-Jul-2015 |
Marie Janssen <jamuraa@google.com> |
build: Fix LOG_TAG define breakage, macro usage Fixes build breakages related to r.android.com/156982 Change-Id: Ib1143c41fe05a17c296226998afdb41a8cb6294a
/system/bt/btif/src/btif_config.c
|
db554581079863974af8e1289646f5deea6fc044 |
|
26-Jun-2015 |
Marie Janssen <jamuraa@google.com> |
build: Update osi log functions, use consistently Update the LOG_* functions to take a tag argument which makes them more consistent with the Android Log.*(TAG, s) common syntax and removes some #define-dependency with osi/include/log.h. Also update to never use Android log functions directly. Also contains minor cleanup of some header includes. Bug: 21569831 Change-Id: If07385cafbea062232ecdbc7c673f908d5ef8921
/system/bt/btif/src/btif_config.c
|
eae61663a5c44f2a5757ae3df80cbc3b97fa6d60 |
|
02-Jun-2015 |
Pavlin Radoslavov <pavlin@google.com> |
Replace malloc/calloc/free with osi_malloc/osi_calloc/osi_free There were several leftover places that were still using malloc/calloc/free . Those are replaced to use osi_malloc/osi_calloc/osi_free like majority of the rest of the code. Note: There are few remaining places that are still using malloc/calloc/free: * Some of the unit tests * audio_a2dp_hw/audio_a2dp_hw.c It is used as part of the audio.a2dp.default.so library, and the bluetooth.default.so library Its usage of malloc/calloc/free should be refactored independently. Change-Id: Iafbed996e5f1ae8eb1343fb2acfadf32e515e419
/system/bt/btif/src/btif_config.c
|
56a3be0d6eaa1bc264736e399fb32d3094f0b513 |
|
02-Jun-2015 |
Pavlin Radoslavov <pavlin@google.com> |
Replace malloc/calloc/free with osi_malloc/osi_calloc/osi_free There were several leftover places that were still using malloc/calloc/free . Those are replaced to use osi_malloc/osi_calloc/osi_free like majority of the rest of the code. Note: There are few remaining places that are still using malloc/calloc/free: * Some of the unit tests * audio_a2dp_hw/audio_a2dp_hw.c It is used as part of the audio.a2dp.default.so library, and the bluetooth.default.so library Its usage of malloc/calloc/free should be refactored independently. Change-Id: Iafbed996e5f1ae8eb1343fb2acfadf32e515e419
/system/bt/btif/src/btif_config.c
|
d30195cbf09735da593e186c4c99cce6232b072e |
|
30-May-2015 |
Arman Uguray <armansito@google.com> |
gn-build: Get btif to compile as its own module This CL adds support to build //btif:btif as its own target as a static library by introducing a new module-level BUILD.gn file, adding missing includes, and conditionally compiling code that is Android-specific (depends on libcutils). This removes/breaks some functionality on non-Android builds since the corresponding features are missing until we have a more unified replacement. BUG=21339022 Change-Id: Ibb0372da45f256c55fa894fdda3d70319ea008c9
/system/bt/btif/src/btif_config.c
|
1f81b64b337832452e9ba1f530e612a685aebb82 |
|
22-Apr-2015 |
Ian Coolidge <icoolidge@google.com> |
Set default symbol visibility to 'hidden'. Bug: 20427982 Change-Id: I003469d6dfce681a38baa71b5709236a1a4a2189
/system/bt/btif/src/btif_config.c
|
444a8da807abaf5f9e813ce70c56a79160495fb3 |
|
06-Mar-2015 |
Satya Calloji <satyac@broadcom.com> |
LE Privacy 1.2 and LE secure connections Bug: 19816438 Original author: Chaojing Sun <cjsun@broadcom.com> Change-Id: I5951f4d4e038f8348a62aa6d19b2111bae0b3ecc
/system/bt/btif/src/btif_config.c
|
47d68ee6229ccec3deeaaf694fa86438d97333a4 |
|
03-Apr-2015 |
Scott James Remnant <keybuk@google.com> |
osi: add compat code for glibc glibc doesn't declare strlcpy(), strlcat() or gettid(). Add a header of compatibility routines that only get included when compiling on this. Change-Id: I889ac7f1d22cf7056757890fcff0403107488d62
/system/bt/btif/src/btif_config.c
|
95b74f252f534ec757aab1fc08e086e02b2cfe8d |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for btcore includes.
/system/bt/btif/src/btif_config.c
|
0f9b91e150e153229235c163861198e23600e636 |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for OSI includes.
/system/bt/btif/src/btif_config.c
|
44802768c447ab480d4227b3a852a97d923b816d |
|
24-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add platform-independent logging macros to OSI. These macros should replace ALOG* and the various trace macros used throughout bluedroid. This change eliminates all uses of the ALOG* macros in favor of the new ones.
/system/bt/btif/src/btif_config.c
|
794f3b5f126fffc3dd1129a710187591348bbf23 |
|
01-Oct-2014 |
Chris Manton <cmanton@google.com> |
Removal of bd.[c|h] Consolidate legacy types into bt_types.h
/system/bt/btif/src/btif_config.c
|
9b0fbce37260e69cb116be1cdcbceb1f43bf9346 |
|
24-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Modulizification of btif_config
/system/bt/btif/src/btif_config.c
|
ce0bab413c2c1a0a5e9f4a82a6b2833685333bce |
|
28-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Fix issue where last character of device name is missing The device name stored on disk is correct but has a missing character at the end when read off of disk. This happened because the returned |length| parameter to |btif_config_get_str| is in number of *bytes*, not in number of characters (i.e. must add one for NULL character).
/system/bt/btif/src/btif_config.c
|
8a6a89faa942aed4f176b0c98402d01c8bdd6aa6 |
|
20-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Introduce btcore, a low-level library to manipulate Bluetooth data types. This change adds a single module to btcore: bdaddr. The bdaddr module is reponsible for manipulating and working with Bluetooth addresses.
/system/bt/btif/src/btif_config.c
|
b2f0447afd5db6579e380439ad596519276e91d1 |
|
21-Aug-2014 |
Zach Johnson <zachoverflow@google.com> |
Fix digital transposition in saving binary config data Was causing link keys to be saved/read incorrectly, causing reconnect on reboot to fail.
/system/bt/btif/src/btif_config.c
|
9d52f88bfc07556cb01ab3055f5b1242c9b467aa |
|
19-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Eliminate unused arguments to btif_config and clarify variable names
/system/bt/btif/src/btif_config.c
|
b95c4ef4ac9e86953050a7ae6b3b4260df935713 |
|
16-Aug-2014 |
Sharvil Nanavati <sharvil@google.com> |
Switch over from an XML based file format to .INI-style conf files This change moves us to using a single file format for all configuration throughout bluedroid. I've provided a transcoder that converts the previous config file to the new format so settings will be preserved. In a future revision of bluedroid, we should remove the transcoder and drop our dependency on tinyxml2.
/system/bt/btif/src/btif_config.c
|
86f97eda524568f2d264186844450db5e56dac36 |
|
10-Nov-2014 |
Matthew Xie <mattx@google.com> |
Use the device type from saved properties instead of assuming default DUMO device can do both BLE and BREDR operations. It was wrong to assign BLE or BREDR type to it. Bug: 18275230 Change-Id: I8d6c17e5157ba29a1af459629de9e2d6f6dc5e99
/system/bt/btif/src/btif_config.c
|
335aa36bca8532874c23c1afe5bfc2aff7fc01a5 |
|
01-Jul-2014 |
Mike J. Chen <mjchen@google.com> |
Fix deadlock and non-working socket msg throttling Two major bugs in btif_config.c. One is that due to improper locking order, a deadlock could occur (symptom is generally out of GKI buffers because BTIF thread stops processing it's mailbox because it is blocked sending a msg to the socket thread, which in turn is blocked because BTIF is holding the lock it needs to do the config save that BTIF requested in the first place). The other is also lock related. The mechanism to throttle socket messages based on whether there was one already in flight wasn't working because there wasn't locking when that variable was being used. The compiler would be free to cache it in a register on SMP machines, so it would never look like there as a value in flight. This would cause a bunch of messages to be queued up, and then the way the handling worked in cfg_cmd_callback(), every cmd would cause a 3 second sleep, even if there was nothing to do. Modified the loop to check if there was nothing to do before sleeping. I was running into both bugs when repeatedly pairing and unpairing a BLE device. The deadlock would hit first, causing out of GKI buffers. Once I fixed the deadlock, I would still run out of GKI buffers because the socket thread wasn't working fast enough to clear the backlog of socket messages it had received. Also optimized some string termination code which was using a memset of the full buffer before and then copying over every entry except the last. Now we do the copy and just set the last buffer entry to null. Change-Id: Ic06ef0b8e15d8f1fe669fb88439851ffbad560de Signed-off-by: Mike J. Chen <mjchen@google.com>
/system/bt/btif/src/btif_config.c
|
831423ea1879244e746f39d7696ad4a66681f306 |
|
07-Jan-2014 |
Hemant Gupta <hemantg@codeaurora.org> |
Bluetooth: Fix to avoid NULL pointer dereferences This fix for avoiding NULL pointer dereferences: - Added check for state checking in btm_remove_acl function to avoid sending disconnect command if already in Disconnecting state. - Added NULL check for 'pin_code' in btif_dm_pin_reply function - Null check before accessing in BD interface layer configuration node variables. - Add NULL check before accessing p_bd_addr variable to avoid null pointer exception while referring to invalid memory. Change-Id: Ib7ed45b6a1692785a45224d739a564f767e5b10f
/system/bt/btif/src/btif_config.c
|
740def526e757f5ea8f30d9d28d1e7a668dadc42 |
|
04-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Eliminate dead code (helped by compiler warnings). I've removed all functions that the compiler decided were unused. Change-Id: I0cbddf874ebd1586abe29b80e8d6390680679542
/system/bt/btif/src/btif_config.c
|
5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb |
|
01-Feb-2014 |
Mike J. Chen <mjchen@google.com> |
Major warnings cleanup Mostly fixing unused parameter warnings. A few other warnings also fixed like possible use of unitialized variables (no real issue found, just compiler couldn't follow the path), signed vs unsigned warning. Also fixed some typos, indent issues, removal of dead code, etc. Change-Id: I95eb887aefc4d559d7921f71a0af5f3bfb01ac01 Signed-off-by: Mike J. Chen <mjchen@google.com>
/system/bt/btif/src/btif_config.c
|
7939ed0c9a50c769e9e648a2d7751e0894b485ed |
|
28-Sep-2013 |
zzy <zhenye@broadcom.com> |
added filter remove api to control the # of child node for bt_config.xml Bug 10949832 Change-Id: I10589b9d0a0b4b8d7cbf66122c66bb2e99be04a1
/system/bt/btif/src/btif_config.c
|
689d66b6559dcb3a0ad7f6cc33b6129e50910253 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot 9fd57cbacd95e89602f430244c35bbc67f08b6d2 Change-Id: Ibc3a4bf4161d286c7cfab89a19c676eb5cc9224f
/system/bt/btif/src/btif_config.c
|
5738f83aeb59361a0a2eda2460113f6dc9194271 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
/system/bt/btif/src/btif_config.c
|