summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-05Merge tag 'LA.QSSI.12.0.r1-08300-qssi.0' into sugisawa-mr1HEADsugisawa-mr1alk3pInjection
"LA.QSSI.12.0.r1-08300-qssi.0" Change-Id: Ie07fd42f1c418e603a0ade41e600befe8c66f207
2022-06-30Merge 3e62b8a1cf62983bafb8de3bfbf6181422b5689d on remote branchLinux Build Service Account
Change-Id: I19cc3f4314460f9c694950affe53adc6c6f63acc
2022-06-29Merge tag 'LA.QSSI.12.0.r1-07900.02-qssi.0' into sugisawa-mr1alk3pInjection
"LA.QSSI.12.0.r1-07900.02-qssi.0" Change-Id: If994139cfae9b8c662daf05f03374bb8bc54ab6d
2022-06-15Merge 07dfe86ec7d179d46aaf705abc3c236aeb4ddabb on remote branchLinux Build Service Account
Change-Id: I0eee03692bc41ec9befd2c64cf975d57a033129a
2022-06-07Merge "Btservice/PhonePolicy: AutoConnect enablement in HeadsetService. ↵CNSS_WLAN Service
Apm/CallAudioIntf: AutoConnect Reflection Function." into bt-sys.lnx.12.0
2022-06-03Reset sdpprogress flag properlypenghua
Reset sdpprogress flag to true if bond state is bonded or bond_none. Change-Id: Iea19686cf94c07618b5e17421536533c24b26426 CRs-Fixed: 3203921
2022-06-01Removes app access to BluetoothAdapter#setDiscoverableTimeout by requiring ↵Rahul Sabnis
BLUETOOTH_PRIVILEGED permission. Bug: 206807679 Test: Manual CRs-Fixed: 3210755 Change-Id: I73288f495d35280a5724d070248db54e2fe537fd (cherry picked from commit cc22abc0643c66e5873cbd0d15cd128816a186cf) Merged-In: I73288f495d35280a5724d070248db54e2fe537fd
2022-06-01Btservice/PhonePolicy: AutoConnect enablement in HeadsetService.Shashank Dash
Apm/CallAudioIntf: AutoConnect Reflection Function. - PhonePolicy: Autoconnecting the HeadsetService by calling the autoConnect function in the CallAudioIntf. - CallAudioIntf: Autoconnect reflection function to handle autoconnect usecase. Change-Id: I4c8605db1e3bba879aad4c85b8dabd5e95877694
2022-05-31Removes app access to BluetoothAdapter#setScanMode by requiring ↵Rahul Sabnis
BLUETOOTH_PRIVILEGED permission. Bug: 203431023 Test: Manual CRs-Fixed: 3209788 Change-Id: I50d5ed327a7c90a3f73a9924e5b2b66310dff76c (cherry picked from commit e49e5dc377dd39c523c287b71c0831159e2cc6ae) Merged-In: I50d5ed327a7c90a3f73a9924e5b2b66310dff76c
2022-05-31Added NPE check before calling isSdpCompleted API.Sravan voleti
Added NPE check before calling isSdpCompleted API to prevent BT reset during SNS test. CRs-Fixed: 3200354 Change-Id: I37e5c83229c359b1cfab0f86c1f3345c09e12b6e
2022-05-16LE: Handling ANR related to stopAdvertisingSetsjanardhana rao bokka
Handling ANR related to stopAdvertisingSets when binder to deathreceipt is NULL. Change-Id: If8d46bafdbbe3f106852e27caecddb4f043d6224
2022-05-12Check for null call in onChildrenChanged callbackSatish Kumar Kodishala
Check for null call when onChildrenChanged Callback is received CRs-Fixed: 3152462 Change-Id: I87c2af42444a95152b71f5ae6e2c36e6962dc483
2022-05-04Handling Pending scanClients when DeathReceipt triggersjanardhana rao bokka
Issue: 1. Pending Scan Clients are not getting deregistered from stack when death receipt of app triggers. 2. Due to this gatt_if in the stacks are not getting cleared and it leads to all gatt_if's are busy. Fix: Handling pending scanClients also when death receipt of app triggered. Change-Id: I540d9eea26ea7cbc407502c8f22efa299193693b
2022-04-25Pairing: Don't delete bonding devices from dev prop mapVenkata Jagadeesh Garaga
When LE scan in backgound , there is chance that APP dev prop map reaches its max size and hence old entry will be removed. If bonding device entry remeoved , then user accepted pairing pop up can' be forwarded to stack as dev entry removed Hence Don't delete bonding devices from dev prop map when max entries reached Change-Id: I6c7faae3c5c5f5fe620c802fa8734cd04dacb016 CRs-Fixed: 3172117
2022-04-18Revert "DSDA related changes"Hernán Castañón Álvarez
This reverts commit 473b15dd1514ed52966ba2f66ceda1c8f594d6ef. Change-Id: I3abd63f7ec1575fe59cee93e5ebf098ad24a488c
2022-04-18Revert "Added new API's for call events"Hernán Castañón Álvarez
This reverts commit d3b6ecc2920eaf4f4b9efd9e95fd87dad7a62f65. Change-Id: I1839cf96a080b6d4874124a5bab6506a62d829e9
2022-04-04Merge b8edda3eb538b0c21bff3e4a6372aba22dfa4b78 on remote branchLinux Build Service Account
Change-Id: I2ddcef9b4c361157237c091ace5523bcfb71e6a8
2022-03-31Merge 316755203d84776ae76490f04982c679a9e39218 on remote branchLinux Build Service Account
Change-Id: I7d3df8a3847ff1226743037646630efb05d7b20d
2022-03-30Resume A2DP by posting RESUME_A2DP messagepenghua
Analysis: Fail to start A2DP because DUT set the a2dpsuspend flag to false before sending the call end indicator to the remote device due to the user's immediate voice release action in voip call. Fix: This change doesn't call API to resume A2DP directly during processing of A2DP change intent.Instead, it resumes A2DP by posting RESUME_A2DP message. CRs-Fixed: 3156626 Change-Id: I7853061da5b689da23ee4e3fe0febc6a2c2657dc
2022-03-28Do not call AudioManager API during dumpsyspenghua
This prevents the Bluetooth App from going ANR during dumpsys Change-Id: Ia0078cc256895dab22c686a64b3a420179306d95 CRs-Fixed: 3153249
2022-03-23Add RawAddress to scan_result_cbHaamed Gheibi
Change-Id: I902ff8c34583f3aecbb2b31e173d6bb726d1e4b4
2022-03-14Merge b942c1fda135b29dc8673c08024307eb8558684c on remote branchLinux Build Service Account
Change-Id: If73c1c0315dc24fd3a4ef7e5dd9a4643d1e413da
2022-03-08Merge "Resume A2DP only if call is idle and no sco is active" into ↵CNSS_WLAN Service
bt-sys.lnx.12.0
2022-02-28Merge 764ab48c0858414bcfc2d34e9847624adcae8228 on remote branchLinux Build Service Account
Change-Id: I6eb6aae9ff05453b3651377d81f598b6a164a85c
2022-02-27Merge "A2DP: Remove ULL mode logic for disable scan (1/2)" into bt-sys.lnx.12.0CNSS_WLAN Service
2022-02-27Merge "Increase BREDR start and Stop Timeouts" into bt-sys.lnx.12.0CNSS_WLAN Service
2022-02-27Merge "Revert "A2DP: Fallback NS mode for HD Codec if split unsupported"" ↵CNSS_WLAN Service
into bt-sys.lnx.12.0
2022-02-28Resume A2DP only if call is idle and no sco is activepenghua
Resume A2DP only if call is idle and no sco is active. CRs-Fixed: 3132771 Change-Id: Icc7480b2b09af41d75d777a1679a72ed242c19fb
2022-02-25Increase BREDR start and Stop TimeoutsBalakrishna Godavarthi
This change increases BREDR_START_TIMEOUT and BREDR_STOP_TIMEOUT from 4 seconds to 8 seconds as BLE audio profiles are added. Change-Id: I9fa1370293860eece942a5ed08ff44de6224da8a
2022-02-24A2DP: Remove ULL mode logic for disable scan (1/2)Sagar Verma
ULL mode ALS don't send to BT Host anymore and it's deprecated hence remove it. CRs-Fixed: 3122352 Change-Id: I2880d5e956a219e3fe2ca6ce89c7c8d0aedf587b
2022-02-25Revert "A2DP: Fallback NS mode for HD Codec if split unsupported"Sagar Verma
This reverts commit 1ca4ec65850a1e404cde91c43114f8f5454a8621. Change-Id: I5a899256dc9114edf7fd878fcdd8e1c1467a3c9d
2022-02-23Merge "HFP: Fix setActiveDevice during dial, redial and VR" into bt-sys.lnx.12.0CNSS_WLAN Service
2022-02-23HFP: Fix setActiveDevice during dial, redial and VRSatish Kumar Kodishala
When dial, redial and VR activated from in-active HFP device, active device switch happens. However, returning false incorrectly leading to usecase failures. Fix return value when setting active HFP device. CRs-Fixed: 3130486 Change-Id: I9ace9080df5c24641f4d79e37ce66229d00ca0f9
2022-02-14Merge "Added new API's for call events" into bt-sys.lnx.12.0CNSS_WLAN Service
2022-02-08Added new API's for call eventsphaneendra Reddy
-PhonestatechangedDsDa path for hfp -Phonestatechanged for ccp -ClccResponseDsDa path for hfp -clccresponse for ccp Change-Id: I6e14c8949b7ecaa45f37ae92c96d7061030e65b5
2022-02-08DSDA related changesphaneendra Reddy
Intent changes in IncallService for DSDA and profile informatoin for remote events is updated to incallservice to process event path based on profile Change-Id: Ib212098f4a9947186545dc1966a9fc2454605c62
2022-02-06BT-Apps: Use Spec defined uuid for gaming profile(2/2)Satheesh Kumar Pallemoni
- Use Spec defined uuid for gaming profile. Change-Id: Ia3739c47e06742c6495d9d5f01a1f5b98fa64ece
2022-02-01Merge "Route profile connection retry through APM" into bt-sys.lnx.12.0CNSS_WLAN Service
2022-01-31Merge 44d456899c238ac61ebcc26cd4c8061d6a17e106 on remote branchLinux Build Service Account
Change-Id: Iea890b1f6fbd908e4c4b698ae01961fbe730216a
2022-01-27MediaAudio: connect LE media for group after incoming A2dp from remotezhenchao
For EBs goes incase and outofcase scenario, EBs will auto reconnect a2dp. For DUT side, While incoming a2dp connection is accepted, invoke MediaAudio.autoConnect to initiate LE media connection for group devices. Change-Id: If431ff8b8892512e41426441bf5fbb7c57ffbf67 CRs-Fixed: 3114707
2022-01-26Merge "Allow BT APK to receive scan results" into bt-sys.lnx.12.0CNSS_WLAN Service
2022-01-26Merge "HFP: Ensure call state is set in system interface before posted to ↵CNSS_WLAN Service
HeadsetStateMachine" into bt-sys.lnx.12.0
2022-01-21Allow BT APK to receive scan resultsBhakthavatsala Raghavendra
Change-Id: I05fe611970e52189ffb3501b37e87031b69f3158
2022-01-20HFP: Ensure call state is set in system interface before posted to ↵penghua
HeadsetStateMachine This change will ensure phone call state is set in system interface before phone call state is posted to HeadsetStateMachine. CRs-Fixed: 3111513 Change-Id: Ib771adedd0ad1c9624f6ebfae35238170657aee8
2022-01-18Route profile connection retry through APMpramod kotreshappa
Change-Id: I0b03b479b0ac5d71037e50a7c4e01de37ed6ebfa
2022-01-16Merge 7d96315aed9760dd4f78e133e7b174fec25e6fa4 on remote branchLinux Build Service Account
Change-Id: I6a0e67fb20052221513c970762c6df2904ccffc2
2022-01-11Merge "Resume A2DP wrongly for some corner cases of VOIP call" into ↵CNSS_WLAN Service
bt-sys.lnx.12.0
2022-01-11HFP: check and connect to active devicezhiwyan
in case that set active device fastly between two bt device during cs call, device that is disconnecting audio can be set to active again and it can't connect to audio at such case, so we need to check and connect to audio when it becomes idle again CRs-Fixed: 3100899 Change-Id: I871a6668634a7c0fbe11432bddeae61259b1cc9b
2022-01-11Resume A2DP wrongly for some corner cases of VOIP callpenghua
1.Headset state machine is blocked when it call MM audio API to resume A2DP because the call state is not IDEL in stack layer The reason is headset state machine can't receive call state update from headset service. We need post message to Headset state machine to resume A2DP, but not call MM audio API directlly. 2.Ensure VOIP call state is correct if stopScoUsingVirtualVoiceCall and startScoUsingVirtualVoiceCall are executed almost at the same time. 3. If the call started/ended by the time A2DP suspend ack is received, send the call indicators before resuming A2DP CRs-Fixed: 3100571 Change-Id: I124be0c1f855e24c1ec7306068d1a38983de74d1
2021-12-31Use getSupplicantState API to get AP Connection stateVenkata Jagadeesh Garaga
getNetworkId used in Bluetooth to know the AP connection state and it requires ACCESS_FINE_LOCATION permission. But when bluetooth using ACCESS_FINE_LOCATION permission some GTS test cases failing. Hence use getSupplicantState API and remove ACCESS_FINE_LOCATION permission from Bluetooth APP Change-Id: I9f16c3b50a2d01c6aeaa892bcbf2834d03ec0f07 CRs-Fixed: 3101591