diff --git a/LICENSE b/LICENSE index 836d4353..e7d2625a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,33 +1,28 @@ -Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. +Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. Redistribution and use in source and binary forms, with or without -modification, are permitted (subject to the limitations in the -disclaimer below) provided that the following conditions are met: +modification, are permitted provided that the following conditions are +met: +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE -GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT -HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause diff --git a/Pal.cpp b/Pal.cpp index a569c544..51e59b8e 100644 --- a/Pal.cpp +++ b/Pal.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define ATRACE_TAG (ATRACE_TAG_AUDIO | ATRACE_TAG_HAL) diff --git a/PalAudioRoute.h b/PalAudioRoute.h index bd53f602..9ed68380 100644 --- a/PalAudioRoute.h +++ b/PalAudioRoute.h @@ -26,7 +26,7 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/PalCommon.h b/PalCommon.h index 30f8b046..fac4f6fe 100644 --- a/PalCommon.h +++ b/PalCommon.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_NDEBUG 0 diff --git a/README.md b/README.md index c3bd791d..3e89edc1 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,4 @@ To be available soon. ## License: -Audioreach-pal (source files are licensed under the BSD-3-Clause-Clear. Check out the LICENSE for more details +Audioreach-pal (source files are licensed under the BSD-3-Clause. Check out the LICENSE for more details diff --git a/adsprpcd/adsprpcd.c b/adsprpcd/adsprpcd.c index 38aabe68..ff79759c 100644 --- a/adsprpcd/adsprpcd.c +++ b/adsprpcd/adsprpcd.c @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef VERIFY_PRINT_ERROR diff --git a/configs/qcom/IoT/kalama/card-defs.xml b/configs/qcom/IoT/kalama/card-defs.xml index ca867fa4..1d7033ee 100644 --- a/configs/qcom/IoT/kalama/card-defs.xml +++ b/configs/qcom/IoT/kalama/card-defs.xml @@ -25,9 +25,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp.xml b/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp.xml index c48f85a9..f76c6788 100644 --- a/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp.xml +++ b/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp_wsa883x.xml b/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp_wsa883x.xml index 829d11c7..39885211 100644 --- a/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp_wsa883x.xml +++ b/configs/qcom/IoT/kalama/mixer_paths_kalama_cdp_wsa883x.xml @@ -26,9 +26,9 @@ - + - + diff --git a/configs/qcom/IoT/kalama/mixer_paths_kalama_grd.xml b/configs/qcom/IoT/kalama/mixer_paths_kalama_grd.xml index da89facb..eec6d651 100644 --- a/configs/qcom/IoT/kalama/mixer_paths_kalama_grd.xml +++ b/configs/qcom/IoT/kalama/mixer_paths_kalama_grd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/mixer_paths_kalama_mtp.xml b/configs/qcom/IoT/kalama/mixer_paths_kalama_mtp.xml index 003dff5e..8f73f12a 100644 --- a/configs/qcom/IoT/kalama/mixer_paths_kalama_mtp.xml +++ b/configs/qcom/IoT/kalama/mixer_paths_kalama_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/mixer_paths_kalama_qrd.xml b/configs/qcom/IoT/kalama/mixer_paths_kalama_qrd.xml index 22de4639..0278bb8b 100644 --- a/configs/qcom/IoT/kalama/mixer_paths_kalama_qrd.xml +++ b/configs/qcom/IoT/kalama/mixer_paths_kalama_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/resourcemanager_kalama_cdp.xml b/configs/qcom/IoT/kalama/resourcemanager_kalama_cdp.xml index 08c576d7..1a7f4741 100644 --- a/configs/qcom/IoT/kalama/resourcemanager_kalama_cdp.xml +++ b/configs/qcom/IoT/kalama/resourcemanager_kalama_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/resourcemanager_kalama_grd.xml b/configs/qcom/IoT/kalama/resourcemanager_kalama_grd.xml index 6f26bbb5..3f650d17 100644 --- a/configs/qcom/IoT/kalama/resourcemanager_kalama_grd.xml +++ b/configs/qcom/IoT/kalama/resourcemanager_kalama_grd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/resourcemanager_kalama_mtp.xml b/configs/qcom/IoT/kalama/resourcemanager_kalama_mtp.xml index cc2a8736..e83feb2a 100644 --- a/configs/qcom/IoT/kalama/resourcemanager_kalama_mtp.xml +++ b/configs/qcom/IoT/kalama/resourcemanager_kalama_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/resourcemanager_kalama_qrd.xml b/configs/qcom/IoT/kalama/resourcemanager_kalama_qrd.xml index 4b203e68..6f5f53b6 100644 --- a/configs/qcom/IoT/kalama/resourcemanager_kalama_qrd.xml +++ b/configs/qcom/IoT/kalama/resourcemanager_kalama_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/kalama/usecaseKvManager.xml b/configs/qcom/IoT/kalama/usecaseKvManager.xml index 43c0ce22..5dbd49c0 100644 --- a/configs/qcom/IoT/kalama/usecaseKvManager.xml +++ b/configs/qcom/IoT/kalama/usecaseKvManager.xml @@ -27,10 +27,10 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp.xml b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp.xml index a1f5c534..b539c3f4 100644 --- a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp.xml +++ b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp.xml @@ -24,9 +24,9 @@ - + - + diff --git a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_amic.xml b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_amic.xml index 8e661273..44cb09d2 100644 --- a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_amic.xml +++ b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_amic.xml @@ -24,9 +24,9 @@ - + - + diff --git a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate.xml b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate.xml index 1022db54..f4bd9e30 100644 --- a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate.xml +++ b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate.xml @@ -49,11 +49,11 @@ --> - - diff --git a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_amic.xml b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_amic.xml index 3e398f7e..39712186 100644 --- a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_amic.xml +++ b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_amic.xml @@ -49,11 +49,11 @@ --> - - diff --git a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_wsa.xml b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_wsa.xml index 3e398f7e..39712186 100644 --- a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_wsa.xml +++ b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_slate_wsa.xml @@ -49,11 +49,11 @@ --> - - diff --git a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_wsa.xml b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_wsa.xml index 30345ac2..057353a5 100644 --- a/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_wsa.xml +++ b/configs/qcom/IoT/monaco/resourcemanager_monaco_idp_wsa.xml @@ -24,9 +24,9 @@ - + - + diff --git a/configs/qcom/IoT/pineapple/Hapticsconfig.xml b/configs/qcom/IoT/pineapple/Hapticsconfig.xml index 430a689c..8186269c 100644 --- a/configs/qcom/IoT/pineapple/Hapticsconfig.xml +++ b/configs/qcom/IoT/pineapple/Hapticsconfig.xml @@ -1,5 +1,5 @@ - + diff --git a/configs/qcom/IoT/pineapple/card-defs.xml b/configs/qcom/IoT/pineapple/card-defs.xml index e6e1e496..134862f1 100644 --- a/configs/qcom/IoT/pineapple/card-defs.xml +++ b/configs/qcom/IoT/pineapple/card-defs.xml @@ -25,9 +25,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_cdp.xml b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_cdp.xml index 5123d27b..ca309f09 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_cdp.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp.xml b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp.xml index 3dd7ee92..293eb337 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp_wcd9395.xml b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp_wcd9395.xml index 7f432419..4bc8650c 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp_wcd9395.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_mtp_wcd9395.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_qrd.xml b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_qrd.xml index bb99e837..2d3ea227 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_cliffs_qrd.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_cliffs_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_aim.xml b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_aim.xml index e65526ce..2f5637ab 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_aim.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_aim.xml @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp.xml b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp.xml index 5123d27b..ca309f09 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp_wsa883x.xml b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp_wsa883x.xml index be7c7967..258eea3d 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp_wsa883x.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_cdp_wsa883x.xml @@ -26,9 +26,9 @@ - - - + + + diff --git a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_mtp.xml b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_mtp.xml index 4f8bdc68..1d2e5aa2 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_mtp.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd.xml b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd.xml index 2798f0ba..e125ca0a 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd_sku2.xml b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd_sku2.xml index 3792dd80..4f326d5d 100644 --- a/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd_sku2.xml +++ b/configs/qcom/IoT/pineapple/mixer_paths_pineapple_qrd_sku2.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_cdp.xml b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_cdp.xml index cc2c9f3f..368adc17 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_cdp.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp.xml b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp.xml index 7bcad32f..130ad609 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp_wcd9395.xml b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp_wcd9395.xml index ffd79b33..8a29be85 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp_wcd9395.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_mtp_wcd9395.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_qrd.xml b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_qrd.xml index ab0e9201..48d6fe23 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_cliffs_qrd.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_cliffs_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_aim.xml b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_aim.xml index d1caf948..e08ea676 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_aim.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_aim.xml @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_cdp.xml b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_cdp.xml index c6527e2e..570cd649 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_cdp.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_mtp.xml b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_mtp.xml index 78501fa0..fd78bdd8 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_mtp.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd.xml b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd.xml index f7877faf..6a819874 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd_sku2.xml b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd_sku2.xml index 1e970940..e819d858 100644 --- a/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd_sku2.xml +++ b/configs/qcom/IoT/pineapple/resourcemanager_pineapple_qrd_sku2.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/pineapple/usecaseKvManager.xml b/configs/qcom/IoT/pineapple/usecaseKvManager.xml index 4560a22e..b0df0515 100644 --- a/configs/qcom/IoT/pineapple/usecaseKvManager.xml +++ b/configs/qcom/IoT/pineapple/usecaseKvManager.xml @@ -27,9 +27,9 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_idp.xml b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_idp.xml index 9dacf123..b87fa7fa 100644 --- a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_idp.xml +++ b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_idp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3.xml b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3.xml index 877672f7..1af79382 100644 --- a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3.xml +++ b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_ia.xml b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_ia.xml index 3cbbb4ba..a9887516 100644 --- a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_ia.xml +++ b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_ia.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vc.xml b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vc.xml index f693aee0..5a65daae 100644 --- a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vc.xml +++ b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vc.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vision.xml b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vision.xml index a5a65ea7..75b098dd 100644 --- a/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vision.xml +++ b/configs/qcom/IoT/qcm6490/mixer_paths_qcm6490_rb3_vision.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_idp.xml b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_idp.xml index df24c66d..3d1b2613 100644 --- a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_idp.xml +++ b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_idp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3.xml b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3.xml index 7334bd43..63881d7e 100644 --- a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3.xml +++ b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_ia.xml b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_ia.xml index c10b3307..4e39f9bc 100644 --- a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_ia.xml +++ b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_ia.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vc.xml b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vc.xml index 202e626d..83b3fc68 100644 --- a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vc.xml +++ b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vc.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vision.xml b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vision.xml index 202e626d..83b3fc68 100644 --- a/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vision.xml +++ b/configs/qcom/IoT/qcm6490/resourcemanager_qcm6490_rb3_vision.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcm6490/usecaseKvManager.xml b/configs/qcom/IoT/qcm6490/usecaseKvManager.xml index ff6a4c5a..20a5c30d 100644 --- a/configs/qcom/IoT/qcm6490/usecaseKvManager.xml +++ b/configs/qcom/IoT/qcm6490/usecaseKvManager.xml @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcs6490/mixer_paths_QCS6490_RB3Gen2.xml b/configs/qcom/IoT/qcs6490/mixer_paths_QCS6490_RB3Gen2.xml index 877672f7..8f7481c7 100644 --- a/configs/qcom/IoT/qcs6490/mixer_paths_QCS6490_RB3Gen2.xml +++ b/configs/qcom/IoT/qcs6490/mixer_paths_QCS6490_RB3Gen2.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcs6490/resourcemanager_QCS6490_RB3Gen2.xml b/configs/qcom/IoT/qcs6490/resourcemanager_QCS6490_RB3Gen2.xml index 1a0f86e8..320dcc5a 100644 --- a/configs/qcom/IoT/qcs6490/resourcemanager_QCS6490_RB3Gen2.xml +++ b/configs/qcom/IoT/qcs6490/resourcemanager_QCS6490_RB3Gen2.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcs8300/mixer_paths_MONACO_EVK.xml b/configs/qcom/IoT/qcs8300/mixer_paths_MONACO_EVK.xml index 65a34a43..a73f84f5 100644 --- a/configs/qcom/IoT/qcs8300/mixer_paths_MONACO_EVK.xml +++ b/configs/qcom/IoT/qcs8300/mixer_paths_MONACO_EVK.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/IoT/qcs8300/resourcemanager_MONACO_EVK.xml b/configs/qcom/IoT/qcs8300/resourcemanager_MONACO_EVK.xml index defb0f6d..002565c8 100644 --- a/configs/qcom/IoT/qcs8300/resourcemanager_MONACO_EVK.xml +++ b/configs/qcom/IoT/qcs8300/resourcemanager_MONACO_EVK.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcs9075/mixer_paths_LEMANS_EVK.xml b/configs/qcom/IoT/qcs9075/mixer_paths_LEMANS_EVK.xml index 78cf54c3..0750279a 100644 --- a/configs/qcom/IoT/qcs9075/mixer_paths_LEMANS_EVK.xml +++ b/configs/qcom/IoT/qcs9075/mixer_paths_LEMANS_EVK.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/IoT/qcs9075/resourcemanager_LEMANS_EVK.xml b/configs/qcom/IoT/qcs9075/resourcemanager_LEMANS_EVK.xml index 695de1d7..b5636756 100644 --- a/configs/qcom/IoT/qcs9075/resourcemanager_LEMANS_EVK.xml +++ b/configs/qcom/IoT/qcs9075/resourcemanager_LEMANS_EVK.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Technologies, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/qcs9100/mixer_paths_qcs9100_ridesx.xml b/configs/qcom/IoT/qcs9100/mixer_paths_qcs9100_ridesx.xml index 65a34a43..a73f84f5 100644 --- a/configs/qcom/IoT/qcs9100/mixer_paths_qcs9100_ridesx.xml +++ b/configs/qcom/IoT/qcs9100/mixer_paths_qcs9100_ridesx.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/IoT/qcs9100/resourcemanager_qcs9100_ridesx.xml b/configs/qcom/IoT/qcs9100/resourcemanager_qcs9100_ridesx.xml index 068ec2f7..34fa73d3 100644 --- a/configs/qcom/IoT/qcs9100/resourcemanager_qcs9100_ridesx.xml +++ b/configs/qcom/IoT/qcs9100/resourcemanager_qcs9100_ridesx.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/shikra/card-defs.xml b/configs/qcom/IoT/shikra/card-defs.xml index 0aa4c8cd..936452eb 100644 --- a/configs/qcom/IoT/shikra/card-defs.xml +++ b/configs/qcom/IoT/shikra/card-defs.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/shikra/mcs_defs_shikra_cpu.xml b/configs/qcom/IoT/shikra/mcs_defs_shikra_cpu.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/IoT/shikra/mcs_defs_shikra_cpu.xml +++ b/configs/qcom/IoT/shikra/mcs_defs_shikra_cpu.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/shikra/mcs_defs_shikra_dsp.xml b/configs/qcom/IoT/shikra/mcs_defs_shikra_dsp.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/IoT/shikra/mcs_defs_shikra_dsp.xml +++ b/configs/qcom/IoT/shikra/mcs_defs_shikra_dsp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQM_EVK.xml b/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQM_EVK.xml index e5ee5495..fe0c697c 100644 --- a/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQM_EVK.xml +++ b/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQM_EVK.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQS_EVK.xml b/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQS_EVK.xml index e5ee5495..fe0c697c 100644 --- a/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQS_EVK.xml +++ b/configs/qcom/IoT/shikra/mixer_paths_Shikra_CQS_EVK.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/mixer_paths_shikra_cpu.xml b/configs/qcom/IoT/shikra/mixer_paths_shikra_cpu.xml index e5ee5495..fe0c697c 100644 --- a/configs/qcom/IoT/shikra/mixer_paths_shikra_cpu.xml +++ b/configs/qcom/IoT/shikra/mixer_paths_shikra_cpu.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/mixer_paths_shikra_dsp.xml b/configs/qcom/IoT/shikra/mixer_paths_shikra_dsp.xml index e5ee5495..fe0c697c 100644 --- a/configs/qcom/IoT/shikra/mixer_paths_shikra_dsp.xml +++ b/configs/qcom/IoT/shikra/mixer_paths_shikra_dsp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/plugin_manager.xml b/configs/qcom/IoT/shikra/plugin_manager.xml index 24d497d8..7ce89c43 100644 --- a/configs/qcom/IoT/shikra/plugin_manager.xml +++ b/configs/qcom/IoT/shikra/plugin_manager.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/resourcemanager_Shikra-CQM_EVK.xml b/configs/qcom/IoT/shikra/resourcemanager_Shikra-CQM_EVK.xml index 77ebf26f..23ef890a 100644 --- a/configs/qcom/IoT/shikra/resourcemanager_Shikra-CQM_EVK.xml +++ b/configs/qcom/IoT/shikra/resourcemanager_Shikra-CQM_EVK.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/resourcemanager_Shikra_CQS_EVK.xml b/configs/qcom/IoT/shikra/resourcemanager_Shikra_CQS_EVK.xml index 4fe7a102..c6a30907 100644 --- a/configs/qcom/IoT/shikra/resourcemanager_Shikra_CQS_EVK.xml +++ b/configs/qcom/IoT/shikra/resourcemanager_Shikra_CQS_EVK.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/resourcemanager_shikra_cpu.xml b/configs/qcom/IoT/shikra/resourcemanager_shikra_cpu.xml index 4fe7a102..c6a30907 100644 --- a/configs/qcom/IoT/shikra/resourcemanager_shikra_cpu.xml +++ b/configs/qcom/IoT/shikra/resourcemanager_shikra_cpu.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/resourcemanager_shikra_dsp.xml b/configs/qcom/IoT/shikra/resourcemanager_shikra_dsp.xml index 77ebf26f..23ef890a 100644 --- a/configs/qcom/IoT/shikra/resourcemanager_shikra_dsp.xml +++ b/configs/qcom/IoT/shikra/resourcemanager_shikra_dsp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/IoT/shikra/usecaseKvManager.xml b/configs/qcom/IoT/shikra/usecaseKvManager.xml index f731b291..54fb73f2 100644 --- a/configs/qcom/IoT/shikra/usecaseKvManager.xml +++ b/configs/qcom/IoT/shikra/usecaseKvManager.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/XR/anorak/card-defs.xml b/configs/qcom/XR/anorak/card-defs.xml index df2e65a3..aede7cc6 100644 --- a/configs/qcom/XR/anorak/card-defs.xml +++ b/configs/qcom/XR/anorak/card-defs.xml @@ -25,9 +25,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/XR/anorak/mixer_paths_anorak_idp.xml b/configs/qcom/XR/anorak/mixer_paths_anorak_idp.xml index c6f93149..143b4ccd 100644 --- a/configs/qcom/XR/anorak/mixer_paths_anorak_idp.xml +++ b/configs/qcom/XR/anorak/mixer_paths_anorak_idp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/XR/anorak/mixer_paths_anorak_qxr.xml b/configs/qcom/XR/anorak/mixer_paths_anorak_qxr.xml index 0492c457..0dc0cebf 100644 --- a/configs/qcom/XR/anorak/mixer_paths_anorak_qxr.xml +++ b/configs/qcom/XR/anorak/mixer_paths_anorak_qxr.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/XR/anorak/resourcemanager_anorak_idp.xml b/configs/qcom/XR/anorak/resourcemanager_anorak_idp.xml index 8954dd0d..7f49d62a 100644 --- a/configs/qcom/XR/anorak/resourcemanager_anorak_idp.xml +++ b/configs/qcom/XR/anorak/resourcemanager_anorak_idp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/XR/anorak/resourcemanager_anorak_qxr.xml b/configs/qcom/XR/anorak/resourcemanager_anorak_qxr.xml index 5328fd78..5ca072f2 100644 --- a/configs/qcom/XR/anorak/resourcemanager_anorak_qxr.xml +++ b/configs/qcom/XR/anorak/resourcemanager_anorak_qxr.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/XR/anorak/usecaseKvManager.xml b/configs/qcom/XR/anorak/usecaseKvManager.xml index f57d31d6..a5f2292b 100644 --- a/configs/qcom/XR/anorak/usecaseKvManager.xml +++ b/configs/qcom/XR/anorak/usecaseKvManager.xml @@ -27,9 +27,9 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/automotive/plugin_manager.xml b/configs/qcom/automotive/plugin_manager.xml index cf572bf8..dc11d2a9 100644 --- a/configs/qcom/automotive/plugin_manager.xml +++ b/configs/qcom/automotive/plugin_manager.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/automotive/resourcemanager_VIOSND.xml b/configs/qcom/automotive/resourcemanager_VIOSND.xml index a7b6870d..6e2a1241 100644 --- a/configs/qcom/automotive/resourcemanager_VIOSND.xml +++ b/configs/qcom/automotive/resourcemanager_VIOSND.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/automotive/usecaseKvManager-VIOSND.xml b/configs/qcom/automotive/usecaseKvManager-VIOSND.xml index e97a644d..7e1cdd82 100644 --- a/configs/qcom/automotive/usecaseKvManager-VIOSND.xml +++ b/configs/qcom/automotive/usecaseKvManager-VIOSND.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa/Hapticsconfig.xml b/configs/qcom/compute/hamoa/Hapticsconfig.xml index eaa8847d..f2c20381 100644 --- a/configs/qcom/compute/hamoa/Hapticsconfig.xml +++ b/configs/qcom/compute/hamoa/Hapticsconfig.xml @@ -1,6 +1,6 @@ - + diff --git a/configs/qcom/compute/hamoa/card-defs.xml b/configs/qcom/compute/hamoa/card-defs.xml index 4e35adaf..f1e52174 100644 --- a/configs/qcom/compute/hamoa/card-defs.xml +++ b/configs/qcom/compute/hamoa/card-defs.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml b/configs/qcom/compute/hamoa/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml index ffa2258d..c866a972 100644 --- a/configs/qcom/compute/hamoa/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml +++ b/configs/qcom/compute/hamoa/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml b/configs/qcom/compute/hamoa/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml index 2930ea73..979c1d1b 100644 --- a/configs/qcom/compute/hamoa/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml +++ b/configs/qcom/compute/hamoa/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa/plugin_manager.xml b/configs/qcom/compute/hamoa/plugin_manager.xml index 01a29206..91dd7e55 100644 --- a/configs/qcom/compute/hamoa/plugin_manager.xml +++ b/configs/qcom/compute/hamoa/plugin_manager.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/compute/hamoa/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml b/configs/qcom/compute/hamoa/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml index 60974bd2..5c81e816 100644 --- a/configs/qcom/compute/hamoa/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml +++ b/configs/qcom/compute/hamoa/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa/usecaseKvManager.xml b/configs/qcom/compute/hamoa/usecaseKvManager.xml index a62ac45d..be08ce05 100644 --- a/configs/qcom/compute/hamoa/usecaseKvManager.xml +++ b/configs/qcom/compute/hamoa/usecaseKvManager.xml @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/Hapticsconfig.xml b/configs/qcom/compute/hamoa_la/Hapticsconfig.xml index eaa8847d..f2c20381 100644 --- a/configs/qcom/compute/hamoa_la/Hapticsconfig.xml +++ b/configs/qcom/compute/hamoa_la/Hapticsconfig.xml @@ -1,6 +1,6 @@ - + diff --git a/configs/qcom/compute/hamoa_la/card-defs.xml b/configs/qcom/compute/hamoa_la/card-defs.xml index 4e35adaf..f1e52174 100644 --- a/configs/qcom/compute/hamoa_la/card-defs.xml +++ b/configs/qcom/compute/hamoa_la/card-defs.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml b/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml index ffa2258d..c866a972 100644 --- a/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml +++ b/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_crd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_qcp_wsa884x.xml b/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_qcp_wsa884x.xml index f7ad8bc1..b6d4808a 100644 --- a/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_qcp_wsa884x.xml +++ b/configs/qcom/compute/hamoa_la/mcs_defs_hamoa_x1e80100_qcp_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml b/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml index dceb9ab7..b1c9ff03 100644 --- a/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml +++ b/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_crd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_qcp_wsa884x.xml b/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_qcp_wsa884x.xml index af2d9c12..0f4d4f2f 100644 --- a/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_qcp_wsa884x.xml +++ b/configs/qcom/compute/hamoa_la/mixer_paths_hamoa_x1e80100_qcp_wsa884x.xml @@ -25,7 +25,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/plugin_manager.xml b/configs/qcom/compute/hamoa_la/plugin_manager.xml index 01a29206..91dd7e55 100644 --- a/configs/qcom/compute/hamoa_la/plugin_manager.xml +++ b/configs/qcom/compute/hamoa_la/plugin_manager.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml b/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml index ac3b1770..4b54e086 100644 --- a/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml +++ b/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_crd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_qcp_wsa884x.xml b/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_qcp_wsa884x.xml index 5512e7e2..c1f328fa 100644 --- a/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_qcp_wsa884x.xml +++ b/configs/qcom/compute/hamoa_la/resourcemanager_hamoa_x1e80100_qcp_wsa884x.xml @@ -25,7 +25,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> 2.0 diff --git a/configs/qcom/compute/hamoa_la/usecaseKvManager.xml b/configs/qcom/compute/hamoa_la/usecaseKvManager.xml index b7e3513c..dd51b29c 100644 --- a/configs/qcom/compute/hamoa_la/usecaseKvManager.xml +++ b/configs/qcom/compute/hamoa_la/usecaseKvManager.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/Hapticsconfig.xml b/configs/qcom/mobile/art/Hapticsconfig.xml index a7b9d76f..e39bb1f6 100644 --- a/configs/qcom/mobile/art/Hapticsconfig.xml +++ b/configs/qcom/mobile/art/Hapticsconfig.xml @@ -1,6 +1,6 @@ - + diff --git a/configs/qcom/mobile/art/card-defs-native.xml b/configs/qcom/mobile/art/card-defs-native.xml index 89623add..2db1b890 100644 --- a/configs/qcom/mobile/art/card-defs-native.xml +++ b/configs/qcom/mobile/art/card-defs-native.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/card-defs.xml b/configs/qcom/mobile/art/card-defs.xml index 35033752..07c0d8ea 100644 --- a/configs/qcom/mobile/art/card-defs.xml +++ b/configs/qcom/mobile/art/card-defs.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mcs_defs_art_cdp.xml b/configs/qcom/mobile/art/mcs_defs_art_cdp.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/mobile/art/mcs_defs_art_cdp.xml +++ b/configs/qcom/mobile/art/mcs_defs_art_cdp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mcs_defs_art_mtp.xml b/configs/qcom/mobile/art/mcs_defs_art_mtp.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/mobile/art/mcs_defs_art_mtp.xml +++ b/configs/qcom/mobile/art/mcs_defs_art_mtp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mcs_defs_art_mtp_qmp.xml b/configs/qcom/mobile/art/mcs_defs_art_mtp_qmp.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/mobile/art/mcs_defs_art_mtp_qmp.xml +++ b/configs/qcom/mobile/art/mcs_defs_art_mtp_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mcs_defs_art_qrd.xml b/configs/qcom/mobile/art/mcs_defs_art_qrd.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/mobile/art/mcs_defs_art_qrd.xml +++ b/configs/qcom/mobile/art/mcs_defs_art_qrd.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mcs_defs_art_qrd_qmp.xml b/configs/qcom/mobile/art/mcs_defs_art_qrd_qmp.xml index 086a6a74..2fad9efd 100644 --- a/configs/qcom/mobile/art/mcs_defs_art_qrd_qmp.xml +++ b/configs/qcom/mobile/art/mcs_defs_art_qrd_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_art_cdp.xml b/configs/qcom/mobile/art/mixer_paths_art_cdp.xml index 79941075..d9c2ea91 100644 --- a/configs/qcom/mobile/art/mixer_paths_art_cdp.xml +++ b/configs/qcom/mobile/art/mixer_paths_art_cdp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/art/mixer_paths_art_mtp.xml b/configs/qcom/mobile/art/mixer_paths_art_mtp.xml index 63844527..6ab91a39 100644 --- a/configs/qcom/mobile/art/mixer_paths_art_mtp.xml +++ b/configs/qcom/mobile/art/mixer_paths_art_mtp.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_art_mtp_qmp.xml b/configs/qcom/mobile/art/mixer_paths_art_mtp_qmp.xml index 644bcb4c..63fe848c 100644 --- a/configs/qcom/mobile/art/mixer_paths_art_mtp_qmp.xml +++ b/configs/qcom/mobile/art/mixer_paths_art_mtp_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_art_qrd.xml b/configs/qcom/mobile/art/mixer_paths_art_qrd.xml index 5c649bbf..69776cf1 100644 --- a/configs/qcom/mobile/art/mixer_paths_art_qrd.xml +++ b/configs/qcom/mobile/art/mixer_paths_art_qrd.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_art_qrd_qmp.xml b/configs/qcom/mobile/art/mixer_paths_art_qrd_qmp.xml index cc73cd69..bc0a21a3 100644 --- a/configs/qcom/mobile/art/mixer_paths_art_qrd_qmp.xml +++ b/configs/qcom/mobile/art/mixer_paths_art_qrd_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_pebble_cdp.xml b/configs/qcom/mobile/art/mixer_paths_pebble_cdp.xml index 3e64a492..8e276087 100644 --- a/configs/qcom/mobile/art/mixer_paths_pebble_cdp.xml +++ b/configs/qcom/mobile/art/mixer_paths_pebble_cdp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/art/mixer_paths_pebble_mtp_qmp.xml b/configs/qcom/mobile/art/mixer_paths_pebble_mtp_qmp.xml index 2161b029..d2c3c489 100644 --- a/configs/qcom/mobile/art/mixer_paths_pebble_mtp_qmp.xml +++ b/configs/qcom/mobile/art/mixer_paths_pebble_mtp_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_pebble_mtp_wcd9378.xml b/configs/qcom/mobile/art/mixer_paths_pebble_mtp_wcd9378.xml index fad166b5..c6b3301e 100644 --- a/configs/qcom/mobile/art/mixer_paths_pebble_mtp_wcd9378.xml +++ b/configs/qcom/mobile/art/mixer_paths_pebble_mtp_wcd9378.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/mixer_paths_pebble_qrd.xml b/configs/qcom/mobile/art/mixer_paths_pebble_qrd.xml index 06222c41..130ba2fb 100644 --- a/configs/qcom/mobile/art/mixer_paths_pebble_qrd.xml +++ b/configs/qcom/mobile/art/mixer_paths_pebble_qrd.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/plugin_manager.xml b/configs/qcom/mobile/art/plugin_manager.xml index 96c4b049..40c0148c 100644 --- a/configs/qcom/mobile/art/plugin_manager.xml +++ b/configs/qcom/mobile/art/plugin_manager.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/art/resourcemanager_art_cdp.xml b/configs/qcom/mobile/art/resourcemanager_art_cdp.xml index e38e429d..bc58a8d1 100644 --- a/configs/qcom/mobile/art/resourcemanager_art_cdp.xml +++ b/configs/qcom/mobile/art/resourcemanager_art_cdp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/art/resourcemanager_art_mtp.xml b/configs/qcom/mobile/art/resourcemanager_art_mtp.xml index 16a345c6..908dd095 100644 --- a/configs/qcom/mobile/art/resourcemanager_art_mtp.xml +++ b/configs/qcom/mobile/art/resourcemanager_art_mtp.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/resourcemanager_art_mtp_qmp.xml b/configs/qcom/mobile/art/resourcemanager_art_mtp_qmp.xml index 42443d4b..6eacb9c5 100644 --- a/configs/qcom/mobile/art/resourcemanager_art_mtp_qmp.xml +++ b/configs/qcom/mobile/art/resourcemanager_art_mtp_qmp.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/resourcemanager_art_qrd.xml b/configs/qcom/mobile/art/resourcemanager_art_qrd.xml index 9eb68856..2bab6a3f 100644 --- a/configs/qcom/mobile/art/resourcemanager_art_qrd.xml +++ b/configs/qcom/mobile/art/resourcemanager_art_qrd.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/resourcemanager_art_qrd_qmp.xml b/configs/qcom/mobile/art/resourcemanager_art_qrd_qmp.xml index 25d210cc..3c08a0fa 100644 --- a/configs/qcom/mobile/art/resourcemanager_art_qrd_qmp.xml +++ b/configs/qcom/mobile/art/resourcemanager_art_qrd_qmp.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/resourcemanager_pebble_cdp.xml b/configs/qcom/mobile/art/resourcemanager_pebble_cdp.xml index 30287665..3ab0019b 100644 --- a/configs/qcom/mobile/art/resourcemanager_pebble_cdp.xml +++ b/configs/qcom/mobile/art/resourcemanager_pebble_cdp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/art/resourcemanager_pebble_mtp_qmp.xml b/configs/qcom/mobile/art/resourcemanager_pebble_mtp_qmp.xml index 73f908a4..577ba3fb 100644 --- a/configs/qcom/mobile/art/resourcemanager_pebble_mtp_qmp.xml +++ b/configs/qcom/mobile/art/resourcemanager_pebble_mtp_qmp.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/resourcemanager_pebble_mtp_wcd9378.xml b/configs/qcom/mobile/art/resourcemanager_pebble_mtp_wcd9378.xml index 73f908a4..577ba3fb 100644 --- a/configs/qcom/mobile/art/resourcemanager_pebble_mtp_wcd9378.xml +++ b/configs/qcom/mobile/art/resourcemanager_pebble_mtp_wcd9378.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/resourcemanager_pebble_qrd.xml b/configs/qcom/mobile/art/resourcemanager_pebble_qrd.xml index accef38b..5feb3729 100644 --- a/configs/qcom/mobile/art/resourcemanager_pebble_qrd.xml +++ b/configs/qcom/mobile/art/resourcemanager_pebble_qrd.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/art/usecaseKvManager.xml b/configs/qcom/mobile/art/usecaseKvManager.xml index 78831bc7..63f9c4b3 100644 --- a/configs/qcom/mobile/art/usecaseKvManager.xml +++ b/configs/qcom/mobile/art/usecaseKvManager.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/Hapticsconfig.xml b/configs/qcom/mobile/canoe/Hapticsconfig.xml index 66f777d8..ccadf73a 100644 --- a/configs/qcom/mobile/canoe/Hapticsconfig.xml +++ b/configs/qcom/mobile/canoe/Hapticsconfig.xml @@ -1,6 +1,6 @@ - - + + diff --git a/configs/qcom/mobile/canoe/card-defs.xml b/configs/qcom/mobile/canoe/card-defs.xml index ff6f368c..22dc4234 100644 --- a/configs/qcom/mobile/canoe/card-defs.xml +++ b/configs/qcom/mobile/canoe/card-defs.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mcs_defs_canoe_cdp_wsa885xi2s.xml b/configs/qcom/mobile/canoe/mcs_defs_canoe_cdp_wsa885xi2s.xml index 24b25a17..f6af85f3 100644 --- a/configs/qcom/mobile/canoe/mcs_defs_canoe_cdp_wsa885xi2s.xml +++ b/configs/qcom/mobile/canoe/mcs_defs_canoe_cdp_wsa885xi2s.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp.xml b/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp.xml index 7865aaee..cef4b15d 100644 --- a/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp.xml +++ b/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp_wsa884x.xml b/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp_wsa884x.xml index ffa2258d..c866a972 100644 --- a/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp_wsa884x.xml +++ b/configs/qcom/mobile/canoe/mcs_defs_canoe_mtp_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd.xml b/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd.xml index 7865aaee..cef4b15d 100644 --- a/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd.xml +++ b/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd_wsa884x.xml b/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd_wsa884x.xml index ffa2258d..c866a972 100644 --- a/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd_wsa884x.xml +++ b/configs/qcom/mobile/canoe/mcs_defs_canoe_qrd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_alor_cdp.xml b/configs/qcom/mobile/canoe/mixer_paths_alor_cdp.xml index 3f347c80..de5096a0 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_alor_cdp.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_alor_cdp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd9378.xml b/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd9378.xml index 8badb6d1..c3bbfac1 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd9378.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd9378.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd939x.xml b/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd939x.xml index d33da912..2f9dc73b 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd939x.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_alor_mtp_wcd939x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_alor_qrd.xml b/configs/qcom/mobile/canoe/mixer_paths_alor_qrd.xml index 425a2246..471d951c 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_alor_qrd.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_alor_qrd.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_atp.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_atp.xml index 20124af3..4b71bb81 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_atp.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_atp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp.xml index 9b2e030f..658c0b99 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa884x.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa884x.xml index 69f804a3..79392be7 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa884x.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa884x.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa885xi2s.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa885xi2s.xml index db941c6d..d4e54187 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa885xi2s.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_cdp_wsa885xi2s.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp.xml index 825a43a8..2c2dadc9 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_qmp.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_qmp.xml index 521af0a2..ac873dcf 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_qmp.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_wsa884x.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_wsa884x.xml index abd91ba7..1afddb8e 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_wsa884x.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_mtp_wsa884x.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd.xml index c3aa1c43..ac662d49 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd_wsa884x.xml b/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd_wsa884x.xml index 57c54c2e..d7b7677d 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd_wsa884x.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_canoe_qrd_wsa884x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/mixer_paths_qcm6490_rb3_ia.xml b/configs/qcom/mobile/canoe/mixer_paths_qcm6490_rb3_ia.xml index 7f287673..fb0a33a5 100644 --- a/configs/qcom/mobile/canoe/mixer_paths_qcm6490_rb3_ia.xml +++ b/configs/qcom/mobile/canoe/mixer_paths_qcm6490_rb3_ia.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022, 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/plugin_manager.xml b/configs/qcom/mobile/canoe/plugin_manager.xml index 1bd2d971..735955b9 100644 --- a/configs/qcom/mobile/canoe/plugin_manager.xml +++ b/configs/qcom/mobile/canoe/plugin_manager.xml @@ -1,6 +1,6 @@ - diff --git a/configs/qcom/mobile/canoe/resourcemanager_alor_cdp.xml b/configs/qcom/mobile/canoe/resourcemanager_alor_cdp.xml index 151a775f..e9132040 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_alor_cdp.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_alor_cdp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd9378.xml b/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd9378.xml index 284197c9..c023f102 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd9378.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd9378.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd939x.xml b/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd939x.xml index 284197c9..c023f102 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd939x.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_alor_mtp_wcd939x.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_alor_qrd.xml b/configs/qcom/mobile/canoe/resourcemanager_alor_qrd.xml index 4d581706..82c0a30c 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_alor_qrd.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_alor_qrd.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_atp.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_atp.xml index 82b92dc8..6e961b8b 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_atp.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_atp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp.xml index 00fa682f..eed69c77 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa884x.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa884x.xml index 1b6c1b10..495c59f1 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa884x.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa884x.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa885xi2s.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa885xi2s.xml index db78899f..119cb39d 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa885xi2s.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_cdp_wsa885xi2s.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp.xml index 21427a54..c26fb03e 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_qmp.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_qmp.xml index 21427a54..c26fb03e 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_qmp.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_qmp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_wsa884x.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_wsa884x.xml index 369ff975..8d724764 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_wsa884x.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_mtp_wsa884x.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd.xml index e94b136f..4c7eae9f 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd_wsa884x.xml b/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd_wsa884x.xml index e93ed389..c08df3fd 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd_wsa884x.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_canoe_qrd_wsa884x.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/resourcemanager_qcm6490_rb3_ia.xml b/configs/qcom/mobile/canoe/resourcemanager_qcm6490_rb3_ia.xml index 5c02ab95..d30f6472 100644 --- a/configs/qcom/mobile/canoe/resourcemanager_qcm6490_rb3_ia.xml +++ b/configs/qcom/mobile/canoe/resourcemanager_qcm6490_rb3_ia.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022, 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/canoe/usecaseKvManager.xml b/configs/qcom/mobile/canoe/usecaseKvManager.xml index 54803d63..ea64158e 100644 --- a/configs/qcom/mobile/canoe/usecaseKvManager.xml +++ b/configs/qcom/mobile/canoe/usecaseKvManager.xml @@ -27,9 +27,9 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/Hapticsconfig.xml b/configs/qcom/mobile/chora/Hapticsconfig.xml index eaa8847d..f2c20381 100644 --- a/configs/qcom/mobile/chora/Hapticsconfig.xml +++ b/configs/qcom/mobile/chora/Hapticsconfig.xml @@ -1,6 +1,6 @@ - + diff --git a/configs/qcom/mobile/chora/card-defs.xml b/configs/qcom/mobile/chora/card-defs.xml index 70e332ca..fb3c063d 100644 --- a/configs/qcom/mobile/chora/card-defs.xml +++ b/configs/qcom/mobile/chora/card-defs.xml @@ -27,7 +27,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/mcs_defs_chora_atp.xml b/configs/qcom/mobile/chora/mcs_defs_chora_atp.xml index 24b25a17..f6af85f3 100644 --- a/configs/qcom/mobile/chora/mcs_defs_chora_atp.xml +++ b/configs/qcom/mobile/chora/mcs_defs_chora_atp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/mcs_defs_chora_cdp.xml b/configs/qcom/mobile/chora/mcs_defs_chora_cdp.xml index 24b25a17..f6af85f3 100644 --- a/configs/qcom/mobile/chora/mcs_defs_chora_cdp.xml +++ b/configs/qcom/mobile/chora/mcs_defs_chora_cdp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/mcs_defs_chora_mtp.xml b/configs/qcom/mobile/chora/mcs_defs_chora_mtp.xml index 24b25a17..f6af85f3 100644 --- a/configs/qcom/mobile/chora/mcs_defs_chora_mtp.xml +++ b/configs/qcom/mobile/chora/mcs_defs_chora_mtp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/mcs_defs_chora_mtp_qmp.xml b/configs/qcom/mobile/chora/mcs_defs_chora_mtp_qmp.xml index 24b25a17..f6af85f3 100644 --- a/configs/qcom/mobile/chora/mcs_defs_chora_mtp_qmp.xml +++ b/configs/qcom/mobile/chora/mcs_defs_chora_mtp_qmp.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/mcs_defs_chora_qrd.xml b/configs/qcom/mobile/chora/mcs_defs_chora_qrd.xml index 24b25a17..f6af85f3 100644 --- a/configs/qcom/mobile/chora/mcs_defs_chora_qrd.xml +++ b/configs/qcom/mobile/chora/mcs_defs_chora_qrd.xml @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/mixer_paths_chora_atp.xml b/configs/qcom/mobile/chora/mixer_paths_chora_atp.xml index 6792fd44..79cbae5c 100644 --- a/configs/qcom/mobile/chora/mixer_paths_chora_atp.xml +++ b/configs/qcom/mobile/chora/mixer_paths_chora_atp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/mixer_paths_chora_cdp.xml b/configs/qcom/mobile/chora/mixer_paths_chora_cdp.xml index 6792fd44..79cbae5c 100644 --- a/configs/qcom/mobile/chora/mixer_paths_chora_cdp.xml +++ b/configs/qcom/mobile/chora/mixer_paths_chora_cdp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/mixer_paths_chora_mtp.xml b/configs/qcom/mobile/chora/mixer_paths_chora_mtp.xml index 6792fd44..79cbae5c 100644 --- a/configs/qcom/mobile/chora/mixer_paths_chora_mtp.xml +++ b/configs/qcom/mobile/chora/mixer_paths_chora_mtp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/mixer_paths_chora_mtp_qmp.xml b/configs/qcom/mobile/chora/mixer_paths_chora_mtp_qmp.xml index 762d2a5b..0370db49 100644 --- a/configs/qcom/mobile/chora/mixer_paths_chora_mtp_qmp.xml +++ b/configs/qcom/mobile/chora/mixer_paths_chora_mtp_qmp.xml @@ -1,6 +1,6 @@ diff --git a/configs/qcom/mobile/chora/mixer_paths_chora_qrd.xml b/configs/qcom/mobile/chora/mixer_paths_chora_qrd.xml index 436f204d..e9fa1999 100644 --- a/configs/qcom/mobile/chora/mixer_paths_chora_qrd.xml +++ b/configs/qcom/mobile/chora/mixer_paths_chora_qrd.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/plugin_manager.xml b/configs/qcom/mobile/chora/plugin_manager.xml index a6b69f7f..44afad49 100644 --- a/configs/qcom/mobile/chora/plugin_manager.xml +++ b/configs/qcom/mobile/chora/plugin_manager.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/chora/resourcemanager_chora_atp.xml b/configs/qcom/mobile/chora/resourcemanager_chora_atp.xml index e9756bd1..794f6a46 100644 --- a/configs/qcom/mobile/chora/resourcemanager_chora_atp.xml +++ b/configs/qcom/mobile/chora/resourcemanager_chora_atp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/resourcemanager_chora_cdp.xml b/configs/qcom/mobile/chora/resourcemanager_chora_cdp.xml index 410c817f..b2b229f8 100644 --- a/configs/qcom/mobile/chora/resourcemanager_chora_cdp.xml +++ b/configs/qcom/mobile/chora/resourcemanager_chora_cdp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/resourcemanager_chora_mtp.xml b/configs/qcom/mobile/chora/resourcemanager_chora_mtp.xml index e9756bd1..794f6a46 100644 --- a/configs/qcom/mobile/chora/resourcemanager_chora_mtp.xml +++ b/configs/qcom/mobile/chora/resourcemanager_chora_mtp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/resourcemanager_chora_mtp_qmp.xml b/configs/qcom/mobile/chora/resourcemanager_chora_mtp_qmp.xml index e9756bd1..794f6a46 100644 --- a/configs/qcom/mobile/chora/resourcemanager_chora_mtp_qmp.xml +++ b/configs/qcom/mobile/chora/resourcemanager_chora_mtp_qmp.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/resourcemanager_chora_qrd.xml b/configs/qcom/mobile/chora/resourcemanager_chora_qrd.xml index 92c7e363..ddd9cd9c 100644 --- a/configs/qcom/mobile/chora/resourcemanager_chora_qrd.xml +++ b/configs/qcom/mobile/chora/resourcemanager_chora_qrd.xml @@ -1,7 +1,7 @@ diff --git a/configs/qcom/mobile/chora/usecaseKvManager.xml b/configs/qcom/mobile/chora/usecaseKvManager.xml index 3b07839c..bf9858da 100644 --- a/configs/qcom/mobile/chora/usecaseKvManager.xml +++ b/configs/qcom/mobile/chora/usecaseKvManager.xml @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/Hapticsconfig.xml b/configs/qcom/mobile/sun/Hapticsconfig.xml index 190fc6db..8f7e0799 100644 --- a/configs/qcom/mobile/sun/Hapticsconfig.xml +++ b/configs/qcom/mobile/sun/Hapticsconfig.xml @@ -1,5 +1,5 @@ - + diff --git a/configs/qcom/mobile/sun/card-defs.xml b/configs/qcom/mobile/sun/card-defs.xml index c66bf2b0..25ef0a5c 100644 --- a/configs/qcom/mobile/sun/card-defs.xml +++ b/configs/qcom/mobile/sun/card-defs.xml @@ -25,9 +25,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/mixer_paths_sun_cdp.xml b/configs/qcom/mobile/sun/mixer_paths_sun_cdp.xml index 26dafa03..47eba862 100644 --- a/configs/qcom/mobile/sun/mixer_paths_sun_cdp.xml +++ b/configs/qcom/mobile/sun/mixer_paths_sun_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/mixer_paths_sun_mtp.xml b/configs/qcom/mobile/sun/mixer_paths_sun_mtp.xml index 312531ae..4ad0eef4 100644 --- a/configs/qcom/mobile/sun/mixer_paths_sun_mtp.xml +++ b/configs/qcom/mobile/sun/mixer_paths_sun_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/mixer_paths_sun_mtp_wsa883x_qmp.xml b/configs/qcom/mobile/sun/mixer_paths_sun_mtp_wsa883x_qmp.xml index 8cf83cf1..97272df5 100644 --- a/configs/qcom/mobile/sun/mixer_paths_sun_mtp_wsa883x_qmp.xml +++ b/configs/qcom/mobile/sun/mixer_paths_sun_mtp_wsa883x_qmp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/mixer_paths_sun_qrd.xml b/configs/qcom/mobile/sun/mixer_paths_sun_qrd.xml index 337e59d4..9395a76b 100644 --- a/configs/qcom/mobile/sun/mixer_paths_sun_qrd.xml +++ b/configs/qcom/mobile/sun/mixer_paths_sun_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/mixer_paths_sun_qrd_sku2.xml b/configs/qcom/mobile/sun/mixer_paths_sun_qrd_sku2.xml index 9e469d0d..31ba38bf 100644 --- a/configs/qcom/mobile/sun/mixer_paths_sun_qrd_sku2.xml +++ b/configs/qcom/mobile/sun/mixer_paths_sun_qrd_sku2.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/plugin_manager.xml b/configs/qcom/mobile/sun/plugin_manager.xml index 857e9bdc..1b0c7b05 100644 --- a/configs/qcom/mobile/sun/plugin_manager.xml +++ b/configs/qcom/mobile/sun/plugin_manager.xml @@ -1,6 +1,6 @@ - diff --git a/configs/qcom/mobile/sun/resourcemanager_sun_cdp.xml b/configs/qcom/mobile/sun/resourcemanager_sun_cdp.xml index e714df97..4acd62f9 100644 --- a/configs/qcom/mobile/sun/resourcemanager_sun_cdp.xml +++ b/configs/qcom/mobile/sun/resourcemanager_sun_cdp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/resourcemanager_sun_mtp.xml b/configs/qcom/mobile/sun/resourcemanager_sun_mtp.xml index cfc0a54c..d4a4897f 100644 --- a/configs/qcom/mobile/sun/resourcemanager_sun_mtp.xml +++ b/configs/qcom/mobile/sun/resourcemanager_sun_mtp.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/resourcemanager_sun_qrd.xml b/configs/qcom/mobile/sun/resourcemanager_sun_qrd.xml index 8a73eebd..f9c1560d 100644 --- a/configs/qcom/mobile/sun/resourcemanager_sun_qrd.xml +++ b/configs/qcom/mobile/sun/resourcemanager_sun_qrd.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/resourcemanager_sun_qrd_sku2.xml b/configs/qcom/mobile/sun/resourcemanager_sun_qrd_sku2.xml index 55eab7c5..ff3fbf3f 100644 --- a/configs/qcom/mobile/sun/resourcemanager_sun_qrd_sku2.xml +++ b/configs/qcom/mobile/sun/resourcemanager_sun_qrd_sku2.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/mobile/sun/usecaseKvManager.xml b/configs/qcom/mobile/sun/usecaseKvManager.xml index d7074114..5dea8d8f 100644 --- a/configs/qcom/mobile/sun/usecaseKvManager.xml +++ b/configs/qcom/mobile/sun/usecaseKvManager.xml @@ -27,9 +27,9 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/telematics/sa525m/card-defs.xml b/configs/qcom/telematics/sa525m/card-defs.xml index 5d26333c..d8042a75 100644 --- a/configs/qcom/telematics/sa525m/card-defs.xml +++ b/configs/qcom/telematics/sa525m/card-defs.xml @@ -25,9 +25,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* Changes from Qualcomm Technologies, Inc. are provided under the following license:: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/telematics/sa525m/mixer_paths.xml b/configs/qcom/telematics/sa525m/mixer_paths.xml index fe6da393..e2d1d7d2 100644 --- a/configs/qcom/telematics/sa525m/mixer_paths.xml +++ b/configs/qcom/telematics/sa525m/mixer_paths.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/telematics/sa525m/resourcemanager.xml b/configs/qcom/telematics/sa525m/resourcemanager.xml index 35884d3c..d352c8cc 100644 --- a/configs/qcom/telematics/sa525m/resourcemanager.xml +++ b/configs/qcom/telematics/sa525m/resourcemanager.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/configs/qcom/telematics/sa525m/usecaseKvManager.xml b/configs/qcom/telematics/sa525m/usecaseKvManager.xml index 5656b9c4..db46f40a 100644 --- a/configs/qcom/telematics/sa525m/usecaseKvManager.xml +++ b/configs/qcom/telematics/sa525m/usecaseKvManager.xml @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -* SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause * --> diff --git a/context_manager/inc/ContextManager.h b/context_manager/inc/ContextManager.h index d84b6bc9..36ff14ce 100644 --- a/context_manager/inc/ContextManager.h +++ b/context_manager/inc/ContextManager.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONTEXTMANAGER_H #define CONTEXTMANAGER_H diff --git a/context_manager/src/ContextManager.cpp b/context_manager/src/ContextManager.cpp index 56ba31af..703922be 100644 --- a/context_manager/src/ContextManager.cpp +++ b/context_manager/src/ContextManager.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/device/A2B2Mic/inc/A2B2Mic.h b/device/A2B2Mic/inc/A2B2Mic.h index 1f215dde..1de56ebd 100644 --- a/device/A2B2Mic/inc/A2B2Mic.h +++ b/device/A2B2Mic/inc/A2B2Mic.h @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #ifndef A2B2MIC_H diff --git a/device/A2B2Mic/src/A2B2Mic.cpp b/device/A2B2Mic/src/A2B2Mic.cpp index 2887f366..db3fb478 100644 --- a/device/A2B2Mic/src/A2B2Mic.cpp +++ b/device/A2B2Mic/src/A2B2Mic.cpp @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: A2B2Mic" diff --git a/device/A2B2Speaker/inc/A2B2Speaker.h b/device/A2B2Speaker/inc/A2B2Speaker.h index cd4e77dd..4a5b80de 100644 --- a/device/A2B2Speaker/inc/A2B2Speaker.h +++ b/device/A2B2Speaker/inc/A2B2Speaker.h @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #ifndef A2B2SPEAKER_H diff --git a/device/A2B2Speaker/src/A2B2Speaker.cpp b/device/A2B2Speaker/src/A2B2Speaker.cpp index 39529cbe..75ed6aa8 100644 --- a/device/A2B2Speaker/src/A2B2Speaker.cpp +++ b/device/A2B2Speaker/src/A2B2Speaker.cpp @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: A2B2Speaker" diff --git a/device/A2BMic/inc/A2BMic.h b/device/A2BMic/inc/A2BMic.h index 5bcc7c4f..d854ba81 100644 --- a/device/A2BMic/inc/A2BMic.h +++ b/device/A2BMic/inc/A2BMic.h @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #ifndef A2BMIC_H diff --git a/device/A2BMic/src/A2BMic.cpp b/device/A2BMic/src/A2BMic.cpp index ec223389..ac0ba131 100644 --- a/device/A2BMic/src/A2BMic.cpp +++ b/device/A2BMic/src/A2BMic.cpp @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: A2BMic" diff --git a/device/A2BSpeaker/inc/A2BSpeaker.h b/device/A2BSpeaker/inc/A2BSpeaker.h index 02e9a8e1..97237b5c 100644 --- a/device/A2BSpeaker/inc/A2BSpeaker.h +++ b/device/A2BSpeaker/inc/A2BSpeaker.h @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #ifndef A2BSPEAKER_H diff --git a/device/A2BSpeaker/src/A2BSpeaker.cpp b/device/A2BSpeaker/src/A2BSpeaker.cpp index 611e31fb..d1d3d77c 100644 --- a/device/A2BSpeaker/src/A2BSpeaker.cpp +++ b/device/A2BSpeaker/src/A2BSpeaker.cpp @@ -1,6 +1,6 @@ /* *Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - *SPDX-License-Identifier: BSD-3-Clause-Clear + *SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: A2BSpeaker" diff --git a/device/Bluetooth/inc/Bluetooth.h b/device/Bluetooth/inc/Bluetooth.h index 41732b08..0b74310c 100644 --- a/device/Bluetooth/inc/Bluetooth.h +++ b/device/Bluetooth/inc/Bluetooth.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _BLUETOOTH_H_ diff --git a/device/Bluetooth/internal/BTHostAndroidWrapper.cpp b/device/Bluetooth/internal/BTHostAndroidWrapper.cpp index 8b63f8fc..ee5bbc0b 100644 --- a/device/Bluetooth/internal/BTHostAndroidWrapper.cpp +++ b/device/Bluetooth/internal/BTHostAndroidWrapper.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "BTHostAndroidWrapper" diff --git a/device/Bluetooth/internal/BTHostAndroidWrapper.h b/device/Bluetooth/internal/BTHostAndroidWrapper.h index 63aae3a2..51aca51c 100644 --- a/device/Bluetooth/internal/BTHostAndroidWrapper.h +++ b/device/Bluetooth/internal/BTHostAndroidWrapper.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/device/Bluetooth/internal/HFPProfile.cpp b/device/Bluetooth/internal/HFPProfile.cpp index 346a6de4..6652fdce 100644 --- a/device/Bluetooth/internal/HFPProfile.cpp +++ b/device/Bluetooth/internal/HFPProfile.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "HFPProfile" diff --git a/device/Bluetooth/internal/HFPProfile.h b/device/Bluetooth/internal/HFPProfile.h index 1764a75e..0351ac72 100644 --- a/device/Bluetooth/internal/HFPProfile.h +++ b/device/Bluetooth/internal/HFPProfile.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/device/Bluetooth/src/Bluetooth.cpp b/device/Bluetooth/src/Bluetooth.cpp index 4187f7ce..f744ec79 100644 --- a/device/Bluetooth/src/Bluetooth.cpp +++ b/device/Bluetooth/src/Bluetooth.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: Bluetooth" diff --git a/device/DisplayPort/inc/DisplayPort.h b/device/DisplayPort/inc/DisplayPort.h index dcf72913..a69f4814 100644 --- a/device/DisplayPort/inc/DisplayPort.h +++ b/device/DisplayPort/inc/DisplayPort.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef DISPLAYPORT_H diff --git a/device/DisplayPort/src/DisplayPort.cpp b/device/DisplayPort/src/DisplayPort.cpp index 28b057b4..514a5bfa 100644 --- a/device/DisplayPort/src/DisplayPort.cpp +++ b/device/DisplayPort/src/DisplayPort.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: DisplayPort" diff --git a/device/DummyDev/inc/DummyDev.h b/device/DummyDev/inc/DummyDev.h index 9f74a9c9..5843c872 100644 --- a/device/DummyDev/inc/DummyDev.h +++ b/device/DummyDev/inc/DummyDev.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef DUMMY_DEV_H diff --git a/device/DummyDev/src/DummyDev.cpp b/device/DummyDev/src/DummyDev.cpp index f6c20b42..9465ecea 100644 --- a/device/DummyDev/src/DummyDev.cpp +++ b/device/DummyDev/src/DummyDev.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: DummyDev" diff --git a/device/ECRefDevice/inc/ECRefDevice.h b/device/ECRefDevice/inc/ECRefDevice.h index d6d7795b..cd69e4ca 100644 --- a/device/ECRefDevice/inc/ECRefDevice.h +++ b/device/ECRefDevice/inc/ECRefDevice.h @@ -1,4 +1,4 @@ -/* * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * +/* * Copyright (c) 2022 Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: @@ -30,7 +30,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECREFDEVICE_H diff --git a/device/ECRefDevice/src/ECRefDevice.cpp b/device/ECRefDevice/src/ECRefDevice.cpp index bafb809a..1167cd00 100644 --- a/device/ECRefDevice/src/ECRefDevice.cpp +++ b/device/ECRefDevice/src/ECRefDevice.cpp @@ -1,4 +1,4 @@ -/* * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * +/* * Copyright (c) 2022 Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: @@ -30,7 +30,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: ECRefDevice" diff --git a/device/ExtEC/inc/ExtEC.h b/device/ExtEC/inc/ExtEC.h index d6942eea..973553fd 100644 --- a/device/ExtEC/inc/ExtEC.h +++ b/device/ExtEC/inc/ExtEC.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef EXTEC_H diff --git a/device/ExtEC/src/ExtEC.cpp b/device/ExtEC/src/ExtEC.cpp index f832e9d8..6ca9e7ec 100644 --- a/device/ExtEC/src/ExtEC.cpp +++ b/device/ExtEC/src/ExtEC.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: ExtEC" diff --git a/device/FMDevice/inc/FMDevice.h b/device/FMDevice/inc/FMDevice.h index efe33b9c..faefa225 100644 --- a/device/FMDevice/inc/FMDevice.h +++ b/device/FMDevice/inc/FMDevice.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef FM_DEVICE_H diff --git a/device/FMDevice/src/FMDevice.cpp b/device/FMDevice/src/FMDevice.cpp index 0e8409d9..a7fbb460 100644 --- a/device/FMDevice/src/FMDevice.cpp +++ b/device/FMDevice/src/FMDevice.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: FMDevice" diff --git a/device/Handset/inc/Handset.h b/device/Handset/inc/Handset.h index 894a5300..4d9cecb0 100644 --- a/device/Handset/inc/Handset.h +++ b/device/Handset/inc/Handset.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HANDSET_H diff --git a/device/Handset/src/Handset.cpp b/device/Handset/src/Handset.cpp index 0129af45..920516b3 100644 --- a/device/Handset/src/Handset.cpp +++ b/device/Handset/src/Handset.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -61,7 +61,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: Handset" diff --git a/device/HandsetMic/inc/HandsetMic.h b/device/HandsetMic/inc/HandsetMic.h index 5c212524..f99bc698 100644 --- a/device/HandsetMic/inc/HandsetMic.h +++ b/device/HandsetMic/inc/HandsetMic.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HANDSETMIC_H diff --git a/device/HandsetMic/src/HandsetMic.cpp b/device/HandsetMic/src/HandsetMic.cpp index 32fae654..28938658 100644 --- a/device/HandsetMic/src/HandsetMic.cpp +++ b/device/HandsetMic/src/HandsetMic.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HandsetMic" diff --git a/device/HandsetVaMic/inc/HandsetVaMic.h b/device/HandsetVaMic/inc/HandsetVaMic.h index 72181732..3bacd277 100644 --- a/device/HandsetVaMic/inc/HandsetVaMic.h +++ b/device/HandsetVaMic/inc/HandsetVaMic.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HANDSET_VA_MIC_H diff --git a/device/HandsetVaMic/src/HandsetVaMic.cpp b/device/HandsetVaMic/src/HandsetVaMic.cpp index deb058e7..ef5d8877 100644 --- a/device/HandsetVaMic/src/HandsetVaMic.cpp +++ b/device/HandsetVaMic/src/HandsetVaMic.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HandsetVaMic" diff --git a/device/HapticsDev/inc/HapticsDev.h b/device/HapticsDev/inc/HapticsDev.h index 9d705f90..e3d27027 100644 --- a/device/HapticsDev/inc/HapticsDev.h +++ b/device/HapticsDev/inc/HapticsDev.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HapticsDev_H diff --git a/device/HapticsDev/src/HapticsDev.cpp b/device/HapticsDev/src/HapticsDev.cpp index a6015715..21c11cbc 100644 --- a/device/HapticsDev/src/HapticsDev.cpp +++ b/device/HapticsDev/src/HapticsDev.cpp @@ -26,8 +26,8 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -60,7 +60,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HapticsDev" diff --git a/device/HapticsDev/src/HapticsDevProtection.cpp b/device/HapticsDev/src/HapticsDevProtection.cpp index c6773cad..c9588157 100644 --- a/device/HapticsDev/src/HapticsDevProtection.cpp +++ b/device/HapticsDev/src/HapticsDevProtection.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/device/Headphone/inc/Headphone.h b/device/Headphone/inc/Headphone.h index d11556ab..a3620fdc 100644 --- a/device/Headphone/inc/Headphone.h +++ b/device/Headphone/inc/Headphone.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HEADPHONE_H diff --git a/device/Headphone/src/Headphone.cpp b/device/Headphone/src/Headphone.cpp index 2107734f..8fe55079 100644 --- a/device/Headphone/src/Headphone.cpp +++ b/device/Headphone/src/Headphone.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: Headphone" diff --git a/device/HeadsetMic/inc/HeadsetMic.h b/device/HeadsetMic/inc/HeadsetMic.h index f1dc263f..1d6313c2 100644 --- a/device/HeadsetMic/inc/HeadsetMic.h +++ b/device/HeadsetMic/inc/HeadsetMic.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HEADSETMIC_H diff --git a/device/HeadsetMic/src/HeadsetMic.cpp b/device/HeadsetMic/src/HeadsetMic.cpp index 9ad277c5..09949af1 100644 --- a/device/HeadsetMic/src/HeadsetMic.cpp +++ b/device/HeadsetMic/src/HeadsetMic.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HeadsetMic" diff --git a/device/HeadsetVaMic/inc/HeadsetVaMic.h b/device/HeadsetVaMic/inc/HeadsetVaMic.h index ed8d7333..f179bea1 100644 --- a/device/HeadsetVaMic/inc/HeadsetVaMic.h +++ b/device/HeadsetVaMic/inc/HeadsetVaMic.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HEADSET_VA_MIC_H diff --git a/device/HeadsetVaMic/src/HeadsetVaMic.cpp b/device/HeadsetVaMic/src/HeadsetVaMic.cpp index 9995ffba..44d72083 100644 --- a/device/HeadsetVaMic/src/HeadsetVaMic.cpp +++ b/device/HeadsetVaMic/src/HeadsetVaMic.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HeadsetVaMic" diff --git a/device/HfpDownlink/inc/HfpDownlink.h b/device/HfpDownlink/inc/HfpDownlink.h index 0a2c5394..7b9870a2 100644 --- a/device/HfpDownlink/inc/HfpDownlink.h +++ b/device/HfpDownlink/inc/HfpDownlink.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HFP_DOWNLINK_DEVICE_H diff --git a/device/HfpDownlink/src/HfpDownlink.cpp b/device/HfpDownlink/src/HfpDownlink.cpp index ce10283a..dbcdb65d 100644 --- a/device/HfpDownlink/src/HfpDownlink.cpp +++ b/device/HfpDownlink/src/HfpDownlink.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HfpDownlink" diff --git a/device/HfpUplink/inc/HfpUplink.h b/device/HfpUplink/inc/HfpUplink.h index 1d7d1676..6eaa3175 100644 --- a/device/HfpUplink/inc/HfpUplink.h +++ b/device/HfpUplink/inc/HfpUplink.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HFP_UPLINK_DEVICE_H diff --git a/device/HfpUplink/src/HfpUplink.cpp b/device/HfpUplink/src/HfpUplink.cpp index aeab4982..08b7f3a4 100644 --- a/device/HfpUplink/src/HfpUplink.cpp +++ b/device/HfpUplink/src/HfpUplink.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HfpUplink" diff --git a/device/RTProxy/inc/RTProxy.h b/device/RTProxy/inc/RTProxy.h index 6cc3b207..ce9bba9f 100644 --- a/device/RTProxy/inc/RTProxy.h +++ b/device/RTProxy/inc/RTProxy.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef RTPROXY_H diff --git a/device/RTProxy/src/RTProxy.cpp b/device/RTProxy/src/RTProxy.cpp index 7e93b125..d3cf1d49 100644 --- a/device/RTProxy/src/RTProxy.cpp +++ b/device/RTProxy/src/RTProxy.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: RTProxy" diff --git a/device/Speaker/inc/Speaker.h b/device/Speaker/inc/Speaker.h index a063d122..6e8200f3 100644 --- a/device/Speaker/inc/Speaker.h +++ b/device/Speaker/inc/Speaker.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SPEAKER_H diff --git a/device/Speaker/inc/SpeakerProtection.h b/device/Speaker/inc/SpeakerProtection.h index a60c136b..872925b0 100644 --- a/device/Speaker/inc/SpeakerProtection.h +++ b/device/Speaker/inc/SpeakerProtection.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022-2023, 2025, Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -61,7 +61,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SPEAKER_PROT diff --git a/device/Speaker/inc/SpeakerProtectionwsa88xx.h b/device/Speaker/inc/SpeakerProtectionwsa88xx.h index 61dd836e..fbcfcdf2 100644 --- a/device/Speaker/inc/SpeakerProtectionwsa88xx.h +++ b/device/Speaker/inc/SpeakerProtectionwsa88xx.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/device/Speaker/src/Speaker.cpp b/device/Speaker/src/Speaker.cpp index f9dc3fe5..ea4c6c77 100644 --- a/device/Speaker/src/Speaker.cpp +++ b/device/Speaker/src/Speaker.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: Speaker" diff --git a/device/Speaker/src/SpeakerProtection.cpp b/device/Speaker/src/SpeakerProtection.cpp index 02fd080f..542ec215 100644 --- a/device/Speaker/src/SpeakerProtection.cpp +++ b/device/Speaker/src/SpeakerProtection.cpp @@ -26,7 +26,7 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * @@ -61,7 +61,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SpeakerProtection" diff --git a/device/Speaker/src/SpeakerProtectionwsa883x.cpp b/device/Speaker/src/SpeakerProtectionwsa883x.cpp index 53b5dcbf..94923af5 100644 --- a/device/Speaker/src/SpeakerProtectionwsa883x.cpp +++ b/device/Speaker/src/SpeakerProtectionwsa883x.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SpeakerProtectionwsa883x" diff --git a/device/Speaker/src/SpeakerProtectionwsa884x.cpp b/device/Speaker/src/SpeakerProtectionwsa884x.cpp index ceddb89c..27e7a279 100644 --- a/device/Speaker/src/SpeakerProtectionwsa884x.cpp +++ b/device/Speaker/src/SpeakerProtectionwsa884x.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SpeakerProtectionwsa884x" diff --git a/device/Speaker/src/SpeakerProtectionwsa885x.cpp b/device/Speaker/src/SpeakerProtectionwsa885x.cpp index d9ea5ba9..f18280df 100644 --- a/device/Speaker/src/SpeakerProtectionwsa885x.cpp +++ b/device/Speaker/src/SpeakerProtectionwsa885x.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SpeakerProtectionwsa885x" diff --git a/device/Speaker/src/SpeakerProtectionwsa885xI2s.cpp b/device/Speaker/src/SpeakerProtectionwsa885xI2s.cpp index f9a1a996..a41beac4 100644 --- a/device/Speaker/src/SpeakerProtectionwsa885xI2s.cpp +++ b/device/Speaker/src/SpeakerProtectionwsa885xI2s.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SpeakerProtectionwsa885xI2s" diff --git a/device/SpeakerMic/inc/SpeakerMic.h b/device/SpeakerMic/inc/SpeakerMic.h index 690f2cbc..fd3ac391 100644 --- a/device/SpeakerMic/inc/SpeakerMic.h +++ b/device/SpeakerMic/inc/SpeakerMic.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SPEAKERMIC_H diff --git a/device/SpeakerMic/src/SpeakerMic.cpp b/device/SpeakerMic/src/SpeakerMic.cpp index 4ba8660a..0599728f 100644 --- a/device/SpeakerMic/src/SpeakerMic.cpp +++ b/device/SpeakerMic/src/SpeakerMic.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SpeakerMic" diff --git a/device/USBAudio/inc/USBAudio.h b/device/USBAudio/inc/USBAudio.h index 8504e551..3c41fec6 100644 --- a/device/USBAudio/inc/USBAudio.h +++ b/device/USBAudio/inc/USBAudio.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -61,7 +61,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef USB_H diff --git a/device/USBAudio/src/USBAudio.cpp b/device/USBAudio/src/USBAudio.cpp index 2422ef2e..b33189b5 100644 --- a/device/USBAudio/src/USBAudio.cpp +++ b/device/USBAudio/src/USBAudio.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -61,7 +61,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: USB" diff --git a/device/UltrasoundDevice/inc/UltrasoundDevice.h b/device/UltrasoundDevice/inc/UltrasoundDevice.h index d2119e8d..93a5d593 100644 --- a/device/UltrasoundDevice/inc/UltrasoundDevice.h +++ b/device/UltrasoundDevice/inc/UltrasoundDevice.h @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ULTRASOUNDDEVICE_H diff --git a/device/UltrasoundDevice/src/UltrasoundDevice.cpp b/device/UltrasoundDevice/src/UltrasoundDevice.cpp index cbf89e96..97993461 100644 --- a/device/UltrasoundDevice/src/UltrasoundDevice.cpp +++ b/device/UltrasoundDevice/src/UltrasoundDevice.cpp @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: UltrasoundDevice" diff --git a/device/inc/Device.h b/device/inc/Device.h index e0714099..082f1740 100644 --- a/device/inc/Device.h +++ b/device/inc/Device.h @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -62,7 +62,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef DEVICE_H diff --git a/device/src/Device.cpp b/device/src/Device.cpp index 3b500f32..3de667fe 100644 --- a/device/src/Device.cpp +++ b/device/src/Device.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: Device" diff --git a/inc/PalARDefs.h b/inc/PalARDefs.h index 8ccfb2b5..eb163cfb 100644 --- a/inc/PalARDefs.h +++ b/inc/PalARDefs.h @@ -28,8 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PAL_AR_DEFS_H @@ -130,4 +129,4 @@ typedef enum { GEF_PARAM_WRITE, } gef_param_rw_t; -#endif /*PAL_AR_DEFS_H*/ \ No newline at end of file +#endif /*PAL_AR_DEFS_H*/ diff --git a/inc/PalApi.h b/inc/PalApi.h index 373976ee..b4ad0cf5 100644 --- a/inc/PalApi.h +++ b/inc/PalApi.h @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /** \file pal_api.h diff --git a/inc/PalDefs.h b/inc/PalDefs.h index f5fd83af..c63b0f7c 100644 --- a/inc/PalDefs.h +++ b/inc/PalDefs.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /** \file pal_defs.h diff --git a/inc/PalMappings.h b/inc/PalMappings.h index 647c72a8..113301a1 100644 --- a/inc/PalMappings.h +++ b/inc/PalMappings.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /** \file pal_defs.h diff --git a/ipc/HwBinders/interfaces/pal/1.0/types.hal b/ipc/HwBinders/interfaces/pal/1.0/types.hal index 14c659e8..25c74f39 100644 --- a/ipc/HwBinders/interfaces/pal/1.0/types.hal +++ b/ipc/HwBinders/interfaces/pal/1.0/types.hal @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal@1.0; diff --git a/ipc/HwBinders/pal_ipc_client/src/pal_client_wrapper.cpp b/ipc/HwBinders/pal_ipc_client/src/pal_client_wrapper.cpp index 8dcf379c..3cffa5a6 100644 --- a/ipc/HwBinders/pal_ipc_client/src/pal_client_wrapper.cpp +++ b/ipc/HwBinders/pal_ipc_client/src/pal_client_wrapper.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "pal_client_wrapper" diff --git a/ipc/HwBinders/pal_ipc_server/inc/pal_server_wrapper.h b/ipc/HwBinders/pal_ipc_server/inc/pal_server_wrapper.h index 98b0495f..7da24331 100644 --- a/ipc/HwBinders/pal_ipc_server/inc/pal_server_wrapper.h +++ b/ipc/HwBinders/pal_ipc_server/inc/pal_server_wrapper.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ANDROID_SYSTEM_pal_V1_0_pal_H diff --git a/ipc/HwBinders/pal_ipc_server/src/pal_server_wrapper.cpp b/ipc/HwBinders/pal_ipc_server/src/pal_server_wrapper.cpp index cbfb89ff..cd7edc86 100644 --- a/ipc/HwBinders/pal_ipc_server/src/pal_server_wrapper.cpp +++ b/ipc/HwBinders/pal_ipc_server/src/pal_server_wrapper.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "pal_server_wrapper" diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPAL.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPAL.aidl index c86709ce..74aa5acd 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPAL.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPAL.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPALCallback.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPALCallback.aidl index 86b21817..a326de81 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPALCallback.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/IPALCallback.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/ModifierKV.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/ModifierKV.aidl index 74dfdad6..329709ba 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/ModifierKV.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/ModifierKV.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioEffect.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioEffect.aidl index 49f19cdd..9493a4fc 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioEffect.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioEffect.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioFmt.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioFmt.aidl index 29f882c0..02937d3b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioFmt.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalAudioFmt.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBuffer.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBuffer.aidl index fc5bbd8d..07e96ceb 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBuffer.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBufferConfig.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBufferConfig.aidl index e1da096d..4db016cb 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBufferConfig.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalBufferConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmInfo.aidl index fe7bb0e0..27bb1c9a 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmInfo.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmType.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmType.aidl index 970ceb96..9fa0bddf 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmType.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCShmType.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBuffer.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBuffer.aidl index d2351b16..ca53cdbc 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBuffer.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl index 0df4f302..3319ba12 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackReturnData.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackReturnData.aidl index 5d7f4203..e5648d99 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackReturnData.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCallbackReturnData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelInfo.aidl index 5be583ce..eb8b75e2 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelVolKv.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelVolKv.aidl index b7652b7f..32d8127c 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelVolKv.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalChannelVolKv.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl index e66b8134..f79f753b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDevice.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDevice.aidl index c784f97f..75286af1 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDevice.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDevice.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl index 320f3aae..af79b8d9 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceId.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceId.aidl index 2d9953a9..616e33c8 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceId.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDeviceId.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDrainType.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDrainType.aidl index 10481dde..c98fb7c2 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDrainType.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalDrainType.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl index 907dd55d..acd5a354 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl index 4c2d2d6d..fa3c300b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMediaConfig.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMediaConfig.aidl index eb7fe42f..c155eb5b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMediaConfig.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMediaConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl index 7de7feb8..cf56e29b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMetadataFlags.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMetadataFlags.aidl index aedff1a8..f9e10fb6 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMetadataFlags.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMetadataFlags.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBuffer.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBuffer.aidl index 14cf8897..ab847fc8 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBuffer.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl index 584474d8..b7b22ffe 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapPosition.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapPosition.aidl index fdcca84c..5a1bb1be 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapPosition.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalMmapPosition.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamChargerState.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamChargerState.aidl index 633aae10..4d64fe60 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamChargerState.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamChargerState.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamId.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamId.aidl index 053f6303..d9b85f9e 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamId.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamId.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayload.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayload.aidl index f7ff371a..73cff90a 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayload.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayload.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl index 4ceed433..e4ebefcc 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadReturnData.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadReturnData.aidl index 727bfc6b..41116f23 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadReturnData.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadReturnData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl index 4efb3db9..7fc877d9 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl index a548db84..09d9ffb2 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalSessionTime.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalSessionTime.aidl index bd7dd397..19294f24 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalSessionTime.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalSessionTime.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamAttributes.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamAttributes.aidl index 72ae2787..85231eb6 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamAttributes.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamAttributes.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamDirection.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamDirection.aidl index 9ad1e25a..077dfcf9 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamDirection.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamDirection.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamFlag.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamFlag.aidl index 66a1947d..5e2c514f 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamFlag.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamFlag.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamInfo.aidl index 20b66b67..332b8aa7 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamType.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamType.aidl index 359039d9..7adddc6b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamType.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalStreamType.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalTimeus.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalTimeus.aidl index 3ddd50df..15d5d427 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalTimeus.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalTimeus.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl index 29581d7b..0d49de76 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalVolumeData.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalVolumeData.aidl index e0ace2e1..a42e6d3e 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalVolumeData.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/PalVolumeData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/Status.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/Status.aidl index 357f4955..1df9b0a1 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/Status.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/Status.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/TimeSpec.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/TimeSpec.aidl index e15cde11..8a67ac14 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/TimeSpec.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/1/vendor/qti/hardware/pal/TimeSpec.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPAL.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPAL.aidl index c86709ce..74aa5acd 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPAL.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPAL.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPALCallback.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPALCallback.aidl index 86b21817..a326de81 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPALCallback.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/IPALCallback.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/ModifierKV.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/ModifierKV.aidl index 74dfdad6..329709ba 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/ModifierKV.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/ModifierKV.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioEffect.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioEffect.aidl index 49f19cdd..9493a4fc 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioEffect.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioEffect.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioFmt.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioFmt.aidl index 29f882c0..02937d3b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioFmt.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalAudioFmt.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBuffer.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBuffer.aidl index fc5bbd8d..07e96ceb 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBuffer.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBufferConfig.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBufferConfig.aidl index e1da096d..4db016cb 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBufferConfig.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalBufferConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmInfo.aidl index fe7bb0e0..27bb1c9a 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmInfo.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmType.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmType.aidl index 970ceb96..9fa0bddf 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmType.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCShmType.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBuffer.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBuffer.aidl index d2351b16..ca53cdbc 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBuffer.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl index 0df4f302..3319ba12 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackReturnData.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackReturnData.aidl index 5d7f4203..e5648d99 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackReturnData.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCallbackReturnData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelInfo.aidl index 5be583ce..eb8b75e2 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelVolKv.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelVolKv.aidl index b7652b7f..32d8127c 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelVolKv.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalChannelVolKv.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl index e66b8134..f79f753b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDevice.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDevice.aidl index c784f97f..75286af1 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDevice.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDevice.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl index 320f3aae..af79b8d9 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceId.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceId.aidl index 2d9953a9..616e33c8 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceId.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDeviceId.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDrainType.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDrainType.aidl index 10481dde..c98fb7c2 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDrainType.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalDrainType.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl index 907dd55d..acd5a354 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl index 4c2d2d6d..fa3c300b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMediaConfig.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMediaConfig.aidl index eb7fe42f..c155eb5b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMediaConfig.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMediaConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl index 7de7feb8..cf56e29b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMetadataFlags.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMetadataFlags.aidl index aedff1a8..f9e10fb6 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMetadataFlags.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMetadataFlags.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBuffer.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBuffer.aidl index 14cf8897..ab847fc8 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBuffer.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl index 584474d8..b7b22ffe 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapPosition.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapPosition.aidl index fdcca84c..5a1bb1be 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapPosition.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalMmapPosition.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamChargerState.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamChargerState.aidl index 633aae10..4d64fe60 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamChargerState.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamChargerState.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamId.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamId.aidl index 053f6303..d9b85f9e 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamId.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamId.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayload.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayload.aidl index f7ff371a..73cff90a 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayload.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayload.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl index 4ceed433..e4ebefcc 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadReturnData.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadReturnData.aidl index 727bfc6b..41116f23 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadReturnData.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadReturnData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl index 4efb3db9..7fc877d9 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl index a548db84..09d9ffb2 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalSessionTime.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalSessionTime.aidl index bd7dd397..19294f24 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalSessionTime.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalSessionTime.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamAttributes.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamAttributes.aidl index 72ae2787..85231eb6 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamAttributes.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamAttributes.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamDirection.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamDirection.aidl index 9ad1e25a..077dfcf9 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamDirection.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamDirection.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamFlag.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamFlag.aidl index 66a1947d..5e2c514f 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamFlag.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamFlag.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamInfo.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamInfo.aidl index 20b66b67..332b8aa7 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamInfo.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamType.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamType.aidl index 359039d9..7adddc6b 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamType.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalStreamType.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalTimeus.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalTimeus.aidl index 3ddd50df..15d5d427 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalTimeus.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalTimeus.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl index 29581d7b..0d49de76 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalVolumeData.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalVolumeData.aidl index e0ace2e1..a42e6d3e 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalVolumeData.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/PalVolumeData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/Status.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/Status.aidl index 357f4955..1df9b0a1 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/Status.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/Status.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/TimeSpec.aidl b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/TimeSpec.aidl index e15cde11..8a67ac14 100644 --- a/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/TimeSpec.aidl +++ b/ipc/aidl/aidl_api/vendor.qti.hardware.pal/current/vendor/qti/hardware/pal/TimeSpec.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ /////////////////////////////////////////////////////////////////////////////// // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // diff --git a/ipc/aidl/aidlconverter/inc/pal/BinderStatus.h b/ipc/aidl/aidlconverter/inc/pal/BinderStatus.h index 646ea085..4a7f26a5 100644 --- a/ipc/aidl/aidlconverter/inc/pal/BinderStatus.h +++ b/ipc/aidl/aidlconverter/inc/pal/BinderStatus.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/ipc/aidl/aidlconverter/inc/pal/PalAidlToLegacy.h b/ipc/aidl/aidlconverter/inc/pal/PalAidlToLegacy.h index 689aa6cf..b43c53b6 100644 --- a/ipc/aidl/aidlconverter/inc/pal/PalAidlToLegacy.h +++ b/ipc/aidl/aidlconverter/inc/pal/PalAidlToLegacy.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/ipc/aidl/aidlconverter/inc/pal/PalLegacyToAidl.h b/ipc/aidl/aidlconverter/inc/pal/PalLegacyToAidl.h index 586a4dab..5f664314 100644 --- a/ipc/aidl/aidlconverter/inc/pal/PalLegacyToAidl.h +++ b/ipc/aidl/aidlconverter/inc/pal/PalLegacyToAidl.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/ipc/aidl/aidlconverter/inc/pal/SharedMemoryWrapper.h b/ipc/aidl/aidlconverter/inc/pal/SharedMemoryWrapper.h index 131288a5..8ec3cdc2 100644 --- a/ipc/aidl/aidlconverter/inc/pal/SharedMemoryWrapper.h +++ b/ipc/aidl/aidlconverter/inc/pal/SharedMemoryWrapper.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/ipc/aidl/aidlconverter/inc/pal/Utils.h b/ipc/aidl/aidlconverter/inc/pal/Utils.h index 88a09606..708ea0b8 100644 --- a/ipc/aidl/aidlconverter/inc/pal/Utils.h +++ b/ipc/aidl/aidlconverter/inc/pal/Utils.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/ipc/aidl/aidlconverter/src/PalAidlToLegacy.cpp b/ipc/aidl/aidlconverter/src/PalAidlToLegacy.cpp index 90f35b62..9809444c 100644 --- a/ipc/aidl/aidlconverter/src/PalAidlToLegacy.cpp +++ b/ipc/aidl/aidlconverter/src/PalAidlToLegacy.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalIpc::AidlToLegacy::Converter" diff --git a/ipc/aidl/aidlconverter/src/PalLegacyToAidl.cpp b/ipc/aidl/aidlconverter/src/PalLegacyToAidl.cpp index 7fbb222a..d403be73 100644 --- a/ipc/aidl/aidlconverter/src/PalLegacyToAidl.cpp +++ b/ipc/aidl/aidlconverter/src/PalLegacyToAidl.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalIpc::LegacyToAidl::Converter" diff --git a/ipc/aidl/aidlconverter/src/SharedMemoryWrapper.cpp b/ipc/aidl/aidlconverter/src/SharedMemoryWrapper.cpp index bf3f7f4c..ac909f51 100644 --- a/ipc/aidl/aidlconverter/src/SharedMemoryWrapper.cpp +++ b/ipc/aidl/aidlconverter/src/SharedMemoryWrapper.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalSharedMemoryWrapper" diff --git a/ipc/aidl/client/PalCallback.cpp b/ipc/aidl/client/PalCallback.cpp index fbadff77..1efabfb2 100644 --- a/ipc/aidl/client/PalCallback.cpp +++ b/ipc/aidl/client/PalCallback.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "PalCallback.h" #include diff --git a/ipc/aidl/client/PalCallback.h b/ipc/aidl/client/PalCallback.h index 54fc4c1f..4582025f 100644 --- a/ipc/aidl/client/PalCallback.h +++ b/ipc/aidl/client/PalCallback.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/ipc/aidl/client/PalClientWrapper.cpp b/ipc/aidl/client/PalClientWrapper.cpp index 7dfc968b..9fb993c0 100644 --- a/ipc/aidl/client/PalClientWrapper.cpp +++ b/ipc/aidl/client/PalClientWrapper.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalClientWrapper" diff --git a/ipc/aidl/palnotifierserver/PalServerNotify.cpp b/ipc/aidl/palnotifierserver/PalServerNotify.cpp index 3ee71830..c3842a37 100644 --- a/ipc/aidl/palnotifierserver/PalServerNotify.cpp +++ b/ipc/aidl/palnotifierserver/PalServerNotify.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalServerNotify" diff --git a/ipc/aidl/palnotifierserver/PalServerNotify.h b/ipc/aidl/palnotifierserver/PalServerNotify.h index 963ab6a7..001c8b86 100644 --- a/ipc/aidl/palnotifierserver/PalServerNotify.h +++ b/ipc/aidl/palnotifierserver/PalServerNotify.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/ipc/aidl/palnotifierserver/Service.cpp b/ipc/aidl/palnotifierserver/Service.cpp index 336253a3..c1c17648 100644 --- a/ipc/aidl/palnotifierserver/Service.cpp +++ b/ipc/aidl/palnotifierserver/Service.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalIpc::Service" diff --git a/ipc/aidl/server/Manifest_IPAL.xml b/ipc/aidl/server/Manifest_IPAL.xml index 25dd57ba..0c0f1bd7 100644 --- a/ipc/aidl/server/Manifest_IPAL.xml +++ b/ipc/aidl/server/Manifest_IPAL.xml @@ -1,6 +1,6 @@ diff --git a/ipc/aidl/server/PalServerWrapper.cpp b/ipc/aidl/server/PalServerWrapper.cpp index 304c34d6..7b97354c 100644 --- a/ipc/aidl/server/PalServerWrapper.cpp +++ b/ipc/aidl/server/PalServerWrapper.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalServerWrapper" diff --git a/ipc/aidl/server/PalServerWrapper.h b/ipc/aidl/server/PalServerWrapper.h index 46aacb6a..336d918c 100644 --- a/ipc/aidl/server/PalServerWrapper.h +++ b/ipc/aidl/server/PalServerWrapper.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/ipc/aidl/server/Service.cpp b/ipc/aidl/server/Service.cpp index 57bb6b1b..acf2ca75 100644 --- a/ipc/aidl/server/Service.cpp +++ b/ipc/aidl/server/Service.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PalIpc::Service" diff --git a/ipc/aidl/vendor/qti/hardware/pal/IPAL.aidl b/ipc/aidl/vendor/qti/hardware/pal/IPAL.aidl index e36acf5c..50e9bd45 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/IPAL.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/IPAL.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/IPALCallback.aidl b/ipc/aidl/vendor/qti/hardware/pal/IPALCallback.aidl index 540d1ebc..7c1e02e9 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/IPALCallback.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/IPALCallback.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/ModifierKV.aidl b/ipc/aidl/vendor/qti/hardware/pal/ModifierKV.aidl index 689bdeb9..c09c07d2 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/ModifierKV.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/ModifierKV.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalAudioEffect.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalAudioEffect.aidl index d57afdbd..efc6fae6 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalAudioEffect.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalAudioEffect.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalAudioFmt.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalAudioFmt.aidl index 294985d3..4708112b 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalAudioFmt.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalAudioFmt.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalBuffer.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalBuffer.aidl index b317ba6c..2c7016f7 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalBuffer.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalBufferConfig.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalBufferConfig.aidl index e1f5dfad..da349b72 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalBufferConfig.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalBufferConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalCShmInfo.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalCShmInfo.aidl index 5ef89ce5..74c59137 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalCShmInfo.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalCShmInfo.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalCShmType.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalCShmType.aidl index 103535f8..2eae9651 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalCShmType.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalCShmType.aidl @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBuffer.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBuffer.aidl index daeb3648..b5e720f7 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBuffer.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl index b4bba63c..b6fd07ef 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalCallbackBufferInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalCallbackReturnData.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalCallbackReturnData.aidl index c09d1f59..ae2f0d7d 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalCallbackReturnData.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalCallbackReturnData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalChannelInfo.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalChannelInfo.aidl index 7facaf4f..70df16f4 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalChannelInfo.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalChannelInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalChannelVolKv.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalChannelVolKv.aidl index d44c0bdb..7bab811a 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalChannelVolKv.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalChannelVolKv.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl index b475a354..9f6d6faa 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalCustomPayloadInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalDevice.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalDevice.aidl index b16dc5b5..1260c307 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalDevice.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalDevice.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl index 2379e03f..b847e2c8 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalDeviceCustomConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalDeviceId.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalDeviceId.aidl index 44551e9c..6a18b323 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalDeviceId.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalDeviceId.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalDrainType.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalDrainType.aidl index a12ae58e..3bcd22e7 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalDrainType.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalDrainType.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl index 3e3f0acc..4c0cadda 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalEventReadWriteDonePayload.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl index 266e56a7..1eb1238d 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalExternAllocBuffInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalMediaConfig.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalMediaConfig.aidl index 62dca492..5eeb4dc0 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalMediaConfig.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalMediaConfig.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl index e16e946b..00555d75 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalMessageQueueFlagBits.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalMetadataFlags.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalMetadataFlags.aidl index d42914c5..057f91de 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalMetadataFlags.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalMetadataFlags.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalMmapBuffer.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalMmapBuffer.aidl index 9dce2c6f..00cf28ca 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalMmapBuffer.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalMmapBuffer.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl index a708fd3f..836dcdcf 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalMmapBufferFlags.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalMmapPosition.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalMmapPosition.aidl index 6c2e5cc2..4854430e 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalMmapPosition.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalMmapPosition.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalParamChargerState.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalParamChargerState.aidl index cf5f54dc..026fac7d 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalParamChargerState.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalParamChargerState.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalParamId.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalParamId.aidl index 7d6cfa6d..872c2e0b 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalParamId.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalParamId.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalParamPayload.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalParamPayload.aidl index 792693b5..73936772 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalParamPayload.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalParamPayload.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl index 66b30077..6cfa9146 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalParamPayloadShmem.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalReadReturnData.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalReadReturnData.aidl index baaaa752..54df3030 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalReadReturnData.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalReadReturnData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl index c87cfb0e..926324fa 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneCommand.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl index a08f71f3..486d44a6 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalReadWriteDoneResult.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalSessionTime.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalSessionTime.aidl index df5a1ee7..c6b6aaf7 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalSessionTime.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalSessionTime.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalStreamAttributes.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalStreamAttributes.aidl index aed109d6..47a7df96 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalStreamAttributes.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalStreamAttributes.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalStreamDirection.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalStreamDirection.aidl index 40550b5b..7deddc28 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalStreamDirection.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalStreamDirection.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalStreamFlag.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalStreamFlag.aidl index 54c1a5a4..ebab0d3b 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalStreamFlag.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalStreamFlag.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalStreamInfo.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalStreamInfo.aidl index 84dfb1d4..af2c9427 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalStreamInfo.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalStreamInfo.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalStreamType.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalStreamType.aidl index 7341aac4..7d855cfc 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalStreamType.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalStreamType.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalTimeus.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalTimeus.aidl index 08f2f041..2be9918a 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalTimeus.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalTimeus.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl index e70f9694..75872fa7 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalUsbDeviceAddress.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/PalVolumeData.aidl b/ipc/aidl/vendor/qti/hardware/pal/PalVolumeData.aidl index fa5c559c..c0f9aedb 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/PalVolumeData.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/PalVolumeData.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/Status.aidl b/ipc/aidl/vendor/qti/hardware/pal/Status.aidl index 402f3213..83e3b4bb 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/Status.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/Status.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/ipc/aidl/vendor/qti/hardware/pal/TimeSpec.aidl b/ipc/aidl/vendor/qti/hardware/pal/TimeSpec.aidl index 4cd3bde5..77e4ffdb 100644 --- a/ipc/aidl/vendor/qti/hardware/pal/TimeSpec.aidl +++ b/ipc/aidl/vendor/qti/hardware/pal/TimeSpec.aidl @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ package vendor.qti.hardware.pal; diff --git a/plugins/PluginManager/inc/PluginManager.h b/plugins/PluginManager/inc/PluginManager.h index b3a63282..a83bafc1 100644 --- a/plugins/PluginManager/inc/PluginManager.h +++ b/plugins/PluginManager/inc/PluginManager.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PLUGIN_MANAGER_H diff --git a/plugins/PluginManager/inc/PluginManagerIntf.h b/plugins/PluginManager/inc/PluginManagerIntf.h index 03ac9fc4..24addf2c 100644 --- a/plugins/PluginManager/inc/PluginManagerIntf.h +++ b/plugins/PluginManager/inc/PluginManagerIntf.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _PLUGIN_MANAGER_INTF_H_ #define _PLUGIN_MANAGER_INTF_H_ diff --git a/plugins/PluginManager/src/PluginManager.cpp b/plugins/PluginManager/src/PluginManager.cpp index 247b7ca4..aa64f311 100644 --- a/plugins/PluginManager/src/PluginManager.cpp +++ b/plugins/PluginManager/src/PluginManager.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: PluginManager" diff --git a/plugins/PluginManager/src/PluginManagerStatic.cpp b/plugins/PluginManager/src/PluginManagerStatic.cpp index e27437eb..c2b31fc4 100644 --- a/plugins/PluginManager/src/PluginManagerStatic.cpp +++ b/plugins/PluginManager/src/PluginManagerStatic.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: PluginManager" diff --git a/plugins/codecs/bt_base.c b/plugins/codecs/bt_base.c index 9db10986..d8dc80dc 100644 --- a/plugins/codecs/bt_base.c +++ b/plugins/codecs/bt_base.c @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: bt_base" diff --git a/plugins/codecs/bt_base.h b/plugins/codecs/bt_base.h index 0d07911d..48793ab1 100644 --- a/plugins/codecs/bt_base.h +++ b/plugins/codecs/bt_base.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/plugins/codecs/bt_ble.c b/plugins/codecs/bt_ble.c index 4c794c98..b3fe7497 100644 --- a/plugins/codecs/bt_ble.c +++ b/plugins/codecs/bt_ble.c @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: bt_ble" diff --git a/plugins/codecs/bt_ble.h b/plugins/codecs/bt_ble.h index 157f8284..3f18da6f 100644 --- a/plugins/codecs/bt_ble.h +++ b/plugins/codecs/bt_ble.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _BT_BLE_H_ diff --git a/plugins/codecs/bt_bundle.c b/plugins/codecs/bt_bundle.c index a5e14f1a..8a464a1b 100644 --- a/plugins/codecs/bt_bundle.c +++ b/plugins/codecs/bt_bundle.c @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: bt_bundle" diff --git a/plugins/codecs/bt_bundle.h b/plugins/codecs/bt_bundle.h index 919653cd..dde81878 100644 --- a/plugins/codecs/bt_bundle.h +++ b/plugins/codecs/bt_bundle.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _BT_BUNDLE_H_ diff --git a/plugins/codecs/bt_intf.h b/plugins/codecs/bt_intf.h index c158de07..2f3e6d49 100644 --- a/plugins/codecs/bt_intf.h +++ b/plugins/codecs/bt_intf.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _BT_PLUGIN_INTF_H_ diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 877f8014..9aaaec36 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index 2bc4c49d..27c7bea6 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index 7ed2a8ff..857f1487 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_PCM_H diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index e417d991..6b017fcc 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_pcm_config" diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index 8593c617..1e91c7a0 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_VOICE_H diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index cee929d6..72800a4e 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/IoT/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -30,7 +30,7 @@ /* Changes from Qualcomm Technologies, Inc. are provided under the following license: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/IoT/default/ConfigSessionUtils/inc/ConfigSessionUtils.h index 5a9a3c43..0007175b 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/IoT/default/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_UTILS_H diff --git a/plugins/configs/qcom/IoT/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/IoT/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp index 55aae792..9ce6756d 100644 --- a/plugins/configs/qcom/IoT/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/IoT/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -28,7 +28,7 @@ * * ​​​​​Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_config_utils" diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 2e6b7a53..582c1511 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index a12a1c07..16aa5a57 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index 313dcc99..7155e5f7 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_PCM_H diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index 48c80703..786543f7 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_pcm_config" diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index e1a4cb3f..b92cf0a5 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index a17a57e4..8d7228ea 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/automotive/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/automotive/default/ConfigSessionUtils/inc/ConfigSessionUtils.h index f447c1e9..e3754825 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/automotive/default/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_UTILS_H diff --git a/plugins/configs/qcom/automotive/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/automotive/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp index 7f655e1e..4e76b173 100644 --- a/plugins/configs/qcom/automotive/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/automotive/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause */ diff --git a/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 5f7c3d30..9d463a97 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index 31c177ab..4015c44c 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/compute/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index 02a155aa..857482c0 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_PCM_H diff --git a/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index 5926c403..a6ccd818 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/compute/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_pcm_config" diff --git a/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index 475e243a..8af6b286 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_VOICE_H diff --git a/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index 8a0557b6..e7586517 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/compute/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -30,7 +30,7 @@ /* Changes from Qualcomm Technologies, Inc. are provided under the following license: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/compute/default/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/compute/default/ConfigSessionUtils/inc/ConfigSessionUtils.h index a42793f5..2a447432 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/compute/default/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_UTILS_H diff --git a/plugins/configs/qcom/compute/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/compute/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp index a34d2ca7..adebb149 100644 --- a/plugins/configs/qcom/compute/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/compute/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * */ diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 6413f967..0ceae16f 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index 31c177ab..4015c44c 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index 84d1f3b6..b1e53634 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_PCM_H diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index 5926c403..a6ccd818 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_pcm_config" diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index 2eafedce..6e351e95 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_VOICE_H diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index 8a0557b6..e7586517 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -30,7 +30,7 @@ /* Changes from Qualcomm Technologies, Inc. are provided under the following license: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/inc/ConfigSessionUtils.h index a42793f5..2a447432 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_UTILS_H diff --git a/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/src/ConfigSessionUtils.cpp index a34d2ca7..adebb149 100644 --- a/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/compute/hamoa/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * */ diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 6d66876f..6ac3c1a4 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index 8368f7e7..3936f0e9 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index 556dde6a..157fac3e 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_PCM_H diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index 388eb018..3444c60a 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_pcm_config" diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index 4962afcd..57ae187b 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_VOICE_H diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index 79eb0bce..62fddc7f 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -30,7 +30,7 @@ /* Changes from Qualcomm Technologies, Inc. are provided under the following license: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/inc/ConfigSessionUtils.h index afecb426..ba1b4aa8 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_UTILS_H diff --git a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/src/ConfigSessionUtils.cpp index 0010aa31..a6335a66 100644 --- a/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/compute/hamoa_la/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * */ diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 877f8014..9aaaec36 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index 894a3fc6..8433b496 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index 8bfaf85f..4fed6a09 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,25 +1,25 @@ -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear - */ - -#ifndef CONFIG_SESSION_ALSA_PCM_H -#define CONFIG_SESSION_ALSA_PCM_H - -void handleSilenceDetectionCb(uint64_t hdl __unused, - uint32_t event_id, void *event_data, uint32_t event_size); -int dump_silence_event_status(char *out_file, uint32_t channel_group, uint32_t status_ch_mask); -int dump_registers(char *in_file_path, char *regdump_out_file); -int dump_kernel_log(char *kmsg_out_file); -int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginPayload); -int32_t pcmPluginConfigSetConfigStart(Stream* s, void* pluginPayload); -int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload); -int32_t pcmPluginPreReconfig(Stream* s, void* pluginPayload); -int register_asps_event(uint32_t reg, SessionAlsaPcm* session, struct mixer* mxr); -int32_t configureInCallRxMFC(SessionAlsaPcm* session, std::shared_ptr rm, - PayloadBuilder* builder); -int reconfigureModule(SessionAlsaPcm* session, PayloadBuilder* builder, uint32_t tagID, - const char* BE, struct sessionToPayloadParam *data); -int32_t reconfigureInCallMusicStream(struct pal_media_config config, PayloadBuilder* builder); - -#endif \ No newline at end of file +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef CONFIG_SESSION_ALSA_PCM_H +#define CONFIG_SESSION_ALSA_PCM_H + +void handleSilenceDetectionCb(uint64_t hdl __unused, + uint32_t event_id, void *event_data, uint32_t event_size); +int dump_silence_event_status(char *out_file, uint32_t channel_group, uint32_t status_ch_mask); +int dump_registers(char *in_file_path, char *regdump_out_file); +int dump_kernel_log(char *kmsg_out_file); +int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginPayload); +int32_t pcmPluginConfigSetConfigStart(Stream* s, void* pluginPayload); +int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload); +int32_t pcmPluginPreReconfig(Stream* s, void* pluginPayload); +int register_asps_event(uint32_t reg, SessionAlsaPcm* session, struct mixer* mxr); +int32_t configureInCallRxMFC(SessionAlsaPcm* session, std::shared_ptr rm, + PayloadBuilder* builder); +int reconfigureModule(SessionAlsaPcm* session, PayloadBuilder* builder, uint32_t tagID, + const char* BE, struct sessionToPayloadParam *data); +int32_t reconfigureInCallMusicStream(struct pal_media_config config, PayloadBuilder* builder); + +#endif diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index ba21d2e5..3d946c31 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -1,1444 +1,1444 @@ -/* - * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of The Linux Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR - * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN - * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Changes from Qualcomm Technologies, Inc. are provided under the following license: - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear - */ - -#define LOG_TAG "PAL: libsession_pcm_config" - -#ifdef PAL_USE_SYSLOG -#include -#define ALOGE(fmt, arg...) syslog (LOG_ERR, fmt, ##arg) -#define ALOGI(fmt, arg...) syslog (LOG_INFO, fmt, ##arg) -#define ALOGD(fmt, arg...) syslog (LOG_DEBUG, fmt, ##arg) -#define ALOGV(fmt, arg...) syslog (LOG_NOTICE, fmt, ##arg) -#else -#include -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "audio_dam_buffer_api.h" -#include "apm_api.h" -#include "us_gen_api.h" - -#include "Stream.h" -#include "ResourceManager.h" -#include "PalAudioRoute.h" -#include "PluginManagerIntf.h" -#include "SessionAlsaPcm.h" -#include "SessionAlsaUtils.h" -#include "acd_api.h" - -//SessionAlsaPcm EVENT_ID_XXXs -#include "detection_cmn_api.h" -#include "sh_mem_pull_push_mode_api.h" -#include "us_detect_api.h" -#include "rx_haptics_api.h" -#include "PayloadBuilder.h" -#include "SessionAR.h" -#include "ConfigSessionAlsaPcm.h" -#include "ConfigSessionUtils.h" - -// ASR handlecb def supports -#include "asr_module_calibration_api.h" -#include "sdz_api.h" -#include -#include /* Definition of SYSLOG_* constants */ -#include - -/*interface implementation*/ -extern "C" int pcmPluginConfig(Stream* stream, plugin_config_name_t config, - void *pluginPayload, size_t ppldSize) -{ - int status = 0; - PAL_DBG(LOG_TAG, "Enter"); - switch(config) { - case PAL_PLUGIN_CONFIG_START: - status = pcmPluginConfigSetConfigStart(stream, pluginPayload); - break; - case PAL_PLUGIN_CONFIG_STOP: - status = pcmPluginConfigSetConfigStop(stream, pluginPayload); - break; - case PAL_PLUGIN_PRE_RECONFIG: - status = pcmPluginPreReconfig(stream, pluginPayload); - break; - case PAL_PLUGIN_RECONFIG: - status = reconfigCommon(stream, pluginPayload); - break; - case PAL_PLUGIN_CONFIG_SETPARAM: - status = pluginConfigSetParam(stream, pluginPayload); - break; - default: - PAL_ERR(LOG_TAG, "config type %d, is unsupported",config); - status = -EINVAL; - } - PAL_DBG(LOG_TAG,"Exit ret: %d", status); - return status; -} - -int32_t pcmPluginPreReconfig(Stream* s, void* pluginPayload) { - int status = 0; - struct ReconfigPluginPayload* reconfigPld = nullptr; - PluginPayload* ppld = nullptr; - reconfigPld = reinterpret_cast(pluginPayload); - - PAL_DBG(LOG_TAG,"Enter"); - - if (!reconfigPld->config_ctrl.compare("silent_detection")) { - ppld->builder = reconfigPld->builder; - ppld->session = reconfigPld->session; - status = pcmSilenceDetectionConfig(SD_DISCONNECT, &reconfigPld->dAttr, ppld); - } - return status; -} - -int32_t pcmPluginConfigSetConfigStart(Stream* s, void* pluginPayload) -{ - int32_t status = 0; - std::shared_ptr rm; - pal_stream_attributes sAttr = {}; - pal_device dAttr = {}; - struct sessionToPayloadParam streamData = {}; - std::vector> associatedDevices; - std::vector> rxAifBackEnds; - std::vector> txAifBackEnds; - Session* sess = nullptr; - SessionAlsaPcm* session = nullptr; - PayloadBuilder* builder = nullptr; - struct mixer* mxr = nullptr; - uint8_t* payload = nullptr; - size_t payloadSize = 0; - uint32_t miid = 0; - PluginPayload* ppld = nullptr; - struct agm_event_reg_cfg event_cfg = {}; - struct pal_media_config codecConfig = {}; - struct agm_event_reg_cfg *acd_event_cfg = nullptr; - struct agm_event_reg_cfg *asr_event_cfg = nullptr; - std::vector pcmDevIds; - int DeviceId = 0; - int tagId = 0; - int payload_size = 0; - - PAL_DBG(LOG_TAG, "Enter"); - memset(&streamData, 0, sizeof(struct sessionToPayloadParam)); - memset(&dAttr, 0, sizeof(struct pal_device)); - status = s->getStreamAttributes(&sAttr); - if (status != 0) { - PAL_ERR(LOG_TAG, "stream get attributes failed"); - goto exit; - } - ppld = reinterpret_cast(pluginPayload); - builder = reinterpret_cast(ppld->builder); - sess = ppld->session; - session = static_cast(sess); - - if (session == nullptr) { - PAL_INFO(LOG_TAG, "session is NULL!!!\n"); - goto exit; - } - rm = ResourceManager::getInstance(); - status = rm->getVirtualAudioMixer(&mxr); - if (status) { - PAL_ERR(LOG_TAG, "mixer error"); - goto exit; - } - rxAifBackEnds = session->getRxBEVecRef(); - txAifBackEnds = session->getTxBEVecRef(); - status = session->getFrontEndIds(pcmDevIds); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); - goto exit; - } - - if (sAttr.type == PAL_STREAM_VOICE_UI) { - uint32_t svaMiid; - payload_size = sizeof(struct agm_event_reg_cfg); - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 1; - event_cfg.event_id = s->getCallbackEventId(); - svaMiid = session->getsvaMiid(); - event_cfg.module_instance_id = svaMiid; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)&event_cfg, payload_size); - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 1; - event_cfg.event_id = EVENT_ID_SH_MEM_PUSH_MODE_EOS_MARKER; - tagId = SHMEM_ENDPOINT; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, - payload_size); - } else if (sAttr.type == PAL_STREAM_ULTRASOUND && session->getRegisterForEvents()) { - payload_size = sizeof(struct agm_event_reg_cfg); - std::vector pcmDevTxIds; - status = session->getFrontEndIds(pcmDevTxIds, TX_HOSTLESS); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevTxIds) failed %d", status); - goto exit; - } - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 1; - event_cfg.event_id = EVENT_ID_GENERIC_US_DETECTION; - tagId = ULTRASOUND_DETECTION_MODULE; - DeviceId = pcmDevTxIds.at(0); - SessionAlsaUtils::registerMixerEvent(mxr, DeviceId, - txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, - payload_size); - } else if (sAttr.type == PAL_STREAM_ACD) { - std::vector payloadListParam; - session->getEventPayload(payloadListParam); - for (int i = 0; i < payloadListParam.size(); i++) { - payload_size = sizeof(struct agm_event_reg_cfg) + - payloadListParam[i]->payloadSize; - acd_event_cfg = (struct agm_event_reg_cfg *)calloc(1, payload_size); - if (!acd_event_cfg) { - PAL_ERR(LOG_TAG, "Failed to allocate memory for acd event config"); - status = -EINVAL; - goto exit; - } - memset(&event_cfg, 0, sizeof(event_cfg)); - acd_event_cfg->event_config_payload_size = - payloadListParam[i]->payloadSize; - acd_event_cfg->is_register = 1; - acd_event_cfg->event_id = payloadListParam[i]->eventId; - memcpy(acd_event_cfg->event_config_payload, - payloadListParam[i]->payload, - payloadListParam[i]->payloadSize); - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), - CONTEXT_DETECTION_ENGINE, - (void *)acd_event_cfg, - payload_size); - free(acd_event_cfg); - } - } else if (sAttr.type == PAL_STREAM_CONTEXT_PROXY) { - status = register_asps_event(1, session, mxr); - } else if (sAttr.type == PAL_STREAM_HAPTICS && - sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) { - payload_size = sizeof(struct agm_event_reg_cfg); - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 1; - event_cfg.event_id = EVENT_ID_WAVEFORM_STATE; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), MODULE_HAPTICS_GEN, (void *)&event_cfg, - payload_size); - } else if (sAttr.type == PAL_STREAM_ASR) { - uint32_t asrMiid = session->getAsrMiid(); - std::vector payloadListParam; - session->getEventPayload(payloadListParam); - if (payloadListParam.empty()) { - PAL_ERR(LOG_TAG, "payload list is empty!!!"); - status = -EINVAL; - goto exit; - } - for (int i = 0; i < payloadListParam.size(); i++) { - payload_size = sizeof(struct agm_event_reg_cfg) + - payloadListParam[i]->payloadSize; - asr_event_cfg = (struct agm_event_reg_cfg *)calloc(1, payload_size); - if (!asr_event_cfg) { - PAL_ERR(LOG_TAG, "Failed to allocate memory for asr event config"); - status = -EINVAL; - goto exit; - } - memset(&event_cfg, 0, sizeof(event_cfg)); - asr_event_cfg->event_config_payload_size = - payloadListParam[i]->payloadSize; - asr_event_cfg->is_register = 1; - asr_event_cfg->event_id = payloadListParam[i]->eventId; - asr_event_cfg->module_instance_id = asr_event_cfg->event_id == EVENT_ID_SDZ_OUTPUT ? - session->getSdzMiid() : session->getAsrMiid(); - memcpy(asr_event_cfg->event_config_payload, - payloadListParam[i]->payload, - payloadListParam[i]->payloadSize); - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)asr_event_cfg, payload_size); - free(asr_event_cfg); - } - } else if (sAttr.info.opt_stream_info.isBitPerfect) { - PAL_DBG(LOG_TAG, "Config not needed for BitPerfect Playback"); - goto exit; - } - - switch (sAttr.direction) { - case PAL_AUDIO_INPUT: - if (pcmDevIds.size() == 0) { - PAL_ERR(LOG_TAG, "frontendIDs is not available."); - status = -EINVAL; - goto exit; - } - if ((sAttr.type != PAL_STREAM_VOICE_UI) && - (sAttr.type != PAL_STREAM_ACD) && - (sAttr.type != PAL_STREAM_ASR) && - (sAttr.type != PAL_STREAM_CONTEXT_PROXY) && - (sAttr.type != PAL_STREAM_SENSOR_PCM_DATA) && - (sAttr.type != PAL_STREAM_ULTRA_LOW_LATENCY) && - (sAttr.type != PAL_STREAM_COMMON_PROXY)) { - /* Get MFC MIID and configure to match to stream config */ - /* This has to be done after sending all mixer controls and before connect */ - if (sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), - TAG_STREAM_MFC_SR, &miid); - else - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - "ZERO", TAG_STREAM_MFC_SR, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); - goto exit; - } - if (sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) { - PAL_ERR(LOG_TAG, "miid : %x id = %d, data %s\n", miid, - pcmDevIds.at(0), txAifBackEnds[0].second.data()); - } else { - PAL_ERR(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - } - - if (isPalPCMFormat(sAttr.in_media_config.aud_fmt_id)) - streamData.bitWidth = - ResourceManager::palFormatToBitwidthLookup(sAttr.in_media_config.aud_fmt_id); - else - streamData.bitWidth = sAttr.in_media_config.bit_width; - streamData.sampleRate = sAttr.in_media_config.sample_rate; - streamData.numChannel = sAttr.in_media_config.ch_info.channels; - streamData.ch_info = nullptr; - builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - goto exit; - } - } - if (sAttr.type == PAL_STREAM_VOIP_TX) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, - pcmDevIds.at(0), - txAifBackEnds[0].second.data(), - TAG_DEVICEPP_EC_MFC, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); - goto set_mixer; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - goto set_mixer; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - goto set_mixer; - } - if ((dAttr.id == PAL_DEVICE_IN_BLUETOOTH_A2DP) || - (dAttr.id == PAL_DEVICE_IN_BLUETOOTH_BLE) || - (dAttr.id == PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET)) { - struct pal_media_config codecConfig; - status = associatedDevices[i]->getCodecConfig(&codecConfig); - if (0 != status) { - PAL_ERR(LOG_TAG, "getCodecConfig Failed \n"); - goto set_mixer; - } - streamData.sampleRate = codecConfig.sample_rate; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } else if (dAttr.id == PAL_DEVICE_IN_USB_DEVICE || - dAttr.id == PAL_DEVICE_IN_USB_HEADSET) { - streamData.sampleRate = (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 && - dAttr.config.sample_rate <= SAMPLINGRATE_48K) ? - dAttr.config.sample_rate : SAMPLINGRATE_48K; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } else { - streamData.sampleRate = dAttr.config.sample_rate; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } - builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - goto set_mixer; - } - } - } - } - if (sAttr.type == PAL_STREAM_VOIP_TX) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), DEVICE_MFC, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); - goto configure_pspfmfc; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - goto set_mixer; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - goto set_mixer; - } - if (dAttr.id == PAL_DEVICE_IN_USB_DEVICE || dAttr.id == PAL_DEVICE_IN_USB_HEADSET) { - streamData.sampleRate = (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 && - dAttr.config.sample_rate <= SAMPLINGRATE_48K) ? - dAttr.config.sample_rate : SAMPLINGRATE_48K; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } else { - streamData.sampleRate = dAttr.config.sample_rate; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } - builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - goto set_mixer; - } - } - } - } -configure_pspfmfc: - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - goto set_mixer; - } - if (associatedDevices.size() < 1) { - PAL_ERR(LOG_TAG,"no device present\n"); - goto set_mixer; - } - status = associatedDevices[0]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - goto set_mixer; - } - if (dAttr.id == PAL_DEVICE_IN_PROXY || dAttr.id == PAL_DEVICE_IN_RECORD_PROXY) { - status = configureMFC(rm, sAttr, dAttr, pcmDevIds, - txAifBackEnds[0].second.data(), builder); - if(status != 0) { - PAL_ERR(LOG_TAG, "build MFC payload failed"); - } - } -set_mixer: - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - goto exit; - } - if (sAttr.type == PAL_STREAM_VOICE_CALL_RECORD) { -#ifdef CONFIGURE_INCALL_RECORD_RAT_MODULE - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - "ZERO", RAT_RENDER, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); - goto exit; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - codecConfig.bit_width = sAttr.in_media_config.bit_width; - codecConfig.sample_rate = 48000; - codecConfig.aud_fmt_id = sAttr.in_media_config.aud_fmt_id; - /* RAT RENDER always set to stereo for uplink+downlink record*/ - /* As mux_demux gives only stereo o/p & there is no MFC between mux and RAT */ - if (sAttr.info.voice_rec_info.record_direction == INCALL_RECORD_VOICE_UPLINK_DOWNLINK) { - codecConfig.ch_info.channels = 2; - } else { - /* - * RAT needs to be in sync with Mux/Demux o/p. - * In case of only UL or DL record, Mux/Demux will provide only 1 channel o/p. - * If the recording being done is stereo then there will be a mismatch between RAT and Mux/Demux. - * which will lead to noisy clip. Hence, RAT needs to be hard-coded based on record direction. - */ - codecConfig.ch_info.channels = 1; - } - builder->payloadRATConfig(&payload, &payloadSize, miid, &codecConfig); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - goto exit; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed for RAT render"); - goto exit; - } -#endif - switch (sAttr.info.voice_rec_info.record_direction) { - case INCALL_RECORD_VOICE_UPLINK: - tagId = INCALL_RECORD_UPLINK; - break; - case INCALL_RECORD_VOICE_DOWNLINK: - tagId = INCALL_RECORD_DOWNLINK; - break; - case INCALL_RECORD_VOICE_UPLINK_DOWNLINK: - if (sAttr.in_media_config.ch_info.channels == 2) - tagId = INCALL_RECORD_UPLINK_DOWNLINK_STEREO; - else - tagId = INCALL_RECORD_UPLINK_DOWNLINK_MONO; - break; - } - status = session->setConfig(s, MODULE, tagId); - if (status) - PAL_ERR(LOG_TAG, "Failed to set incall record params status = %d", status); - } - } else if (sAttr.type == PAL_STREAM_VOICE_UI || - sAttr.type == PAL_STREAM_ASR || - sAttr.type == PAL_STREAM_ACD) { - builder->getCustomPayload(&payload, &payloadSize); - SessionAlsaUtils::setMixerParameter(mxr, - pcmDevIds.at(0), payload, payloadSize); - builder->freeCustomPayload(); - } else if (sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), - TAG_STREAM_MFC_SR, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG, "getModuleInstanceId failed\n"); - } else { - PAL_DBG(LOG_TAG, "ULL record, miid : %x id = %d\n", miid, pcmDevIds.at(0)); - if (isPalPCMFormat(sAttr.in_media_config.aud_fmt_id)) - streamData.bitWidth = ResourceManager::palFormatToBitwidthLookup(sAttr.in_media_config.aud_fmt_id); - else - streamData.bitWidth = sAttr.in_media_config.bit_width; - streamData.sampleRate = sAttr.in_media_config.sample_rate; - streamData.numChannel = sAttr.in_media_config.ch_info.channels; - streamData.ch_info = nullptr; - builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - goto exit; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - goto exit; - } - } - } else if (sAttr.type == PAL_STREAM_SENSOR_PCM_DATA) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), DEVICE_ADAM, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); - } else { - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - goto exit; - } - if (associatedDevices.empty()) { - PAL_ERR(LOG_TAG,"No device attached\n"); - goto exit; - } - status = associatedDevices[0]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - goto exit; - } - if (dAttr.id == PAL_DEVICE_IN_ULTRASOUND_MIC && - dAttr.config.ch_info.channels > 1) { - builder->payloadDAMPortConfig(&payload, &payloadSize, miid, - dAttr.config.ch_info.channels); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - goto exit; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed for RAT render"); - goto exit; - } - } - } - } - if (sAttr.type == PAL_STREAM_DEEP_BUFFER) { - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - goto exit; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - goto exit; - } - } - //Setting the device orientation during stream open for HDR record. - if ((dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC) - && strstr(dAttr.custom_config.custom_key, "unprocessed-hdr-mic")) { - s->setOrientation(session->HDRConfigKeyToDevOrientation(dAttr.custom_config.custom_key)); - PAL_DBG(LOG_TAG,"HDR record set device orientation %d", s->getOrientation()); - if (session->setConfig(s, MODULE, ORIENTATION_TAG) != 0) { - PAL_DBG(LOG_TAG,"HDR record setting device orientation failed"); - } - if (rm->isWNRModuleEnabled()) - { - status = session->enableDisableWnrModule(s); - PAL_DBG(LOG_TAG, "Enabling WNR module status: %d", status); - } - } - } - - if (rm->IsSilenceDetectionEnabledPcm() && sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) { - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed for Silence Detection\n"); - goto silence_det_setup_done; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed for Silence Detection\n"); - goto silence_det_setup_done; - } - } - - if (dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC) { - (void) enableSilenceDetection(rm, mxr, pcmDevIds, - txAifBackEnds[0].second.data(), (uint64_t)session); - ppld->session = session; - ppld->builder = reinterpret_cast(builder); - status = pcmSilenceDetectionConfig(SD_SETPARAM, nullptr, ppld); - if (status != 0) { - PAL_ERR(LOG_TAG, "Enable param failed for Silence Detection\n"); - (void) disableSilenceDetection(rm, mxr, pcmDevIds, - txAifBackEnds[0].second.data(), (uint64_t)session); - goto silence_det_setup_done; - } - } - } -silence_det_setup_done: - status = 0; - if (ResourceManager::isLpiLoggingEnabled()) { - struct audio_route *audioRoute; - status = rm->getAudioRoute(&audioRoute); - if (!status) - audio_route_apply_and_update_path(audioRoute, "lpi-pcm-logging"); - PAL_INFO(LOG_TAG, "LPI data logging Param ON"); - /* No error check as TAG/TKV may not required for non LPI usecases */ - session->setConfig(s, MODULE, LPI_LOGGING_ON); - } - break; - case PAL_AUDIO_OUTPUT: - if (sAttr.type == PAL_STREAM_VOICE_CALL_MUSIC) { - if (pcmDevIds.size() == 0) { - PAL_ERR(LOG_TAG, "frontendIDs is not available."); - status = -EINVAL; - goto exit; - } - /*if in call music plus playback configure MFC*/ - if(sAttr.info.incall_music_info.local_playback){ - status = configureInCallRxMFC(session, rm, builder); - } - if (0 != status) { - PAL_INFO(LOG_TAG, "Unable to configure MFC voice call has not started %d", status); - } - goto exit; - } - if (!rxAifBackEnds.size()) { - PAL_ERR(LOG_TAG, "rxAifBackEnds are not available"); - status = -EINVAL; - goto exit; - } - if (sAttr.type == PAL_STREAM_HAPTICS && rm->IsHapticsThroughWSA()) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), MODULE_HAPTICS_GEN, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); - goto exit; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - pal_param_haptics_cnfg_t* hpCnfg = new pal_param_haptics_cnfg_t; - if (sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_RINGTONE) { - hpCnfg->mode = PAL_STREAM_HAPTICS_RINGTONE; - } else if(sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) { - status = session->getHapticsConfig(hpCnfg); - } - - if (hpCnfg != NULL) { - if (hpCnfg->mode == PAL_STREAM_HAPTICS_PCM) { - builder->payloadHapticsDevPConfig(&payload, &payloadSize, - miid, PARAM_ID_HAPTICS_RX_PCMV_PLAYBACK,(void *)hpCnfg); - - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - free(payload); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - free(hpCnfg); - goto exit; - } - } - } - } - - if (hpCnfg != nullptr && status == 0) { - builder->payloadHapticsDevPConfig(&payload, &payloadSize, - miid, PARAM_ID_HAPTICS_WAVE_DESIGNER_CFG_V2,(void *)hpCnfg); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - delete hpCnfg; - goto exit; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - delete hpCnfg; - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed for Haptics wavegen"); - goto exit; - } - if (sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) - goto exit; - } - else { - PAL_ERR(LOG_TAG, "haptics config is not set"); - goto exit; - } - } - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG, "getAssociatedDevices Failed\n"); - goto exit; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG, "get Device Attributes Failed\n"); - goto exit; - } - status = configureMFC(rm, sAttr, dAttr, pcmDevIds, - rxAifBackEnds[i].second.data(), builder); - if (status != 0) { - PAL_ERR(LOG_TAG, "build MFC payload failed"); - goto exit; - } - builder->getCustomPayload(&payload, &payloadSize); - if (payload) { - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - goto exit; - } - } - if ((rm->IsChargeConcurrencyEnabled()) && - (dAttr.id == PAL_DEVICE_OUT_SPEAKER)) { - status = session->NotifyChargerConcurrency(rm, true); - if (0 == status) { - status = session->EnableChargerConcurrency(rm, s); - //Handle failure case of ICL config - if (0 != status) { - PAL_DBG(LOG_TAG, "Failed to set ICL Config status %d", status); - status = session->NotifyChargerConcurrency(rm, false); - } - } - /* - Irespective of status, Audio continues to play for success - status, PB continues in Buck mode otherwise play in Boost mode. - */ - status = 0; - } - } - if (PAL_DEVICE_OUT_SPEAKER == dAttr.id && - ((sAttr.type == PAL_STREAM_PCM_OFFLOAD) || - (sAttr.type == PAL_STREAM_DEEP_BUFFER))) { - // Set MSPP volume during initlization. - if (!strcmp(dAttr.custom_config.custom_key, "mspp")) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), TAG_MODULE_MSPP, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"get MSPP ModuleInstanceId failed"); - goto exit; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - - builder->payloadMSPPConfig(&payload, &payloadSize, miid, rm->getLinearGain().gain); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - goto exit; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), TAG_PAUSE, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"get Soft Pause ModuleInstanceId failed"); - goto exit; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - builder->payloadSoftPauseConfig(&payload, &payloadSize, miid, - MSPP_SOFT_PAUSE_DELAY); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG,"setMixerParameter failed for soft Pause module"); - goto exit; - } - s->setOrientation(rm->getOrientation()); - PAL_DBG(LOG_TAG,"MSPP set device orientation %d", s->getOrientation()); - if (session->setConfig(s, MODULE, ORIENTATION_TAG) != 0) { - PAL_DBG(LOG_TAG,"MSPP setting device orientation failed"); - } - } else { - pal_param_device_rotation_t rotation; - rotation.rotation_type = rm->getOrientation() == ORIENTATION_270 ? - PAL_SPEAKER_ROTATION_RL : PAL_SPEAKER_ROTATION_LR; - status = handleDeviceRotation(rm, s, rotation.rotation_type, - pcmDevIds.at(0), mxr, builder, rxAifBackEnds); - if (status != 0) { - PAL_ERR(LOG_TAG,"handleDeviceRotation failed\n"); - status = 0; - goto exit; - } - } - } - //set voip_rx ec ref MFC config to match with rx stream - if (sAttr.type == PAL_STREAM_VOIP_RX) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), - TAG_DEVICEPP_EC_MFC, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); - status = 0; - goto exit; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - status = 0; - goto exit; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - status = 0; - goto exit; - } - //NN NS is not enabled for BT right now, need to change bitwidth based on BT config - //when anti howling is enabled. Currently returning success if graph does not have - //TAG_DEVICEPP_EC_MFC tag - if ((dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_A2DP) || - (dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_BLE) || - (dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_SCO)) { - struct pal_media_config codecConfig; - status = associatedDevices[i]->getCodecConfig(&codecConfig); - if (0 != status) { - PAL_ERR(LOG_TAG, "getCodecConfig Failed \n"); - status = 0; - goto exit; - } - streamData.sampleRate = codecConfig.sample_rate; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } else if (dAttr.id == PAL_DEVICE_OUT_USB_DEVICE - || dAttr.id == PAL_DEVICE_OUT_USB_HEADSET) { - streamData.sampleRate = - (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 - && dAttr.config.sample_rate <= SAMPLINGRATE_48K) - ? dAttr.config.sample_rate : SAMPLINGRATE_48K; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } else { - streamData.sampleRate = dAttr.config.sample_rate; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } - builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - status = 0; - goto exit; - } - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - status = 0; - goto exit; - } - } - if (sAttr.type == PAL_STREAM_VOIP_RX) { - status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), - DEVICE_MFC, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); - status = 0; - goto exit; - } - PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); - status = 0; - goto exit; - } - for (int i = 0; i < associatedDevices.size();i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); - status = 0; - goto exit; - } - if (dAttr.id == PAL_DEVICE_OUT_USB_DEVICE - || dAttr.id == PAL_DEVICE_OUT_USB_HEADSET) - { - streamData.sampleRate = - (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 - && dAttr.config.sample_rate <= SAMPLINGRATE_48K) - ? dAttr.config.sample_rate : SAMPLINGRATE_48K; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } else { - streamData.sampleRate = dAttr.config.sample_rate; - streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; - streamData.numChannel = 0xFFFF; - } - builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - status = 0; - goto exit; - } - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - status = 0; - goto exit; - } - } - break; - case PAL_AUDIO_INPUT | PAL_AUDIO_OUTPUT: - std::vector pcmDevRxIds; - status = session->getFrontEndIds(pcmDevRxIds, RX_HOSTLESS); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevRxIds) failed %d", status); - goto exit; - } - if (!rxAifBackEnds.size()) { - PAL_ERR(LOG_TAG, "rxAifBackEnds are not available"); - status = -EINVAL; - goto exit; - } - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG, "getAssociatedDevices Failed"); - goto exit; - } - for (int i = 0; i < associatedDevices.size(); i++) { - if (!SessionAlsaUtils::isRxDevice( - associatedDevices[i]->getSndDeviceId())) - continue; - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG, "get Device Attributes Failed"); - goto exit; - } - status = configureMFC(rm, sAttr, dAttr, pcmDevRxIds, - rxAifBackEnds[0].second.data(), builder); - if (status != 0) { - PAL_ERR(LOG_TAG, "build MFC payload failed"); - goto exit; - } - builder->getCustomPayload(&payload, &payloadSize); - if (payload) { - if (!pcmDevRxIds.size()) { - PAL_ERR(LOG_TAG, "pcmDevRxIds not found."); - status = -EINVAL; - builder->freeCustomPayload(); - goto exit; - } - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevRxIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - goto exit; - } - } - if ((rm->IsChargeConcurrencyEnabled()) && - (dAttr.id == PAL_DEVICE_OUT_SPEAKER)) { - status = session->NotifyChargerConcurrency(rm, true); - if (0 == status) { - status = session->EnableChargerConcurrency(rm, s); - //Handle failure case of ICL config - if (0 != status) { - PAL_DBG(LOG_TAG, "Failed to set ICL Config status %d", status); - status = session->NotifyChargerConcurrency(rm, false); - } - } - status = 0; - } - } - break; - } -exit: - PAL_DBG(LOG_TAG, "Exit status: %d", status); - return status; -} - -int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload) -{ - int status = 0; - std::vector pcmDevIds; - std::vector> associatedDevices; - std::vector> rxAifBackEnds; - std::vector> txAifBackEnds; - std::shared_ptr rm = nullptr; - struct pal_stream_attributes sAttr = {}; - struct pal_device dAttr = {}; - struct agm_event_reg_cfg event_cfg = {}; - SessionAlsaPcm* session = nullptr; - struct mixer* mxr = nullptr; - int payload_size = 0; - int tagId = 0; - int DeviceId = 0; - - PAL_DBG(LOG_TAG, "Enter"); - rm = ResourceManager::getInstance(); - status = s->getStreamAttributes(&sAttr); - if (status != 0) { - PAL_ERR(LOG_TAG, "stream get attributes failed"); - return status; - } - - session = reinterpret_cast(pluginPayload); - if (session == nullptr) { - PAL_ERR(LOG_TAG, "SessionAlsaPcm ptr is null\n"); - goto exit; - } - status = rm->getVirtualAudioMixer(&mxr); - if (status) { - PAL_ERR(LOG_TAG, "mixer error"); - goto exit; - } - - rxAifBackEnds = session->getRxBEVecRef(); - txAifBackEnds = session->getTxBEVecRef(); - status = session->getFrontEndIds(pcmDevIds); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); - goto exit; - } - - switch (sAttr.direction) { - case PAL_AUDIO_INPUT: - PAL_DBG(LOG_TAG, "case PAL_AUDIO_INPUT:\n"); - if (ResourceManager::isLpiLoggingEnabled()) { - struct audio_route *audioRoute; - - status = rm->getAudioRoute(&audioRoute); - if (!status) - audio_route_reset_and_update_path(audioRoute, "lpi-pcm-logging"); - } - if (rm->IsSilenceDetectionEnabledPcm() && sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) { - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG, "getAssociatedDevices Failed for Silence Detection\n"); - goto silence_det_setup_done; - } - - for (int i=0; i < associatedDevices.size(); i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG, "getDeviceAttributes failed for Silence Detection\n"); - goto silence_det_setup_done; - } - } - - if (dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC) { - (void) disableSilenceDetection(rm, mxr, pcmDevIds, - txAifBackEnds[0].second.data(), (uint64_t)session); - } -silence_det_setup_done: - status = 0; - } - break; - case PAL_AUDIO_OUTPUT: - PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n"); - if (session->getIsPauseRegistrationDone()) { - // Stream supports Soft Pause and was registered with RM - // sucessfully. Thus Deregister callback for Soft Pause - payload_size = sizeof(struct agm_event_reg_cfg); - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE; - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - - if (!pcmDevIds.size()) { - PAL_ERR(LOG_TAG, "frontendIDs are not available"); - status = -EINVAL; - goto exit; - } - if (!rxAifBackEnds.size()) { - PAL_ERR(LOG_TAG, "rxAifBackEnds are not available"); - status = -EINVAL; - goto exit; - } - status = SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), TAG_PAUSE, (void *)&event_cfg, - payload_size); - if (status == 0 || rm->getSoundCardState() == CARD_STATUS_OFFLINE) { - session->setIsPauseRegistrationDone(false); - } else { - // Not a fatal error - PAL_ERR(LOG_TAG, "Pause deregistration failed"); - status = 0; - } - } - break; - case PAL_AUDIO_INPUT | PAL_AUDIO_OUTPUT: - break; - } - - if (sAttr.type == PAL_STREAM_VOICE_UI) { - payload_size = sizeof(struct agm_event_reg_cfg); - uint32_t svaMiid; - svaMiid = session->getsvaMiid(); - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - event_cfg.event_id = s->getCallbackEventId(); - event_cfg.module_instance_id = svaMiid; - if (!pcmDevIds.size()) { - PAL_ERR(LOG_TAG, "pcmDevIds not found."); - status = -EINVAL; - goto exit; - } - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)&event_cfg, payload_size); - - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - event_cfg.event_id = EVENT_ID_SH_MEM_PUSH_MODE_EOS_MARKER; - tagId = SHMEM_ENDPOINT; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, - payload_size); - - } else if (sAttr.type == PAL_STREAM_ULTRASOUND && session->getRegisterForEvents()) { - payload_size = sizeof(struct agm_event_reg_cfg); - std::vector pcmDevTxIds; - status = session->getFrontEndIds(pcmDevTxIds, TX_HOSTLESS); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevTxIds) failed %d", status); - goto exit; - } - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - event_cfg.event_id = EVENT_ID_GENERIC_US_DETECTION; - tagId = ULTRASOUND_DETECTION_MODULE; - DeviceId = pcmDevTxIds.at(0); - session->setRegisterForEvents(false); - SessionAlsaUtils::registerMixerEvent(mxr, DeviceId, - txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, - payload_size); - } else if (sAttr.type == PAL_STREAM_ACD || sAttr.type == PAL_STREAM_ASR) { - std::vector payloadListParam; - session->getEventPayload(payloadListParam); - if (payloadListParam.empty() && sAttr.type == PAL_STREAM_ASR) { - PAL_ERR(LOG_TAG, "payload list is empty!!!"); - status = -EINVAL; - goto exit; - } - for (int i = 0; i < payloadListParam.size(); i++) { - payload_size = sizeof(struct agm_event_reg_cfg); - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - event_cfg.event_id = payloadListParam[i]->eventId; - if (sAttr.type == PAL_STREAM_ACD) { - tagId = CONTEXT_DETECTION_ENGINE; - } else if (payloadListParam[i]->eventId == EVENT_ID_SDZ_OUTPUT) { - tagId = TAG_MODULE_SDZ; - } else { - tagId = TAG_MODULE_ASR; - } - tagId = (sAttr.type == PAL_STREAM_ACD ? CONTEXT_DETECTION_ENGINE : - TAG_MODULE_ASR); - if (txAifBackEnds.empty() || !pcmDevIds.size()) { - PAL_ERR(LOG_TAG, "pcmDevIds not found."); - status = -EINVAL; - goto exit; - goto exit; - } - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, - payload_size); - } - } else if(sAttr.type == PAL_STREAM_CONTEXT_PROXY) { - status = register_asps_event(0, session, mxr); - } else if(sAttr.type == PAL_STREAM_HAPTICS && - sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) { - payload_size = sizeof(struct agm_event_reg_cfg); - - memset(&event_cfg, 0, sizeof(event_cfg)); - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - event_cfg.event_id = EVENT_ID_WAVEFORM_STATE; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - rxAifBackEnds[0].second.data(), MODULE_HAPTICS_GEN, (void *)&event_cfg, - payload_size); - } -exit: - PAL_DBG(LOG_TAG, "Exit status: %d", status); - return status; -} - -int register_asps_event(uint32_t reg, SessionAlsaPcm* session, struct mixer* mxr) -{ - int32_t status = 0; - struct agm_event_reg_cfg *event_cfg = nullptr; - uint32_t payload_size = sizeof(struct agm_event_reg_cfg); - std::vector pcmDevIds; - - PAL_DBG(LOG_TAG, "Enter"); - status = session->getFrontEndIds(pcmDevIds); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); - goto exit; - } - event_cfg = new agm_event_reg_cfg; - event_cfg->event_config_payload_size = 0; - event_cfg->is_register = reg; - event_cfg->event_id = EVENT_ID_ASPS_GET_SUPPORTED_CONTEXT_IDS; - event_cfg->module_instance_id = ASPS_MODULE_INSTANCE_ID; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)event_cfg, payload_size); - - event_cfg->event_id = EVENT_ID_ASPS_SENSOR_REGISTER_REQUEST; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)event_cfg, payload_size); - - event_cfg->event_id = EVENT_ID_ASPS_SENSOR_DEREGISTER_REQUEST; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)event_cfg, payload_size); - - event_cfg->event_id = EVENT_ID_ASPS_CLOSE_ALL; - SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), - (void *)event_cfg, payload_size); - delete event_cfg; -exit: - PAL_DBG(LOG_TAG, "Exit status: %d", status); - return status; -} - -int32_t configureInCallRxMFC(SessionAlsaPcm* session, std::shared_ptr rm, PayloadBuilder* builder) -{ - int32_t status = 0; - std::vector > devices; - std::shared_ptr rxDev = nullptr; - struct pal_device dattr = {}; - sessionToPayloadParam deviceData = {}; - typename std::vector>::iterator iter; - - PAL_DBG(LOG_TAG, "Enter"); - status = rm->getActiveVoiceCallDevices(devices); - if(devices.empty()){ - PAL_ERR(LOG_TAG, "Cannot start an in Call stream without a running voice call"); - status = -EINVAL; - goto exit; - } - for (iter = devices.begin(); iter != devices.end(); iter++) { - if ((*iter) && rm->isOutputDevId((*iter)->getSndDeviceId())) { - status = (*iter)->getDeviceAttributes(&dattr); - if (status) { - PAL_ERR(LOG_TAG,"get Device attributes failed\n"); - status = -EINVAL; - goto exit; - } - deviceData.bitWidth = dattr.config.bit_width; - deviceData.sampleRate = dattr.config.sample_rate; - deviceData.numChannel = dattr.config.ch_info.channels; - deviceData.ch_info = nullptr; - status = reconfigureModule(session, builder, PER_STREAM_PER_DEVICE_MFC, "ZERO", &deviceData); - break; - } - } -exit: - PAL_DBG(LOG_TAG, "Exit status: %d", status); - return status; -} - -int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginPayload) { - int status = 0; - uint32_t miid = 0; - size_t pad_bytes = 0, payloadSize = 0; - uint8_t* payload = NULL; - struct apm_module_param_data_t* header = NULL; - param_id_silence_detection_t *silence_detection_cfg = NULL; - PluginPayload* ppld = nullptr; - SessionAlsaPcm* session = nullptr; - struct mixer* mxr = nullptr; - PayloadBuilder* builder = nullptr; - std::vector pcmDevIds; - std::vector> txAifBackEnds; - std::shared_ptr rm = nullptr; - - ppld = reinterpret_cast(pluginPayload); - builder = reinterpret_cast(ppld->builder); - session = static_cast(ppld->session); - rm = ResourceManager::getInstance(); - status = rm->getVirtualAudioMixer(&mxr); - - if (!rm->IsSilenceDetectionEnabledPcm()) - return 0; - - if (config != SD_SETPARAM) { - PAL_ERR(LOG_TAG, "Invalid config to enable Silence Detection \n"); - return -EINVAL; - } - - status = session->getFrontEndIds(pcmDevIds, TX_HOSTLESS); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); - goto exit; - } - - txAifBackEnds = session->getTxBEVecRef(); - - status = SessionAlsaUtils::getModuleInstanceId(mxr, - pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n"); - return -SD_ENABLE; - } - payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t); - pad_bytes = PAL_PADDING_8BYTE_ALIGN(payloadSize); - - payload = (uint8_t *)calloc(1, payloadSize+pad_bytes); - if (!payload){ - PAL_ERR(LOG_TAG, "payload info calloc failed \n"); - return -SD_ENABLE; - } - - header = (struct apm_module_param_data_t *)payload; - header->module_instance_id = miid; - header->param_id = PARAM_ID_SILENCE_DETECTION; - header->error_code = 0x0; - header->param_size = payloadSize - sizeof(struct apm_module_param_data_t); - - silence_detection_cfg = (param_id_silence_detection_t *)(payload + - sizeof(struct apm_module_param_data_t)); - silence_detection_cfg->enable_detection = 1; - silence_detection_cfg->detection_duration_ms = rm->SilenceDetectionDuration(); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - if (status) { - PAL_ERR(LOG_TAG, "Silence Detection enable param failed\n"); - builder->freeCustomPayload(&payload, &payloadSize); - return -SD_ENABLE; - } - builder->freeCustomPayload(&payload, &payloadSize); -exit: - return status; -} - +/* + * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * * Neither the name of The Linux Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause + */ + +#define LOG_TAG "PAL: libsession_pcm_config" + +#ifdef PAL_USE_SYSLOG +#include +#define ALOGE(fmt, arg...) syslog (LOG_ERR, fmt, ##arg) +#define ALOGI(fmt, arg...) syslog (LOG_INFO, fmt, ##arg) +#define ALOGD(fmt, arg...) syslog (LOG_DEBUG, fmt, ##arg) +#define ALOGV(fmt, arg...) syslog (LOG_NOTICE, fmt, ##arg) +#else +#include +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "audio_dam_buffer_api.h" +#include "apm_api.h" +#include "us_gen_api.h" + +#include "Stream.h" +#include "ResourceManager.h" +#include "PalAudioRoute.h" +#include "PluginManagerIntf.h" +#include "SessionAlsaPcm.h" +#include "SessionAlsaUtils.h" +#include "acd_api.h" + +//SessionAlsaPcm EVENT_ID_XXXs +#include "detection_cmn_api.h" +#include "sh_mem_pull_push_mode_api.h" +#include "us_detect_api.h" +#include "rx_haptics_api.h" +#include "PayloadBuilder.h" +#include "SessionAR.h" +#include "ConfigSessionAlsaPcm.h" +#include "ConfigSessionUtils.h" + +// ASR handlecb def supports +#include "asr_module_calibration_api.h" +#include "sdz_api.h" +#include +#include /* Definition of SYSLOG_* constants */ +#include + +/*interface implementation*/ +extern "C" int pcmPluginConfig(Stream* stream, plugin_config_name_t config, + void *pluginPayload, size_t ppldSize) +{ + int status = 0; + PAL_DBG(LOG_TAG, "Enter"); + switch(config) { + case PAL_PLUGIN_CONFIG_START: + status = pcmPluginConfigSetConfigStart(stream, pluginPayload); + break; + case PAL_PLUGIN_CONFIG_STOP: + status = pcmPluginConfigSetConfigStop(stream, pluginPayload); + break; + case PAL_PLUGIN_PRE_RECONFIG: + status = pcmPluginPreReconfig(stream, pluginPayload); + break; + case PAL_PLUGIN_RECONFIG: + status = reconfigCommon(stream, pluginPayload); + break; + case PAL_PLUGIN_CONFIG_SETPARAM: + status = pluginConfigSetParam(stream, pluginPayload); + break; + default: + PAL_ERR(LOG_TAG, "config type %d, is unsupported",config); + status = -EINVAL; + } + PAL_DBG(LOG_TAG,"Exit ret: %d", status); + return status; +} + +int32_t pcmPluginPreReconfig(Stream* s, void* pluginPayload) { + int status = 0; + struct ReconfigPluginPayload* reconfigPld = nullptr; + PluginPayload* ppld = nullptr; + reconfigPld = reinterpret_cast(pluginPayload); + + PAL_DBG(LOG_TAG,"Enter"); + + if (!reconfigPld->config_ctrl.compare("silent_detection")) { + ppld->builder = reconfigPld->builder; + ppld->session = reconfigPld->session; + status = pcmSilenceDetectionConfig(SD_DISCONNECT, &reconfigPld->dAttr, ppld); + } + return status; +} + +int32_t pcmPluginConfigSetConfigStart(Stream* s, void* pluginPayload) +{ + int32_t status = 0; + std::shared_ptr rm; + pal_stream_attributes sAttr = {}; + pal_device dAttr = {}; + struct sessionToPayloadParam streamData = {}; + std::vector> associatedDevices; + std::vector> rxAifBackEnds; + std::vector> txAifBackEnds; + Session* sess = nullptr; + SessionAlsaPcm* session = nullptr; + PayloadBuilder* builder = nullptr; + struct mixer* mxr = nullptr; + uint8_t* payload = nullptr; + size_t payloadSize = 0; + uint32_t miid = 0; + PluginPayload* ppld = nullptr; + struct agm_event_reg_cfg event_cfg = {}; + struct pal_media_config codecConfig = {}; + struct agm_event_reg_cfg *acd_event_cfg = nullptr; + struct agm_event_reg_cfg *asr_event_cfg = nullptr; + std::vector pcmDevIds; + int DeviceId = 0; + int tagId = 0; + int payload_size = 0; + + PAL_DBG(LOG_TAG, "Enter"); + memset(&streamData, 0, sizeof(struct sessionToPayloadParam)); + memset(&dAttr, 0, sizeof(struct pal_device)); + status = s->getStreamAttributes(&sAttr); + if (status != 0) { + PAL_ERR(LOG_TAG, "stream get attributes failed"); + goto exit; + } + ppld = reinterpret_cast(pluginPayload); + builder = reinterpret_cast(ppld->builder); + sess = ppld->session; + session = static_cast(sess); + + if (session == nullptr) { + PAL_INFO(LOG_TAG, "session is NULL!!!\n"); + goto exit; + } + rm = ResourceManager::getInstance(); + status = rm->getVirtualAudioMixer(&mxr); + if (status) { + PAL_ERR(LOG_TAG, "mixer error"); + goto exit; + } + rxAifBackEnds = session->getRxBEVecRef(); + txAifBackEnds = session->getTxBEVecRef(); + status = session->getFrontEndIds(pcmDevIds); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); + goto exit; + } + + if (sAttr.type == PAL_STREAM_VOICE_UI) { + uint32_t svaMiid; + payload_size = sizeof(struct agm_event_reg_cfg); + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 1; + event_cfg.event_id = s->getCallbackEventId(); + svaMiid = session->getsvaMiid(); + event_cfg.module_instance_id = svaMiid; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)&event_cfg, payload_size); + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 1; + event_cfg.event_id = EVENT_ID_SH_MEM_PUSH_MODE_EOS_MARKER; + tagId = SHMEM_ENDPOINT; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, + payload_size); + } else if (sAttr.type == PAL_STREAM_ULTRASOUND && session->getRegisterForEvents()) { + payload_size = sizeof(struct agm_event_reg_cfg); + std::vector pcmDevTxIds; + status = session->getFrontEndIds(pcmDevTxIds, TX_HOSTLESS); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevTxIds) failed %d", status); + goto exit; + } + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 1; + event_cfg.event_id = EVENT_ID_GENERIC_US_DETECTION; + tagId = ULTRASOUND_DETECTION_MODULE; + DeviceId = pcmDevTxIds.at(0); + SessionAlsaUtils::registerMixerEvent(mxr, DeviceId, + txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, + payload_size); + } else if (sAttr.type == PAL_STREAM_ACD) { + std::vector payloadListParam; + session->getEventPayload(payloadListParam); + for (int i = 0; i < payloadListParam.size(); i++) { + payload_size = sizeof(struct agm_event_reg_cfg) + + payloadListParam[i]->payloadSize; + acd_event_cfg = (struct agm_event_reg_cfg *)calloc(1, payload_size); + if (!acd_event_cfg) { + PAL_ERR(LOG_TAG, "Failed to allocate memory for acd event config"); + status = -EINVAL; + goto exit; + } + memset(&event_cfg, 0, sizeof(event_cfg)); + acd_event_cfg->event_config_payload_size = + payloadListParam[i]->payloadSize; + acd_event_cfg->is_register = 1; + acd_event_cfg->event_id = payloadListParam[i]->eventId; + memcpy(acd_event_cfg->event_config_payload, + payloadListParam[i]->payload, + payloadListParam[i]->payloadSize); + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), + CONTEXT_DETECTION_ENGINE, + (void *)acd_event_cfg, + payload_size); + free(acd_event_cfg); + } + } else if (sAttr.type == PAL_STREAM_CONTEXT_PROXY) { + status = register_asps_event(1, session, mxr); + } else if (sAttr.type == PAL_STREAM_HAPTICS && + sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) { + payload_size = sizeof(struct agm_event_reg_cfg); + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 1; + event_cfg.event_id = EVENT_ID_WAVEFORM_STATE; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), MODULE_HAPTICS_GEN, (void *)&event_cfg, + payload_size); + } else if (sAttr.type == PAL_STREAM_ASR) { + uint32_t asrMiid = session->getAsrMiid(); + std::vector payloadListParam; + session->getEventPayload(payloadListParam); + if (payloadListParam.empty()) { + PAL_ERR(LOG_TAG, "payload list is empty!!!"); + status = -EINVAL; + goto exit; + } + for (int i = 0; i < payloadListParam.size(); i++) { + payload_size = sizeof(struct agm_event_reg_cfg) + + payloadListParam[i]->payloadSize; + asr_event_cfg = (struct agm_event_reg_cfg *)calloc(1, payload_size); + if (!asr_event_cfg) { + PAL_ERR(LOG_TAG, "Failed to allocate memory for asr event config"); + status = -EINVAL; + goto exit; + } + memset(&event_cfg, 0, sizeof(event_cfg)); + asr_event_cfg->event_config_payload_size = + payloadListParam[i]->payloadSize; + asr_event_cfg->is_register = 1; + asr_event_cfg->event_id = payloadListParam[i]->eventId; + asr_event_cfg->module_instance_id = asr_event_cfg->event_id == EVENT_ID_SDZ_OUTPUT ? + session->getSdzMiid() : session->getAsrMiid(); + memcpy(asr_event_cfg->event_config_payload, + payloadListParam[i]->payload, + payloadListParam[i]->payloadSize); + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)asr_event_cfg, payload_size); + free(asr_event_cfg); + } + } else if (sAttr.info.opt_stream_info.isBitPerfect) { + PAL_DBG(LOG_TAG, "Config not needed for BitPerfect Playback"); + goto exit; + } + + switch (sAttr.direction) { + case PAL_AUDIO_INPUT: + if (pcmDevIds.size() == 0) { + PAL_ERR(LOG_TAG, "frontendIDs is not available."); + status = -EINVAL; + goto exit; + } + if ((sAttr.type != PAL_STREAM_VOICE_UI) && + (sAttr.type != PAL_STREAM_ACD) && + (sAttr.type != PAL_STREAM_ASR) && + (sAttr.type != PAL_STREAM_CONTEXT_PROXY) && + (sAttr.type != PAL_STREAM_SENSOR_PCM_DATA) && + (sAttr.type != PAL_STREAM_ULTRA_LOW_LATENCY) && + (sAttr.type != PAL_STREAM_COMMON_PROXY)) { + /* Get MFC MIID and configure to match to stream config */ + /* This has to be done after sending all mixer controls and before connect */ + if (sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), + TAG_STREAM_MFC_SR, &miid); + else + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + "ZERO", TAG_STREAM_MFC_SR, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); + goto exit; + } + if (sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) { + PAL_ERR(LOG_TAG, "miid : %x id = %d, data %s\n", miid, + pcmDevIds.at(0), txAifBackEnds[0].second.data()); + } else { + PAL_ERR(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + } + + if (isPalPCMFormat(sAttr.in_media_config.aud_fmt_id)) + streamData.bitWidth = + ResourceManager::palFormatToBitwidthLookup(sAttr.in_media_config.aud_fmt_id); + else + streamData.bitWidth = sAttr.in_media_config.bit_width; + streamData.sampleRate = sAttr.in_media_config.sample_rate; + streamData.numChannel = sAttr.in_media_config.ch_info.channels; + streamData.ch_info = nullptr; + builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + goto exit; + } + } + if (sAttr.type == PAL_STREAM_VOIP_TX) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, + pcmDevIds.at(0), + txAifBackEnds[0].second.data(), + TAG_DEVICEPP_EC_MFC, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); + goto set_mixer; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + goto set_mixer; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + goto set_mixer; + } + if ((dAttr.id == PAL_DEVICE_IN_BLUETOOTH_A2DP) || + (dAttr.id == PAL_DEVICE_IN_BLUETOOTH_BLE) || + (dAttr.id == PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET)) { + struct pal_media_config codecConfig; + status = associatedDevices[i]->getCodecConfig(&codecConfig); + if (0 != status) { + PAL_ERR(LOG_TAG, "getCodecConfig Failed \n"); + goto set_mixer; + } + streamData.sampleRate = codecConfig.sample_rate; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } else if (dAttr.id == PAL_DEVICE_IN_USB_DEVICE || + dAttr.id == PAL_DEVICE_IN_USB_HEADSET) { + streamData.sampleRate = (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 && + dAttr.config.sample_rate <= SAMPLINGRATE_48K) ? + dAttr.config.sample_rate : SAMPLINGRATE_48K; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } else { + streamData.sampleRate = dAttr.config.sample_rate; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } + builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + goto set_mixer; + } + } + } + } + if (sAttr.type == PAL_STREAM_VOIP_TX) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), DEVICE_MFC, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); + goto configure_pspfmfc; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + goto set_mixer; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + goto set_mixer; + } + if (dAttr.id == PAL_DEVICE_IN_USB_DEVICE || dAttr.id == PAL_DEVICE_IN_USB_HEADSET) { + streamData.sampleRate = (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 && + dAttr.config.sample_rate <= SAMPLINGRATE_48K) ? + dAttr.config.sample_rate : SAMPLINGRATE_48K; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } else { + streamData.sampleRate = dAttr.config.sample_rate; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } + builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + goto set_mixer; + } + } + } + } +configure_pspfmfc: + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + goto set_mixer; + } + if (associatedDevices.size() < 1) { + PAL_ERR(LOG_TAG,"no device present\n"); + goto set_mixer; + } + status = associatedDevices[0]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + goto set_mixer; + } + if (dAttr.id == PAL_DEVICE_IN_PROXY || dAttr.id == PAL_DEVICE_IN_RECORD_PROXY) { + status = configureMFC(rm, sAttr, dAttr, pcmDevIds, + txAifBackEnds[0].second.data(), builder); + if(status != 0) { + PAL_ERR(LOG_TAG, "build MFC payload failed"); + } + } +set_mixer: + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + goto exit; + } + if (sAttr.type == PAL_STREAM_VOICE_CALL_RECORD) { +#ifdef CONFIGURE_INCALL_RECORD_RAT_MODULE + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + "ZERO", RAT_RENDER, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); + goto exit; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + codecConfig.bit_width = sAttr.in_media_config.bit_width; + codecConfig.sample_rate = 48000; + codecConfig.aud_fmt_id = sAttr.in_media_config.aud_fmt_id; + /* RAT RENDER always set to stereo for uplink+downlink record*/ + /* As mux_demux gives only stereo o/p & there is no MFC between mux and RAT */ + if (sAttr.info.voice_rec_info.record_direction == INCALL_RECORD_VOICE_UPLINK_DOWNLINK) { + codecConfig.ch_info.channels = 2; + } else { + /* + * RAT needs to be in sync with Mux/Demux o/p. + * In case of only UL or DL record, Mux/Demux will provide only 1 channel o/p. + * If the recording being done is stereo then there will be a mismatch between RAT and Mux/Demux. + * which will lead to noisy clip. Hence, RAT needs to be hard-coded based on record direction. + */ + codecConfig.ch_info.channels = 1; + } + builder->payloadRATConfig(&payload, &payloadSize, miid, &codecConfig); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + goto exit; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed for RAT render"); + goto exit; + } +#endif + switch (sAttr.info.voice_rec_info.record_direction) { + case INCALL_RECORD_VOICE_UPLINK: + tagId = INCALL_RECORD_UPLINK; + break; + case INCALL_RECORD_VOICE_DOWNLINK: + tagId = INCALL_RECORD_DOWNLINK; + break; + case INCALL_RECORD_VOICE_UPLINK_DOWNLINK: + if (sAttr.in_media_config.ch_info.channels == 2) + tagId = INCALL_RECORD_UPLINK_DOWNLINK_STEREO; + else + tagId = INCALL_RECORD_UPLINK_DOWNLINK_MONO; + break; + } + status = session->setConfig(s, MODULE, tagId); + if (status) + PAL_ERR(LOG_TAG, "Failed to set incall record params status = %d", status); + } + } else if (sAttr.type == PAL_STREAM_VOICE_UI || + sAttr.type == PAL_STREAM_ASR || + sAttr.type == PAL_STREAM_ACD) { + builder->getCustomPayload(&payload, &payloadSize); + SessionAlsaUtils::setMixerParameter(mxr, + pcmDevIds.at(0), payload, payloadSize); + builder->freeCustomPayload(); + } else if (sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), + TAG_STREAM_MFC_SR, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG, "getModuleInstanceId failed\n"); + } else { + PAL_DBG(LOG_TAG, "ULL record, miid : %x id = %d\n", miid, pcmDevIds.at(0)); + if (isPalPCMFormat(sAttr.in_media_config.aud_fmt_id)) + streamData.bitWidth = ResourceManager::palFormatToBitwidthLookup(sAttr.in_media_config.aud_fmt_id); + else + streamData.bitWidth = sAttr.in_media_config.bit_width; + streamData.sampleRate = sAttr.in_media_config.sample_rate; + streamData.numChannel = sAttr.in_media_config.ch_info.channels; + streamData.ch_info = nullptr; + builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + goto exit; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + goto exit; + } + } + } else if (sAttr.type == PAL_STREAM_SENSOR_PCM_DATA) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), DEVICE_ADAM, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); + } else { + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + goto exit; + } + if (associatedDevices.empty()) { + PAL_ERR(LOG_TAG,"No device attached\n"); + goto exit; + } + status = associatedDevices[0]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + goto exit; + } + if (dAttr.id == PAL_DEVICE_IN_ULTRASOUND_MIC && + dAttr.config.ch_info.channels > 1) { + builder->payloadDAMPortConfig(&payload, &payloadSize, miid, + dAttr.config.ch_info.channels); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + goto exit; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed for RAT render"); + goto exit; + } + } + } + } + if (sAttr.type == PAL_STREAM_DEEP_BUFFER) { + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + goto exit; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + goto exit; + } + } + //Setting the device orientation during stream open for HDR record. + if ((dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC) + && strstr(dAttr.custom_config.custom_key, "unprocessed-hdr-mic")) { + s->setOrientation(session->HDRConfigKeyToDevOrientation(dAttr.custom_config.custom_key)); + PAL_DBG(LOG_TAG,"HDR record set device orientation %d", s->getOrientation()); + if (session->setConfig(s, MODULE, ORIENTATION_TAG) != 0) { + PAL_DBG(LOG_TAG,"HDR record setting device orientation failed"); + } + if (rm->isWNRModuleEnabled()) + { + status = session->enableDisableWnrModule(s); + PAL_DBG(LOG_TAG, "Enabling WNR module status: %d", status); + } + } + } + + if (rm->IsSilenceDetectionEnabledPcm() && sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) { + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed for Silence Detection\n"); + goto silence_det_setup_done; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed for Silence Detection\n"); + goto silence_det_setup_done; + } + } + + if (dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC) { + (void) enableSilenceDetection(rm, mxr, pcmDevIds, + txAifBackEnds[0].second.data(), (uint64_t)session); + ppld->session = session; + ppld->builder = reinterpret_cast(builder); + status = pcmSilenceDetectionConfig(SD_SETPARAM, nullptr, ppld); + if (status != 0) { + PAL_ERR(LOG_TAG, "Enable param failed for Silence Detection\n"); + (void) disableSilenceDetection(rm, mxr, pcmDevIds, + txAifBackEnds[0].second.data(), (uint64_t)session); + goto silence_det_setup_done; + } + } + } +silence_det_setup_done: + status = 0; + if (ResourceManager::isLpiLoggingEnabled()) { + struct audio_route *audioRoute; + status = rm->getAudioRoute(&audioRoute); + if (!status) + audio_route_apply_and_update_path(audioRoute, "lpi-pcm-logging"); + PAL_INFO(LOG_TAG, "LPI data logging Param ON"); + /* No error check as TAG/TKV may not required for non LPI usecases */ + session->setConfig(s, MODULE, LPI_LOGGING_ON); + } + break; + case PAL_AUDIO_OUTPUT: + if (sAttr.type == PAL_STREAM_VOICE_CALL_MUSIC) { + if (pcmDevIds.size() == 0) { + PAL_ERR(LOG_TAG, "frontendIDs is not available."); + status = -EINVAL; + goto exit; + } + /*if in call music plus playback configure MFC*/ + if(sAttr.info.incall_music_info.local_playback){ + status = configureInCallRxMFC(session, rm, builder); + } + if (0 != status) { + PAL_INFO(LOG_TAG, "Unable to configure MFC voice call has not started %d", status); + } + goto exit; + } + if (!rxAifBackEnds.size()) { + PAL_ERR(LOG_TAG, "rxAifBackEnds are not available"); + status = -EINVAL; + goto exit; + } + if (sAttr.type == PAL_STREAM_HAPTICS && rm->IsHapticsThroughWSA()) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), MODULE_HAPTICS_GEN, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); + goto exit; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + pal_param_haptics_cnfg_t* hpCnfg = new pal_param_haptics_cnfg_t; + if (sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_RINGTONE) { + hpCnfg->mode = PAL_STREAM_HAPTICS_RINGTONE; + } else if(sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) { + status = session->getHapticsConfig(hpCnfg); + } + + if (hpCnfg != NULL) { + if (hpCnfg->mode == PAL_STREAM_HAPTICS_PCM) { + builder->payloadHapticsDevPConfig(&payload, &payloadSize, + miid, PARAM_ID_HAPTICS_RX_PCMV_PLAYBACK,(void *)hpCnfg); + + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + free(payload); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + free(hpCnfg); + goto exit; + } + } + } + } + + if (hpCnfg != nullptr && status == 0) { + builder->payloadHapticsDevPConfig(&payload, &payloadSize, + miid, PARAM_ID_HAPTICS_WAVE_DESIGNER_CFG_V2,(void *)hpCnfg); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + delete hpCnfg; + goto exit; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + delete hpCnfg; + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed for Haptics wavegen"); + goto exit; + } + if (sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) + goto exit; + } + else { + PAL_ERR(LOG_TAG, "haptics config is not set"); + goto exit; + } + } + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG, "getAssociatedDevices Failed\n"); + goto exit; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG, "get Device Attributes Failed\n"); + goto exit; + } + status = configureMFC(rm, sAttr, dAttr, pcmDevIds, + rxAifBackEnds[i].second.data(), builder); + if (status != 0) { + PAL_ERR(LOG_TAG, "build MFC payload failed"); + goto exit; + } + builder->getCustomPayload(&payload, &payloadSize); + if (payload) { + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + goto exit; + } + } + if ((rm->IsChargeConcurrencyEnabled()) && + (dAttr.id == PAL_DEVICE_OUT_SPEAKER)) { + status = session->NotifyChargerConcurrency(rm, true); + if (0 == status) { + status = session->EnableChargerConcurrency(rm, s); + //Handle failure case of ICL config + if (0 != status) { + PAL_DBG(LOG_TAG, "Failed to set ICL Config status %d", status); + status = session->NotifyChargerConcurrency(rm, false); + } + } + /* + Irespective of status, Audio continues to play for success + status, PB continues in Buck mode otherwise play in Boost mode. + */ + status = 0; + } + } + if (PAL_DEVICE_OUT_SPEAKER == dAttr.id && + ((sAttr.type == PAL_STREAM_PCM_OFFLOAD) || + (sAttr.type == PAL_STREAM_DEEP_BUFFER))) { + // Set MSPP volume during initlization. + if (!strcmp(dAttr.custom_config.custom_key, "mspp")) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), TAG_MODULE_MSPP, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"get MSPP ModuleInstanceId failed"); + goto exit; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + + builder->payloadMSPPConfig(&payload, &payloadSize, miid, rm->getLinearGain().gain); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + goto exit; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), TAG_PAUSE, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"get Soft Pause ModuleInstanceId failed"); + goto exit; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + builder->payloadSoftPauseConfig(&payload, &payloadSize, miid, + MSPP_SOFT_PAUSE_DELAY); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG,"setMixerParameter failed for soft Pause module"); + goto exit; + } + s->setOrientation(rm->getOrientation()); + PAL_DBG(LOG_TAG,"MSPP set device orientation %d", s->getOrientation()); + if (session->setConfig(s, MODULE, ORIENTATION_TAG) != 0) { + PAL_DBG(LOG_TAG,"MSPP setting device orientation failed"); + } + } else { + pal_param_device_rotation_t rotation; + rotation.rotation_type = rm->getOrientation() == ORIENTATION_270 ? + PAL_SPEAKER_ROTATION_RL : PAL_SPEAKER_ROTATION_LR; + status = handleDeviceRotation(rm, s, rotation.rotation_type, + pcmDevIds.at(0), mxr, builder, rxAifBackEnds); + if (status != 0) { + PAL_ERR(LOG_TAG,"handleDeviceRotation failed\n"); + status = 0; + goto exit; + } + } + } + //set voip_rx ec ref MFC config to match with rx stream + if (sAttr.type == PAL_STREAM_VOIP_RX) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), + TAG_DEVICEPP_EC_MFC, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); + status = 0; + goto exit; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + status = 0; + goto exit; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + status = 0; + goto exit; + } + //NN NS is not enabled for BT right now, need to change bitwidth based on BT config + //when anti howling is enabled. Currently returning success if graph does not have + //TAG_DEVICEPP_EC_MFC tag + if ((dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_A2DP) || + (dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_BLE) || + (dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_SCO)) { + struct pal_media_config codecConfig; + status = associatedDevices[i]->getCodecConfig(&codecConfig); + if (0 != status) { + PAL_ERR(LOG_TAG, "getCodecConfig Failed \n"); + status = 0; + goto exit; + } + streamData.sampleRate = codecConfig.sample_rate; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } else if (dAttr.id == PAL_DEVICE_OUT_USB_DEVICE + || dAttr.id == PAL_DEVICE_OUT_USB_HEADSET) { + streamData.sampleRate = + (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 + && dAttr.config.sample_rate <= SAMPLINGRATE_48K) + ? dAttr.config.sample_rate : SAMPLINGRATE_48K; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } else { + streamData.sampleRate = dAttr.config.sample_rate; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } + builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + status = 0; + goto exit; + } + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + status = 0; + goto exit; + } + } + if (sAttr.type == PAL_STREAM_VOIP_RX) { + status = SessionAlsaUtils::getModuleInstanceId(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), + DEVICE_MFC, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG,"getModuleInstanceId failed\n"); + status = 0; + goto exit; + } + PAL_INFO(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG,"getAssociatedDevices Failed\n"); + status = 0; + goto exit; + } + for (int i = 0; i < associatedDevices.size();i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG,"get Device Attributes Failed\n"); + status = 0; + goto exit; + } + if (dAttr.id == PAL_DEVICE_OUT_USB_DEVICE + || dAttr.id == PAL_DEVICE_OUT_USB_HEADSET) + { + streamData.sampleRate = + (dAttr.config.sample_rate % SAMPLINGRATE_8K == 0 + && dAttr.config.sample_rate <= SAMPLINGRATE_48K) + ? dAttr.config.sample_rate : SAMPLINGRATE_48K; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } else { + streamData.sampleRate = dAttr.config.sample_rate; + streamData.bitWidth = AUDIO_BIT_WIDTH_DEFAULT_16; + streamData.numChannel = 0xFFFF; + } + builder->payloadMFCConfig(&payload, &payloadSize, miid, &streamData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + status = 0; + goto exit; + } + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + status = 0; + goto exit; + } + } + break; + case PAL_AUDIO_INPUT | PAL_AUDIO_OUTPUT: + std::vector pcmDevRxIds; + status = session->getFrontEndIds(pcmDevRxIds, RX_HOSTLESS); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevRxIds) failed %d", status); + goto exit; + } + if (!rxAifBackEnds.size()) { + PAL_ERR(LOG_TAG, "rxAifBackEnds are not available"); + status = -EINVAL; + goto exit; + } + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG, "getAssociatedDevices Failed"); + goto exit; + } + for (int i = 0; i < associatedDevices.size(); i++) { + if (!SessionAlsaUtils::isRxDevice( + associatedDevices[i]->getSndDeviceId())) + continue; + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG, "get Device Attributes Failed"); + goto exit; + } + status = configureMFC(rm, sAttr, dAttr, pcmDevRxIds, + rxAifBackEnds[0].second.data(), builder); + if (status != 0) { + PAL_ERR(LOG_TAG, "build MFC payload failed"); + goto exit; + } + builder->getCustomPayload(&payload, &payloadSize); + if (payload) { + if (!pcmDevRxIds.size()) { + PAL_ERR(LOG_TAG, "pcmDevRxIds not found."); + status = -EINVAL; + builder->freeCustomPayload(); + goto exit; + } + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevRxIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + goto exit; + } + } + if ((rm->IsChargeConcurrencyEnabled()) && + (dAttr.id == PAL_DEVICE_OUT_SPEAKER)) { + status = session->NotifyChargerConcurrency(rm, true); + if (0 == status) { + status = session->EnableChargerConcurrency(rm, s); + //Handle failure case of ICL config + if (0 != status) { + PAL_DBG(LOG_TAG, "Failed to set ICL Config status %d", status); + status = session->NotifyChargerConcurrency(rm, false); + } + } + status = 0; + } + } + break; + } +exit: + PAL_DBG(LOG_TAG, "Exit status: %d", status); + return status; +} + +int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload) +{ + int status = 0; + std::vector pcmDevIds; + std::vector> associatedDevices; + std::vector> rxAifBackEnds; + std::vector> txAifBackEnds; + std::shared_ptr rm = nullptr; + struct pal_stream_attributes sAttr = {}; + struct pal_device dAttr = {}; + struct agm_event_reg_cfg event_cfg = {}; + SessionAlsaPcm* session = nullptr; + struct mixer* mxr = nullptr; + int payload_size = 0; + int tagId = 0; + int DeviceId = 0; + + PAL_DBG(LOG_TAG, "Enter"); + rm = ResourceManager::getInstance(); + status = s->getStreamAttributes(&sAttr); + if (status != 0) { + PAL_ERR(LOG_TAG, "stream get attributes failed"); + return status; + } + + session = reinterpret_cast(pluginPayload); + if (session == nullptr) { + PAL_ERR(LOG_TAG, "SessionAlsaPcm ptr is null\n"); + goto exit; + } + status = rm->getVirtualAudioMixer(&mxr); + if (status) { + PAL_ERR(LOG_TAG, "mixer error"); + goto exit; + } + + rxAifBackEnds = session->getRxBEVecRef(); + txAifBackEnds = session->getTxBEVecRef(); + status = session->getFrontEndIds(pcmDevIds); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); + goto exit; + } + + switch (sAttr.direction) { + case PAL_AUDIO_INPUT: + PAL_DBG(LOG_TAG, "case PAL_AUDIO_INPUT:\n"); + if (ResourceManager::isLpiLoggingEnabled()) { + struct audio_route *audioRoute; + + status = rm->getAudioRoute(&audioRoute); + if (!status) + audio_route_reset_and_update_path(audioRoute, "lpi-pcm-logging"); + } + if (rm->IsSilenceDetectionEnabledPcm() && sAttr.type != PAL_STREAM_VOICE_CALL_RECORD) { + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG, "getAssociatedDevices Failed for Silence Detection\n"); + goto silence_det_setup_done; + } + + for (int i=0; i < associatedDevices.size(); i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG, "getDeviceAttributes failed for Silence Detection\n"); + goto silence_det_setup_done; + } + } + + if (dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC) { + (void) disableSilenceDetection(rm, mxr, pcmDevIds, + txAifBackEnds[0].second.data(), (uint64_t)session); + } +silence_det_setup_done: + status = 0; + } + break; + case PAL_AUDIO_OUTPUT: + PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n"); + if (session->getIsPauseRegistrationDone()) { + // Stream supports Soft Pause and was registered with RM + // sucessfully. Thus Deregister callback for Soft Pause + payload_size = sizeof(struct agm_event_reg_cfg); + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE; + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + + if (!pcmDevIds.size()) { + PAL_ERR(LOG_TAG, "frontendIDs are not available"); + status = -EINVAL; + goto exit; + } + if (!rxAifBackEnds.size()) { + PAL_ERR(LOG_TAG, "rxAifBackEnds are not available"); + status = -EINVAL; + goto exit; + } + status = SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), TAG_PAUSE, (void *)&event_cfg, + payload_size); + if (status == 0 || rm->getSoundCardState() == CARD_STATUS_OFFLINE) { + session->setIsPauseRegistrationDone(false); + } else { + // Not a fatal error + PAL_ERR(LOG_TAG, "Pause deregistration failed"); + status = 0; + } + } + break; + case PAL_AUDIO_INPUT | PAL_AUDIO_OUTPUT: + break; + } + + if (sAttr.type == PAL_STREAM_VOICE_UI) { + payload_size = sizeof(struct agm_event_reg_cfg); + uint32_t svaMiid; + svaMiid = session->getsvaMiid(); + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + event_cfg.event_id = s->getCallbackEventId(); + event_cfg.module_instance_id = svaMiid; + if (!pcmDevIds.size()) { + PAL_ERR(LOG_TAG, "pcmDevIds not found."); + status = -EINVAL; + goto exit; + } + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)&event_cfg, payload_size); + + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + event_cfg.event_id = EVENT_ID_SH_MEM_PUSH_MODE_EOS_MARKER; + tagId = SHMEM_ENDPOINT; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, + payload_size); + + } else if (sAttr.type == PAL_STREAM_ULTRASOUND && session->getRegisterForEvents()) { + payload_size = sizeof(struct agm_event_reg_cfg); + std::vector pcmDevTxIds; + status = session->getFrontEndIds(pcmDevTxIds, TX_HOSTLESS); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevTxIds) failed %d", status); + goto exit; + } + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + event_cfg.event_id = EVENT_ID_GENERIC_US_DETECTION; + tagId = ULTRASOUND_DETECTION_MODULE; + DeviceId = pcmDevTxIds.at(0); + session->setRegisterForEvents(false); + SessionAlsaUtils::registerMixerEvent(mxr, DeviceId, + txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, + payload_size); + } else if (sAttr.type == PAL_STREAM_ACD || sAttr.type == PAL_STREAM_ASR) { + std::vector payloadListParam; + session->getEventPayload(payloadListParam); + if (payloadListParam.empty() && sAttr.type == PAL_STREAM_ASR) { + PAL_ERR(LOG_TAG, "payload list is empty!!!"); + status = -EINVAL; + goto exit; + } + for (int i = 0; i < payloadListParam.size(); i++) { + payload_size = sizeof(struct agm_event_reg_cfg); + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + event_cfg.event_id = payloadListParam[i]->eventId; + if (sAttr.type == PAL_STREAM_ACD) { + tagId = CONTEXT_DETECTION_ENGINE; + } else if (payloadListParam[i]->eventId == EVENT_ID_SDZ_OUTPUT) { + tagId = TAG_MODULE_SDZ; + } else { + tagId = TAG_MODULE_ASR; + } + tagId = (sAttr.type == PAL_STREAM_ACD ? CONTEXT_DETECTION_ENGINE : + TAG_MODULE_ASR); + if (txAifBackEnds.empty() || !pcmDevIds.size()) { + PAL_ERR(LOG_TAG, "pcmDevIds not found."); + status = -EINVAL; + goto exit; + goto exit; + } + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + txAifBackEnds[0].second.data(), tagId, (void *)&event_cfg, + payload_size); + } + } else if(sAttr.type == PAL_STREAM_CONTEXT_PROXY) { + status = register_asps_event(0, session, mxr); + } else if(sAttr.type == PAL_STREAM_HAPTICS && + sAttr.info.opt_stream_info.haptics_type == PAL_STREAM_HAPTICS_TOUCH) { + payload_size = sizeof(struct agm_event_reg_cfg); + + memset(&event_cfg, 0, sizeof(event_cfg)); + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + event_cfg.event_id = EVENT_ID_WAVEFORM_STATE; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + rxAifBackEnds[0].second.data(), MODULE_HAPTICS_GEN, (void *)&event_cfg, + payload_size); + } +exit: + PAL_DBG(LOG_TAG, "Exit status: %d", status); + return status; +} + +int register_asps_event(uint32_t reg, SessionAlsaPcm* session, struct mixer* mxr) +{ + int32_t status = 0; + struct agm_event_reg_cfg *event_cfg = nullptr; + uint32_t payload_size = sizeof(struct agm_event_reg_cfg); + std::vector pcmDevIds; + + PAL_DBG(LOG_TAG, "Enter"); + status = session->getFrontEndIds(pcmDevIds); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); + goto exit; + } + event_cfg = new agm_event_reg_cfg; + event_cfg->event_config_payload_size = 0; + event_cfg->is_register = reg; + event_cfg->event_id = EVENT_ID_ASPS_GET_SUPPORTED_CONTEXT_IDS; + event_cfg->module_instance_id = ASPS_MODULE_INSTANCE_ID; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)event_cfg, payload_size); + + event_cfg->event_id = EVENT_ID_ASPS_SENSOR_REGISTER_REQUEST; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)event_cfg, payload_size); + + event_cfg->event_id = EVENT_ID_ASPS_SENSOR_DEREGISTER_REQUEST; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)event_cfg, payload_size); + + event_cfg->event_id = EVENT_ID_ASPS_CLOSE_ALL; + SessionAlsaUtils::registerMixerEvent(mxr, pcmDevIds.at(0), + (void *)event_cfg, payload_size); + delete event_cfg; +exit: + PAL_DBG(LOG_TAG, "Exit status: %d", status); + return status; +} + +int32_t configureInCallRxMFC(SessionAlsaPcm* session, std::shared_ptr rm, PayloadBuilder* builder) +{ + int32_t status = 0; + std::vector > devices; + std::shared_ptr rxDev = nullptr; + struct pal_device dattr = {}; + sessionToPayloadParam deviceData = {}; + typename std::vector>::iterator iter; + + PAL_DBG(LOG_TAG, "Enter"); + status = rm->getActiveVoiceCallDevices(devices); + if(devices.empty()){ + PAL_ERR(LOG_TAG, "Cannot start an in Call stream without a running voice call"); + status = -EINVAL; + goto exit; + } + for (iter = devices.begin(); iter != devices.end(); iter++) { + if ((*iter) && rm->isOutputDevId((*iter)->getSndDeviceId())) { + status = (*iter)->getDeviceAttributes(&dattr); + if (status) { + PAL_ERR(LOG_TAG,"get Device attributes failed\n"); + status = -EINVAL; + goto exit; + } + deviceData.bitWidth = dattr.config.bit_width; + deviceData.sampleRate = dattr.config.sample_rate; + deviceData.numChannel = dattr.config.ch_info.channels; + deviceData.ch_info = nullptr; + status = reconfigureModule(session, builder, PER_STREAM_PER_DEVICE_MFC, "ZERO", &deviceData); + break; + } + } +exit: + PAL_DBG(LOG_TAG, "Exit status: %d", status); + return status; +} + +int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginPayload) { + int status = 0; + uint32_t miid = 0; + size_t pad_bytes = 0, payloadSize = 0; + uint8_t* payload = NULL; + struct apm_module_param_data_t* header = NULL; + param_id_silence_detection_t *silence_detection_cfg = NULL; + PluginPayload* ppld = nullptr; + SessionAlsaPcm* session = nullptr; + struct mixer* mxr = nullptr; + PayloadBuilder* builder = nullptr; + std::vector pcmDevIds; + std::vector> txAifBackEnds; + std::shared_ptr rm = nullptr; + + ppld = reinterpret_cast(pluginPayload); + builder = reinterpret_cast(ppld->builder); + session = static_cast(ppld->session); + rm = ResourceManager::getInstance(); + status = rm->getVirtualAudioMixer(&mxr); + + if (!rm->IsSilenceDetectionEnabledPcm()) + return 0; + + if (config != SD_SETPARAM) { + PAL_ERR(LOG_TAG, "Invalid config to enable Silence Detection \n"); + return -EINVAL; + } + + status = session->getFrontEndIds(pcmDevIds, TX_HOSTLESS); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds failed %d", status); + goto exit; + } + + txAifBackEnds = session->getTxBEVecRef(); + + status = SessionAlsaUtils::getModuleInstanceId(mxr, + pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n"); + return -SD_ENABLE; + } + payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t); + pad_bytes = PAL_PADDING_8BYTE_ALIGN(payloadSize); + + payload = (uint8_t *)calloc(1, payloadSize+pad_bytes); + if (!payload){ + PAL_ERR(LOG_TAG, "payload info calloc failed \n"); + return -SD_ENABLE; + } + + header = (struct apm_module_param_data_t *)payload; + header->module_instance_id = miid; + header->param_id = PARAM_ID_SILENCE_DETECTION; + header->error_code = 0x0; + header->param_size = payloadSize - sizeof(struct apm_module_param_data_t); + + silence_detection_cfg = (param_id_silence_detection_t *)(payload + + sizeof(struct apm_module_param_data_t)); + silence_detection_cfg->enable_detection = 1; + silence_detection_cfg->detection_duration_ms = rm->SilenceDetectionDuration(); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + if (status) { + PAL_ERR(LOG_TAG, "Silence Detection enable param failed\n"); + builder->freeCustomPayload(&payload, &payloadSize); + return -SD_ENABLE; + } + builder->freeCustomPayload(&payload, &payloadSize); +exit: + return status; +} + diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index 8593c617..1e91c7a0 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_VOICE_H diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index a3852c82..67f8a34d 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/mbb/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/mbb/default/ConfigSessionUtils/inc/ConfigSessionUtils.h index 9ffc5e0c..2c4c6f8d 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/mbb/default/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,40 +1,40 @@ -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear - */ - -#ifndef CONFIG_SESSION_UTILS_H -#define CONFIG_SESSION_UTILS_H - -#include "Stream.h" -#include "hw_intf_cmn_api.h" - -typedef enum { - SD_CONNECT, - SD_ENABLE, - SD_SETPARAM, - SD_DISCONNECT, -}sd_configs; - -int configureMFC(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, - struct pal_device &dAttr, const std::vector &pcmDevIds, const char* intf, - PayloadBuilder* builder); -int setSlotMask(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, - struct pal_device &dAttr, const std::vector &pcmDevIds); -int32_t reconfigureInCallMusicStream(struct pal_media_config config, PayloadBuilder* builder); -int reconfigCommon(Stream* streamHandle, void* pluginPayload); -int handleDeviceRotation(const std::shared_ptr& rm, - Stream *s, pal_speaker_rotation_type rotation_type, - int device, struct mixer *mixer, PayloadBuilder* builder, - std::vector> rxAifBackEnds); -int32_t pluginConfigSetParam(Stream* s, void* payload); -int enableSilenceDetection(const std::shared_ptr rm, - struct mixer *mixer, const std::vector &DevIds, - const char *intf_name, uint64_t cookie); -int disableSilenceDetection(const std::shared_ptr rm, - struct mixer *mixer, const std::vector &DevIds, - const char *intf_name, uint64_t cookie); -/* Forward Declaration for Silence Detection Callback */ -void handleSilenceDetectionCb(uint64_t hdl __unused, - uint32_t event_id, void *event_data, uint32_t event_size); -#endif \ No newline at end of file +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef CONFIG_SESSION_UTILS_H +#define CONFIG_SESSION_UTILS_H + +#include "Stream.h" +#include "hw_intf_cmn_api.h" + +typedef enum { + SD_CONNECT, + SD_ENABLE, + SD_SETPARAM, + SD_DISCONNECT, +}sd_configs; + +int configureMFC(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, + struct pal_device &dAttr, const std::vector &pcmDevIds, const char* intf, + PayloadBuilder* builder); +int setSlotMask(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, + struct pal_device &dAttr, const std::vector &pcmDevIds); +int32_t reconfigureInCallMusicStream(struct pal_media_config config, PayloadBuilder* builder); +int reconfigCommon(Stream* streamHandle, void* pluginPayload); +int handleDeviceRotation(const std::shared_ptr& rm, + Stream *s, pal_speaker_rotation_type rotation_type, + int device, struct mixer *mixer, PayloadBuilder* builder, + std::vector> rxAifBackEnds); +int32_t pluginConfigSetParam(Stream* s, void* payload); +int enableSilenceDetection(const std::shared_ptr rm, + struct mixer *mixer, const std::vector &DevIds, + const char *intf_name, uint64_t cookie); +int disableSilenceDetection(const std::shared_ptr rm, + struct mixer *mixer, const std::vector &DevIds, + const char *intf_name, uint64_t cookie); +/* Forward Declaration for Silence Detection Callback */ +void handleSilenceDetectionCb(uint64_t hdl __unused, + uint32_t event_id, void *event_data, uint32_t event_size); +#endif diff --git a/plugins/configs/qcom/mbb/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/mbb/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp index e271c3fa..b280ebb0 100644 --- a/plugins/configs/qcom/mbb/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/mbb/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -1,1102 +1,1102 @@ -/* -* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are -* met: -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above -* copyright notice, this list of conditions and the following -* disclaimer in the documentation and/or other materials provided -* with the distribution. -* * Neither the name of The Linux Foundation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* -* Changes from Qualcomm Technologies, Inc. are provided under the following license: -* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear -* -*/ - -#define LOG_TAG "PAL: libsession_config_utils" - -#ifdef PAL_USE_SYSLOG -#include -#define ALOGE(fmt, arg...) syslog (LOG_ERR, fmt, ##arg) -#define ALOGI(fmt, arg...) syslog (LOG_INFO, fmt, ##arg) -#define ALOGD(fmt, arg...) syslog (LOG_DEBUG, fmt, ##arg) -#define ALOGV(fmt, arg...) syslog (LOG_NOTICE, fmt, ##arg) -#else -#include -#endif -#include -#include -#include -#ifdef PAL_CUTILS_SUPPORTED -#include -#endif -#include -#include -#include "PluginManagerIntf.h" -#include "ResourceManager.h" -#include "PayloadBuilder.h" -#include "SessionAlsaPcm.h" -#include "SessionAlsaUtils.h" -#include "ConfigSessionUtils.h" -#include "apm_api.h" -#include -//#include -#include /* Definition of SYSLOG_* constants */ -#include - - -#ifndef DUMP_OUT_PATH -#define DUMP_OUT_PATH "/data/vendor/audio/" -#endif //DUMP_OUT_PATH - -#define MAX_DUMP_FILENAME_SIZE 255 -#define REGDUMP_OUT_SIZE 256*1024 -#define SYSLOG_ACTION_READ_ALL 3 -#define SYSLOG_ACTION_SIZE_BUFFER 10 -#define TIMESTAMP_FORMAT_STRING "_%Y_%m_%d_%H_%M_%S" - -#define BOLERO_PROC_INTF "/proc/lpass_cdc_reginfo/lpass_cdc_regdump" -#define WCD939X_PROC_INTF "/proc/wcd939x_reginfo/wcd939x_regdump" -#define WSA884X_1_PROC_INTF "/proc/wsa884x_reginfo_1/wsa884x_regdump" -#define WSA884X_2_PROC_INTF "/proc/wsa884x_reginfo_2/wsa884x_regdump" -#define WSA883X_1_PROC_INTF "/proc/wsa883x_reginfo_1/wsa883x_regdump" -#define WSA883X_2_PROC_INTF "/proc/wsa883x_reginfo_2/wsa883x_regdump" -#define WSA_SWR_PROC_INTF "/proc/wsa_swr_ctrl/swr_mstr_ctrl_regdump" -#define WSA2_SWR_PROC_INTF "/proc/wsa2_swr_ctrl/swr_mstr_ctrl_regdump" -#define VA_SWR_PROC_INTF "/proc/va_swr_ctrl/swr_mstr_ctrl_regdump" -#define RX_SWR_PROC_INTF "/proc/rx_swr_ctrl/swr_mstr_ctrl_regdump" - -#define KMSG_FILE "kernel_log" -#define SILENCE_EVENT_INFO DUMP_OUT_PATH "silence_event_info" -#define BOLERO_REGDUMP_OUT_FILE "lpass_cdc_regdump" -#define WCD939X_REGDUMP_OUT_FILE "wcd939x_regdump" -#define VA_SWR_REGDUMP_OUT_FILE "va_swr_regdump" - -#define KMSG_OUT_FILE DUMP_OUT_PATH KMSG_FILE TIMESTAMP_FORMAT_STRING -#define SILENCE_EVENT_INFO DUMP_OUT_PATH "silence_event_info" TIMESTAMP_FORMAT_STRING -#define BOLERO_REGDUMP_OUT_PATH DUMP_OUT_PATH BOLERO_REGDUMP_OUT_FILE TIMESTAMP_FORMAT_STRING -#define WCD939X_REGDUMP_OUT_PATH DUMP_OUT_PATH WCD939X_REGDUMP_OUT_FILE TIMESTAMP_FORMAT_STRING -#define VA_SWR_REGDUM_OUT_PATH DUMP_OUT_PATH VA_SWR_REGDUMP_OUT_FILE TIMESTAMP_FORMAT_STRING - -bool silenceEventRegistered = false; - -int reconfigCommon(Stream* streamHandle, void* pluginPayload) -{ - int status = 0; - uint32_t miid = 0; - bool is_out_dev = false; - struct pal_stream_attributes sAttr = {}; - pal_stream_type_t streamType; - struct sessionToPayloadParam streamData = {}; - struct pal_device dAttr = {}; - Session* sess = nullptr; - PayloadBuilder* builder = new PayloadBuilder(); - std::shared_ptr rmHandle = ResourceManager::getInstance(); - uint8_t* payload = nullptr; - size_t payloadSize = 0; - struct ReconfigPluginPayload* reconfigPld = nullptr; - struct mixer* mixerHandle = nullptr; - std::shared_ptr groupDevConfig = nullptr; - std::vector> aifBackEndsToConnect; - std::vector pcmDevIds; - std::vector frontEndIds; - - PAL_DBG(LOG_TAG,"Enter"); - status = rmHandle->getVirtualAudioMixer(&mixerHandle); - if (status) { - PAL_ERR(LOG_TAG, "get mixer handle failed %d", status); - goto exit; - } - status = streamHandle->getStreamAttributes(&sAttr); - if (status) { - PAL_ERR(LOG_TAG, "could not get stream attributes\n"); - goto exit; - } - status = streamHandle->getAssociatedSession(&sess); - if (status) { - PAL_ERR(LOG_TAG, "get mixer handle failed %d", status); - goto exit; - } - reconfigPld = reinterpret_cast(pluginPayload); - if (!reconfigPld) { - PAL_ERR(LOG_TAG, "could not get reconfigPld\n"); - goto exit; - } - streamType = sAttr.type; - aifBackEndsToConnect = reconfigPld->aifBackEnds; - dAttr = reconfigPld->dAttr; - pcmDevIds = reconfigPld->pcmDevIds; - - if (dAttr.id > PAL_DEVICE_OUT_MIN && dAttr.id < PAL_DEVICE_OUT_MAX) - is_out_dev = true; - - if (streamType == PAL_STREAM_ULTRASOUND || streamType == PAL_STREAM_LOOPBACK) - { - groupDevConfig = rmHandle->getActiveGroupDevConfig(); - if ((((dAttr.id == PAL_DEVICE_OUT_SPEAKER || - dAttr.id == PAL_DEVICE_OUT_HANDSET) || (groupDevConfig && - dAttr.id == PAL_DEVICE_OUT_ULTRASOUND)) && - (streamType == PAL_STREAM_ULTRASOUND)) || - (is_out_dev && streamType == PAL_STREAM_LOOPBACK)) - { - PAL_DBG(LOG_TAG, "PAL_STREAM_ULTRASOUND or PAL_STREAM_LOOPBACK case."); - if (sess) { - status = configureMFC(rmHandle,sAttr, dAttr, pcmDevIds, - aifBackEndsToConnect[0].second.data(), builder); - if (status != 0) { - PAL_ERR(LOG_TAG, "build MFC payload failed"); - goto exit; - } - } else { - PAL_ERR(LOG_TAG, "invalid session ultrasound object"); - status = -EINVAL; - goto exit; - } - } - } else { - // /*Setup inCall MFC configuration before the speaker device subgraph moves to START state*/ - // /*Make sure the speaker protection module can apply the correct media format*/ - if (SessionAlsaUtils::isRxDevice(aifBackEndsToConnect[0].first)) - reconfigureInCallMusicStream(dAttr.config, builder); - - /* Configure MFC to match to device config */ - /* This has to be done after sending all mixer controls and before connect */ - if (PAL_STREAM_VOICE_CALL != sAttr.type) { - if (sAttr.direction == PAL_AUDIO_OUTPUT) { - if (sess) { - status = configureMFC(rmHandle, sAttr, dAttr, pcmDevIds, - aifBackEndsToConnect[0].second.data(), builder); - if (status != 0) { - PAL_ERR(LOG_TAG, "build MFC payload failed"); - goto exit; - } - if (strcmp(dAttr.custom_config.custom_key, "mspp") && - dAttr.id == PAL_DEVICE_OUT_SPEAKER && - dAttr.config.ch_info.channels == 2 && - ((sAttr.type == PAL_STREAM_LOW_LATENCY) || - (sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) || - (sAttr.type == PAL_STREAM_PCM_OFFLOAD) || - (sAttr.type == PAL_STREAM_DEEP_BUFFER) || - (sAttr.type == PAL_STREAM_COMPRESSED))) { - pal_param_device_rotation_t rotation; - status = sess->getFrontEndIds(frontEndIds, RX_HOSTLESS/*not used*/); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndId() failed %d", status); - goto exit; - } - status = handleDeviceRotation(rmHandle, streamHandle, rotation.rotation_type, - frontEndIds.at(0), mixerHandle, builder, aifBackEndsToConnect); - if (status != 0) { - PAL_ERR(LOG_TAG,"build DeviceRotation payload failed"); - status = 0; //rotaton setting failed is not fatal. - } - } - } else { - PAL_ERR(LOG_TAG, "invalid session audio object"); - status = -EINVAL; - goto exit; - } - } - if (sAttr.direction == PAL_AUDIO_INPUT) { - if (strstr(dAttr.custom_config.custom_key , "unprocessed-hdr-mic") && - (dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC)) { - status = sess->setParameters(streamHandle, PAL_PARAM_ID_ORIENTATION, nullptr); - if (0 != status) { - PAL_ERR(LOG_TAG, "setting HDR record orientation config failed with status %d", status); - goto exit; - } - } - if (sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY || - (dAttr.id == PAL_DEVICE_IN_PROXY || dAttr.id == PAL_DEVICE_IN_RECORD_PROXY)) { - if (sess) { - status = configureMFC(rmHandle, sAttr, dAttr, pcmDevIds, - aifBackEndsToConnect[0].second.data(), builder); - if (status != 0) { - PAL_ERR(LOG_TAG, "build MFC payload failed"); - goto exit; - } - } else { - PAL_ERR(LOG_TAG, "invalid session audio object"); - status = -EINVAL; - goto exit; - } - } - } - } - } - - builder->getCustomPayload(&payload, &payloadSize); - if (payload) { - status = SessionAlsaUtils::setMixerParameter(mixerHandle, pcmDevIds.at(0), - payload, payloadSize); - } - builder->freeCustomPayload(); - payload = NULL; - payloadSize = 0; - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - goto exit; - } - -exit: - if (builder) { - delete builder; - builder = nullptr; - } - PAL_DBG(LOG_TAG,"Exit ret: %d", status); - return status; -} - -/* This is to set devicePP MFC(if exists) and PSPD MFC and stream MFC*/ -int configureMFC(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, - struct pal_device &dAttr, const std::vector &pcmDevIds, const char* intf, - PayloadBuilder* builder) -{ - int status = 0; - std::shared_ptr dev = nullptr; - uint8_t* payload = nullptr; - size_t payloadSize = 0; - struct pal_media_config codecConfig; - struct sessionToPayloadParam mfcData; - uint32_t miid = 0; - bool devicePPMFCSet = true; - struct mixer *mixer = nullptr; - rm->getVirtualAudioMixer(&mixer); - std::shared_ptr groupDevConfig; - - PAL_DBG(LOG_TAG,"Enter"); - - /* Prepare devicePP MFC payload */ - /* Try to set devicePP MFC for virtual port enabled device to match to DMA config */ - groupDevConfig = rm->getActiveGroupDevConfig(); - if (groupDevConfig && (dAttr.id == PAL_DEVICE_OUT_SPEAKER || - dAttr.id == PAL_DEVICE_OUT_HANDSET || - dAttr.id == PAL_DEVICE_OUT_ULTRASOUND)) { - status = SessionAlsaUtils::getModuleInstanceId(mixer, pcmDevIds.at(0), intf, - TAG_DEVICE_PP_MFC, &miid); - if (status == 0) { - PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, - pcmDevIds.at(0), intf, dAttr.id); - - if (groupDevConfig->devpp_mfc_cfg.bit_width) - mfcData.bitWidth = groupDevConfig->devpp_mfc_cfg.bit_width; - else - mfcData.bitWidth = dAttr.config.bit_width; - if (groupDevConfig->devpp_mfc_cfg.sample_rate) - mfcData.sampleRate = groupDevConfig->devpp_mfc_cfg.sample_rate; - else - mfcData.sampleRate = dAttr.config.sample_rate; - if (groupDevConfig->devpp_mfc_cfg.channels) - mfcData.numChannel = groupDevConfig->devpp_mfc_cfg.channels; - else - mfcData.numChannel = dAttr.config.ch_info.channels; - mfcData.ch_info = nullptr; - - builder->payloadMFCConfig((uint8_t**)&payload, &payloadSize, miid, &mfcData); - if (!payloadSize) { - PAL_ERR(LOG_TAG, "payloadMFCConfig failed\n"); - status = -EINVAL; - goto exit; - } - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - goto exit; - } - } else { - PAL_INFO(LOG_TAG, "deviePP MFC doesn't exist for stream %d \n", sAttr.type); - devicePPMFCSet = false; - } - - /* set TKV for slot mask */ - setSlotMask(rm, sAttr, dAttr, pcmDevIds); - } else if (rm->IsDeviceMuxConfigEnabled() && (dAttr.id == PAL_DEVICE_OUT_SPEAKER || - dAttr.id == PAL_DEVICE_OUT_HANDSET)) { - setSlotMask(rm, sAttr, dAttr, pcmDevIds); - } - - /* Prepare stream MFC payload */ - if (sAttr.direction == PAL_AUDIO_INPUT) { - status = SessionAlsaUtils::getModuleInstanceId(mixer, pcmDevIds.at(0), intf, - TAG_STREAM_MFC_SR, &miid); - if (status == 0) { - PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, - pcmDevIds.at(0), intf, dAttr.id); - if (isPalPCMFormat(sAttr.in_media_config.aud_fmt_id)) - mfcData.bitWidth = ResourceManager::palFormatToBitwidthLookup( - sAttr.in_media_config.aud_fmt_id); - else - mfcData.bitWidth = sAttr.in_media_config.bit_width; - mfcData.sampleRate = sAttr.in_media_config.sample_rate; - mfcData.numChannel = sAttr.in_media_config.ch_info.channels; - mfcData.ch_info = nullptr; - builder->payloadMFCConfig((uint8_t **)&payload, &payloadSize, miid, &mfcData); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload failed\n"); - goto exit; - } - } - } - } - /* Prepare PSPD MFC payload */ - /* Get PSPD MFC MIID and configure to match to device config */ - /* This has to be done after sending all mixer controls and before connect */ - status = SessionAlsaUtils::getModuleInstanceId(mixer, pcmDevIds.at(0), intf, - TAG_DEVICE_MFC_SR, &miid); - if (status == 0) { - PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, - pcmDevIds.at(0), intf, dAttr.id); - - if (dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_A2DP || - dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_SCO || - dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_BLE || - dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_BLE_BROADCAST) { - dev = Device::getInstance((struct pal_device *)&dAttr , rm); - if (!dev) { - PAL_ERR(LOG_TAG, "Device getInstance failed"); - status = -EINVAL; - goto exit; - } - status = dev->getCodecConfig(&codecConfig); - if(0 != status) { - PAL_ERR(LOG_TAG, "getCodecConfig Failed \n"); - goto exit; - } - mfcData.bitWidth = codecConfig.bit_width; - mfcData.sampleRate = codecConfig.sample_rate; - mfcData.numChannel = codecConfig.ch_info.channels; - mfcData.ch_info = nullptr; - } else { - mfcData.bitWidth = dAttr.config.bit_width; - if (!devicePPMFCSet && groupDevConfig->devpp_mfc_cfg.sample_rate) - mfcData.sampleRate = groupDevConfig->devpp_mfc_cfg.sample_rate; - else - mfcData.sampleRate = dAttr.config.sample_rate; - if (!devicePPMFCSet && groupDevConfig->devpp_mfc_cfg.channels) - mfcData.numChannel = groupDevConfig->devpp_mfc_cfg.channels; - else - mfcData.numChannel = dAttr.config.ch_info.channels; - mfcData.ch_info = nullptr; - } - - if (dAttr.id == PAL_DEVICE_OUT_AUX_DIGITAL || - dAttr.id == PAL_DEVICE_OUT_AUX_DIGITAL_1 || - dAttr.id == PAL_DEVICE_OUT_HDMI) - mfcData.ch_info = &dAttr.config.ch_info; - - builder->payloadMFCConfig((uint8_t **)&payload, &payloadSize, miid, &mfcData); - if (!payloadSize) { - PAL_ERR(LOG_TAG, "payloadMFCConfig failed\n"); - status = -EINVAL; - goto exit; - } - - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - goto exit; - } - } else { - PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); - if ((sAttr.direction == (PAL_AUDIO_INPUT | PAL_AUDIO_OUTPUT))|| - (sAttr.type == PAL_STREAM_SENSOR_PCM_RENDERER)) - status = 0; - } - -exit: - PAL_DBG(LOG_TAG,"Exit ret: %d", status); - return status; -} - -int setSlotMask(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, - struct pal_device &dAttr, const std::vector &pcmDevIds) -{ - int status = 0; - std::vector > tkv; - struct agm_tag_config* tagConfig = nullptr; - const char *setParamTagControl = " setParamTag"; - const char *streamPcm = "PCM"; - const char *streamComp = "COMPRESS"; - const char *streamVoice = "VOICEMMODE"; - const char *feCtl = " control"; - struct mixer_ctl *ctl; - std::ostringstream tagCntrlName; - std::ostringstream feName; - std::string backendname; - int tkv_size = 0; - uint32_t slot_mask = 0; - struct mixer *mixer = nullptr; - std::shared_ptr groupDevConfig = rm->getActiveGroupDevConfig(); - - PAL_DBG(LOG_TAG,"Enter"); - rm->getVirtualAudioMixer(&mixer); - - if (groupDevConfig) { - if (0 == groupDevConfig->grp_dev_hwep_cfg.slot_mask) { - slot_mask = slotMaskLUT.at(dAttr.config.ch_info.channels) | - slotMaskBwLUT.at(dAttr.config.bit_width); - tkv.push_back(std::make_pair(TAG_KEY_SLOT_MASK, slot_mask)); - } else { - tkv.push_back(std::make_pair(TAG_KEY_SLOT_MASK, - groupDevConfig->grp_dev_hwep_cfg.slot_mask)); - } - } else if (rm->IsDeviceMuxConfigEnabled()) { - slot_mask = slotMaskLUT.at(dAttr.config.ch_info.channels) | - slotMaskBwLUT.at(dAttr.config.bit_width); - tkv.push_back(std::make_pair(TAG_KEY_SLOT_MASK, slot_mask)); - } - - tagConfig = (struct agm_tag_config*)malloc(sizeof(struct agm_tag_config) + - (tkv.size() * sizeof(agm_key_value))); - - if (!tagConfig) { - status = -EINVAL; - goto exit; - } - - status = SessionAlsaUtils::getTagMetadata(TAG_DEVICE_MUX, tkv, tagConfig); - if (0 != status) { - goto exit; - } - - if (PAL_STREAM_COMPRESSED == sAttr.type) { - tagCntrlName<getBackendName(dAttr.id, backendname); - ctl = mixer_get_ctl_by_name(mixer, feName.str().data()); - if (!ctl) { - PAL_ERR(LOG_TAG, "Invalid mixer control: %s\n", feName.str().data()); - status = -EINVAL; - goto exit; - } - mixer_ctl_set_enum_by_string(ctl, backendname.c_str()); - ctl = nullptr; - - // set tag data - ctl = mixer_get_ctl_by_name(mixer, tagCntrlName.str().data()); - if (!ctl) { - PAL_ERR(LOG_TAG, "Invalid mixer control: %s\n", tagCntrlName.str().data()); - status = -EINVAL; - goto exit; - } - tkv_size = tkv.size()*sizeof(struct agm_key_value); - status = mixer_ctl_set_array(ctl, tagConfig, sizeof(struct agm_tag_config) + tkv_size); - if (status != 0) { - PAL_ERR(LOG_TAG, "failed to set the tag calibration %d", status); - } - -exit: - if (tagConfig) - free(tagConfig); - PAL_DBG(LOG_TAG,"Exit ret: %d", status); - return status; -} - -int reconfigureModule(SessionAlsaPcm* session, PayloadBuilder* builder, uint32_t tagID, const char* BE, struct sessionToPayloadParam *data) -{ - uint32_t status = 0; - uint32_t miid = 0; - uint8_t* payload = nullptr; - size_t payloadSize = 0; - std::vector pcmDevIds; - struct mixer* mxr; - std::shared_ptr rm = ResourceManager::getInstance(); - - PAL_DBG(LOG_TAG, "Enter"); - status = session->getMIID(BE, tagID, &miid); - if(status){ - PAL_INFO(LOG_TAG,"could not find tagID 0x%x for backend %s", tagID, BE); - goto exit; - } - status = rm->getVirtualAudioMixer(&mxr); - if (status) { - PAL_ERR(LOG_TAG, "mixer error"); - goto exit; - } - status = session->getFrontEndIds(pcmDevIds); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevIds) failed %d", status); - goto exit; - } - PAL_DBG(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); - builder->payloadMFCConfig(&payload, &payloadSize, miid, data); - if (payloadSize && payload) { - status = builder->updateCustomPayload(payload, payloadSize); - builder->freeCustomPayload(&payload, &payloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); - status = -EINVAL; - goto exit; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), - payload, payloadSize); - builder->freeCustomPayload(); - if (status) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - goto exit; - } - -exit: - PAL_DBG(LOG_TAG, "Exit status: %d", status); - return status; -} - -int32_t reconfigureInCallMusicStream(struct pal_media_config config, PayloadBuilder* builder) -{ - int status = 0; - std::list::iterator it; - Session* sess = nullptr; - SessionAlsaPcm* session = nullptr; - struct pal_stream_attributes sAttr; - std::list activeStreams; - pal_stream_direction_t dir; - struct sessionToPayloadParam deviceData; - std::shared_ptr rm = ResourceManager::getInstance(); - - PAL_DBG(LOG_TAG, "Enter"); - status = rm->getActiveStreamByType_l(activeStreams, PAL_STREAM_VOICE_CALL_MUSIC); - if(status){ - PAL_ERR(LOG_TAG, "failed to get active streams for stream type PAL_STREAM_VOICE_CALL_MUSIC"); - goto exit; - } - if (!activeStreams.size()) { - PAL_DBG(LOG_TAG, "No In-Call Music Stream found to configure"); - goto exit; - } - for (auto& str: activeStreams) { - str->getStreamAttributes(&sAttr); - status = str->getStreamAttributes(&sAttr); - if (status != 0) { - PAL_ERR(LOG_TAG, "stream get attributes failed"); - goto exit; - } - if (sAttr.info.incall_music_info.local_playback) { - PAL_INFO(LOG_TAG, "found incall stream to configure"); - status = str->getAssociatedSession(&sess); - if (!sess) { - PAL_ERR(LOG_TAG, "No associated session for stream exist"); - status = -EINVAL; - goto exit; - } - deviceData.bitWidth = config.bit_width; - deviceData.sampleRate = config.sample_rate; - deviceData.numChannel = config.ch_info.channels; - deviceData.ch_info = nullptr; - status = reconfigureModule(session, builder, PER_STREAM_PER_DEVICE_MFC, "ZERO", &deviceData); - } - } -exit: - PAL_DBG(LOG_TAG, "Exit status: %d", status); - return status; -} - -int handleDeviceRotation(const std::shared_ptr& rm, Stream *s, - pal_speaker_rotation_type rotation_type, int device, struct mixer *mixer, - PayloadBuilder* builder, std::vector> rxAifBackEnds) -{ - int status = 0; - struct pal_stream_attributes sAttr = {}; - struct pal_device dAttr = {}; - uint32_t miid = 0; - uint8_t* alsaParamData = nullptr; - size_t alsaPayloadSize = 0; - uint8_t* payload = nullptr; - size_t payloadSize = 0; - int mfc_tag = TAG_MFC_SPEAKER_SWAP; - std::vector> associatedDevices; - std::shared_ptr groupDevConfig; - - PAL_DBG(LOG_TAG,"Enter"); - status = s->getStreamAttributes(&sAttr); - if (status != 0) { - PAL_ERR(LOG_TAG, "stream get attributes failed"); - return status; - } - - if (PAL_AUDIO_OUTPUT== sAttr.direction) { - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG, "getAssociatedDevices Failed\n"); - return status; - } - - for (int i = 0; i < associatedDevices.size(); i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG, "get Device Attributes Failed\n"); - return status; - } - - if ((PAL_DEVICE_OUT_SPEAKER == dAttr.id) && - (2 == dAttr.config.ch_info.channels) && - (strcmp(dAttr.custom_config.custom_key, "mspp") != 0)) { - /* Get DevicePP MFC MIID and configure to match to device config */ - /* This has to be done after sending all mixer controls and - * before connect - */ - status = - SessionAlsaUtils::getModuleInstanceId(mixer, - device, - rxAifBackEnds[i].second.data(), - mfc_tag, &miid); - if (status != 0) { - PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); - return status; - } - PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, - device, rxAifBackEnds[i].second.data(), dAttr.id); - - groupDevConfig = rm->getActiveGroupDevConfig(); - if (groupDevConfig) { - if (groupDevConfig->devpp_mfc_cfg.channels) - dAttr.config.ch_info.channels = groupDevConfig->devpp_mfc_cfg.channels; - } - builder->payloadMFCMixerCoeff((uint8_t **)&alsaParamData, - &alsaPayloadSize, miid, - dAttr.config.ch_info.channels, - rotation_type); - - if (alsaPayloadSize) { - status = builder->updateCustomPayload(alsaParamData, alsaPayloadSize); - builder->freeCustomPayload(&alsaParamData, &alsaPayloadSize); - if (0 != status) { - PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); - return status; - } - } - builder->getCustomPayload(&payload, &payloadSize); - status = SessionAlsaUtils::setMixerParameter(mixer, - device, - payload, - payloadSize); - builder->freeCustomPayload(); - if (status != 0) { - PAL_ERR(LOG_TAG, "setMixerParameter failed"); - return status; - } - } - } - } - PAL_DBG(LOG_TAG,"Exit ret: %d", status); - return status; -} - -int32_t pluginConfigSetParam(Stream* s, void* pluginPayload) -{ - int status = 0; - int setConfigStatus = 0; - uint32_t paramId = -1; - std::shared_ptr rm = ResourceManager::getInstance(); - struct mixer* mxr = nullptr; - PayloadBuilder* builder = nullptr; - std::vector frontEndIds; - std::vector> rxAifBackEnds; - std::vector> associatedDevices; - SetParamPluginPayload* ppld = reinterpret_cast(pluginPayload); - pal_stream_attributes sAttr = {}; - pal_device dAttr = {}; - SessionAR* session = dynamic_cast(ppld->session); - paramId = ppld->paramId; - - PAL_DBG(LOG_TAG, "Enter, paramId: %d", paramId); - switch (paramId) { - case PAL_PARAM_ID_DEVICE_ROTATION: - { - bool doDevPPMute = false; - status = s->getStreamAttributes(&sAttr); - if (status) { - PAL_ERR(LOG_TAG, "could not get stream attributes\n"); - goto exit; - } - status = session->getFrontEndIds(frontEndIds); - if (status) { - PAL_ERR(LOG_TAG, "getFrontEndId() failed %d", status); - goto exit; - } - status = rm->getVirtualAudioMixer(&mxr); - if (status) { - PAL_ERR(LOG_TAG, "get mixer handle failed %d", status); - goto exit; - } - rxAifBackEnds = session->getRxBEVecRef(); - builder = reinterpret_cast(ppld->builder); - /* To avoid pop while switching channels, it is required to mute - the playback first and then swap the channel and unmute */ - if (sAttr.type == PAL_STREAM_LOW_LATENCY || - sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) { - setConfigStatus = session->setConfig(s, MODULE, MUTE_TAG); - } else if (PAL_AUDIO_OUTPUT == sAttr.direction) { - /* Need to check if there is a valid module available - * for DEVICEPP_MUTE to avoid false negative failing - * setConfig message.*/ - status = s->getAssociatedDevices(associatedDevices); - if (0 != status) { - PAL_ERR(LOG_TAG, "getAssociatedDevices Failed\n"); - goto exit; - } - for (int i = 0; i < associatedDevices.size(); i++) { - status = associatedDevices[i]->getDeviceAttributes(&dAttr); - if (0 != status) { - PAL_ERR(LOG_TAG, "getDeviceAttributes Failed\n"); - break; - } - if ((PAL_DEVICE_OUT_SPEAKER == dAttr.id) && - (2 == dAttr.config.ch_info.channels) && - (strcmp(dAttr.custom_config.custom_key, "mspp") != 0)) { - doDevPPMute = true; - break; - } - } - if (doDevPPMute) { - setConfigStatus = session->setConfig(s, MODULE, DEVICEPP_MUTE); - } - } - if (setConfigStatus) { - PAL_INFO(LOG_TAG, "DevicePP Mute failed"); - } - //mStreamMutex.unlock(); NEED TO FIGURE OUT A WAY TO UNLOCK DURING SLEEP - usleep(MUTE_RAMP_PERIOD); // Wait for Mute ramp down to happen - // mStreamMutex.lock(); - pal_param_device_rotation_t *rotation = - reinterpret_cast(ppld->payload); - status = handleDeviceRotation(rm, s, rotation->rotation_type, frontEndIds.at(0), mxr, - builder, rxAifBackEnds); - // mStreamMutex.unlock(); - usleep(MUTE_RAMP_PERIOD); // Wait for channel swap to take affect - // mStreamMutex.lock(); - if (sAttr.type == PAL_STREAM_LOW_LATENCY || - sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) { - setConfigStatus = session->setConfig(s, MODULE, UNMUTE_TAG); - } else if (doDevPPMute) { - setConfigStatus = session->setConfig(s, MODULE, DEVICEPP_UNMUTE); - } - if (setConfigStatus) { - PAL_INFO(LOG_TAG, "DevicePP Unmute failed"); - } - break; - } - break; - default: - PAL_ERR(LOG_TAG, "paramId %d, is unsupported", paramId); - status = -EINVAL; - } -exit: - PAL_DBG(LOG_TAG,"Exit status: %d", status); - return status; -} - -/* - * - * 1. Register to listen at AGM level for Silence Detection Even - * 2. Register a Callback to receive events from DSP - * 3. Get MIID of HW_ENDPOINT_TX - * 4. Configure PARAM_ID_SILECENCE_DETECTION payload - * - **/ -int enableSilenceDetection(const std::shared_ptr rm, - struct mixer *mixer, const std::vector &devIds, - const char *intf_name, uint64_t cookie) -{ - int status = 0; - uint32_t miid = 0; - size_t pad_bytes = 0, payloadSize = 0; - uint8_t* payload = NULL; - struct apm_module_param_data_t* header = NULL; - param_id_silence_detection_t *silence_detection_cfg = NULL; - struct agm_event_reg_cfg event_cfg = {}; - - if (silenceEventRegistered == true) - goto silence_ev_setup_done; - - - PAL_INFO(LOG_TAG, "Registering For Silence Detection Events \n"); - event_cfg.event_id = EVENT_ID_SILENCE_DETECTION; - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 1; - - status = SessionAlsaUtils::registerMixerEvent(mixer, devIds.at(0), intf_name, - DEVICE_HW_ENDPOINT_TX, (void *)&event_cfg, - sizeof(struct agm_event_reg_cfg)); - if (status) { - PAL_ERR(LOG_TAG, "Failed Registering for SILENCE DETECTION EVENT\n"); - goto silence_ev_setup_done; - } - - PAL_INFO(LOG_TAG, "Registered for Silence Detection Event\n"); - - status = rm->registerMixerEventCallback(devIds, handleSilenceDetectionCb, cookie, true); - if (status != 0) { - PAL_ERR(LOG_TAG, "Failed to register DSP cb for silence detection Event"); - goto err_silence_ev_cb_reg; - } - PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n"); - silenceEventRegistered = true; - PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n"); - - goto silence_ev_setup_done; - -err_silence_ev_setup: - rm->registerMixerEventCallback(devIds, handleSilenceDetectionCb, - cookie, false); -err_silence_ev_cb_reg: - event_cfg.is_register = 0; - status = SessionAlsaUtils::registerMixerEvent(mixer, devIds.at(0), - intf_name, DEVICE_HW_ENDPOINT_TX, - (void *)&event_cfg, sizeof(struct agm_event_reg_cfg)); -silence_ev_setup_done: - status = 0; - return status; -} - - -int disableSilenceDetection(const std::shared_ptr rm, - struct mixer *mixer, const std::vector &devIds, - const char *intf_name, uint64_t cookie) -{ - int status = 0; - struct agm_event_reg_cfg event_cfg = {}; - - event_cfg.event_id = EVENT_ID_SILENCE_DETECTION; - event_cfg.event_config_payload_size = 0; - event_cfg.is_register = 0; - - if (silenceEventRegistered == false) - goto exit; - - PAL_INFO(LOG_TAG, "De-registering For Silence Detection Events\n"); - status = SessionAlsaUtils::registerMixerEvent(mixer, devIds.at(0), - intf_name, DEVICE_HW_ENDPOINT_TX, - (void *)&event_cfg, sizeof(struct agm_event_reg_cfg)); - if (status) - PAL_ERR(LOG_TAG, "Unable to deregister SILENCE DETECTION EVENT\n"); - - status = rm->registerMixerEventCallback(devIds, handleSilenceDetectionCb, cookie, false); - if (status != 0) - PAL_ERR(LOG_TAG, "Failed to deregister silence detection Callback to rm"); - - silenceEventRegistered = false; - -exit: - return status; -} - -int dump_kernel_log(char *kmsg_out_file) -{ - int kmsg_fd = 0, log_out_size = 0; - ssize_t kernel_buf_size = 0; - char *kernel_buf = NULL; - - kernel_buf_size = klogctl(SYSLOG_ACTION_SIZE_BUFFER, NULL, 0); - PAL_INFO(LOG_TAG, "%s::kernel_buf_size :: %zd", __func__, kernel_buf_size); - - kernel_buf = (char *)malloc(kernel_buf_size); - if (!kernel_buf) { - PAL_ERR(LOG_TAG, "%s:: error allocating memory", __func__); - return -ENOMEM; - } - - kmsg_fd = open(kmsg_out_file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); - if (kmsg_fd < 0){ - PAL_ERR(LOG_TAG, "%s::Error opening kernel msg out file", __func__); - free(kernel_buf); - return kmsg_fd; - } - - klogctl(SYSLOG_ACTION_READ_ALL, kernel_buf, kernel_buf_size); - log_out_size = write(kmsg_fd, kernel_buf, kernel_buf_size); - if (log_out_size < 0) { - PAL_ERR(LOG_TAG, "%s: %s Unable to write.\n", __func__, kmsg_out_file); - goto close_kmsg_fd; - } - PAL_INFO(LOG_TAG, "%s: Writing %s log, %d bytes\n",__func__, - kmsg_out_file, log_out_size); - -close_kmsg_fd: - close(kmsg_fd); - free(kernel_buf); - return log_out_size; -} - -int dump_registers(char *in_file_path, char *regdump_out_file) -{ - char *reg_dump = NULL; - int infile_fd = 0, regdump_wr_fd = 0; - int read_out_size = 0, regdump_size = 0; - size_t sysfs_page_size = sysconf(_SC_PAGESIZE); - - reg_dump = (char *)malloc(REGDUMP_OUT_SIZE); - if (!reg_dump) { - PAL_ERR(LOG_TAG, "%s:: error allocating memory", __func__); - return -ENOMEM; - } - - infile_fd = open(in_file_path, O_RDONLY); - if (infile_fd < 0) { - PAL_ERR(LOG_TAG, "%s: %s not found.\n", __func__, in_file_path); - read_out_size = -1; - goto free_buf; - } - - PAL_INFO(LOG_TAG, "Reading %s regdump interface \n", in_file_path); - read_out_size = read(infile_fd, reg_dump, REGDUMP_OUT_SIZE); - if (read_out_size < 0) { - PAL_ERR(LOG_TAG, "%s: %s Unable to Read.\n", __func__, in_file_path); - read_out_size = -1; - goto close_infile; - } - PAL_INFO(LOG_TAG, "Regdump ReadOut Buffer Size = %d", read_out_size); - - regdump_wr_fd = open(regdump_out_file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); - if (regdump_wr_fd < 0) { - PAL_ERR(LOG_TAG, "%s: %s Unable to Open for writing.\n", __func__, regdump_out_file); - read_out_size = -1; - goto close_infile; - } - regdump_size = write(regdump_wr_fd, reg_dump, read_out_size); - if (regdump_size < 0) { - PAL_ERR(LOG_TAG, "%s: %s Unable to write.\n", __func__, regdump_out_file); - read_out_size = -1; - goto close_regdump_file; - } - PAL_INFO(LOG_TAG, "Bolero Regmap Dump Size %ld and file %s", regdump_size, regdump_out_file); - -close_regdump_file: - close(regdump_wr_fd); -close_infile: - close(infile_fd); -free_buf: - free(reg_dump); - return read_out_size; -} - - -int dump_silence_event_status(char *out_file, uint32_t channel_group, uint32_t status_ch_mask) -{ - char event_data_buf[255]; - int pos = 0, write_out_bytes = 0, fd = 0; - - pos = snprintf(event_data_buf, 255, "channel_group :: %u \n", - channel_group); - pos += snprintf(event_data_buf+pos, 255-pos, "Channel_Status :: %u \n", - status_ch_mask); - - fd = open(out_file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); - if (fd < 0) { - PAL_ERR(LOG_TAG, - "%s::Error Opening silence data status file\n", __func__); - return -EINVAL; - } - - write_out_bytes = write(fd, event_data_buf, pos); - if (write_out_bytes < 1) - PAL_ERR(LOG_TAG, "%s::failed writing silence event status",__func__); - - close(fd); - return write_out_bytes; -} - -/* - *Callback from DSP for SILENCE Detection - */ -void handleSilenceDetectionCb(uint64_t hdl __unused, uint32_t event_id, void *event_data, uint32_t event_size) -{ - char out_file_name[MAX_DUMP_FILENAME_SIZE]; - uint32_t channel_group = 0 , status_ch_mask = 0; - event_cfg_silence_detection_t *silence_event = nullptr; - struct tm *timenow; - time_t now = time(NULL); - timenow = gmtime(&now); - PAL_INFO(LOG_TAG, "Silence Detection event raised\n"); - - switch (event_id) { - - case EVENT_ID_SILENCE_DETECTION: - PAL_INFO(LOG_TAG, "EVENT_ID_SILENCE_DETECTION received from DSP\n"); - - strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, - SILENCE_EVENT_INFO, timenow); - - silence_event = (event_cfg_silence_detection_t *)event_data; - channel_group = silence_event->num_32_channel_group; - status_ch_mask = silence_event->detections[0].status_ch_mask; - dump_silence_event_status(out_file_name, channel_group, status_ch_mask); - - /* - * Read BOLERO/CDC Registers - **/ - strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, - BOLERO_REGDUMP_OUT_PATH, timenow); - dump_registers(BOLERO_PROC_INTF, out_file_name); - - /* - * Read SWR VA Macro Registers - **/ - strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, - VA_SWR_REGDUM_OUT_PATH, timenow); - dump_registers(VA_SWR_PROC_INTF, out_file_name); - - /* - * Read WCD939X Registers - **/ - strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, - WCD939X_REGDUMP_OUT_PATH, timenow); - dump_registers(WCD939X_PROC_INTF, out_file_name); - - /* - * kernel msg (/dev/kmsg) read - **/ - strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, - KMSG_OUT_FILE, timenow); - dump_kernel_log(out_file_name); - - break; - - default: - - break; - - } - - return; +/* +* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are +* met: +* * Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* * Redistributions in binary form must reproduce the above +* copyright notice, this list of conditions and the following +* disclaimer in the documentation and/or other materials provided +* with the distribution. +* * Neither the name of The Linux Foundation nor the names of its +* contributors may be used to endorse or promote products derived +* from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* Changes from Qualcomm Technologies, Inc. are provided under the following license: +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +* SPDX-License-Identifier: BSD-3-Clause +* +*/ + +#define LOG_TAG "PAL: libsession_config_utils" + +#ifdef PAL_USE_SYSLOG +#include +#define ALOGE(fmt, arg...) syslog (LOG_ERR, fmt, ##arg) +#define ALOGI(fmt, arg...) syslog (LOG_INFO, fmt, ##arg) +#define ALOGD(fmt, arg...) syslog (LOG_DEBUG, fmt, ##arg) +#define ALOGV(fmt, arg...) syslog (LOG_NOTICE, fmt, ##arg) +#else +#include +#endif +#include +#include +#include +#ifdef PAL_CUTILS_SUPPORTED +#include +#endif +#include +#include +#include "PluginManagerIntf.h" +#include "ResourceManager.h" +#include "PayloadBuilder.h" +#include "SessionAlsaPcm.h" +#include "SessionAlsaUtils.h" +#include "ConfigSessionUtils.h" +#include "apm_api.h" +#include +//#include +#include /* Definition of SYSLOG_* constants */ +#include + + +#ifndef DUMP_OUT_PATH +#define DUMP_OUT_PATH "/data/vendor/audio/" +#endif //DUMP_OUT_PATH + +#define MAX_DUMP_FILENAME_SIZE 255 +#define REGDUMP_OUT_SIZE 256*1024 +#define SYSLOG_ACTION_READ_ALL 3 +#define SYSLOG_ACTION_SIZE_BUFFER 10 +#define TIMESTAMP_FORMAT_STRING "_%Y_%m_%d_%H_%M_%S" + +#define BOLERO_PROC_INTF "/proc/lpass_cdc_reginfo/lpass_cdc_regdump" +#define WCD939X_PROC_INTF "/proc/wcd939x_reginfo/wcd939x_regdump" +#define WSA884X_1_PROC_INTF "/proc/wsa884x_reginfo_1/wsa884x_regdump" +#define WSA884X_2_PROC_INTF "/proc/wsa884x_reginfo_2/wsa884x_regdump" +#define WSA883X_1_PROC_INTF "/proc/wsa883x_reginfo_1/wsa883x_regdump" +#define WSA883X_2_PROC_INTF "/proc/wsa883x_reginfo_2/wsa883x_regdump" +#define WSA_SWR_PROC_INTF "/proc/wsa_swr_ctrl/swr_mstr_ctrl_regdump" +#define WSA2_SWR_PROC_INTF "/proc/wsa2_swr_ctrl/swr_mstr_ctrl_regdump" +#define VA_SWR_PROC_INTF "/proc/va_swr_ctrl/swr_mstr_ctrl_regdump" +#define RX_SWR_PROC_INTF "/proc/rx_swr_ctrl/swr_mstr_ctrl_regdump" + +#define KMSG_FILE "kernel_log" +#define SILENCE_EVENT_INFO DUMP_OUT_PATH "silence_event_info" +#define BOLERO_REGDUMP_OUT_FILE "lpass_cdc_regdump" +#define WCD939X_REGDUMP_OUT_FILE "wcd939x_regdump" +#define VA_SWR_REGDUMP_OUT_FILE "va_swr_regdump" + +#define KMSG_OUT_FILE DUMP_OUT_PATH KMSG_FILE TIMESTAMP_FORMAT_STRING +#define SILENCE_EVENT_INFO DUMP_OUT_PATH "silence_event_info" TIMESTAMP_FORMAT_STRING +#define BOLERO_REGDUMP_OUT_PATH DUMP_OUT_PATH BOLERO_REGDUMP_OUT_FILE TIMESTAMP_FORMAT_STRING +#define WCD939X_REGDUMP_OUT_PATH DUMP_OUT_PATH WCD939X_REGDUMP_OUT_FILE TIMESTAMP_FORMAT_STRING +#define VA_SWR_REGDUM_OUT_PATH DUMP_OUT_PATH VA_SWR_REGDUMP_OUT_FILE TIMESTAMP_FORMAT_STRING + +bool silenceEventRegistered = false; + +int reconfigCommon(Stream* streamHandle, void* pluginPayload) +{ + int status = 0; + uint32_t miid = 0; + bool is_out_dev = false; + struct pal_stream_attributes sAttr = {}; + pal_stream_type_t streamType; + struct sessionToPayloadParam streamData = {}; + struct pal_device dAttr = {}; + Session* sess = nullptr; + PayloadBuilder* builder = new PayloadBuilder(); + std::shared_ptr rmHandle = ResourceManager::getInstance(); + uint8_t* payload = nullptr; + size_t payloadSize = 0; + struct ReconfigPluginPayload* reconfigPld = nullptr; + struct mixer* mixerHandle = nullptr; + std::shared_ptr groupDevConfig = nullptr; + std::vector> aifBackEndsToConnect; + std::vector pcmDevIds; + std::vector frontEndIds; + + PAL_DBG(LOG_TAG,"Enter"); + status = rmHandle->getVirtualAudioMixer(&mixerHandle); + if (status) { + PAL_ERR(LOG_TAG, "get mixer handle failed %d", status); + goto exit; + } + status = streamHandle->getStreamAttributes(&sAttr); + if (status) { + PAL_ERR(LOG_TAG, "could not get stream attributes\n"); + goto exit; + } + status = streamHandle->getAssociatedSession(&sess); + if (status) { + PAL_ERR(LOG_TAG, "get mixer handle failed %d", status); + goto exit; + } + reconfigPld = reinterpret_cast(pluginPayload); + if (!reconfigPld) { + PAL_ERR(LOG_TAG, "could not get reconfigPld\n"); + goto exit; + } + streamType = sAttr.type; + aifBackEndsToConnect = reconfigPld->aifBackEnds; + dAttr = reconfigPld->dAttr; + pcmDevIds = reconfigPld->pcmDevIds; + + if (dAttr.id > PAL_DEVICE_OUT_MIN && dAttr.id < PAL_DEVICE_OUT_MAX) + is_out_dev = true; + + if (streamType == PAL_STREAM_ULTRASOUND || streamType == PAL_STREAM_LOOPBACK) + { + groupDevConfig = rmHandle->getActiveGroupDevConfig(); + if ((((dAttr.id == PAL_DEVICE_OUT_SPEAKER || + dAttr.id == PAL_DEVICE_OUT_HANDSET) || (groupDevConfig && + dAttr.id == PAL_DEVICE_OUT_ULTRASOUND)) && + (streamType == PAL_STREAM_ULTRASOUND)) || + (is_out_dev && streamType == PAL_STREAM_LOOPBACK)) + { + PAL_DBG(LOG_TAG, "PAL_STREAM_ULTRASOUND or PAL_STREAM_LOOPBACK case."); + if (sess) { + status = configureMFC(rmHandle,sAttr, dAttr, pcmDevIds, + aifBackEndsToConnect[0].second.data(), builder); + if (status != 0) { + PAL_ERR(LOG_TAG, "build MFC payload failed"); + goto exit; + } + } else { + PAL_ERR(LOG_TAG, "invalid session ultrasound object"); + status = -EINVAL; + goto exit; + } + } + } else { + // /*Setup inCall MFC configuration before the speaker device subgraph moves to START state*/ + // /*Make sure the speaker protection module can apply the correct media format*/ + if (SessionAlsaUtils::isRxDevice(aifBackEndsToConnect[0].first)) + reconfigureInCallMusicStream(dAttr.config, builder); + + /* Configure MFC to match to device config */ + /* This has to be done after sending all mixer controls and before connect */ + if (PAL_STREAM_VOICE_CALL != sAttr.type) { + if (sAttr.direction == PAL_AUDIO_OUTPUT) { + if (sess) { + status = configureMFC(rmHandle, sAttr, dAttr, pcmDevIds, + aifBackEndsToConnect[0].second.data(), builder); + if (status != 0) { + PAL_ERR(LOG_TAG, "build MFC payload failed"); + goto exit; + } + if (strcmp(dAttr.custom_config.custom_key, "mspp") && + dAttr.id == PAL_DEVICE_OUT_SPEAKER && + dAttr.config.ch_info.channels == 2 && + ((sAttr.type == PAL_STREAM_LOW_LATENCY) || + (sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) || + (sAttr.type == PAL_STREAM_PCM_OFFLOAD) || + (sAttr.type == PAL_STREAM_DEEP_BUFFER) || + (sAttr.type == PAL_STREAM_COMPRESSED))) { + pal_param_device_rotation_t rotation; + status = sess->getFrontEndIds(frontEndIds, RX_HOSTLESS/*not used*/); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndId() failed %d", status); + goto exit; + } + status = handleDeviceRotation(rmHandle, streamHandle, rotation.rotation_type, + frontEndIds.at(0), mixerHandle, builder, aifBackEndsToConnect); + if (status != 0) { + PAL_ERR(LOG_TAG,"build DeviceRotation payload failed"); + status = 0; //rotaton setting failed is not fatal. + } + } + } else { + PAL_ERR(LOG_TAG, "invalid session audio object"); + status = -EINVAL; + goto exit; + } + } + if (sAttr.direction == PAL_AUDIO_INPUT) { + if (strstr(dAttr.custom_config.custom_key , "unprocessed-hdr-mic") && + (dAttr.id == PAL_DEVICE_IN_HANDSET_MIC || dAttr.id == PAL_DEVICE_IN_SPEAKER_MIC)) { + status = sess->setParameters(streamHandle, PAL_PARAM_ID_ORIENTATION, nullptr); + if (0 != status) { + PAL_ERR(LOG_TAG, "setting HDR record orientation config failed with status %d", status); + goto exit; + } + } + if (sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY || + (dAttr.id == PAL_DEVICE_IN_PROXY || dAttr.id == PAL_DEVICE_IN_RECORD_PROXY)) { + if (sess) { + status = configureMFC(rmHandle, sAttr, dAttr, pcmDevIds, + aifBackEndsToConnect[0].second.data(), builder); + if (status != 0) { + PAL_ERR(LOG_TAG, "build MFC payload failed"); + goto exit; + } + } else { + PAL_ERR(LOG_TAG, "invalid session audio object"); + status = -EINVAL; + goto exit; + } + } + } + } + } + + builder->getCustomPayload(&payload, &payloadSize); + if (payload) { + status = SessionAlsaUtils::setMixerParameter(mixerHandle, pcmDevIds.at(0), + payload, payloadSize); + } + builder->freeCustomPayload(); + payload = NULL; + payloadSize = 0; + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + goto exit; + } + +exit: + if (builder) { + delete builder; + builder = nullptr; + } + PAL_DBG(LOG_TAG,"Exit ret: %d", status); + return status; +} + +/* This is to set devicePP MFC(if exists) and PSPD MFC and stream MFC*/ +int configureMFC(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, + struct pal_device &dAttr, const std::vector &pcmDevIds, const char* intf, + PayloadBuilder* builder) +{ + int status = 0; + std::shared_ptr dev = nullptr; + uint8_t* payload = nullptr; + size_t payloadSize = 0; + struct pal_media_config codecConfig; + struct sessionToPayloadParam mfcData; + uint32_t miid = 0; + bool devicePPMFCSet = true; + struct mixer *mixer = nullptr; + rm->getVirtualAudioMixer(&mixer); + std::shared_ptr groupDevConfig; + + PAL_DBG(LOG_TAG,"Enter"); + + /* Prepare devicePP MFC payload */ + /* Try to set devicePP MFC for virtual port enabled device to match to DMA config */ + groupDevConfig = rm->getActiveGroupDevConfig(); + if (groupDevConfig && (dAttr.id == PAL_DEVICE_OUT_SPEAKER || + dAttr.id == PAL_DEVICE_OUT_HANDSET || + dAttr.id == PAL_DEVICE_OUT_ULTRASOUND)) { + status = SessionAlsaUtils::getModuleInstanceId(mixer, pcmDevIds.at(0), intf, + TAG_DEVICE_PP_MFC, &miid); + if (status == 0) { + PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, + pcmDevIds.at(0), intf, dAttr.id); + + if (groupDevConfig->devpp_mfc_cfg.bit_width) + mfcData.bitWidth = groupDevConfig->devpp_mfc_cfg.bit_width; + else + mfcData.bitWidth = dAttr.config.bit_width; + if (groupDevConfig->devpp_mfc_cfg.sample_rate) + mfcData.sampleRate = groupDevConfig->devpp_mfc_cfg.sample_rate; + else + mfcData.sampleRate = dAttr.config.sample_rate; + if (groupDevConfig->devpp_mfc_cfg.channels) + mfcData.numChannel = groupDevConfig->devpp_mfc_cfg.channels; + else + mfcData.numChannel = dAttr.config.ch_info.channels; + mfcData.ch_info = nullptr; + + builder->payloadMFCConfig((uint8_t**)&payload, &payloadSize, miid, &mfcData); + if (!payloadSize) { + PAL_ERR(LOG_TAG, "payloadMFCConfig failed\n"); + status = -EINVAL; + goto exit; + } + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + goto exit; + } + } else { + PAL_INFO(LOG_TAG, "deviePP MFC doesn't exist for stream %d \n", sAttr.type); + devicePPMFCSet = false; + } + + /* set TKV for slot mask */ + setSlotMask(rm, sAttr, dAttr, pcmDevIds); + } else if (rm->IsDeviceMuxConfigEnabled() && (dAttr.id == PAL_DEVICE_OUT_SPEAKER || + dAttr.id == PAL_DEVICE_OUT_HANDSET)) { + setSlotMask(rm, sAttr, dAttr, pcmDevIds); + } + + /* Prepare stream MFC payload */ + if (sAttr.direction == PAL_AUDIO_INPUT) { + status = SessionAlsaUtils::getModuleInstanceId(mixer, pcmDevIds.at(0), intf, + TAG_STREAM_MFC_SR, &miid); + if (status == 0) { + PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, + pcmDevIds.at(0), intf, dAttr.id); + if (isPalPCMFormat(sAttr.in_media_config.aud_fmt_id)) + mfcData.bitWidth = ResourceManager::palFormatToBitwidthLookup( + sAttr.in_media_config.aud_fmt_id); + else + mfcData.bitWidth = sAttr.in_media_config.bit_width; + mfcData.sampleRate = sAttr.in_media_config.sample_rate; + mfcData.numChannel = sAttr.in_media_config.ch_info.channels; + mfcData.ch_info = nullptr; + builder->payloadMFCConfig((uint8_t **)&payload, &payloadSize, miid, &mfcData); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload failed\n"); + goto exit; + } + } + } + } + /* Prepare PSPD MFC payload */ + /* Get PSPD MFC MIID and configure to match to device config */ + /* This has to be done after sending all mixer controls and before connect */ + status = SessionAlsaUtils::getModuleInstanceId(mixer, pcmDevIds.at(0), intf, + TAG_DEVICE_MFC_SR, &miid); + if (status == 0) { + PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, + pcmDevIds.at(0), intf, dAttr.id); + + if (dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_A2DP || + dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_SCO || + dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_BLE || + dAttr.id == PAL_DEVICE_OUT_BLUETOOTH_BLE_BROADCAST) { + dev = Device::getInstance((struct pal_device *)&dAttr , rm); + if (!dev) { + PAL_ERR(LOG_TAG, "Device getInstance failed"); + status = -EINVAL; + goto exit; + } + status = dev->getCodecConfig(&codecConfig); + if(0 != status) { + PAL_ERR(LOG_TAG, "getCodecConfig Failed \n"); + goto exit; + } + mfcData.bitWidth = codecConfig.bit_width; + mfcData.sampleRate = codecConfig.sample_rate; + mfcData.numChannel = codecConfig.ch_info.channels; + mfcData.ch_info = nullptr; + } else { + mfcData.bitWidth = dAttr.config.bit_width; + if (!devicePPMFCSet && groupDevConfig->devpp_mfc_cfg.sample_rate) + mfcData.sampleRate = groupDevConfig->devpp_mfc_cfg.sample_rate; + else + mfcData.sampleRate = dAttr.config.sample_rate; + if (!devicePPMFCSet && groupDevConfig->devpp_mfc_cfg.channels) + mfcData.numChannel = groupDevConfig->devpp_mfc_cfg.channels; + else + mfcData.numChannel = dAttr.config.ch_info.channels; + mfcData.ch_info = nullptr; + } + + if (dAttr.id == PAL_DEVICE_OUT_AUX_DIGITAL || + dAttr.id == PAL_DEVICE_OUT_AUX_DIGITAL_1 || + dAttr.id == PAL_DEVICE_OUT_HDMI) + mfcData.ch_info = &dAttr.config.ch_info; + + builder->payloadMFCConfig((uint8_t **)&payload, &payloadSize, miid, &mfcData); + if (!payloadSize) { + PAL_ERR(LOG_TAG, "payloadMFCConfig failed\n"); + status = -EINVAL; + goto exit; + } + + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + goto exit; + } + } else { + PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); + if ((sAttr.direction == (PAL_AUDIO_INPUT | PAL_AUDIO_OUTPUT))|| + (sAttr.type == PAL_STREAM_SENSOR_PCM_RENDERER)) + status = 0; + } + +exit: + PAL_DBG(LOG_TAG,"Exit ret: %d", status); + return status; +} + +int setSlotMask(const std::shared_ptr& rm, struct pal_stream_attributes &sAttr, + struct pal_device &dAttr, const std::vector &pcmDevIds) +{ + int status = 0; + std::vector > tkv; + struct agm_tag_config* tagConfig = nullptr; + const char *setParamTagControl = " setParamTag"; + const char *streamPcm = "PCM"; + const char *streamComp = "COMPRESS"; + const char *streamVoice = "VOICEMMODE"; + const char *feCtl = " control"; + struct mixer_ctl *ctl; + std::ostringstream tagCntrlName; + std::ostringstream feName; + std::string backendname; + int tkv_size = 0; + uint32_t slot_mask = 0; + struct mixer *mixer = nullptr; + std::shared_ptr groupDevConfig = rm->getActiveGroupDevConfig(); + + PAL_DBG(LOG_TAG,"Enter"); + rm->getVirtualAudioMixer(&mixer); + + if (groupDevConfig) { + if (0 == groupDevConfig->grp_dev_hwep_cfg.slot_mask) { + slot_mask = slotMaskLUT.at(dAttr.config.ch_info.channels) | + slotMaskBwLUT.at(dAttr.config.bit_width); + tkv.push_back(std::make_pair(TAG_KEY_SLOT_MASK, slot_mask)); + } else { + tkv.push_back(std::make_pair(TAG_KEY_SLOT_MASK, + groupDevConfig->grp_dev_hwep_cfg.slot_mask)); + } + } else if (rm->IsDeviceMuxConfigEnabled()) { + slot_mask = slotMaskLUT.at(dAttr.config.ch_info.channels) | + slotMaskBwLUT.at(dAttr.config.bit_width); + tkv.push_back(std::make_pair(TAG_KEY_SLOT_MASK, slot_mask)); + } + + tagConfig = (struct agm_tag_config*)malloc(sizeof(struct agm_tag_config) + + (tkv.size() * sizeof(agm_key_value))); + + if (!tagConfig) { + status = -EINVAL; + goto exit; + } + + status = SessionAlsaUtils::getTagMetadata(TAG_DEVICE_MUX, tkv, tagConfig); + if (0 != status) { + goto exit; + } + + if (PAL_STREAM_COMPRESSED == sAttr.type) { + tagCntrlName<getBackendName(dAttr.id, backendname); + ctl = mixer_get_ctl_by_name(mixer, feName.str().data()); + if (!ctl) { + PAL_ERR(LOG_TAG, "Invalid mixer control: %s\n", feName.str().data()); + status = -EINVAL; + goto exit; + } + mixer_ctl_set_enum_by_string(ctl, backendname.c_str()); + ctl = nullptr; + + // set tag data + ctl = mixer_get_ctl_by_name(mixer, tagCntrlName.str().data()); + if (!ctl) { + PAL_ERR(LOG_TAG, "Invalid mixer control: %s\n", tagCntrlName.str().data()); + status = -EINVAL; + goto exit; + } + tkv_size = tkv.size()*sizeof(struct agm_key_value); + status = mixer_ctl_set_array(ctl, tagConfig, sizeof(struct agm_tag_config) + tkv_size); + if (status != 0) { + PAL_ERR(LOG_TAG, "failed to set the tag calibration %d", status); + } + +exit: + if (tagConfig) + free(tagConfig); + PAL_DBG(LOG_TAG,"Exit ret: %d", status); + return status; +} + +int reconfigureModule(SessionAlsaPcm* session, PayloadBuilder* builder, uint32_t tagID, const char* BE, struct sessionToPayloadParam *data) +{ + uint32_t status = 0; + uint32_t miid = 0; + uint8_t* payload = nullptr; + size_t payloadSize = 0; + std::vector pcmDevIds; + struct mixer* mxr; + std::shared_ptr rm = ResourceManager::getInstance(); + + PAL_DBG(LOG_TAG, "Enter"); + status = session->getMIID(BE, tagID, &miid); + if(status){ + PAL_INFO(LOG_TAG,"could not find tagID 0x%x for backend %s", tagID, BE); + goto exit; + } + status = rm->getVirtualAudioMixer(&mxr); + if (status) { + PAL_ERR(LOG_TAG, "mixer error"); + goto exit; + } + status = session->getFrontEndIds(pcmDevIds); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndIds(pcmDevIds) failed %d", status); + goto exit; + } + PAL_DBG(LOG_TAG, "miid : %x id = %d\n", miid, pcmDevIds.at(0)); + builder->payloadMFCConfig(&payload, &payloadSize, miid, data); + if (payloadSize && payload) { + status = builder->updateCustomPayload(payload, payloadSize); + builder->freeCustomPayload(&payload, &payloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG,"updateCustomPayload Failed\n"); + status = -EINVAL; + goto exit; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mxr, pcmDevIds.at(0), + payload, payloadSize); + builder->freeCustomPayload(); + if (status) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + goto exit; + } + +exit: + PAL_DBG(LOG_TAG, "Exit status: %d", status); + return status; +} + +int32_t reconfigureInCallMusicStream(struct pal_media_config config, PayloadBuilder* builder) +{ + int status = 0; + std::list::iterator it; + Session* sess = nullptr; + SessionAlsaPcm* session = nullptr; + struct pal_stream_attributes sAttr; + std::list activeStreams; + pal_stream_direction_t dir; + struct sessionToPayloadParam deviceData; + std::shared_ptr rm = ResourceManager::getInstance(); + + PAL_DBG(LOG_TAG, "Enter"); + status = rm->getActiveStreamByType_l(activeStreams, PAL_STREAM_VOICE_CALL_MUSIC); + if(status){ + PAL_ERR(LOG_TAG, "failed to get active streams for stream type PAL_STREAM_VOICE_CALL_MUSIC"); + goto exit; + } + if (!activeStreams.size()) { + PAL_DBG(LOG_TAG, "No In-Call Music Stream found to configure"); + goto exit; + } + for (auto& str: activeStreams) { + str->getStreamAttributes(&sAttr); + status = str->getStreamAttributes(&sAttr); + if (status != 0) { + PAL_ERR(LOG_TAG, "stream get attributes failed"); + goto exit; + } + if (sAttr.info.incall_music_info.local_playback) { + PAL_INFO(LOG_TAG, "found incall stream to configure"); + status = str->getAssociatedSession(&sess); + if (!sess) { + PAL_ERR(LOG_TAG, "No associated session for stream exist"); + status = -EINVAL; + goto exit; + } + deviceData.bitWidth = config.bit_width; + deviceData.sampleRate = config.sample_rate; + deviceData.numChannel = config.ch_info.channels; + deviceData.ch_info = nullptr; + status = reconfigureModule(session, builder, PER_STREAM_PER_DEVICE_MFC, "ZERO", &deviceData); + } + } +exit: + PAL_DBG(LOG_TAG, "Exit status: %d", status); + return status; +} + +int handleDeviceRotation(const std::shared_ptr& rm, Stream *s, + pal_speaker_rotation_type rotation_type, int device, struct mixer *mixer, + PayloadBuilder* builder, std::vector> rxAifBackEnds) +{ + int status = 0; + struct pal_stream_attributes sAttr = {}; + struct pal_device dAttr = {}; + uint32_t miid = 0; + uint8_t* alsaParamData = nullptr; + size_t alsaPayloadSize = 0; + uint8_t* payload = nullptr; + size_t payloadSize = 0; + int mfc_tag = TAG_MFC_SPEAKER_SWAP; + std::vector> associatedDevices; + std::shared_ptr groupDevConfig; + + PAL_DBG(LOG_TAG,"Enter"); + status = s->getStreamAttributes(&sAttr); + if (status != 0) { + PAL_ERR(LOG_TAG, "stream get attributes failed"); + return status; + } + + if (PAL_AUDIO_OUTPUT== sAttr.direction) { + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG, "getAssociatedDevices Failed\n"); + return status; + } + + for (int i = 0; i < associatedDevices.size(); i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG, "get Device Attributes Failed\n"); + return status; + } + + if ((PAL_DEVICE_OUT_SPEAKER == dAttr.id) && + (2 == dAttr.config.ch_info.channels) && + (strcmp(dAttr.custom_config.custom_key, "mspp") != 0)) { + /* Get DevicePP MFC MIID and configure to match to device config */ + /* This has to be done after sending all mixer controls and + * before connect + */ + status = + SessionAlsaUtils::getModuleInstanceId(mixer, + device, + rxAifBackEnds[i].second.data(), + mfc_tag, &miid); + if (status != 0) { + PAL_ERR(LOG_TAG, "getModuleInstanceId failed"); + return status; + } + PAL_DBG(LOG_TAG, "miid : %x id = %d, data %s, dev id = %d\n", miid, + device, rxAifBackEnds[i].second.data(), dAttr.id); + + groupDevConfig = rm->getActiveGroupDevConfig(); + if (groupDevConfig) { + if (groupDevConfig->devpp_mfc_cfg.channels) + dAttr.config.ch_info.channels = groupDevConfig->devpp_mfc_cfg.channels; + } + builder->payloadMFCMixerCoeff((uint8_t **)&alsaParamData, + &alsaPayloadSize, miid, + dAttr.config.ch_info.channels, + rotation_type); + + if (alsaPayloadSize) { + status = builder->updateCustomPayload(alsaParamData, alsaPayloadSize); + builder->freeCustomPayload(&alsaParamData, &alsaPayloadSize); + if (0 != status) { + PAL_ERR(LOG_TAG, "updateCustomPayload Failed\n"); + return status; + } + } + builder->getCustomPayload(&payload, &payloadSize); + status = SessionAlsaUtils::setMixerParameter(mixer, + device, + payload, + payloadSize); + builder->freeCustomPayload(); + if (status != 0) { + PAL_ERR(LOG_TAG, "setMixerParameter failed"); + return status; + } + } + } + } + PAL_DBG(LOG_TAG,"Exit ret: %d", status); + return status; +} + +int32_t pluginConfigSetParam(Stream* s, void* pluginPayload) +{ + int status = 0; + int setConfigStatus = 0; + uint32_t paramId = -1; + std::shared_ptr rm = ResourceManager::getInstance(); + struct mixer* mxr = nullptr; + PayloadBuilder* builder = nullptr; + std::vector frontEndIds; + std::vector> rxAifBackEnds; + std::vector> associatedDevices; + SetParamPluginPayload* ppld = reinterpret_cast(pluginPayload); + pal_stream_attributes sAttr = {}; + pal_device dAttr = {}; + SessionAR* session = dynamic_cast(ppld->session); + paramId = ppld->paramId; + + PAL_DBG(LOG_TAG, "Enter, paramId: %d", paramId); + switch (paramId) { + case PAL_PARAM_ID_DEVICE_ROTATION: + { + bool doDevPPMute = false; + status = s->getStreamAttributes(&sAttr); + if (status) { + PAL_ERR(LOG_TAG, "could not get stream attributes\n"); + goto exit; + } + status = session->getFrontEndIds(frontEndIds); + if (status) { + PAL_ERR(LOG_TAG, "getFrontEndId() failed %d", status); + goto exit; + } + status = rm->getVirtualAudioMixer(&mxr); + if (status) { + PAL_ERR(LOG_TAG, "get mixer handle failed %d", status); + goto exit; + } + rxAifBackEnds = session->getRxBEVecRef(); + builder = reinterpret_cast(ppld->builder); + /* To avoid pop while switching channels, it is required to mute + the playback first and then swap the channel and unmute */ + if (sAttr.type == PAL_STREAM_LOW_LATENCY || + sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) { + setConfigStatus = session->setConfig(s, MODULE, MUTE_TAG); + } else if (PAL_AUDIO_OUTPUT == sAttr.direction) { + /* Need to check if there is a valid module available + * for DEVICEPP_MUTE to avoid false negative failing + * setConfig message.*/ + status = s->getAssociatedDevices(associatedDevices); + if (0 != status) { + PAL_ERR(LOG_TAG, "getAssociatedDevices Failed\n"); + goto exit; + } + for (int i = 0; i < associatedDevices.size(); i++) { + status = associatedDevices[i]->getDeviceAttributes(&dAttr); + if (0 != status) { + PAL_ERR(LOG_TAG, "getDeviceAttributes Failed\n"); + break; + } + if ((PAL_DEVICE_OUT_SPEAKER == dAttr.id) && + (2 == dAttr.config.ch_info.channels) && + (strcmp(dAttr.custom_config.custom_key, "mspp") != 0)) { + doDevPPMute = true; + break; + } + } + if (doDevPPMute) { + setConfigStatus = session->setConfig(s, MODULE, DEVICEPP_MUTE); + } + } + if (setConfigStatus) { + PAL_INFO(LOG_TAG, "DevicePP Mute failed"); + } + //mStreamMutex.unlock(); NEED TO FIGURE OUT A WAY TO UNLOCK DURING SLEEP + usleep(MUTE_RAMP_PERIOD); // Wait for Mute ramp down to happen + // mStreamMutex.lock(); + pal_param_device_rotation_t *rotation = + reinterpret_cast(ppld->payload); + status = handleDeviceRotation(rm, s, rotation->rotation_type, frontEndIds.at(0), mxr, + builder, rxAifBackEnds); + // mStreamMutex.unlock(); + usleep(MUTE_RAMP_PERIOD); // Wait for channel swap to take affect + // mStreamMutex.lock(); + if (sAttr.type == PAL_STREAM_LOW_LATENCY || + sAttr.type == PAL_STREAM_ULTRA_LOW_LATENCY) { + setConfigStatus = session->setConfig(s, MODULE, UNMUTE_TAG); + } else if (doDevPPMute) { + setConfigStatus = session->setConfig(s, MODULE, DEVICEPP_UNMUTE); + } + if (setConfigStatus) { + PAL_INFO(LOG_TAG, "DevicePP Unmute failed"); + } + break; + } + break; + default: + PAL_ERR(LOG_TAG, "paramId %d, is unsupported", paramId); + status = -EINVAL; + } +exit: + PAL_DBG(LOG_TAG,"Exit status: %d", status); + return status; +} + +/* + * + * 1. Register to listen at AGM level for Silence Detection Even + * 2. Register a Callback to receive events from DSP + * 3. Get MIID of HW_ENDPOINT_TX + * 4. Configure PARAM_ID_SILECENCE_DETECTION payload + * + **/ +int enableSilenceDetection(const std::shared_ptr rm, + struct mixer *mixer, const std::vector &devIds, + const char *intf_name, uint64_t cookie) +{ + int status = 0; + uint32_t miid = 0; + size_t pad_bytes = 0, payloadSize = 0; + uint8_t* payload = NULL; + struct apm_module_param_data_t* header = NULL; + param_id_silence_detection_t *silence_detection_cfg = NULL; + struct agm_event_reg_cfg event_cfg = {}; + + if (silenceEventRegistered == true) + goto silence_ev_setup_done; + + + PAL_INFO(LOG_TAG, "Registering For Silence Detection Events \n"); + event_cfg.event_id = EVENT_ID_SILENCE_DETECTION; + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 1; + + status = SessionAlsaUtils::registerMixerEvent(mixer, devIds.at(0), intf_name, + DEVICE_HW_ENDPOINT_TX, (void *)&event_cfg, + sizeof(struct agm_event_reg_cfg)); + if (status) { + PAL_ERR(LOG_TAG, "Failed Registering for SILENCE DETECTION EVENT\n"); + goto silence_ev_setup_done; + } + + PAL_INFO(LOG_TAG, "Registered for Silence Detection Event\n"); + + status = rm->registerMixerEventCallback(devIds, handleSilenceDetectionCb, cookie, true); + if (status != 0) { + PAL_ERR(LOG_TAG, "Failed to register DSP cb for silence detection Event"); + goto err_silence_ev_cb_reg; + } + PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n"); + silenceEventRegistered = true; + PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n"); + + goto silence_ev_setup_done; + +err_silence_ev_setup: + rm->registerMixerEventCallback(devIds, handleSilenceDetectionCb, + cookie, false); +err_silence_ev_cb_reg: + event_cfg.is_register = 0; + status = SessionAlsaUtils::registerMixerEvent(mixer, devIds.at(0), + intf_name, DEVICE_HW_ENDPOINT_TX, + (void *)&event_cfg, sizeof(struct agm_event_reg_cfg)); +silence_ev_setup_done: + status = 0; + return status; +} + + +int disableSilenceDetection(const std::shared_ptr rm, + struct mixer *mixer, const std::vector &devIds, + const char *intf_name, uint64_t cookie) +{ + int status = 0; + struct agm_event_reg_cfg event_cfg = {}; + + event_cfg.event_id = EVENT_ID_SILENCE_DETECTION; + event_cfg.event_config_payload_size = 0; + event_cfg.is_register = 0; + + if (silenceEventRegistered == false) + goto exit; + + PAL_INFO(LOG_TAG, "De-registering For Silence Detection Events\n"); + status = SessionAlsaUtils::registerMixerEvent(mixer, devIds.at(0), + intf_name, DEVICE_HW_ENDPOINT_TX, + (void *)&event_cfg, sizeof(struct agm_event_reg_cfg)); + if (status) + PAL_ERR(LOG_TAG, "Unable to deregister SILENCE DETECTION EVENT\n"); + + status = rm->registerMixerEventCallback(devIds, handleSilenceDetectionCb, cookie, false); + if (status != 0) + PAL_ERR(LOG_TAG, "Failed to deregister silence detection Callback to rm"); + + silenceEventRegistered = false; + +exit: + return status; +} + +int dump_kernel_log(char *kmsg_out_file) +{ + int kmsg_fd = 0, log_out_size = 0; + ssize_t kernel_buf_size = 0; + char *kernel_buf = NULL; + + kernel_buf_size = klogctl(SYSLOG_ACTION_SIZE_BUFFER, NULL, 0); + PAL_INFO(LOG_TAG, "%s::kernel_buf_size :: %zd", __func__, kernel_buf_size); + + kernel_buf = (char *)malloc(kernel_buf_size); + if (!kernel_buf) { + PAL_ERR(LOG_TAG, "%s:: error allocating memory", __func__); + return -ENOMEM; + } + + kmsg_fd = open(kmsg_out_file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); + if (kmsg_fd < 0){ + PAL_ERR(LOG_TAG, "%s::Error opening kernel msg out file", __func__); + free(kernel_buf); + return kmsg_fd; + } + + klogctl(SYSLOG_ACTION_READ_ALL, kernel_buf, kernel_buf_size); + log_out_size = write(kmsg_fd, kernel_buf, kernel_buf_size); + if (log_out_size < 0) { + PAL_ERR(LOG_TAG, "%s: %s Unable to write.\n", __func__, kmsg_out_file); + goto close_kmsg_fd; + } + PAL_INFO(LOG_TAG, "%s: Writing %s log, %d bytes\n",__func__, + kmsg_out_file, log_out_size); + +close_kmsg_fd: + close(kmsg_fd); + free(kernel_buf); + return log_out_size; +} + +int dump_registers(char *in_file_path, char *regdump_out_file) +{ + char *reg_dump = NULL; + int infile_fd = 0, regdump_wr_fd = 0; + int read_out_size = 0, regdump_size = 0; + size_t sysfs_page_size = sysconf(_SC_PAGESIZE); + + reg_dump = (char *)malloc(REGDUMP_OUT_SIZE); + if (!reg_dump) { + PAL_ERR(LOG_TAG, "%s:: error allocating memory", __func__); + return -ENOMEM; + } + + infile_fd = open(in_file_path, O_RDONLY); + if (infile_fd < 0) { + PAL_ERR(LOG_TAG, "%s: %s not found.\n", __func__, in_file_path); + read_out_size = -1; + goto free_buf; + } + + PAL_INFO(LOG_TAG, "Reading %s regdump interface \n", in_file_path); + read_out_size = read(infile_fd, reg_dump, REGDUMP_OUT_SIZE); + if (read_out_size < 0) { + PAL_ERR(LOG_TAG, "%s: %s Unable to Read.\n", __func__, in_file_path); + read_out_size = -1; + goto close_infile; + } + PAL_INFO(LOG_TAG, "Regdump ReadOut Buffer Size = %d", read_out_size); + + regdump_wr_fd = open(regdump_out_file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); + if (regdump_wr_fd < 0) { + PAL_ERR(LOG_TAG, "%s: %s Unable to Open for writing.\n", __func__, regdump_out_file); + read_out_size = -1; + goto close_infile; + } + regdump_size = write(regdump_wr_fd, reg_dump, read_out_size); + if (regdump_size < 0) { + PAL_ERR(LOG_TAG, "%s: %s Unable to write.\n", __func__, regdump_out_file); + read_out_size = -1; + goto close_regdump_file; + } + PAL_INFO(LOG_TAG, "Bolero Regmap Dump Size %ld and file %s", regdump_size, regdump_out_file); + +close_regdump_file: + close(regdump_wr_fd); +close_infile: + close(infile_fd); +free_buf: + free(reg_dump); + return read_out_size; +} + + +int dump_silence_event_status(char *out_file, uint32_t channel_group, uint32_t status_ch_mask) +{ + char event_data_buf[255]; + int pos = 0, write_out_bytes = 0, fd = 0; + + pos = snprintf(event_data_buf, 255, "channel_group :: %u \n", + channel_group); + pos += snprintf(event_data_buf+pos, 255-pos, "Channel_Status :: %u \n", + status_ch_mask); + + fd = open(out_file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); + if (fd < 0) { + PAL_ERR(LOG_TAG, + "%s::Error Opening silence data status file\n", __func__); + return -EINVAL; + } + + write_out_bytes = write(fd, event_data_buf, pos); + if (write_out_bytes < 1) + PAL_ERR(LOG_TAG, "%s::failed writing silence event status",__func__); + + close(fd); + return write_out_bytes; +} + +/* + *Callback from DSP for SILENCE Detection + */ +void handleSilenceDetectionCb(uint64_t hdl __unused, uint32_t event_id, void *event_data, uint32_t event_size) +{ + char out_file_name[MAX_DUMP_FILENAME_SIZE]; + uint32_t channel_group = 0 , status_ch_mask = 0; + event_cfg_silence_detection_t *silence_event = nullptr; + struct tm *timenow; + time_t now = time(NULL); + timenow = gmtime(&now); + PAL_INFO(LOG_TAG, "Silence Detection event raised\n"); + + switch (event_id) { + + case EVENT_ID_SILENCE_DETECTION: + PAL_INFO(LOG_TAG, "EVENT_ID_SILENCE_DETECTION received from DSP\n"); + + strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, + SILENCE_EVENT_INFO, timenow); + + silence_event = (event_cfg_silence_detection_t *)event_data; + channel_group = silence_event->num_32_channel_group; + status_ch_mask = silence_event->detections[0].status_ch_mask; + dump_silence_event_status(out_file_name, channel_group, status_ch_mask); + + /* + * Read BOLERO/CDC Registers + **/ + strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, + BOLERO_REGDUMP_OUT_PATH, timenow); + dump_registers(BOLERO_PROC_INTF, out_file_name); + + /* + * Read SWR VA Macro Registers + **/ + strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, + VA_SWR_REGDUM_OUT_PATH, timenow); + dump_registers(VA_SWR_PROC_INTF, out_file_name); + + /* + * Read WCD939X Registers + **/ + strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, + WCD939X_REGDUMP_OUT_PATH, timenow); + dump_registers(WCD939X_PROC_INTF, out_file_name); + + /* + * kernel msg (/dev/kmsg) read + **/ + strftime(out_file_name, MAX_DUMP_FILENAME_SIZE, + KMSG_OUT_FILE, timenow); + dump_kernel_log(out_file_name); + + break; + + default: + + break; + + } + + return; } \ No newline at end of file diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h index 41d8391c..8735c7c8 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h +++ b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/inc/ConfigSessionAlsaCompress.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_COMPRESS_H diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp index 9f3a5599..04cdc6fc 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp +++ b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaCompress/src/ConfigSessionAlsaCompress.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_compress_config" diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h index f432270b..cf18b2e8 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h +++ b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/inc/ConfigSessionAlsaPcm.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_PCM_H diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp index 9a29fa88..a88918cd 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp +++ b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaPcm/src/ConfigSessionAlsaPcm.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_pcm_config" diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h index c642ea4b..8f746be0 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h +++ b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/inc/ConfigSessionAlsaVoice.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_ALSA_VOICE_H diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp index 5aeac613..0a9e0f39 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp +++ b/plugins/configs/qcom/mobile/default/ConfigSessionAlsaVoice/src/ConfigSessionAlsaVoice.cpp @@ -30,7 +30,7 @@ /* Changes from Qualcomm Technologies, Inc. are provided under the following license: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: libsession_voice_config" diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionUtils/inc/ConfigSessionUtils.h b/plugins/configs/qcom/mobile/default/ConfigSessionUtils/inc/ConfigSessionUtils.h index b3cd3b8b..2c4c6f8d 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionUtils/inc/ConfigSessionUtils.h +++ b/plugins/configs/qcom/mobile/default/ConfigSessionUtils/inc/ConfigSessionUtils.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CONFIG_SESSION_UTILS_H diff --git a/plugins/configs/qcom/mobile/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp b/plugins/configs/qcom/mobile/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp index 38f73be0..0cb8c85a 100644 --- a/plugins/configs/qcom/mobile/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp +++ b/plugins/configs/qcom/mobile/default/ConfigSessionUtils/src/ConfigSessionUtils.cpp @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * -* Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause * */ diff --git a/plugins/vui_interface/api/vui-interface/SoundTriggerUtils.h b/plugins/vui_interface/api/vui-interface/SoundTriggerUtils.h index 6350c695..46336d57 100644 --- a/plugins/vui_interface/api/vui-interface/SoundTriggerUtils.h +++ b/plugins/vui_interface/api/vui-interface/SoundTriggerUtils.h @@ -30,7 +30,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SOUND_TRIGGER_UTILS_H diff --git a/plugins/vui_interface/api/vui-interface/VoiceUIInterface.h b/plugins/vui_interface/api/vui-interface/VoiceUIInterface.h index d77a9dda..6e9dd65c 100644 --- a/plugins/vui_interface/api/vui-interface/VoiceUIInterface.h +++ b/plugins/vui_interface/api/vui-interface/VoiceUIInterface.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef VOICEUI_INTERFACE_H diff --git a/plugins/vui_interface/customva_intf/inc/CustomVA.h b/plugins/vui_interface/customva_intf/inc/CustomVA.h index 68117028..1eb4b59c 100644 --- a/plugins/vui_interface/customva_intf/inc/CustomVA.h +++ b/plugins/vui_interface/customva_intf/inc/CustomVA.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CUSTOM_VA_H diff --git a/plugins/vui_interface/customva_intf/src/CustomVA.cpp b/plugins/vui_interface/customva_intf/src/CustomVA.cpp index e21c6430..a5e4f8ae 100644 --- a/plugins/vui_interface/customva_intf/src/CustomVA.cpp +++ b/plugins/vui_interface/customva_intf/src/CustomVA.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: CustomVA" diff --git a/plugins/vui_interface/hotword_intf/inc/HotwordVA.h b/plugins/vui_interface/hotword_intf/inc/HotwordVA.h index 73101c01..c58f6fe7 100644 --- a/plugins/vui_interface/hotword_intf/inc/HotwordVA.h +++ b/plugins/vui_interface/hotword_intf/inc/HotwordVA.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef HOTWORD_H diff --git a/plugins/vui_interface/hotword_intf/src/HotwordVA.cpp b/plugins/vui_interface/hotword_intf/src/HotwordVA.cpp index b058a5fd..14f113e1 100644 --- a/plugins/vui_interface/hotword_intf/src/HotwordVA.cpp +++ b/plugins/vui_interface/hotword_intf/src/HotwordVA.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: HotwordVA" diff --git a/plugins/vui_interface/sva_intf/inc/SVAInterface.h b/plugins/vui_interface/sva_intf/inc/SVAInterface.h index ecbe05c2..373d61d8 100644 --- a/plugins/vui_interface/sva_intf/inc/SVAInterface.h +++ b/plugins/vui_interface/sva_intf/inc/SVAInterface.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SVA_INTERFACE_H diff --git a/plugins/vui_interface/sva_intf/src/SVAInterface.cpp b/plugins/vui_interface/sva_intf/src/SVAInterface.cpp index 6978c147..a5873dac 100644 --- a/plugins/vui_interface/sva_intf/src/SVAInterface.cpp +++ b/plugins/vui_interface/sva_intf/src/SVAInterface.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SVAInterface" diff --git a/plugins/vui_interface/utils/inc/VUIInterfaceUtils.h b/plugins/vui_interface/utils/inc/VUIInterfaceUtils.h index ae7181ea..ad3df01f 100644 --- a/plugins/vui_interface/utils/inc/VUIInterfaceUtils.h +++ b/plugins/vui_interface/utils/inc/VUIInterfaceUtils.h @@ -26,155 +26,155 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear - */ - -#ifndef VOICEUI_INTERFACE_UTILS_H -#define VOICEUI_INTERFACE_UTILS_H - -#include -#include - -#include "ListenSoundModelLib.h" - -#define MAX_KW_USERS_NAME_LEN (2 * MAX_STRING_LEN) -#define MAX_CONF_LEVEL_VALUE 100 - -/* Listen Sound Model Library APIs */ -typedef listen_status_enum (*smlib_getSoundModelHeader_t) -( - listen_model_type *pSoundModel, - listen_sound_model_header *pListenSoundModelHeader -); - -typedef listen_status_enum (*smlib_releaseSoundModelHeader_t) -( - listen_sound_model_header *pListenSoundModelHeader -); - -typedef listen_status_enum (*smlib_getKeywordPhrases_t) -( - listen_model_type *pSoundModel, - uint16_t *numKeywords, - keywordId_t *keywords -); - -typedef listen_status_enum (*smlib_getUserNames_t) -( - listen_model_type *pSoundModel, - uint16_t *numUsers, - userId_t *users -); - -typedef listen_status_enum (*smlib_getMergedModelSize_t) -( - uint16_t numModels, - listen_model_type *pModels[], - uint32_t *nOutputModelSize -); - -typedef listen_status_enum (*smlib_mergeModels_t) -( - uint16_t numModels, - listen_model_type *pModels[], - listen_model_type *pMergedModel -); - -typedef listen_status_enum (*smlib_getSizeAfterDeleting_t) -( - listen_model_type *pInputModel, - keywordId_t keywordId, - userId_t userId, - uint32_t *nOutputModelSize -); - -typedef listen_status_enum (*smlib_deleteFromModel_t) -( - listen_model_type *pInputModel, - keywordId_t keywordId, - userId_t userId, - listen_model_type *pResultModel -); - -class SoundModelLib { - public: - static std::shared_ptr GetInstance(); - SoundModelLib & operator=(SoundModelLib &rhs) = delete; - SoundModelLib(); - ~SoundModelLib(); - smlib_getSoundModelHeader_t GetSoundModelHeader_; - smlib_releaseSoundModelHeader_t ReleaseSoundModelHeader_; - smlib_getKeywordPhrases_t GetKeywordPhrases_; - smlib_getUserNames_t GetUserNames_; - smlib_getMergedModelSize_t GetMergedModelSize_; - smlib_mergeModels_t MergeModels_; - smlib_getSizeAfterDeleting_t GetSizeAfterDeleting_; - smlib_deleteFromModel_t DeleteFromModel_; - - private: - static std::shared_ptr sml_; - void *sml_lib_handle_; -}; - -class SoundModelInfo { -public: - SoundModelInfo(); - SoundModelInfo(SoundModelInfo &rhs) = delete; - SoundModelInfo & operator=(SoundModelInfo &rhs); - ~SoundModelInfo(); - int32_t SetKeyPhrases(listen_model_type *model, uint32_t num_phrases); - int32_t SetUsers(listen_model_type *model, uint32_t num_users); - int32_t SetConfLevels(uint16_t num_user_kw_pairs, uint16_t *num_users_per_kw, - uint16_t **user_kw_pair_flags); - void SetModelData(uint8_t *data, uint32_t size) { - if (sm_data_) { - free(sm_data_); - sm_data_ = nullptr; - } - sm_size_ = size; - if (!sm_size_) - return; - sm_data_ = (uint8_t*) calloc(1, sm_size_); - if (!sm_data_) - return; - memcpy(sm_data_, data, sm_size_); - } - void UpdateConfLevel(uint32_t index, uint8_t conf_level) { - if (index < cf_levels_size_) - cf_levels_[index] = conf_level; - } - int32_t UpdateConfLevelArray(uint8_t *conf_levels, uint32_t cfl_size); - void ResetDetConfLevels() { - memset(det_cf_levels_, 0, cf_levels_size_); - } - void UpdateDetConfLevel(uint32_t index, uint8_t conf_level) { - if (index < cf_levels_size_) - det_cf_levels_[index] = conf_level; - } - uint8_t* GetModelData() { return sm_data_; }; - uint32_t GetModelSize() { return sm_size_; }; - char** GetKeyPhrases() { return keyphrases_; }; - char** GetConfLevelsKwUsers() { return cf_levels_kw_users_; }; - uint8_t* GetConfLevels() { return cf_levels_; }; - uint8_t* GetDetConfLevels() { return det_cf_levels_; }; - uint32_t GetConfLevelsSize() { return cf_levels_size_; }; - uint32_t GetNumKeyPhrases() { return num_keyphrases_; }; - static void AllocArrayPtrs(char ***arr, uint32_t arr_len, uint32_t elem_len); - static void FreeArrayPtrs(char **arr, uint32_t arr_len); - -private: - uint8_t *sm_data_; - uint32_t sm_size_; - uint32_t num_keyphrases_; - uint32_t num_users_; - char **keyphrases_; - char **users_; - char **cf_levels_kw_users_; - uint8_t *cf_levels_; - uint8_t *det_cf_levels_; - uint32_t cf_levels_size_; -}; -#endif // VOICEUI_INTERFACE_UTILS_H + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef VOICEUI_INTERFACE_UTILS_H +#define VOICEUI_INTERFACE_UTILS_H + +#include +#include + +#include "ListenSoundModelLib.h" + +#define MAX_KW_USERS_NAME_LEN (2 * MAX_STRING_LEN) +#define MAX_CONF_LEVEL_VALUE 100 + +/* Listen Sound Model Library APIs */ +typedef listen_status_enum (*smlib_getSoundModelHeader_t) +( + listen_model_type *pSoundModel, + listen_sound_model_header *pListenSoundModelHeader +); + +typedef listen_status_enum (*smlib_releaseSoundModelHeader_t) +( + listen_sound_model_header *pListenSoundModelHeader +); + +typedef listen_status_enum (*smlib_getKeywordPhrases_t) +( + listen_model_type *pSoundModel, + uint16_t *numKeywords, + keywordId_t *keywords +); + +typedef listen_status_enum (*smlib_getUserNames_t) +( + listen_model_type *pSoundModel, + uint16_t *numUsers, + userId_t *users +); + +typedef listen_status_enum (*smlib_getMergedModelSize_t) +( + uint16_t numModels, + listen_model_type *pModels[], + uint32_t *nOutputModelSize +); + +typedef listen_status_enum (*smlib_mergeModels_t) +( + uint16_t numModels, + listen_model_type *pModels[], + listen_model_type *pMergedModel +); + +typedef listen_status_enum (*smlib_getSizeAfterDeleting_t) +( + listen_model_type *pInputModel, + keywordId_t keywordId, + userId_t userId, + uint32_t *nOutputModelSize +); + +typedef listen_status_enum (*smlib_deleteFromModel_t) +( + listen_model_type *pInputModel, + keywordId_t keywordId, + userId_t userId, + listen_model_type *pResultModel +); + +class SoundModelLib { + public: + static std::shared_ptr GetInstance(); + SoundModelLib & operator=(SoundModelLib &rhs) = delete; + SoundModelLib(); + ~SoundModelLib(); + smlib_getSoundModelHeader_t GetSoundModelHeader_; + smlib_releaseSoundModelHeader_t ReleaseSoundModelHeader_; + smlib_getKeywordPhrases_t GetKeywordPhrases_; + smlib_getUserNames_t GetUserNames_; + smlib_getMergedModelSize_t GetMergedModelSize_; + smlib_mergeModels_t MergeModels_; + smlib_getSizeAfterDeleting_t GetSizeAfterDeleting_; + smlib_deleteFromModel_t DeleteFromModel_; + + private: + static std::shared_ptr sml_; + void *sml_lib_handle_; +}; + +class SoundModelInfo { +public: + SoundModelInfo(); + SoundModelInfo(SoundModelInfo &rhs) = delete; + SoundModelInfo & operator=(SoundModelInfo &rhs); + ~SoundModelInfo(); + int32_t SetKeyPhrases(listen_model_type *model, uint32_t num_phrases); + int32_t SetUsers(listen_model_type *model, uint32_t num_users); + int32_t SetConfLevels(uint16_t num_user_kw_pairs, uint16_t *num_users_per_kw, + uint16_t **user_kw_pair_flags); + void SetModelData(uint8_t *data, uint32_t size) { + if (sm_data_) { + free(sm_data_); + sm_data_ = nullptr; + } + sm_size_ = size; + if (!sm_size_) + return; + sm_data_ = (uint8_t*) calloc(1, sm_size_); + if (!sm_data_) + return; + memcpy(sm_data_, data, sm_size_); + } + void UpdateConfLevel(uint32_t index, uint8_t conf_level) { + if (index < cf_levels_size_) + cf_levels_[index] = conf_level; + } + int32_t UpdateConfLevelArray(uint8_t *conf_levels, uint32_t cfl_size); + void ResetDetConfLevels() { + memset(det_cf_levels_, 0, cf_levels_size_); + } + void UpdateDetConfLevel(uint32_t index, uint8_t conf_level) { + if (index < cf_levels_size_) + det_cf_levels_[index] = conf_level; + } + uint8_t* GetModelData() { return sm_data_; }; + uint32_t GetModelSize() { return sm_size_; }; + char** GetKeyPhrases() { return keyphrases_; }; + char** GetConfLevelsKwUsers() { return cf_levels_kw_users_; }; + uint8_t* GetConfLevels() { return cf_levels_; }; + uint8_t* GetDetConfLevels() { return det_cf_levels_; }; + uint32_t GetConfLevelsSize() { return cf_levels_size_; }; + uint32_t GetNumKeyPhrases() { return num_keyphrases_; }; + static void AllocArrayPtrs(char ***arr, uint32_t arr_len, uint32_t elem_len); + static void FreeArrayPtrs(char **arr, uint32_t arr_len); + +private: + uint8_t *sm_data_; + uint32_t sm_size_; + uint32_t num_keyphrases_; + uint32_t num_users_; + char **keyphrases_; + char **users_; + char **cf_levels_kw_users_; + uint8_t *cf_levels_; + uint8_t *det_cf_levels_; + uint32_t cf_levels_size_; +}; +#endif // VOICEUI_INTERFACE_UTILS_H diff --git a/plugins/vui_interface/utils/src/VUIInterfaceUtils.cpp b/plugins/vui_interface/utils/src/VUIInterfaceUtils.cpp index 65b529a0..98e68faf 100644 --- a/plugins/vui_interface/utils/src/VUIInterfaceUtils.cpp +++ b/plugins/vui_interface/utils/src/VUIInterfaceUtils.cpp @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #include diff --git a/resource_manager/inc/ResourceManager.h b/resource_manager/inc/ResourceManager.h index f684a9bc..650535f5 100644 --- a/resource_manager/inc/ResourceManager.h +++ b/resource_manager/inc/ResourceManager.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef RESOURCE_MANAGER_H diff --git a/resource_manager/src/ResourceManager.cpp b/resource_manager/src/ResourceManager.cpp index 85047703..202b7a58 100644 --- a/resource_manager/src/ResourceManager.cpp +++ b/resource_manager/src/ResourceManager.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: ResourceManager" diff --git a/resource_manager/src/SndCardMonitor.cpp b/resource_manager/src/SndCardMonitor.cpp index 15c0d68d..5211a989 100644 --- a/resource_manager/src/SndCardMonitor.cpp +++ b/resource_manager/src/SndCardMonitor.cpp @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SndMonitor" diff --git a/session/SessionAR/inc/PayloadBuilder.h b/session/SessionAR/inc/PayloadBuilder.h index 688fd9af..c9c38ff6 100644 --- a/session/SessionAR/inc/PayloadBuilder.h +++ b/session/SessionAR/inc/PayloadBuilder.h @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PAYLOAD_BUILDER_H_ diff --git a/session/SessionAR/inc/SessionAR.h b/session/SessionAR/inc/SessionAR.h index 30a4c2a8..8c9391c3 100644 --- a/session/SessionAR/inc/SessionAR.h +++ b/session/SessionAR/inc/SessionAR.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Technologies, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_AR_H diff --git a/session/SessionAR/inc/SessionAlsaUtils.h b/session/SessionAR/inc/SessionAlsaUtils.h index 48335e11..be0df5fc 100644 --- a/session/SessionAR/inc/SessionAlsaUtils.h +++ b/session/SessionAR/inc/SessionAlsaUtils.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_ALSAUTILS_H diff --git a/session/SessionAR/src/PayloadBuilder.cpp b/session/SessionAR/src/PayloadBuilder.cpp index 248297bd..7251f913 100644 --- a/session/SessionAR/src/PayloadBuilder.cpp +++ b/session/SessionAR/src/PayloadBuilder.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: PayloadBuilder" diff --git a/session/SessionAR/src/SessionAR.cpp b/session/SessionAR/src/SessionAR.cpp index 988f8db9..f94c110f 100644 --- a/session/SessionAR/src/SessionAR.cpp +++ b/session/SessionAR/src/SessionAR.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SessionAR" diff --git a/session/SessionAR/src/SessionAlsaUtils.cpp b/session/SessionAR/src/SessionAlsaUtils.cpp index 2b6e1af5..8ecb0aaa 100644 --- a/session/SessionAR/src/SessionAlsaUtils.cpp +++ b/session/SessionAR/src/SessionAlsaUtils.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -* SPDX-License-Identifier: BSD-3-Clause-Clear +* SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SessionAlsaUtils" diff --git a/session/SessionAgm/inc/SessionAgm.h b/session/SessionAgm/inc/SessionAgm.h index 8eba6e05..52812f37 100644 --- a/session/SessionAgm/inc/SessionAgm.h +++ b/session/SessionAgm/inc/SessionAgm.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_AGM_H diff --git a/session/SessionAgm/src/SessionAgm.cpp b/session/SessionAgm/src/SessionAgm.cpp index 1319dadb..46bfd22a 100644 --- a/session/SessionAgm/src/SessionAgm.cpp +++ b/session/SessionAgm/src/SessionAgm.cpp @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SessionAgm" diff --git a/session/SessionAlsaCompress/inc/SessionAlsaCompress.h b/session/SessionAlsaCompress/inc/SessionAlsaCompress.h index ddebae79..78c20f53 100644 --- a/session/SessionAlsaCompress/inc/SessionAlsaCompress.h +++ b/session/SessionAlsaCompress/inc/SessionAlsaCompress.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_ALSACOMPRESS_H diff --git a/session/SessionAlsaCompress/src/SessionAlsaCompress.cpp b/session/SessionAlsaCompress/src/SessionAlsaCompress.cpp index 7a367e22..3a80a3ad 100644 --- a/session/SessionAlsaCompress/src/SessionAlsaCompress.cpp +++ b/session/SessionAlsaCompress/src/SessionAlsaCompress.cpp @@ -29,7 +29,7 @@ * ​​​​​Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SessionAlsaCompress" diff --git a/session/SessionAlsaPcm/inc/SessionAlsaPcm.h b/session/SessionAlsaPcm/inc/SessionAlsaPcm.h index 334281f4..3b17fb97 100644 --- a/session/SessionAlsaPcm/inc/SessionAlsaPcm.h +++ b/session/SessionAlsaPcm/inc/SessionAlsaPcm.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_ALSAPCM_H diff --git a/session/SessionAlsaPcm/src/SessionAlsaPcm.cpp b/session/SessionAlsaPcm/src/SessionAlsaPcm.cpp index 2d94d938..8a2b4d08 100644 --- a/session/SessionAlsaPcm/src/SessionAlsaPcm.cpp +++ b/session/SessionAlsaPcm/src/SessionAlsaPcm.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SessionAlsaPcm" diff --git a/session/SessionAlsaVoice/inc/SessionAlsaVoice.h b/session/SessionAlsaVoice/inc/SessionAlsaVoice.h index b23c61e3..450e4f9e 100644 --- a/session/SessionAlsaVoice/inc/SessionAlsaVoice.h +++ b/session/SessionAlsaVoice/inc/SessionAlsaVoice.h @@ -28,9 +28,9 @@ */ /* -Changes from Qualcomm Innovation Center, Inc. are provided under the following license: -Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. -SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: +Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. +SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_ALSAVOICE_H diff --git a/session/SessionAlsaVoice/src/SessionAlsaVoice.cpp b/session/SessionAlsaVoice/src/SessionAlsaVoice.cpp index ae81863e..6f3a4f7c 100644 --- a/session/SessionAlsaVoice/src/SessionAlsaVoice.cpp +++ b/session/SessionAlsaVoice/src/SessionAlsaVoice.cpp @@ -30,7 +30,7 @@ /* Changes from Qualcomm Technologies, Inc. are provided under the following license: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. -SPDX-License-Identifier: BSD-3-Clause-Clear +SPDX-License-Identifier: BSD-3-Clause */ diff --git a/session/inc/Session.h b/session/inc/Session.h index 67b8eb6d..fdae00bf 100644 --- a/session/inc/Session.h +++ b/session/inc/Session.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SESSION_H diff --git a/session/src/Session.cpp b/session/src/Session.cpp index 3a4e7a61..92578256 100644 --- a/session/src/Session.cpp +++ b/session/src/Session.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: +Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/sounddose/inc/SoundDoseUtility.h b/sounddose/inc/SoundDoseUtility.h index aa89954c..cc4130ed 100644 --- a/sounddose/inc/SoundDoseUtility.h +++ b/sounddose/inc/SoundDoseUtility.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SOUND_DOSE_UTILITY_H diff --git a/sounddose/src/SoundDoseUtility.cpp b/sounddose/src/SoundDoseUtility.cpp index 9e0cfb3e..60952678 100644 --- a/sounddose/src/SoundDoseUtility.cpp +++ b/sounddose/src/SoundDoseUtility.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: SoundDoseUtility" diff --git a/stream/StreamACD/inc/ACDEngine.h b/stream/StreamACD/inc/ACDEngine.h index 6d5e44fb..d7ea6ce7 100644 --- a/stream/StreamACD/inc/ACDEngine.h +++ b/stream/StreamACD/inc/ACDEngine.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamACD/inc/ContextDetectionEngine.h b/stream/StreamACD/inc/ContextDetectionEngine.h index 03f8a182..61a74078 100644 --- a/stream/StreamACD/inc/ContextDetectionEngine.h +++ b/stream/StreamACD/inc/ContextDetectionEngine.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2023,2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamACD/inc/StreamACD.h b/stream/StreamACD/inc/StreamACD.h index 85042121..4854f934 100644 --- a/stream/StreamACD/inc/StreamACD.h +++ b/stream/StreamACD/inc/StreamACD.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamACD/src/ACDEngine.cpp b/stream/StreamACD/src/ACDEngine.cpp index a20e0c3b..76a0c154 100644 --- a/stream/StreamACD/src/ACDEngine.cpp +++ b/stream/StreamACD/src/ACDEngine.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define ATRACE_TAG (ATRACE_TAG_AUDIO | ATRACE_TAG_HAL) diff --git a/stream/StreamACD/src/ContextDetectionEngine.cpp b/stream/StreamACD/src/ContextDetectionEngine.cpp index 23e239c4..ba5d0d11 100644 --- a/stream/StreamACD/src/ContextDetectionEngine.cpp +++ b/stream/StreamACD/src/ContextDetectionEngine.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: ContextDetectionEngine" diff --git a/stream/StreamACD/src/StreamACD.cpp b/stream/StreamACD/src/StreamACD.cpp index 60c84e45..cd9a10bf 100644 --- a/stream/StreamACD/src/StreamACD.cpp +++ b/stream/StreamACD/src/StreamACD.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamACD" diff --git a/stream/StreamASR/inc/ASREngine.h b/stream/StreamASR/inc/ASREngine.h index 1dda30df..a8d027f1 100644 --- a/stream/StreamASR/inc/ASREngine.h +++ b/stream/StreamASR/inc/ASREngine.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ASRENGINE_H diff --git a/stream/StreamASR/inc/StreamASR.h b/stream/StreamASR/inc/StreamASR.h index 6b6491d5..73f81e7f 100644 --- a/stream/StreamASR/inc/StreamASR.h +++ b/stream/StreamASR/inc/StreamASR.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMASR_H_ diff --git a/stream/StreamASR/src/ASREngine.cpp b/stream/StreamASR/src/ASREngine.cpp index 77626ef9..9e86b2da 100644 --- a/stream/StreamASR/src/ASREngine.cpp +++ b/stream/StreamASR/src/ASREngine.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define ATRACE_TAG (ATRACE_TAG_AUDIO | ATRACE_TAG_HAL) diff --git a/stream/StreamASR/src/StreamASR.cpp b/stream/StreamASR/src/StreamASR.cpp index e7adee4a..89c4eb97 100644 --- a/stream/StreamASR/src/StreamASR.cpp +++ b/stream/StreamASR/src/StreamASR.cpp @@ -28,7 +28,7 @@ * * ​​​​​Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamASR" diff --git a/stream/StreamCallTranslation/inc/CallTranslationNMTEngine.h b/stream/StreamCallTranslation/inc/CallTranslationNMTEngine.h index 6f243ef7..4a086db6 100644 --- a/stream/StreamCallTranslation/inc/CallTranslationNMTEngine.h +++ b/stream/StreamCallTranslation/inc/CallTranslationNMTEngine.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef NMTENGINE_H diff --git a/stream/StreamCallTranslation/inc/StreamCallTranslation.h b/stream/StreamCallTranslation/inc/StreamCallTranslation.h index 5215bdda..f21c2005 100644 --- a/stream/StreamCallTranslation/inc/StreamCallTranslation.h +++ b/stream/StreamCallTranslation/inc/StreamCallTranslation.h @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef StreamCallTranslation_H_ diff --git a/stream/StreamCallTranslation/src/CallTranslationNMTEngine.cpp b/stream/StreamCallTranslation/src/CallTranslationNMTEngine.cpp index 471f9919..1efa5302 100644 --- a/stream/StreamCallTranslation/src/CallTranslationNMTEngine.cpp +++ b/stream/StreamCallTranslation/src/CallTranslationNMTEngine.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define ATRACE_TAG (ATRACE_TAG_AUDIO | ATRACE_TAG_HAL) diff --git a/stream/StreamCallTranslation/src/StreamCallTranslation.cpp b/stream/StreamCallTranslation/src/StreamCallTranslation.cpp index dea18209..c9f9f889 100644 --- a/stream/StreamCallTranslation/src/StreamCallTranslation.cpp +++ b/stream/StreamCallTranslation/src/StreamCallTranslation.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "StreamCallTranslation" diff --git a/stream/StreamCommon/StreamCommonProxy/inc/StreamCommonProxy.h b/stream/StreamCommon/StreamCommonProxy/inc/StreamCommonProxy.h index ffbdbb3b..082a2275 100644 --- a/stream/StreamCommon/StreamCommonProxy/inc/StreamCommonProxy.h +++ b/stream/StreamCommon/StreamCommonProxy/inc/StreamCommonProxy.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef StreamCommonProxy_H_ diff --git a/stream/StreamCommon/StreamCommonProxy/src/StreamCommonProxy.cpp b/stream/StreamCommon/StreamCommonProxy/src/StreamCommonProxy.cpp index 45260c44..082a452a 100644 --- a/stream/StreamCommon/StreamCommonProxy/src/StreamCommonProxy.cpp +++ b/stream/StreamCommon/StreamCommonProxy/src/StreamCommonProxy.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "StreamCommonProxy" diff --git a/stream/StreamCommon/StreamContextProxy/inc/StreamContextProxy.h b/stream/StreamCommon/StreamContextProxy/inc/StreamContextProxy.h index 22b2a977..f7159b62 100644 --- a/stream/StreamCommon/StreamContextProxy/inc/StreamContextProxy.h +++ b/stream/StreamCommon/StreamContextProxy/inc/StreamContextProxy.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMCONTEXTPROXY_H_ diff --git a/stream/StreamCommon/StreamContextProxy/src/StreamContextProxy.cpp b/stream/StreamCommon/StreamContextProxy/src/StreamContextProxy.cpp index f3acf5c7..b4f70d56 100644 --- a/stream/StreamCommon/StreamContextProxy/src/StreamContextProxy.cpp +++ b/stream/StreamCommon/StreamContextProxy/src/StreamContextProxy.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "StreamContextProxy" diff --git a/stream/StreamCommon/StreamSensorPCMData/inc/StreamSensorPCMData.h b/stream/StreamCommon/StreamSensorPCMData/inc/StreamSensorPCMData.h index 59e1b4e7..62f27acc 100644 --- a/stream/StreamCommon/StreamSensorPCMData/inc/StreamSensorPCMData.h +++ b/stream/StreamCommon/StreamSensorPCMData/inc/StreamSensorPCMData.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef StreamSensorPCMData_H_ diff --git a/stream/StreamCommon/StreamSensorPCMData/src/StreamSensorPCMData.cpp b/stream/StreamCommon/StreamSensorPCMData/src/StreamSensorPCMData.cpp index 135fb8bf..58dceed0 100644 --- a/stream/StreamCommon/StreamSensorPCMData/src/StreamSensorPCMData.cpp +++ b/stream/StreamCommon/StreamSensorPCMData/src/StreamSensorPCMData.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamSensorPCMData" diff --git a/stream/StreamCommon/StreamSensorRenderer/inc/StreamSensorRenderer.h b/stream/StreamCommon/StreamSensorRenderer/inc/StreamSensorRenderer.h index eeeba3e1..32e6e35f 100644 --- a/stream/StreamCommon/StreamSensorRenderer/inc/StreamSensorRenderer.h +++ b/stream/StreamCommon/StreamSensorRenderer/inc/StreamSensorRenderer.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMSENSORRENDERER_H_ diff --git a/stream/StreamCommon/StreamSensorRenderer/src/StreamSensorRenderer.cpp b/stream/StreamCommon/StreamSensorRenderer/src/StreamSensorRenderer.cpp index 306c29ce..7306e0ff 100644 --- a/stream/StreamCommon/StreamSensorRenderer/src/StreamSensorRenderer.cpp +++ b/stream/StreamCommon/StreamSensorRenderer/src/StreamSensorRenderer.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamSensorRenderer" diff --git a/stream/StreamCommon/StreamUltrasSound/inc/StreamUltraSound.h b/stream/StreamCommon/StreamUltrasSound/inc/StreamUltraSound.h index 4d6fb8be..9db11615 100644 --- a/stream/StreamCommon/StreamUltrasSound/inc/StreamUltraSound.h +++ b/stream/StreamCommon/StreamUltrasSound/inc/StreamUltraSound.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMULTRASOUND_H_ diff --git a/stream/StreamCommon/StreamUltrasSound/src/StreamUltraSound.cpp b/stream/StreamCommon/StreamUltrasSound/src/StreamUltraSound.cpp index e5e43c29..9000e165 100644 --- a/stream/StreamCommon/StreamUltrasSound/src/StreamUltraSound.cpp +++ b/stream/StreamCommon/StreamUltrasSound/src/StreamUltraSound.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamUltraSound" diff --git a/stream/StreamCommon/inc/StreamCommon.h b/stream/StreamCommon/inc/StreamCommon.h index 6b557035..cb8c44e5 100644 --- a/stream/StreamCommon/inc/StreamCommon.h +++ b/stream/StreamCommon/inc/StreamCommon.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center, Inc. are provided under the following license: - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear +Changes from Qualcomm Technologies, Inc. are provided under the following license: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMCOMMON_H_ diff --git a/stream/StreamCommon/src/StreamCommon.cpp b/stream/StreamCommon/src/StreamCommon.cpp index cfc26fb2..20216a65 100644 --- a/stream/StreamCommon/src/StreamCommon.cpp +++ b/stream/StreamCommon/src/StreamCommon.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamCommon" diff --git a/stream/StreamCompress/inc/StreamCompress.h b/stream/StreamCompress/inc/StreamCompress.h index dfafeb4e..bb4856bf 100644 --- a/stream/StreamCompress/inc/StreamCompress.h +++ b/stream/StreamCompress/inc/StreamCompress.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMCOMPRESS_H_ diff --git a/stream/StreamCompress/src/StreamCompress.cpp b/stream/StreamCompress/src/StreamCompress.cpp index d36d401e..e33c892e 100644 --- a/stream/StreamCompress/src/StreamCompress.cpp +++ b/stream/StreamCompress/src/StreamCompress.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamCompress" diff --git a/stream/StreamDummy/inc/StreamDummy.h b/stream/StreamDummy/inc/StreamDummy.h index ffe7136b..9e51e26e 100644 --- a/stream/StreamDummy/inc/StreamDummy.h +++ b/stream/StreamDummy/inc/StreamDummy.h @@ -28,7 +28,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMDUMMY_H_ diff --git a/stream/StreamDummy/src/StreamDummy.cpp b/stream/StreamDummy/src/StreamDummy.cpp index 5c03d604..5c190236 100644 --- a/stream/StreamDummy/src/StreamDummy.cpp +++ b/stream/StreamDummy/src/StreamDummy.cpp @@ -29,7 +29,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamDummy" diff --git a/stream/StreamHaptic/inc/StreamHaptics.h b/stream/StreamHaptic/inc/StreamHaptics.h index baaab435..04657a87 100644 --- a/stream/StreamHaptic/inc/StreamHaptics.h +++ b/stream/StreamHaptic/inc/StreamHaptics.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -34,7 +34,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMHAPTICS_H_ diff --git a/stream/StreamHaptic/src/StreamHaptics.cpp b/stream/StreamHaptic/src/StreamHaptics.cpp index 4cad7289..3abe0c66 100644 --- a/stream/StreamHaptic/src/StreamHaptics.cpp +++ b/stream/StreamHaptic/src/StreamHaptics.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the @@ -34,7 +34,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamHaptics" diff --git a/stream/StreamInCall/inc/StreamInCall.h b/stream/StreamInCall/inc/StreamInCall.h index 666eeb41..a9c76732 100644 --- a/stream/StreamInCall/inc/StreamInCall.h +++ b/stream/StreamInCall/inc/StreamInCall.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMINCALL_H_ diff --git a/stream/StreamInCall/src/StreamInCall.cpp b/stream/StreamInCall/src/StreamInCall.cpp index fb0865ed..032bae9b 100644 --- a/stream/StreamInCall/src/StreamInCall.cpp +++ b/stream/StreamInCall/src/StreamInCall.cpp @@ -28,7 +28,7 @@ * * ​​​​​Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "StreamInCall" diff --git a/stream/StreamNonTunnel/inc/StreamNonTunnel.h b/stream/StreamNonTunnel/inc/StreamNonTunnel.h index 92b901dd..0724cfa6 100644 --- a/stream/StreamNonTunnel/inc/StreamNonTunnel.h +++ b/stream/StreamNonTunnel/inc/StreamNonTunnel.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamNonTunnel/src/StreamNonTunnel.cpp b/stream/StreamNonTunnel/src/StreamNonTunnel.cpp index d46909ed..a6fe81e7 100644 --- a/stream/StreamNonTunnel/src/StreamNonTunnel.cpp +++ b/stream/StreamNonTunnel/src/StreamNonTunnel.cpp @@ -28,7 +28,7 @@ * * ​​​​​Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamNonTunnel" diff --git a/stream/StreamPCM/inc/StreamPCM.h b/stream/StreamPCM/inc/StreamPCM.h index 12c58b43..c8587dcb 100644 --- a/stream/StreamPCM/inc/StreamPCM.h +++ b/stream/StreamPCM/inc/StreamPCM.h @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMPCM_H_ diff --git a/stream/StreamPCM/src/StreamPCM.cpp b/stream/StreamPCM/src/StreamPCM.cpp index f94e5f5d..c0310908 100644 --- a/stream/StreamPCM/src/StreamPCM.cpp +++ b/stream/StreamPCM/src/StreamPCM.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamPCM" diff --git a/stream/StreamSoundTrigger/inc/PalRingBuffer.h b/stream/StreamSoundTrigger/inc/PalRingBuffer.h index f4b2f59d..de5c01f3 100644 --- a/stream/StreamSoundTrigger/inc/PalRingBuffer.h +++ b/stream/StreamSoundTrigger/inc/PalRingBuffer.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamSoundTrigger/inc/SoundTriggerEngine.h b/stream/StreamSoundTrigger/inc/SoundTriggerEngine.h index 38c9a6ab..5d6eac22 100644 --- a/stream/StreamSoundTrigger/inc/SoundTriggerEngine.h +++ b/stream/StreamSoundTrigger/inc/SoundTriggerEngine.h @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamSoundTrigger/inc/SoundTriggerEngineCapi.h b/stream/StreamSoundTrigger/inc/SoundTriggerEngineCapi.h index 75cce461..aed6fe51 100644 --- a/stream/StreamSoundTrigger/inc/SoundTriggerEngineCapi.h +++ b/stream/StreamSoundTrigger/inc/SoundTriggerEngineCapi.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license + * Changes from Qualcomm Technologies, Inc. are provided under the following license: * - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ diff --git a/stream/StreamSoundTrigger/inc/SoundTriggerEngineGsl.h b/stream/StreamSoundTrigger/inc/SoundTriggerEngineGsl.h index 97f72784..22dfc503 100644 --- a/stream/StreamSoundTrigger/inc/SoundTriggerEngineGsl.h +++ b/stream/StreamSoundTrigger/inc/SoundTriggerEngineGsl.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SOUNDTRIGGERENGINEGSL_H diff --git a/stream/StreamSoundTrigger/inc/StreamSoundTrigger.h b/stream/StreamSoundTrigger/inc/StreamSoundTrigger.h index 4f220909..9577e6d0 100644 --- a/stream/StreamSoundTrigger/inc/StreamSoundTrigger.h +++ b/stream/StreamSoundTrigger/inc/StreamSoundTrigger.h @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAMSOUNDTRIGGER_H_ diff --git a/stream/StreamSoundTrigger/src/PalRingBuffer.cpp b/stream/StreamSoundTrigger/src/PalRingBuffer.cpp index b6a1c81f..ecb421c5 100644 --- a/stream/StreamSoundTrigger/src/PalRingBuffer.cpp +++ b/stream/StreamSoundTrigger/src/PalRingBuffer.cpp @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: PalRingBuffer" diff --git a/stream/StreamSoundTrigger/src/SoundTriggerEngine.cpp b/stream/StreamSoundTrigger/src/SoundTriggerEngine.cpp index de4b41a8..cc64cbb2 100644 --- a/stream/StreamSoundTrigger/src/SoundTriggerEngine.cpp +++ b/stream/StreamSoundTrigger/src/SoundTriggerEngine.cpp @@ -26,9 +26,9 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/stream/StreamSoundTrigger/src/SoundTriggerEngineCapi.cpp b/stream/StreamSoundTrigger/src/SoundTriggerEngineCapi.cpp index f39732fc..e788dbdb 100644 --- a/stream/StreamSoundTrigger/src/SoundTriggerEngineCapi.cpp +++ b/stream/StreamSoundTrigger/src/SoundTriggerEngineCapi.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ATRACE_UNSUPPORTED #define ATRACE_TAG (ATRACE_TAG_AUDIO | ATRACE_TAG_HAL) diff --git a/stream/StreamSoundTrigger/src/SoundTriggerEngineGsl.cpp b/stream/StreamSoundTrigger/src/SoundTriggerEngineGsl.cpp index 7de81826..5e082ef4 100644 --- a/stream/StreamSoundTrigger/src/SoundTriggerEngineGsl.cpp +++ b/stream/StreamSoundTrigger/src/SoundTriggerEngineGsl.cpp @@ -29,7 +29,7 @@ * Changes from Qualcomm Technologies, Inc. are provided under the following license: * * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ATRACE_UNSUPPORTED #define ATRACE_TAG (ATRACE_TAG_AUDIO | ATRACE_TAG_HAL) diff --git a/stream/StreamSoundTrigger/src/StreamSoundTrigger.cpp b/stream/StreamSoundTrigger/src/StreamSoundTrigger.cpp index e6aad75f..f0ca57fd 100644 --- a/stream/StreamSoundTrigger/src/StreamSoundTrigger.cpp +++ b/stream/StreamSoundTrigger/src/StreamSoundTrigger.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: StreamSoundTrigger" diff --git a/stream/inc/Stream.h b/stream/inc/Stream.h index 3eefd6fc..aa4c5438 100644 --- a/stream/inc/Stream.h +++ b/stream/inc/Stream.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef STREAM_H_ diff --git a/stream/src/Stream.cpp b/stream/src/Stream.cpp index 2f3333bd..c1c6a62d 100644 --- a/stream/src/Stream.cpp +++ b/stream/src/Stream.cpp @@ -29,7 +29,7 @@ * ​​​​​Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: Stream" diff --git a/test/PalTest_main.c b/test/PalTest_main.c index 1f8ec17d..a1b12886 100644 --- a/test/PalTest_main.c +++ b/test/PalTest_main.c @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause * */ diff --git a/utils/inc/ACDPlatformInfo.h b/utils/inc/ACDPlatformInfo.h index a4e827ab..84dee7e4 100644 --- a/utils/inc/ACDPlatformInfo.h +++ b/utils/inc/ACDPlatformInfo.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ACD_PLATFORM_INFO_H diff --git a/utils/inc/ASRPlatformInfo.h b/utils/inc/ASRPlatformInfo.h index cb9590e7..3336f61a 100644 --- a/utils/inc/ASRPlatformInfo.h +++ b/utils/inc/ASRPlatformInfo.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ASR_PLATFORM_INFO_H diff --git a/utils/inc/AudioHapticsInterface.h b/utils/inc/AudioHapticsInterface.h index d9803192..4d7445af 100644 --- a/utils/inc/AudioHapticsInterface.h +++ b/utils/inc/AudioHapticsInterface.h @@ -26,10 +26,10 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Changes from Qualcomm Innovation Center are provided under the following license: + * Changes from Qualcomm Technologies, Inc. are provided under the following license:: * - * Copyright (c) 2022-2023, 2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef AUDIO_HAPTICS_INTERFACE_H diff --git a/utils/inc/BTUtils.h b/utils/inc/BTUtils.h index 49600451..fb255821 100644 --- a/utils/inc/BTUtils.h +++ b/utils/inc/BTUtils.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef BT_UTILS_H diff --git a/utils/inc/MemLogBuilder.h b/utils/inc/MemLogBuilder.h index 5d1aa64f..797c6df3 100644 --- a/utils/inc/MemLogBuilder.h +++ b/utils/inc/MemLogBuilder.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef MEMLOG_BUILDER_H diff --git a/utils/inc/MetadataParser.h b/utils/inc/MetadataParser.h index 2e0eb577..40d28813 100644 --- a/utils/inc/MetadataParser.h +++ b/utils/inc/MetadataParser.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef METADATA_PARSER_H diff --git a/utils/inc/PerfLock.h b/utils/inc/PerfLock.h index a8890c00..5e68ef30 100644 --- a/utils/inc/PerfLock.h +++ b/utils/inc/PerfLock.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/utils/inc/STUtils.h b/utils/inc/STUtils.h index 896eba42..388d8983 100644 --- a/utils/inc/STUtils.h +++ b/utils/inc/STUtils.h @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ST_UTILS_H diff --git a/utils/inc/SignalHandler.h b/utils/inc/SignalHandler.h index 22927ac2..3e1cbf61 100644 --- a/utils/inc/SignalHandler.h +++ b/utils/inc/SignalHandler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/utils/inc/SoundTriggerPlatformInfo.h b/utils/inc/SoundTriggerPlatformInfo.h index b7516e02..f995e3d9 100644 --- a/utils/inc/SoundTriggerPlatformInfo.h +++ b/utils/inc/SoundTriggerPlatformInfo.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SOUND_TRIGGER_PLATFORM_INFO_H diff --git a/utils/inc/Status.h b/utils/inc/Status.h index 48949601..c0074a7c 100644 --- a/utils/inc/Status.h +++ b/utils/inc/Status.h @@ -1,6 +1,6 @@ /** * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #pragma once diff --git a/utils/inc/Utils.h b/utils/inc/Utils.h index 3faa72e6..9484c76f 100644 --- a/utils/inc/Utils.h +++ b/utils/inc/Utils.h @@ -1,6 +1,6 @@ /** * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause **/ #pragma once diff --git a/utils/inc/VoiceUIPlatformInfo.h b/utils/inc/VoiceUIPlatformInfo.h index bbdcfbef..05d46dff 100644 --- a/utils/inc/VoiceUIPlatformInfo.h +++ b/utils/inc/VoiceUIPlatformInfo.h @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef VOICE_UI_PLATFORM_INFO_H diff --git a/utils/src/ACDPlatformInfo.cpp b/utils/src/ACDPlatformInfo.cpp index e347f411..b4acaa22 100644 --- a/utils/src/ACDPlatformInfo.cpp +++ b/utils/src/ACDPlatformInfo.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "ACDPlatformInfo.h" diff --git a/utils/src/ASRPlatformInfo.cpp b/utils/src/ASRPlatformInfo.cpp index 86feaee5..3dc23963 100644 --- a/utils/src/ASRPlatformInfo.cpp +++ b/utils/src/ASRPlatformInfo.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "ResourceManager.h" diff --git a/utils/src/AudioHapticsInterface.cpp b/utils/src/AudioHapticsInterface.cpp index 61859991..ba28bb3f 100644 --- a/utils/src/AudioHapticsInterface.cpp +++ b/utils/src/AudioHapticsInterface.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "AudioHapticsInterface.h" diff --git a/utils/src/BTUtils.cpp b/utils/src/BTUtils.cpp index 4118ba6c..b3a73dd5 100644 --- a/utils/src/BTUtils.cpp +++ b/utils/src/BTUtils.cpp @@ -1,6 +1,7 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: BTUtils" diff --git a/utils/src/ChargerListener.cpp b/utils/src/ChargerListener.cpp index d658e2aa..e104f9ea 100644 --- a/utils/src/ChargerListener.cpp +++ b/utils/src/ChargerListener.cpp @@ -17,9 +17,9 @@ * See the License for the specific language governing permissions and * limitations under the License. * -* Changes from Qualcomm Innovation Center are provided under the following +* Changes from Qualcomm Technologies, Inc. are provided under the following * license: -* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the diff --git a/utils/src/MemLogBuilder.cpp b/utils/src/MemLogBuilder.cpp index 69b1ed1e..51c12098 100644 --- a/utils/src/MemLogBuilder.cpp +++ b/utils/src/MemLogBuilder.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PAL_MEMLOG_UNSUPPORTED diff --git a/utils/src/MetadataParser.cpp b/utils/src/MetadataParser.cpp index 99464c18..fb1aa054 100644 --- a/utils/src/MetadataParser.cpp +++ b/utils/src/MetadataParser.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: MetadataParser" diff --git a/utils/src/PerfLock.cpp b/utils/src/PerfLock.cpp index 9f291e87..0145c0dc 100644 --- a/utils/src/PerfLock.cpp +++ b/utils/src/PerfLock.cpp @@ -1,6 +1,6 @@ /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * SPDX-License-Identifier: BSD-3-Clause */ #define NDEBUG 0 #define LOG_TAG "PAL: PerfLock" diff --git a/utils/src/STUtils.cpp b/utils/src/STUtils.cpp index 3afda84c..6edaa670 100644 --- a/utils/src/STUtils.cpp +++ b/utils/src/STUtils.cpp @@ -1,6 +1,6 @@ /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #define LOG_TAG "PAL: STUtils" diff --git a/utils/src/SignalHandler.cpp b/utils/src/SignalHandler.cpp index 8140aab4..a450d199 100644 --- a/utils/src/SignalHandler.cpp +++ b/utils/src/SignalHandler.cpp @@ -1,7 +1,7 @@ /* * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ //#define LOG_NDEBUG 0 diff --git a/utils/src/SoundTriggerPlatformInfo.cpp b/utils/src/SoundTriggerPlatformInfo.cpp index e7bef1f3..c05375ca 100644 --- a/utils/src/SoundTriggerPlatformInfo.cpp +++ b/utils/src/SoundTriggerPlatformInfo.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "ACDPlatformInfo.h" diff --git a/utils/src/Status.cpp b/utils/src/Status.cpp index 48f56053..c3bd8b85 100644 --- a/utils/src/Status.cpp +++ b/utils/src/Status.cpp @@ -1,6 +1,6 @@ /** * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "Status.h" diff --git a/utils/src/VoiceUIPlatformInfo.cpp b/utils/src/VoiceUIPlatformInfo.cpp index 164c923a..6d6b3492 100644 --- a/utils/src/VoiceUIPlatformInfo.cpp +++ b/utils/src/VoiceUIPlatformInfo.cpp @@ -28,7 +28,7 @@ * * Changes from Qualcomm Technologies, Inc. are provided under the following license: * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - * SPDX-License-Identifier: BSD-3-Clause-Clear + * SPDX-License-Identifier: BSD-3-Clause */ #include "VoiceUIPlatformInfo.h"