{"push_id":577509538,"size":8,"distinct_size":8,"ref":"refs/heads/L5","head":"c6ba51f3952aadf9e0df7d0fd20519acf06ea240","before":"364fa11eb09ba073c96028f78df4c6aa523c3560","commits":[{"sha":"3355d0abdaaaf69102f257d9a99dbe6af33ff708","author":{"email":"bc6501c174fe21162c67cfc51ecb38b9a4d035f0@gmail.com","name":"Ethan Chen"},"message":"Revert dynamic sample rate feature\n\n* Feature still needs some reworking\n* Squash of the following:\n\nRevert \"bluedroid: Make the dynamic samplerate for A2DP optional\"\n\nThis reverts commit ed43ee19b48af63dc465e23b596bd52f5be45bf6.\n\nRevert \"bluedroid: Stop hardcoding A2DP stream parameters\"\n\nThis reverts commit 21ea700385f1a276012a22b406028e7a86b2ee7f.\n\nChange-Id: Ib07595087ec949f5f1312f0ba9a8bbcf586c33ed","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/3355d0abdaaaf69102f257d9a99dbe6af33ff708"},{"sha":"8f24940ebe7c5b0812d7184f42ab0a768fda941c","author":{"email":"9ce5770b3bb4b2a1d59be2d97e34379cd192299f@cyngn.com","name":"Steve Kondik"},"message":"bluedroid: Support dynamic A2DP stream parameters\n\n * Attempt #2 at dynamic sample rates\n * Currently, all stream parameters for A2DP are hardcoded at compile\n   time and these areas of code are marked with TODOs to properly\n   honor the stream configuration set by Audioflinger.\n * Due to the inconsistency introduced by QC regarding the sample rate,\n   many devices are now having problems. Only devices which use AFE\n   proxy should use 48K (proxy only does 48K), but let's just fix this\n   once and for all.\n * Add socket communication between the codec and the HAL to pass the\n   parameters, and add validation for those parameters to enable\n   dynamic configuration.\n * For A2DP, the audio_policy.conf entry should list 44100|48000 as\n   the supported sample rates with this patch.\n\nChange-Id: I4a357dd6ac8074c10fb5a6330ceda8de2bc9e239","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/8f24940ebe7c5b0812d7184f42ab0a768fda941c"},{"sha":"7de248bb99e76590970d1257ed59f31283ae6c65","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"bluetooth: Use /dev/alarm (if it exists) for monotonic us time\n\nThis matches what is done in system/core/libutils to get the\ncurrent time in usecs.\n\nOn some platforms, I am seeing wildly different values returned by\nclock_gettime(CLOCK_BOOTTIME) (presumably based on which CPU is\nbeing queried).  These times vary by 5 seconds and therefore\nmake an unreliable clock to use for counting ticks.\n\nChange-Id: Id970b708fcefc50e16f4efa0f843cb630db4757f","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/7de248bb99e76590970d1257ed59f31283ae6c65"},{"sha":"45e877a9814c7edf78f04058423c28cabf74ccc1","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"bluetooth: Fix race condition in GKI timer callback\n\nThere is a race condition between calls to set_nonwake_alarm\nand bt_alarm_cb.  This race condition can cause a2dp audio to\nfail completely and potentially require a reboot to restart it.\n\nTo exagerate the race condition, you can insert a sleep after\n\nalarm_service.timer_last_expired_us = now_us();\n\nand when set_nonwake_alarm runs during this interval, we end\nup generate a very large number of virtual ticks (aka, the\nnumber of ticks is negative but as an UINT32).\n\nChange-Id: I5190f940dfb3c36ef299a23c811c0b2e5dbf2d34","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/45e877a9814c7edf78f04058423c28cabf74ccc1"},{"sha":"0c3a3f105c28b53b3d03ba45c6d823a2a826c318","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"bluetooth: a2dp: Properly shutdown datapath on write failure\n\nSimply closing the fd does not cause the server side to properly\nflush buffers and reset the state for another incoming connection.\nThe code that handles a connection failure seems, based on the\ncomments, to be assuming that mediaserver has crashed and is\nonly really recovering from that.\n\nChange-Id: I269c80f7f102e903e11f25e51b605e642aae0084","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/0c3a3f105c28b53b3d03ba45c6d823a2a826c318"},{"sha":"4a7b0dedf9f8f9ef38cb4571ef250d6b57b0ac93","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"bluetooth: a2dp: Don't drop PCM data when limiting data transfer rate!\n\nChange-Id: I5cfda54c55017b4abfb9e6eb6a0c4b3cc66100ca","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/4a7b0dedf9f8f9ef38cb4571ef250d6b57b0ac93"},{"sha":"fff47ffb2a9edb0963c132de07afa96135ea9f58","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"bluetooth: a2dp: Fix autostart failure due to transient incall error\n\nWhen A2dpSuspended is set to false and the system was in a\nSUSPENDED state, the state is transition to STANDBY to allow the\naudio stream to start automatically.\n\nWhen the audio stream starts automatically, it tries to move\nfrom STANDBY to STARTED by issuing a CMD_START.  This command\ncan fail if the system thinks that a call is active.  If such a\nfailure occurs, the state is transitioned back to SUSPENDED.\n\nEffectively, this means that the framework believes\nA2dpSuspended=false while the a2dp client library belives\nA2dpSuspended=true and fails all writes to the data channel.\n\nWhen this happens the logcat is spammed with:\n\n02-13 05:56:59.807 I/audio_a2dp_hw( 6691): out_get_format: format 0x1\n02-13 05:56:59.807 I/audio_a2dp_hw( 6691): out_get_channels: channels 0x3\n02-13 05:56:59.807 I/audio_a2dp_hw( 6691): out_write: stream suspended\n\nChange-Id: I5535304b9a64e1d43d9e624079825cb02f671e94","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/fff47ffb2a9edb0963c132de07afa96135ea9f58"},{"sha":"c6ba51f3952aadf9e0df7d0fd20519acf06ea240","author":{"email":"66c6d6a7d8cc18849a70ebcf8e1cc023b95b02c2@dho.im","name":"DHOMD"},"message":"Merge branch 'cm' into HEAD","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/external_bluetooth_bluedroid/commits/c6ba51f3952aadf9e0df7d0fd20519acf06ea240"}]}