OSDN Git Service
Satya Calloji [Wed, 10 Jun 2015 22:13:08 +0000 (22:13 +0000)]
am
e82268f5: am
3e46b830: (-s ours) Fix for chip capability version check
* commit '
e82268f57b84a21930c6c180c27d1d883cc3bc48':
Fix for chip capability version check
Satya Calloji [Wed, 10 Jun 2015 22:06:25 +0000 (22:06 +0000)]
am
4178719b: am
935324ab: (-s ours) LE low power scan feature
* commit '
4178719b192458bbc67044e6ec3b64393a3fa9d4':
LE low power scan feature
Satya Calloji [Wed, 10 Jun 2015 22:04:23 +0000 (22:04 +0000)]
am
3e46b830: (-s ours) Fix for chip capability version check
* commit '
3e46b83098196782328c339f5fe8021dc52172fc':
Fix for chip capability version check
Nitin Arora [Wed, 10 Jun 2015 21:59:54 +0000 (21:59 +0000)]
am
d891f535: am
089651a3: Fix allocation for LE scan filter parameters
* commit '
d891f53535da683820fdc02906383fb2b7c547fb':
Fix allocation for LE scan filter parameters
Nitin Arora [Wed, 10 Jun 2015 21:59:53 +0000 (21:59 +0000)]
am
ae560b29: am
19e91b0f: (-s ours) Fix for premature BLE RPA timeout
* commit '
ae560b29b04c5f355dfb444f5d09f10eb4b45993':
Fix for premature BLE RPA timeout
Satya Calloji [Wed, 10 Jun 2015 21:58:31 +0000 (21:58 +0000)]
am
935324ab: (-s ours) LE low power scan feature
* commit '
935324abbe8706307297f09cf79bbcd4efb73367':
LE low power scan feature
Satya Calloji [Wed, 10 Jun 2015 21:53:46 +0000 (21:53 +0000)]
am
ecac6ceb: am
033edab9: Fix GATT connection failure after BT reset
* commit '
ecac6cebaa406e26a755e99f96535ab92bf61408':
Fix GATT connection failure after BT reset
Nitin Arora [Wed, 10 Jun 2015 21:53:45 +0000 (21:53 +0000)]
am
0b9e5718: am
7557b674: Use correct structure to read LE connection handle
* commit '
0b9e5718ed3a1eef8fabe14f176c7b43d2ee31f8':
Use correct structure to read LE connection handle
Zach Johnson [Wed, 10 Jun 2015 21:53:44 +0000 (21:53 +0000)]
am
540bfa35: am
03583e8f: Build the shared library with --whole-archive
* commit '
540bfa3535195f327ad451e5b96c6cda9a92914b':
Build the shared library with --whole-archive
Satya Calloji [Wed, 10 Jun 2015 21:53:43 +0000 (21:53 +0000)]
am
b483a7d8: am
350b0b0d: Fix for IRK and IR key write issue
* commit '
b483a7d8cda2af469816a58adaf7209a324f5ace':
Fix for IRK and IR key write issue
Andre Eisenbach [Wed, 10 Jun 2015 21:53:43 +0000 (21:53 +0000)]
am
442555c6: am
fc9c9981: Re-enabled enhanced inquiry scan
* commit '
442555c655c561b7a3aded3f99f6fc01cc0a7c57':
Re-enabled enhanced inquiry scan
Chih-Hung Hsieh [Wed, 10 Jun 2015 21:53:42 +0000 (21:53 +0000)]
am
4239f464: am
73378f5f: Fix format-security warning found by clang/llvm.
* commit '
4239f46452e9beff155bc3a4f6cf6c64abe01df2':
Fix format-security warning found by clang/llvm.
Andre Eisenbach [Wed, 10 Jun 2015 21:53:41 +0000 (21:53 +0000)]
am
a554457c: am
8f1a16b1: Fix string template in connection event debug log
* commit '
a554457cedd16a69b81bfd96faf632e811758072':
Fix string template in connection event debug log
Andre Eisenbach [Wed, 10 Jun 2015 21:53:40 +0000 (21:53 +0000)]
am
626d8e74: am
40412562: (-s ours) Include osi_module reference in module_init funcion
* commit '
626d8e744e4da2278e11f0ea9904ab358bd3a235':
Include osi_module reference in module_init funcion
Nitin Arora [Wed, 10 Jun 2015 21:51:50 +0000 (21:51 +0000)]
am
089651a3: Fix allocation for LE scan filter parameters
* commit '
089651a314c73f21964457d5d1b2d188e2243574':
Fix allocation for LE scan filter parameters
Nitin Arora [Wed, 10 Jun 2015 21:51:48 +0000 (21:51 +0000)]
am
19e91b0f: (-s ours) Fix for premature BLE RPA timeout
* commit '
19e91b0fe546478f6fb6572c8af7a5faa7559498':
Fix for premature BLE RPA timeout
Zach Johnson [Wed, 10 Jun 2015 21:45:48 +0000 (21:45 +0000)]
am
5f9a7b5d: am
c6a1c261: (-s ours) Fix AlarmTestHarness so alarm tests pass again
* commit '
5f9a7b5d18c70e0a27fc0f0bd7177094ac86fdb6':
Fix AlarmTestHarness so alarm tests pass again
Satya Calloji [Wed, 10 Jun 2015 21:44:34 +0000 (21:44 +0000)]
am
033edab9: Fix GATT connection failure after BT reset
* commit '
033edab9780481ca743d1f14cc893dc533c3c3f2':
Fix GATT connection failure after BT reset
Nitin Arora [Wed, 10 Jun 2015 21:44:33 +0000 (21:44 +0000)]
am
7557b674: Use correct structure to read LE connection handle
* commit '
7557b67434226e4baeee87ba86a7b85d1687de9a':
Use correct structure to read LE connection handle
Zach Johnson [Wed, 10 Jun 2015 21:44:32 +0000 (21:44 +0000)]
am
03583e8f: Build the shared library with --whole-archive
* commit '
03583e8f3161836f2bef56f59a6f7bb2db25e61f':
Build the shared library with --whole-archive
Satya Calloji [Wed, 10 Jun 2015 21:44:31 +0000 (21:44 +0000)]
am
350b0b0d: Fix for IRK and IR key write issue
* commit '
350b0b0d148ca9bf7cbf20018b47286165fa86e8':
Fix for IRK and IR key write issue
Andre Eisenbach [Wed, 10 Jun 2015 21:44:29 +0000 (21:44 +0000)]
am
fc9c9981: Re-enabled enhanced inquiry scan
* commit '
fc9c99817a6f3a951e3fc1ccdc48ebd2a54824a7':
Re-enabled enhanced inquiry scan
Chih-Hung Hsieh [Wed, 10 Jun 2015 21:44:28 +0000 (21:44 +0000)]
am
73378f5f: Fix format-security warning found by clang/llvm.
* commit '
73378f5fad7b2fc348073c313b226d0e1d5cfc12':
Fix format-security warning found by clang/llvm.
Andre Eisenbach [Wed, 10 Jun 2015 21:44:27 +0000 (21:44 +0000)]
am
8f1a16b1: Fix string template in connection event debug log
* commit '
8f1a16b13f8d11da9e783a64e1d38e8b20c10d6c':
Fix string template in connection event debug log
Andre Eisenbach [Wed, 10 Jun 2015 21:44:25 +0000 (21:44 +0000)]
am
40412562: (-s ours) Include osi_module reference in module_init funcion
* commit '
40412562707ee3f1fa104c4332bc6247880040a3':
Include osi_module reference in module_init funcion
Zach Johnson [Wed, 10 Jun 2015 21:37:20 +0000 (21:37 +0000)]
am
c6a1c261: (-s ours) Fix AlarmTestHarness so alarm tests pass again
* commit '
c6a1c261b87f194b298df01f002292d9e937ec75':
Fix AlarmTestHarness so alarm tests pass again
Andre Eisenbach [Wed, 10 Jun 2015 21:37:17 +0000 (21:37 +0000)]
am
39e1e675: am
cae219fe: (-s ours) Shutdown alarm callbacks on stack disable; added OSI module
* commit '
39e1e675a5e90b13ff969d8bb54a7cd6ed19b52a':
Shutdown alarm callbacks on stack disable; added OSI module
Mudumba Ananth [Wed, 10 Jun 2015 21:32:12 +0000 (21:32 +0000)]
am
197bd73b: am
f4f744f7: Fix BT PAN crash by re-ordering callback initialization
* commit '
197bd73b976349c1a64e6cae5c2bfe437271716f':
Fix BT PAN crash by re-ordering callback initialization
Andre Eisenbach [Wed, 10 Jun 2015 21:29:26 +0000 (21:29 +0000)]
am
cae219fe: (-s ours) Shutdown alarm callbacks on stack disable; added OSI module
* commit '
cae219fe70124f1fc39cd7a78c239c4870422d5d':
Shutdown alarm callbacks on stack disable; added OSI module
Mudumba Ananth [Wed, 10 Jun 2015 21:21:51 +0000 (21:21 +0000)]
am
f4f744f7: Fix BT PAN crash by re-ordering callback initialization
* commit '
f4f744f7a9812e2dfd306382eab80c2caf25db37':
Fix BT PAN crash by re-ordering callback initialization
Andre Eisenbach [Wed, 10 Jun 2015 21:10:34 +0000 (21:10 +0000)]
am
9cdd8f16: am
1bd76059: (-s ours) Bluetooth native dumpsys logging support (2/5)
* commit '
9cdd8f16499e1020d72139b48b66c10f64fbc8d9':
Bluetooth native dumpsys logging support (2/5)
Andre Eisenbach [Wed, 10 Jun 2015 21:10:33 +0000 (21:10 +0000)]
am
864293d0: am
4e3e372a: Only register key types with uinput that we can actually map
* commit '
864293d024511fcb73d047be1e304c632e936c75':
Only register key types with uinput that we can actually map
Pavlin Radoslavov [Wed, 10 Jun 2015 21:10:33 +0000 (21:10 +0000)]
am
89a87710: am
4be4396c: Elimininate unnecessary calls for releasing the wake lock.
* commit '
89a87710f99209d688fd406b19cd8e513539d661':
Elimininate unnecessary calls for releasing the wake lock.
David Stevens [Wed, 10 Jun 2015 21:10:32 +0000 (21:10 +0000)]
am
c26d8c79: am
4905f8fc: Handle lack of service better
* commit '
c26d8c7922a9cade385d558dab7b201427270627':
Handle lack of service better
Andre Eisenbach [Wed, 10 Jun 2015 21:06:13 +0000 (21:06 +0000)]
am
1bd76059: (-s ours) Bluetooth native dumpsys logging support (2/5)
* commit '
1bd76059e72b7a0d54f6b325882f6eccd311f874':
Bluetooth native dumpsys logging support (2/5)
Andre Eisenbach [Wed, 10 Jun 2015 20:58:21 +0000 (20:58 +0000)]
am
4e3e372a: Only register key types with uinput that we can actually map
* commit '
4e3e372af6bba32d27a154679e39cada3034df41':
Only register key types with uinput that we can actually map
Pavlin Radoslavov [Wed, 10 Jun 2015 20:58:20 +0000 (20:58 +0000)]
am
4be4396c: Elimininate unnecessary calls for releasing the wake lock.
* commit '
4be4396c8e4dc4c308219bdf402447a7feefe73e':
Elimininate unnecessary calls for releasing the wake lock.
David Stevens [Wed, 10 Jun 2015 20:58:19 +0000 (20:58 +0000)]
am
4905f8fc: Handle lack of service better
* commit '
4905f8fcddbf8e082a922b91dcc4674df95e2cfa':
Handle lack of service better
Andre Eisenbach [Wed, 10 Jun 2015 18:55:59 +0000 (18:55 +0000)]
am
a2c8cab5: am
af753a25: Do not ask for confirmation for temporary pairing
* commit '
a2c8cab51ae8c570c32e3c97347d41c3cc60ffc5':
Do not ask for confirmation for temporary pairing
Andre Eisenbach [Wed, 10 Jun 2015 18:42:07 +0000 (18:42 +0000)]
am
af753a25: Do not ask for confirmation for temporary pairing
* commit '
af753a253bb3e40f11be33d2c70368adc205cca6':
Do not ask for confirmation for temporary pairing
Andre Eisenbach [Tue, 9 Jun 2015 03:43:00 +0000 (20:43 -0700)]
Do not ask for confirmation for temporary pairing
Bug:
20187234
Change-Id: I4213a3c2cafecdb39fcf3f19464c91776180267a
Dan Albert [Wed, 10 Jun 2015 00:45:26 +0000 (00:45 +0000)]
am
38a610d2: am
8f310904: Add missing include.
* commit '
38a610d27984a682bb75f8309ee84292fa7a650d':
Add missing include.
Dan Albert [Wed, 10 Jun 2015 00:33:01 +0000 (00:33 +0000)]
am
8f310904: Add missing include.
* commit '
8f31090414c4660a010216383e17cb932f34ec6f':
Add missing include.
Dan Albert [Tue, 9 Jun 2015 23:53:45 +0000 (16:53 -0700)]
Add missing include.
osi_malloc was never included, so it was implicitly defined as
returning an integer (thank you, C). Clang caught the int to pointer
conversion error.
Change-Id: I0d8a3363d92cb72a22780d049a53e193d2e50ec5
Casper Bonde [Tue, 9 Jun 2015 22:19:44 +0000 (22:19 +0000)]
am
db662710: am
818d0f2a: SAP: Make it possible to enforce a 16-digit pin code (1/5)
* commit '
db66271013bc4b845008ed2a1daf53ca0b82eb97':
SAP: Make it possible to enforce a 16-digit pin code (1/5)
Casper Bonde [Tue, 9 Jun 2015 22:05:04 +0000 (22:05 +0000)]
am
818d0f2a: SAP: Make it possible to enforce a 16-digit pin code (1/5)
* commit '
818d0f2afb10c75125b0df9ea2bce6108268a269':
SAP: Make it possible to enforce a 16-digit pin code (1/5)
Casper Bonde [Thu, 21 May 2015 09:08:45 +0000 (11:08 +0200)]
SAP: Make it possible to enforce a 16-digit pin code (1/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: I02886ce284f27295205def3c66fb76372f5dab4f
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Satya Calloji [Thu, 7 May 2015 21:06:37 +0000 (14:06 -0700)]
Fix for chip capability version check
Fixes the issue of extended scan command being sent out
for non-capable chipsets
Bug:
20916419
Change-Id: Ib5d848f49c34a3fc9c053a7488e12fb0c252587c
Satya Calloji [Tue, 31 Mar 2015 20:24:32 +0000 (13:24 -0700)]
LE low power scan feature
LE low power extended scan feature stack changes
based on Google BLE spec v0.95
Bug:
20029342
Change-Id: I1db2d9bb648295340d0e93ca89d27e1b938d33d3
Nitin Arora [Fri, 12 Sep 2014 01:35:55 +0000 (18:35 -0700)]
Fix allocation for LE scan filter parameters
This change allocates memory for LE scan filter parameters
to copy filter params set by btif inquiry process initiated
using Settings UI
Change-Id: I56ed33b80af3f26ddc8a83edb807f88048503fa7
Nitin Arora [Wed, 11 Mar 2015 17:40:59 +0000 (10:40 -0700)]
Fix for premature BLE RPA timeout
RPA timeout expires prematurely when multiple FindMe server
instances start and stop advertisiment continuously. During start
adv TIMER3 is started using oneshot timer and during stop adv
same TIMER0 is stopped, so the TIMER3 is still running and expires
prematurely. This fix stops TIMER3 during disable adv and when RPA
is sent to controller.
Change-Id: I336f84043e5e0e8a833cc6080f8bcc0c1665893e
Satya Calloji [Thu, 7 May 2015 16:45:00 +0000 (09:45 -0700)]
Fix GATT connection failure after BT reset
Handles the address type incorrect value storage issue
and removes usage of DMT supported flag which was based
on legacy code
Bug:
20912064
Change-Id: I5bd20dc9cd0997ac3dbd4b346cc0513f1809f241
Nitin Arora [Thu, 31 Jul 2014 20:00:21 +0000 (13:00 -0700)]
Use correct structure to read LE connection handle
This patch corrects the retrieval of the connection handle
after the gatt write operation has succeeded successfully.
Change-Id: Iac79a64d6c626c2349b6f1a3744ea49a521a45f4
Zach Johnson [Tue, 19 May 2015 21:49:37 +0000 (14:49 -0700)]
Build the shared library with --whole-archive
For stack static libraries, use LOCAL_WHOLE_STATIC_LIBRARIES
to ensure they get --whole-archive applied to them.
This means module symbols in static libraries won't be
removed by the linker and dlsym will find them.
This patch also removes the code hacks we needed to
trick the linker into including the module symbols in
the final shared library.
Change-Id: I2463d0e6fb38f1e75c8293179cf9d4ca33eda84e
Satya Calloji [Tue, 19 May 2015 21:42:32 +0000 (14:42 -0700)]
Fix for IRK and IR key write issue
Fixes the incorrect flipping of values
for IRK and IR keys in bt_config.conf file
Change-Id: Ia4f9c274b6a3f7594ec31d8bd89b27d1ae54ac78
Andre Eisenbach [Tue, 19 May 2015 19:22:59 +0000 (12:22 -0700)]
Re-enabled enhanced inquiry scan
A merge/re-factoring error caused enhanced inquiry scan to be disabled,
severely slowing down inquiry and device name resolution.
Change-Id: Id7bc1687a1e1bbbbc8b8b42cc184ce628b6d1b9c
Chih-Hung Hsieh [Tue, 19 May 2015 18:18:35 +0000 (11:18 -0700)]
Fix format-security warning found by clang/llvm.
BUG:
21299815
Change-Id: I3dd7e92444a9b439c210f7e6ce677307a38113ab
Andre Eisenbach [Tue, 19 May 2015 01:44:03 +0000 (18:44 -0700)]
Fix string template in connection event debug log
Also fixed timestamp/bdname buffer confusion.
Change-Id: Idab9746a87ec665cba836c79978f03e13c36d17b
Andre Eisenbach [Tue, 19 May 2015 01:42:29 +0000 (18:42 -0700)]
Include osi_module reference in module_init funcion
This prevents a crash-loop if the module is stripped by the linker.
Change-Id: I7a3f0349cb62a9e73e003707c1f48ec0a6de7f67
Zach Johnson [Mon, 18 May 2015 21:48:50 +0000 (14:48 -0700)]
Fix AlarmTestHarness so alarm tests pass again
Ensures all alarm resources are torn down before the
test ends, so the allocation tracker is happy and
doesn't assert-fail the tests.
Also guard alarm_shutdown to make sure it only runs
if lazy_initialize was run (to avoid undefined behavior)
Change-Id: Iaf78fe85edd2fc65b9c5ee11c74665a11a3bc9ba
Andre Eisenbach [Mon, 18 May 2015 16:41:06 +0000 (09:41 -0700)]
Shutdown alarm callbacks on stack disable; added OSI module
Change-Id: Iecf1e2258da012bdac69a4f57d38b12a272e3edd
Mudumba Ananth [Wed, 6 May 2015 16:15:41 +0000 (09:15 -0700)]
Fix BT PAN crash by re-ordering callback initialization
Bug:
20868163
Change-Id: I8e3bb844b96b762f90a85d8d9d678a1a9cec9c32
Andre Eisenbach [Fri, 5 Dec 2014 17:40:20 +0000 (09:40 -0800)]
Bluetooth native dumpsys logging support (2/5)
Includes support for BTSnoop logging in memory.
Bug:
18508263
Change-Id: I175da528cbcdc00d40622647d518a74210cfe6fd
Andre Eisenbach [Mon, 11 May 2015 18:49:59 +0000 (11:49 -0700)]
Only register key types with uinput that we can actually map
Bug:
20641307
Change-Id: I40cb1e22c35963429481a2cc9da897b5b2f554fe
Pavlin Radoslavov [Sat, 9 May 2015 02:39:31 +0000 (19:39 -0700)]
Elimininate unnecessary calls for releasing the wake lock.
Bug:
20884459
Change-Id: Id010cb29cf09b95800dc9f5fd5b660e71e4a47bc
David Stevens [Wed, 29 Apr 2015 17:44:04 +0000 (10:44 -0700)]
Handle lack of service better
- Set the service availability flag during ciev events
- Don't drop AT+COPS and AT+CNUM events on the floor if there is no
service. Instead, send fake OK responses up the stack.
Bug:
20127723
Change-Id: Id2d9ae8c5df5b5372e50e804e44ed51657b2a4a9
Eric Laurent [Fri, 5 Jun 2015 20:10:26 +0000 (20:10 +0000)]
am
dde26f3c: am
15d6b314: Revert "A2DP audio HAL: implement get_presentation_position()"
* commit '
dde26f3c65709e23784ff8fb8e618f3a0f0d0cfe':
Revert "A2DP audio HAL: implement get_presentation_position()"
Eric Laurent [Fri, 5 Jun 2015 19:59:10 +0000 (19:59 +0000)]
am
15d6b314: Revert "A2DP audio HAL: implement get_presentation_position()"
* commit '
15d6b3144d92167d1f4f88cc87a50c2571a2c166':
Revert "A2DP audio HAL: implement get_presentation_position()"
Eric Laurent [Fri, 5 Jun 2015 18:55:24 +0000 (11:55 -0700)]
Revert "A2DP audio HAL: implement get_presentation_position()"
This reverts commit
0b6c835cab0391f73a453686f4e665dd02661d77.
Bug:
21660426.
Mallikarjuna GB [Fri, 5 Jun 2015 02:17:50 +0000 (02:17 +0000)]
am
0bf5438a: am
74f0bd0e: Initialize btif_max_hf_clients with proper value
* commit '
0bf5438a93c1f93c13352ef3021a84b6d5703716':
Initialize btif_max_hf_clients with proper value
Mallikarjuna GB [Fri, 5 Jun 2015 02:05:25 +0000 (02:05 +0000)]
am
74f0bd0e: Initialize btif_max_hf_clients with proper value
* commit '
74f0bd0e8c5cce69690eb7a7c6c7429013082647':
Initialize btif_max_hf_clients with proper value
Mallikarjuna GB [Fri, 5 Jun 2015 02:04:50 +0000 (02:04 +0000)]
am
e4ca0627: am
46d706a9: Fix issues in A2dp, Avrcp, HF and AG reported by static analysis tool
* commit '
e4ca062746a280e3a95952cf1756cd197f33e179':
Fix issues in A2dp, Avrcp, HF and AG reported by static analysis tool
Mallikarjuna GB [Fri, 5 Jun 2015 01:53:56 +0000 (01:53 +0000)]
am
46d706a9: Fix issues in A2dp, Avrcp, HF and AG reported by static analysis tool
* commit '
46d706a9849dcd027d562200a0a43e6e9156aceb':
Fix issues in A2dp, Avrcp, HF and AG reported by static analysis tool
Anubhav Gupta [Fri, 5 Jun 2015 01:46:02 +0000 (01:46 +0000)]
am
86fd008e: am
1f9dfcbb: Ignore STOP command if A2DP stream is suspended
* commit '
86fd008e1ca09ebaad8b4b72255b27de2b6fbe6d':
Ignore STOP command if A2DP stream is suspended
Anubhav Gupta [Fri, 5 Jun 2015 01:46:00 +0000 (01:46 +0000)]
am
c5ef1d4b: am
a4f66355: Remove check for stream type in a2dp hal_callbacks.
* commit '
c5ef1d4b3619e3d4ff3b6b41fe4abcbef2d16010':
Remove check for stream type in a2dp hal_callbacks.
Mallikarjuna GB [Fri, 5 Jun 2015 01:46:00 +0000 (01:46 +0000)]
am
50a0dd7b: am
40969d03: Clear remote BD address information.
* commit '
50a0dd7b8e935c33e9cb958c94c9f96a4ee7b6fe':
Clear remote BD address information.
Mallikarjuna GB [Fri, 5 Jun 2015 01:45:59 +0000 (01:45 +0000)]
am
c8e2fcef: am
0ba8b230: Don\'t stop sniff timer before checking for service ID entry
* commit '
c8e2fcef0c5d7bd94c3d46a861499152b8633bb7':
Don't stop sniff timer before checking for service ID entry
Mallikarjuna GB [Thu, 21 May 2015 08:54:05 +0000 (14:24 +0530)]
Initialize btif_max_hf_clients with proper value
btif_max_hf_clients which is an unsigned 16bit integer is
initialized with -1(0xFFFF) in btif_hf.c. Later on, when
application calls init with max_hf_clients as 1, btif_max_hf_clients
will be set to 1. But, before this happens, context switch happened
from application context to btif context with btif_max_hf_clients as -1.
In the btif context, BTA_AgRegister gets called in for loop for 0xFFFF
times. We are running out of scbs due to this.
Initialize btif_max_hf_clients with 1. Assign it to max_hf_clients
before context switch happens.
Change-Id: Ibde1bebbab2eb64442027164236f1d82e4269d23
Anubhav Gupta [Fri, 5 Jun 2015 01:35:43 +0000 (01:35 +0000)]
am
1f9dfcbb: Ignore STOP command if A2DP stream is suspended
* commit '
1f9dfcbb526c8d0cba080e02df7c4613b7433f18':
Ignore STOP command if A2DP stream is suspended
Anubhav Gupta [Fri, 5 Jun 2015 01:35:42 +0000 (01:35 +0000)]
am
a4f66355: Remove check for stream type in a2dp hal_callbacks.
* commit '
a4f66355a304e869d22195fb7177756bb2243cff':
Remove check for stream type in a2dp hal_callbacks.
Mallikarjuna GB [Fri, 5 Jun 2015 01:35:41 +0000 (01:35 +0000)]
am
40969d03: Clear remote BD address information.
* commit '
40969d03ffa9cfe67dbd3cec6ce074443638ce4a':
Clear remote BD address information.
Mallikarjuna GB [Fri, 5 Jun 2015 01:35:41 +0000 (01:35 +0000)]
am
0ba8b230: Don\'t stop sniff timer before checking for service ID entry
* commit '
0ba8b2303ed8d0f2c0636befe28b89cfe33169de':
Don't stop sniff timer before checking for service ID entry
Mallikarjuna GB [Fri, 5 Jun 2015 01:35:31 +0000 (01:35 +0000)]
am
4d061e65: am
7d29482d: Don\'t initiate sniff in sniff mode
* commit '
4d061e65db885f089320a25e7fe858e3e80a4545':
Don't initiate sniff in sniff mode
Mallikarjuna GB [Fri, 5 Jun 2015 01:35:30 +0000 (01:35 +0000)]
am
b0465f0f: am
f9a0014f: Updated ATD string parsing
* commit '
b0465f0fe7e00dd5403a1173d66019b0f75d7344':
Updated ATD string parsing
Mallikarjuna GB [Fri, 5 Jun 2015 01:35:30 +0000 (01:35 +0000)]
am
6c93dcbf: am
16eae386: Stop AG collision timer.
* commit '
6c93dcbf9f404769228b15a5dac5ad06ce978cb5':
Stop AG collision timer.
Mallikarjuna GB [Fri, 7 Nov 2014 11:22:25 +0000 (16:52 +0530)]
Fix issues in A2dp, Avrcp, HF and AG reported by static analysis tool
- Fixes to validate Array Index Value and Null Pointer
Dereference reported by static analysis tool.
Change-Id: Id1492315f68378fdcfa517bd0a5cacefc8ebfddb
Mallikarjuna GB [Fri, 5 Jun 2015 01:23:11 +0000 (01:23 +0000)]
am
cf20ee52: am
c380680c: Return ERROR for invalid CHLD command arguments
* commit '
cf20ee52d74efb0a30dd77a3dfeefafc4578ceb1':
Return ERROR for invalid CHLD command arguments
Anubhav Gupta [Fri, 5 Jun 2015 01:23:11 +0000 (01:23 +0000)]
am
9aa7804e: am
137bed02: Reject second AVRCP connection.
* commit '
9aa7804e3e363950af1b58d4bde41b4a0a5144d7':
Reject second AVRCP connection.
Mallikarjuna GB [Fri, 5 Jun 2015 01:20:49 +0000 (01:20 +0000)]
am
7d29482d: Don\'t initiate sniff in sniff mode
* commit '
7d29482dd040a00be373092a566b0d7c5b4827fb':
Don't initiate sniff in sniff mode
Mallikarjuna GB [Fri, 5 Jun 2015 01:20:48 +0000 (01:20 +0000)]
am
f9a0014f: Updated ATD string parsing
* commit '
f9a0014f94600966dc75e185a4c67fd424e0e24b':
Updated ATD string parsing
Mallikarjuna GB [Fri, 5 Jun 2015 01:20:48 +0000 (01:20 +0000)]
am
16eae386: Stop AG collision timer.
* commit '
16eae38653e9f1bc2e7779dd7d5792adc05d2dbb':
Stop AG collision timer.
Anubhav Gupta [Mon, 17 Nov 2014 01:02:45 +0000 (17:02 -0800)]
Ignore STOP command if A2DP stream is suspended
Ignore STOP command if A2DP stream is already suspended.
Some carkits send STOP command before VOIP call initiation
but don't send PLAY when call ends which hinders DUT to resume
audio playback after call termination.
Change-Id: I41cc1fc6f4b6cfaa1560d729baa0ca27f6dfe8c8
Anubhav Gupta [Tue, 7 Oct 2014 12:58:19 +0000 (18:28 +0530)]
Remove check for stream type in a2dp hal_callbacks.
Stream type is invalid till signalling channel
connection establishment is completed. Do not
check stream type while calling HAL callback.
Change-Id: I69fb19636f3e9bb72202c450dcef9e7bc2e53731
Mallikarjuna GB [Mon, 22 Sep 2014 04:30:36 +0000 (10:00 +0530)]
Clear remote BD address information.
This change makes sure that when RFCOMM
connection fails for HFP, AG control block
clears the remote bd address. This will prevent
the misuse of remote bd address.
Change-Id: I9b14cfe7ae18e72f0972704ac3aa5e915f70ddb3
Mallikarjuna GB [Fri, 5 Jun 2015 01:11:16 +0000 (01:11 +0000)]
am
c380680c: Return ERROR for invalid CHLD command arguments
* commit '
c380680cf4bdfd7cd4befea57f81407fccb88752':
Return ERROR for invalid CHLD command arguments
Anubhav Gupta [Fri, 5 Jun 2015 01:11:16 +0000 (01:11 +0000)]
am
137bed02: Reject second AVRCP connection.
* commit '
137bed026881654febddfa2d797e06ce9f8e58fa':
Reject second AVRCP connection.
Mallikarjuna GB [Fri, 22 May 2015 09:44:25 +0000 (15:14 +0530)]
Don't stop sniff timer before checking for service ID entry
- Avoid stopping sniff timer before checking for service
ID entry for which bta_sys_conn_close is called since if
entry is not present we return without re-starting timer
and ACL doesn't go into sniff.
Change-Id: I063da8e58e067ade5d646debf086bb443066106c
Anubhav Gupta [Fri, 5 Jun 2015 01:08:25 +0000 (01:08 +0000)]
am
591ad510: am
d81bd014: Disable SCMST feature for A2DP Sink
* commit '
591ad510b7de4483d1125bdf4dcee0c6fb71f3cd':
Disable SCMST feature for A2DP Sink
Mallikarjuna GB [Fri, 5 Jun 2015 01:08:25 +0000 (01:08 +0000)]
am
b7c6f660: am
846c48f8: Restarting PM timer for AG while reading OR writing
* commit '
b7c6f660d092c6cc13b7cdfd9add76376437f400':
Restarting PM timer for AG while reading OR writing
Anubhav Gupta [Fri, 5 Jun 2015 01:08:24 +0000 (01:08 +0000)]
am
404945ba: am
d59ee6c2: Set the proper authentication level for AvOpen
* commit '
404945ba3ac161f624f5420246f6c845b5c821c5':
Set the proper authentication level for AvOpen