Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
3f095cb
Initial commit
quic-aditrath May 8, 2024
a72f3db
Create audioreach-repolinter.yml
quic-aditrath May 16, 2024
297851a
audioreach-graphservices: spf: Add header files for CAB and JBM modules
quic-aditrath Jul 3, 2024
d554de0
gpr: Update proc_name for GPR_IDS_DOMAIN_ID_APPS2_V domain ID to apps.
quic-aditrath Jul 3, 2024
e2925b4
acdb: Updated AML to include persist flag with set APIs.
quic-aditrath Jul 3, 2024
587a855
gsl: Add support for ACDB_CMD_GET_PROC_TAGGED_MODULES command
quic-aditrath Jul 3, 2024
78dea90
gsl: Add null check for allocated buffer handle.
quic-aditrath Jul 21, 2024
d60cccb
gsl: Update data type for num_buff iterator to uint32_t.
quic-aditrath Jul 21, 2024
2f0593b
gsl: Handle timeout for PRM_CMD_REQUEST_HW_RSC command to spf.
quic-aditrath Jul 21, 2024
dfde72b
gsl: Add check for number of CKVs before allocating memory.
quic-aditrath Jul 21, 2024
dd57066
gsl: Update error handling in gsl_shmem_handle_rsp() function.
quic-aditrath Jul 21, 2024
1ce0277
gsl: Modify get graph tkvs and ckvs api as per new structure definition.
quic-aditrath Jul 21, 2024
149e1ad
ar_util: Add null checks for log_pkt and log_pkt_ptr variables.
quic-aditrath Jul 21, 2024
938e644
acdb: Destroy acdb_client_lock mutex lock during acdb context manager…
quic-aditrath Jul 21, 2024
76a7c45
acdb: Add null check for graph key vector.
quic-aditrath Jul 21, 2024
3fcbd93
audioreach-graphservices: ar_osal: Add proper file handling in osal
quic-aditrath Jan 6, 2025
45a8bcd
ar_osal: Revert the stub implementation of ar_osal_log_pkt to support…
quic-aditrath Jan 6, 2025
c8c5822
gsl: Fix uninitialized variable & null pointer dereference issue
quic-aditrath Jan 6, 2025
848c7f5
audioreach-graphservices: update to common hw api interface
quic-aditrath Jan 6, 2025
ffdf1c7
audioreach-graphservices: add header file for multi modal activation
quic-aditrath Jan 6, 2025
c6eaa25
audioreach-graphservices: Add ASR module header file
quic-aditrath Jan 6, 2025
8d2b28d
ar_osal: enable ssr/crash trigger through property by default
quic-aditrath Jan 6, 2025
f5392ba
audioreach-graphservices: Update to common hw api interface
quic-aditrath Jan 6, 2025
ab16d7f
gpr_lx: Avoid GPR receiver thread exit on EINTR.
quic-aditrath Jan 6, 2025
03afaec
ar_util: fix repeated ssr triggering during error detection
quic-aditrath Jan 6, 2025
2405258
acdb: Change log level for non erroneous messages
quic-aditrath Jan 6, 2025
2dc4287
gsl: Skip debug token for Register Events opcode
quic-aditrath Jan 6, 2025
8b1c5f6
ar_osal: Fix 'ar_shmem_lock' is not unlocked before return
quic-aditrath Jan 6, 2025
54c151a
audioreach-graphservices: spf: add new parameters for pcm data use case
quic-aditrath Jan 6, 2025
b449758
audioreach-graphservices: add header files for us tone renderer
quic-aditrath Jan 6, 2025
fa55c7d
gsl: return ENOTREADY if the spf ready callback not received.
quic-aditrath Jan 6, 2025
f270e15
spf: Makefile: Move asps header files to common list
quic-aditrath Aug 1, 2024
fc90d02
ats_gateway: Add support for IP address argument for ats gateway
quic-aditrath Aug 1, 2024
8eb0f37
Makefile: Use consistent library naming convention
quic-aditrath Jan 6, 2025
37a0c12
ar_osal: Remove special characters from comments
quic-aditrath Jan 6, 2025
e4f3072
Makefile: Use strlcat and strlcpy functions when glibc >= 2.38
quic-aditrath Nov 21, 2024
1b12832
ar_osal: Include errno.h in ar_osal_servreg.c to fix compilation error
quic-aditrath Jan 6, 2025
64f80db
Makefile: Add configuration option for ION/DMA based shmem support
quic-aditrath Jan 6, 2025
4cfcfcc
or_sal: Add virtual memory based shared memory implementation
quic-aditrath Jan 6, 2025
c4b7f23
gpr: Add support for gpr intialization for ARE (SPF) on APPS.
quic-aditrath Jan 6, 2025
5177846
README: Normalize line endings
quic-aditrath Jan 16, 2025
041835c
README: Add link to AudioReach documentation
quic-aditrath Jan 16, 2025
fdbb9f4
README: Add link to meta-audioreach for Open Embedded build instructions
quic-aditrath Feb 13, 2025
8257af0
audioreach-graphservices: Add header files for Data Logging Service.
quic-aditrath Feb 10, 2025
812e8b9
Makefile: Add DLS headers to API list
quic-aditrath Feb 10, 2025
69fd116
gsl: Add support for DLS client.
quic-aditrath Feb 10, 2025
c478124
gsl: Update build files to compile DLS client
quic-aditrath Feb 10, 2025
9aae270
acdb: ats: Add support for the dls service
quic-aditrath Feb 7, 2025
fd41ac7
aml: ats: Update build file to compile DLS server
quic-aditrath Feb 10, 2025
955720a
Makefile: Update Makefile to configure ATS data logging over DLS
quic-aditrath Feb 10, 2025
053a434
acdb: Optimize VCPM Calibration blob to save memory
quic-aditrath Mar 17, 2025
8c1ca80
Makefile: Add API headers path
qti-sbojja May 13, 2025
d912fba
Merge pull request #3 from qti-sbojja/master
quic-aditrath May 16, 2025
499e7ee
ats: Makefile: Uncomment conditional block for ATS data logging
quic-aditrath May 21, 2025
88d5085
gsl: Return AR_EUNSUPPORTED when DLS feature is not supported
quic-aditrath May 26, 2025
41eb6f7
gsl: Makefile: Add conditional flag for ATS data logging via DLS
quic-aditrath May 26, 2025
cb65195
Merge pull request #5 from quic-aditrath/dls_config
quic-plai May 27, 2025
cf64772
Add qli-checkers workflow (#6)
njjetha May 27, 2025
bd35e29
CI: Add initial GitHub Actions
sairamreddybojja May 26, 2025
5940bcd
Merge pull request #4 from qti-sbojja/master
quic-aditrath May 30, 2025
2598251
ci: Fix presigned url formation issue
amal-qualcomm Jun 4, 2025
3216173
Merge pull request #9 from amal-qualcomm/master
quic-aditrath Jun 17, 2025
e64d595
CI: Update pre_merge workflow to use centralized reusable workflows
hasiburr-qti Jun 24, 2025
d3db279
Merge pull request #11 from hasiburr-qti/master
quic-aditrath Jul 1, 2025
fcc458a
gsl: Fix incorrect size assignment for DLS
Jul 8, 2025
13ea91d
acdb: Fix crash caused by real-time graph modification
Aug 4, 2025
fc0b311
Merge pull request #13 from quic-annemari/master
quic-plai Aug 28, 2025
8c8a258
CI: Replace qli-checkers with qcom-preflight-checks workflow
ffrancis123 Sep 11, 2025
f6e14da
Merge pull request #16 from ffrancis123/master
quic-aditrath Sep 15, 2025
21aa2ff
args: fix for crash issue due to pointer overwritten
mpratyus Oct 8, 2025
492c2d1
gsl: fix dynamic PD concurrency graph handling
Feb 18, 2025
7e65690
gsl: send dynamic pd satellite info to master DSP
Feb 20, 2025
c931be5
args : Update ASR module's header file to support logger mode
Feb 17, 2025
3377cc8
spf: update haptics Rx and VI apis
Feb 13, 2025
c74dc48
args: Update ASR module's header file to support timestamp based ASR
Mar 19, 2025
bb3c2d2
gsl: fix handling dynamic PD service notifications
Feb 27, 2025
275da5d
args: fix array out of bounds exception
Apr 4, 2025
7260773
gsl: check and create gpr packet only if satellites are available
Mar 24, 2025
4b6ce06
args: add asps header file for speaker diarization
Feb 18, 2025
d9aab85
gsl: skip dynamic PD memory unmap if PD has crashed
Feb 28, 2025
590c39c
gsl: Increase graph_start timeout
Apr 22, 2024
650dca3
args: Add speaker diarization module's api.h file
Mar 19, 2025
5373913
Revert "gsl: use safe heap for MDF dynamic PD"
Mar 4, 2025
af07e6d
SPF: update SPR module API
quic-ajender Apr 7, 2025
6d2f0a1
args: Add output status value enum
Mar 27, 2025
2ec8f4f
GSL: Add GSL STOP command timeout
Jun 25, 2024
ce3c402
gsl: use safe heap for satellite dynamic PD
Mar 4, 2025
eaff59a
gsl: fix SSR down status flag setting
Apr 22, 2025
5271efc
ar_osal: fix service name to pd mapper
Apr 22, 2025
35ce76d
gsl: deregister persistent calibration in graph close
quic-yidongh Apr 2, 2025
d271da8
ar_osal: skip dynamic PD memory unmap if PD is not active
Feb 28, 2025
ed42439
args : change to add header file for NMT module
Apr 14, 2025
672b341
args :change to add header file for TTS module
Mar 27, 2025
263ba45
spf: api: Add spv7 related module defs
Mar 14, 2025
70adfc6
gsl: deregister dynamic pd after persist cal is freed
May 1, 2025
092eee7
gsl: prevent coupled SSR if dynamic pd is not active
May 13, 2025
32fb1d0
gsl: add MDF support for persist cal tables for voice call
Mar 11, 2025
42ecac0
args: gsl: add rtc support for MDF persist cal tables
Mar 17, 2025
f5d8021
gsl: skip unsuccessful PD service registration for a subsystem
May 19, 2025
27a2a97
args: acdb: support persist calibration per processor id
Mar 12, 2025
6688ebb
gsl: Add Null pointer check
Jun 12, 2025
60e2d17
gsl: aviod potential null dereference
Jun 18, 2025
f606130
spf: api: Add spv5 related param id defintions
Jun 23, 2025
68297a3
args: Fix issue for persist cal index
Jun 19, 2025
431874c
args: gsl: initialize AcdbCmdGetSubgraphProcIdsRsp to NULL
Jun 30, 2025
58f3563
args: add pointer memory address checks in acdb_parser_get_chunk
May 15, 2025
4997a23
gsl: add CKV num check
Jun 12, 2025
c6ccde9
gsl: Increase graph_prepare timeout
Jul 7, 2025
4307128
args: Strengthen read_size verification robustness
Jun 9, 2025
1c00f23
args: update header for history data capture module
yidongh Jun 6, 2025
50ba73a
args: update proc id properly for acquiring calibration
yidongh Jul 9, 2025
2ae85bc
args: fix potential null pointer dereference
Jul 16, 2025
dddd41e
args : update header file for NMT module
Jun 5, 2025
938660c
args : handle the already defined values using namespace
Jun 18, 2025
9c71a20
acdb: fix only 1st model being load into payload
Jul 28, 2025
fafecb1
acdb: fix memory reuse
Aug 6, 2025
8862d52
ar_osal: Updated READ_ONLY_WRITE ar_fopen handling
Aug 12, 2025
6c72d32
acdb: fix crash due to wrong source size in ar_memcpy
Sep 12, 2025
e13ed08
gsl: use non-zero token for gpr packet
yidongh Sep 1, 2025
166496f
gsl: hold open_close_lock until spf_restart flag is reset
yidongh Sep 8, 2025
f5db56c
args: update rx_haptics_api header file.
Jul 12, 2024
4f7dfd4
gsl: set address type in memory map command
Jan 17, 2025
a52f2c1
gsl: add support for SSR handling of dynamic pd
Mar 25, 2025
f8ebf4f
gsl: fix handling dynamic PD service notifications
Feb 27, 2025
df793aa
gsl: support offloading to dynamic PD
Oct 22, 2024
52e3b61
GSL: check the RSP and unmap the memory if needed
quic-qianch Oct 15, 2024
fbd6e23
gsl: use safe heap for satellite dynamic PD
Mar 4, 2025
0a46031
args: MDSP code adaptation
Sep 5, 2024
52cfbaf
gsl: fix static analysis errors in mdf utils
Jun 6, 2025
90ae462
gsl: reset ss_restarted_flags if there's no loaded mem
quic-yidongh Sep 23, 2024
8a0072b
args: add retry mechanism and update graph open timeout
Nov 18, 2024
e98ac38
gsl: fix compilation issues in GSL
Dec 13, 2024
d89e1da
gsl: Remove pkv NULL point detection
Nov 19, 2024
b78e76a
gsl: fix compilation issues in GSL
Dec 13, 2024
3f64a69
gpr: set thread name for GPR receiver thread
quic-qianch Nov 29, 2024
6270d4a
gpr: Add changes to add version.
sauravk-git Feb 12, 2025
9dd1df5
ar_osal: add retry mechanism for opening audio memory driver
sauravk-git Feb 12, 2025
496c8a7
ar_osal: change to disable msm_audio_ion support
Mar 20, 2025
0a250a0
ar_osal: Add interface for dynamic pd
Oct 22, 2024
580e97a
ar_osal: create dynamic pd at run time
Oct 22, 2024
c204e89
args: Update SPF and ASPS sources,remove AMDB and media format code
rchiluka29 Jul 14, 2025
27195cb
gsl: Update Makefiles to enable lib versioning
sauravk-git Feb 12, 2025
a9e046a
args: Update the VOID type to void for compilation issues.
Sep 27, 2024
0a01ba7
ar_util: Add change to enable versioning
sauravk-git Feb 12, 2025
a27bc72
ats:add miscellaneous change for code compilation
sauravk-git Feb 12, 2025
5382991
args: add LT VERSION support and kernel header for custom stack
sauravk-git Feb 12, 2025
5495ae2
args:spf: Add header file for sound dose
Oct 9, 2024
c55e272
args: change to enable compilation of args for GCC 14.2
mpratyus Oct 8, 2025
ebd75c6
ar_osal: return NULL when PD notifier is disable
qti-sbojja Oct 1, 2025
e0533db
Merge pull request #18 from mpratyus/staging
quic-aditrath Nov 10, 2025
810bd79
Merge pull request #17 from qti-sbojja/master
quic-aditrath Nov 13, 2025
c7de981
armor: Add API compatibility checker configuration file
ffrancis123 Nov 24, 2025
07a8134
Merge pull request #29 from ffrancis123/backward
quic-aditrath Nov 26, 2025
ad82ec0
Add ARMOR workflow for header compatibility checks
ffrancis123 Dec 3, 2025
bef28bd
Merge pull request #31 from ffrancis123/armor
quic-aditrath Dec 4, 2025
ce5d59f
args: Add new spf header for spatial audio headtracking
Sep 17, 2025
21f2018
Add sa_hdt_api file support to headtracking module
rchiluka29 Nov 4, 2025
360131d
Merge pull request #32 from rchiluka29/args_changes
quic-aditrath Dec 16, 2025
3fa4f63
Use meta-qcom environment in build script
ffrancis123 Dec 23, 2025
e9ecfa8
args: read spf timeout data from acdb
shijlin-1224 Sep 3, 2025
186914a
args: configure options update for dummy diag
man-rav Oct 27, 2025
ee709b3
args: osal: makefile adaptations for diag & header inclusions
man-rav Oct 27, 2025
1a81bcc
args: spf: Include SPF API support for QAIF
vangala80 Sep 18, 2025
25ab613
gsl: fix pointer type mismatch in SPF timeouts parsing
tkanfade Dec 22, 2025
46fb722
Merge pull request #35 from ffrancis123/qcom
ffrancis123 Dec 24, 2025
4dfbdf8
Merge pull request #30 from ffrancis123/UP
ffrancis123 Dec 24, 2025
c7b89c3
configure AWS runner for Armor
ayukum-hyd Dec 29, 2025
9ec418a
Merge pull request #36 from ayukum-hyd/master
ffrancis123 Jan 7, 2026
ad3c128
args: update LOCAL_PROPRIETARY_MODULE in makefile
mpratyus Jan 8, 2026
24faee6
args: add android.bp to expose the header file
mpratyus Jan 8, 2026
0afee07
Merge pull request #39 from mpratyus/args_staging
quic-aditrath Jan 8, 2026
4cf9335
Merge pull request #40 from mpratyus/args_adding_bp
quic-aditrath Jan 8, 2026
b62bba8
args: update LOCAL_PROPRIETARY_MODULE in ar_osal and gsl
mpratyus Jan 8, 2026
8ea0cbe
Merge pull request #41 from mpratyus/args_ap
quic-aditrath Jan 9, 2026
1dc7063
Armor: Switch API compatibility checker to blocking mode
ffrancis123 Jan 9, 2026
0f34ab8
args: Skip including subdir makefiles when using stub HAL
mpratyus Jan 12, 2026
f7c27e8
Merge pull request #43 from ffrancis123/blocking
ffrancis123 Jan 12, 2026
5c03f35
Merge pull request #44 from mpratyus/args_android
quic-aditrath Jan 13, 2026
ca12c7e
Makefile: spf: Add audio_if_api.h to API headers path.
quic-aditrath Jan 16, 2026
5ba903f
Merge pull request #47 from quic-aditrath/spf_headers
quic-aditrath Jan 16, 2026
c5c9f06
CI: Switch preflight checks to pull_request
ffrancis123 Jan 23, 2026
2719d3c
Merge pull request #53 from ffrancis123/copy_fix
quic-aditrath Jan 23, 2026
0c7dcab
args: Add null checks for heap_caldata_node&req_caldata_node
shijlin-1224 Oct 10, 2025
cb6d445
args: ignore zero header sized chunks
Nov 3, 2025
4f15766
gsl: Avoid sub-overflow when calculating pointer offsets
shijlin-1224 Nov 21, 2025
f5ff09d
Merge pull request #46 from ffrancis123/upstream
quic-aditrath Jan 29, 2026
9b412bd
Update copyright headers to reflect Qualcomm Technologies, Inc.
Jan 13, 2026
62ba611
Update copyright headers and license identifiers
Jan 16, 2026
7a76df6
Merge pull request #45 from 0radhika00/copyright
quic-aditrath Feb 3, 2026
cd0e820
CI: Update pre-merge build flows
ffrancis123 Feb 13, 2026
961709f
Merge pull request #57 from ffrancis123/work_pr
ffrancis123 Feb 13, 2026
ebc684f
CI: Add job to filter test-ready entries from build_matrix for LAVA
ffrancis123 Feb 18, 2026
4ffb535
Merge pull request #58 from ffrancis123/pub
ffrancis123 Feb 19, 2026
a8aa88e
Adds pre_build script to download & run SDK script
hasiburr-qti Feb 25, 2026
86282a4
Merge pull request #61 from hasiburr-qti/add-prebuild-setup-script
ffrancis123 Mar 16, 2026
c25975e
Enable RPI target in pre-merge workflows
ffrancis123 Mar 9, 2026
cd79d3e
Merge pull request #66 from ffrancis123/ras
ffrancis123 Mar 16, 2026
ee33025
Grant workflow permissions to enable PR checks in pre-merge build
ffrancis123 Mar 24, 2026
71554d1
Merge pull request #70 from ffrancis123/fix
ffrancis123 Mar 24, 2026
75a722c
args: cshm: client shared memory support
LakshmiPrahitha Jan 9, 2025
4f349cd
gsl: remove definition from source file
LakshmiPrahitha Mar 18, 2026
17fca17
Merge pull request #59 from ffrancis123/upstream
quic-aditrath Mar 24, 2026
1d2017a
Enable Kaanapali and Pakala target compilation
ffrancis123 Mar 24, 2026
e6de84f
Merge pull request #74 from ffrancis123/knp
ffrancis123 Mar 25, 2026
3e71049
Enable ABI checks
ffrancis123 Mar 23, 2026
df4e866
Merge pull request #71 from ffrancis123/pr
ffrancis123 Mar 25, 2026
6299c76
CI: Remove CFLAGS override and update configure header path
ffrancis123 Jan 16, 2026
dbb841a
Merge pull request #48 from ffrancis123/cflag
ffrancis123 Mar 30, 2026
bf9600e
spf: api: Update haptics api changes for SH 3.1
Jan 13, 2026
ea368f9
osal/shmem: add support to differentiate ARM vs DSP data processing
samiyada Feb 18, 2026
9cfd577
args: spf: add headers to support ASPS based ASR usecase
yidongh Jan 16, 2026
0722e9d
SPF: Add Soft Pause Module API Header
Feb 3, 2026
b4debf2
osal/shmem: clean up and refine APSS‑specific sys_id validation logic
samiyada Mar 31, 2026
a3223b0
Merge pull request #75 from ffrancis123/upstream
quic-aditrath Apr 3, 2026
6ef6120
Makefile: SPF: Add ASR usecase API header to API paths
ffrancis123 Apr 6, 2026
9e83632
Merge pull request #76 from ffrancis123/le
quic-aditrath Apr 6, 2026
bc23469
library versioning in build configuration
QTI-Quill Nov 1, 2024
09a6449
Merge pull request #62 from rchiluka29/args_version
quic-aditrath Apr 15, 2026
ea87e90
args: gpr: Remove redundant NULL check
Mar 24, 2026
fae28cb
args: Fix double free of global persist calibration data
Mar 24, 2026
64dc405
args: Fix NULL dereference caused by invalid old_node pointer
Mar 24, 2026
875a619
args: Add bounds checking for persist_cal_idx to prevent out-of-bounds
Mar 24, 2026
897ba26
spf: Add necessary headers support to build
rchiluka29 Mar 17, 2026
2cf853c
Merge pull request #78 from ffrancis123/upstream
quic-aditrath Apr 28, 2026
08062cd
Remove unused comdef.h include from audtp.h
qti-sbojja Jan 7, 2026
002a53b
ar_osal: add USE_LIBDIAG_HEADERS flag and drop liblog dependency
qti-sbojja Jan 12, 2026
65320f2
Merge pull request #42 from qti-sbojja/diag_enable
svutukur20 May 1, 2026
4b952e8
args: Add VAD and SH_MEM module headers
Apr 13, 2026
fae5ad4
Merge pull request #84 from ffrancis123/fix
ffrancis123 May 13, 2026
cd56461
ci: align stale workflow settings
Sandhya1236 Feb 23, 2026
b4281ee
args: spf: update mma api to support synthetic detection
yidongh Apr 9, 2026
afb4367
aml: Fix underflow crash caused by invalid delta file
essi-kode May 16, 2026
08ebe0a
ar_osal: linux: Add generic physical shared memory allocator
quic-annemari Mar 23, 2026
a54038d
spf: Add new module api headers for offload spatial audio feature
Apr 22, 2026
c771c89
audio: mdsp: enable MDSP_PROC build flag
samiyada Apr 27, 2026
e419c58
spf: api: Add miqster header file for audio zoom
Feb 28, 2025
5f418ad
Merge pull request #86 from ffrancis123/upstream
quic-aditrath May 19, 2026
4e6b10d
ar_osal/shmem: Fix sys_id type mismatch in ar_shmem_validate_sys_id
quic-aditrath May 14, 2026
2e543d9
ar_osal/shmem: Handle posix_memalign return value
quic-aditrath May 14, 2026
67aeac5
Merge pull request #87 from AudioReach/aml-delta-file-fixes
essi-kode May 20, 2026
4a3dcf6
dls: Add changes to enable DLS running on ADSP
quic-annemari May 21, 2026
2d09026
ats/adie: Ensure error code is logged in ATS_ERR messages
quic-aditrath May 22, 2026
6cf69f8
Merge pull request #89 from quic-aditrath/aml_logging_fix
coral-public-ci[bot] May 22, 2026
3008c18
Merge pull request #83 from quic-annemari/master
quic-aditrath May 25, 2026
8445aee
Merge pull request #85 from quic-aditrath/osal_shmem_fixes
coral-public-ci[bot] May 27, 2026
5d66c57
Switch pre-merge workflow to pull_request and add LAVA trigger flow
ffrancis123 Jun 4, 2026
9a15566
Merge pull request #91 from ffrancis123/switch
ffrancis123 Jun 5, 2026
54b310c
Merge 'v1.0.0' into Debian packaging branch 'debian/pr/1.0.0-1'
qcom-service-bot Jun 11, 2026
ca77897
Update changelog version to 1.0.0-1 and UNRELEASED suite
qcom-service-bot Jun 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ifneq ($(AUDIO_USE_STUB_HAL), true)
include $(call all-subdir-makefiles)
endif

2 changes: 1 addition & 1 deletion CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[GitHub.CoC](mailto:github.coc@qti.qualcomm.com?subject=GitHub%20Qualcomm%20Code%20of%20Conduct%20Report).
[GitHub.QuIC.CoC](mailto:GitHub.QuIC.CoC@qti.qualcomm.com?subject=GitHub%20QuIC%20Code%20of%20Conduct%20Report).
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
66 changes: 9 additions & 57 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,76 +1,28 @@
# Contributing to <REPLACE-ME>
## Contributing to AudioReach Graph Service

Hi there!
We’re thrilled that you’d like to contribute to this project.
Your help is essential for keeping this project great and for making it better.

## Branching Strategy

Development happens directly on branch main. Open a PR targeting main
In general, contributors should develop on branches based off of `master` and pull requests should be made against `master`.

## Submitting a pull request

1. Please read our [code of conduct](CODE-OF-CONDUCT.md) and [license](LICENSE.txt).
1. [Fork](https://github.com/qualcomm-linux/pkg-template/fork) and clone the repository.

```bash
git clone https://github.com/qualcomm-linux/pkg-template.git
```

1. Create a new branch based on `main`:

```bash
git checkout -b <my-branch-name> main
```

1. Create an upstream `remote` to make it easier to keep your branches up-to-date:

```bash
git remote add upstream https://github.com/qualcomm/<REPLACE-ME>.git
```

1. Please read our [code of conduct](CODE-OF-CONDUCT.md) and [license](LICENSE).
1. Fork and clone the repository.
1. Create a new branch based on `master`: `git checkout -b <my-branch-name> master`.
1. Make your changes, add tests, and make sure the tests still pass.
1. Commit your changes using the [DCO](https://developercertificate.org/). You can attest to the DCO by commiting with the **-s** or **--signoff** options or manually adding the "Signed-off-by":

```bash
git commit -s -m "Really useful commit message"`
```

1. After committing your changes on the topic branch, sync it with the upstream branch:

```bash
git pull --rebase upstream main
```

1. Push to your fork.

```bash
git push -u origin <my-branch-name>
```

The `-u` is shorthand for `--set-upstream`. This will set up the tracking reference so subsequent runs of `git push` or `git pull` can omit the remote and branch.

1. [Submit a pull request](https://github.com/qualcomm/<REPLACE-ME>/pulls) from your branch to `main`.
1. Commit your changes using the [DCO](http://developercertificate.org/). You can attest to the DCO by commiting with the **-s** or **--signoff** options or manually adding the "Signed-off-by":
1. Push to your fork and submit a pull request from your branch to `master`.
1. Pat yourself on the back and wait for your pull request to be reviewed.

## Security Analysis of Pull Requests

To maintain the security and integrity of this project, all pull requests from external contributors are automatically scanned using [Semgrep](https://github.com/semgrep/semgrep) to detect insecure coding patterns and potential security flaws.

**Static Analysis with Semgrep:** We use Semgrep to perform lightweight, fast static analysis on every PR. This helps identify risky code patterns and logic flaws early in the development process.

**Contributor Responsibility:** If any issues are flagged, contributors are expected to resolve them before the PR can be merged.

**Continuous Improvement:** Our Semgrep ruleset evolves over time to reflect best practices and emerging security concerns.

By submitting a PR, you agree to participate in this process and help us keep the project secure for everyone.


Here are a few things you can do that will increase the likelihood of your pull request to be accepted:

- Follow the existing style where possible. **INSERT LINK TO STYLE, e.g. PEP8 for python**
- Follow the existing style where possible. We try and adhere to [pep8](https://www.python.org/dev/peps/pep-0008/).
- Write tests.
- Keep your change as focused as possible.
If you want to make multiple independent changes, please consider submitting them as separate pull requests.
- Write a [good commit message](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
- It's a good idea to arrange a discussion with other developers to ensure there is consensus on large features, architecture changes, and other core code changes. PR reviews will go much faster when there are no surprises.
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. 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.

3. 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.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

SPDX-License-Identifier: BSD-3-Clause
26 changes: 0 additions & 26 deletions LICENSE.txt

This file was deleted.

1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBDIRS = spf ar_osal ar_util acdb gpr gsl acdb/ats
146 changes: 9 additions & 137 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,146 +1,18 @@
# pkg-template
# AudioReach Graph Service

This repository serves as a template for creating Debian package repositories within the Qualcomm Linux ecosystem. It provides the essential structure, GitHub workflows, and configuration necessary to integrate with the [qcom-build-utils](https://github.com/qualcomm-linux/qcom-build-utils) repository, enabling standardized Debian package building processes.
## Introduction

## Quick Start
This repository hosts a set of platform independent graph service libraries and implementation of abstraction layer for different OS and platform. These libraries together setup and manage audio graphs in the signal processing framework.

To create a new Debian package repository using this template:
## Documentation

1. Navigate to this repository's GitHub page and click the **"Use this template"** button located in the top right corner.
2. Select **qualcomm-linux** as the organization in the drop-down menu. This is necessary.
3. Name the new repository with the prefix `pkg-` to adhere to the naming convention for package repositories. This is necessary.
4. Ensure the **"Include all branches"** option is enabled. Otherwise by default, only the default branch "main" is cloned.
Refer AudioReach docs [here](https://audioreach.github.io/design/args_design.html)

## Branches
## Build instructions

- **main**: The primary branch containing workflow logic in the `.github/` folder, along with boilerplate documentation files such as license, contribution guidelines, and this README.
- **debian/qcom-next**: An orphan branch with unrelated history from main. It contains a debian/ folder with template files. Its just to give a starting point and structure. The first job for the user templating from this repo will be to update this debian/ folder. The information about the name **debian/qcom-next** and other naming conventions can be found [here](https://qualcomm-confluence.atlassian.net/wiki/spaces/LinuxCoreOS/pages/2879858691/pkg-+repository+specification)

## Workflows

The `main` branch includes the following workflows in the `.github/workflows/` directory:

- **qcom-preflight-checks.yml**: A sanity check workflow inherited from the base Qualcomm template.
- **stale-issues.yml**: A workflow for managing stale issues, also inherited from the base template.
- **build-debian-package.yml**: Builds the Debian package for this repository. This workflow serves as an entry point that invokes reusable workflows from the centralized qcom-build-utils repository.
- **pr-pre-post-merge.yml**: This workflow executes during a PR, and once the PR is merged.
- **promote-upstream.yml**: Promotes the package's tracking version to a new upstream release. This workflow also triggers reusable workflows in qcom-build-utils.
- **release**: Used to trigger a release of a package

## IMPORTANT: Workflow to paste in the upstream source repo

The .github/TO_PASTE_IN_UPSTREAM_REPO/pkg-build-pr-check.yml needs to be transfered over to the source repo.
Once this is done, delete the TO_PASTE_IN_UPSTREAM_REPO as it is not necessary to keep in this repository once the workflow has been transfered.

**This workflow needs to be put in the default branch of the source repo (likely branch main unless you modify it), otherwise it wont work** This is per new December Github update

## Repository Configuration

### Runners

All the workflows are running on the github arm64 runners. Some sections need to run on the AWS runners where access to S3 buckets and artifactory. You will need to ask **Steve Manley** to enable the repo for the AWS runners.

### GHCR Registry Access

The build workflows rely on the `pkg-builder` container image hosted in the qualcomm-linux GitHub Container Registry (GHCR). For your newly created repository to be able to pull this image, it must be explicitly granted `packages:read` access.

To request this, please contact **Mark Matyas** (mmatyas@qti.qualcomm.com) and ask him to add your repository to the list of repositories authorized to access the `pkg-builder` package. The relevant settings page is:

https://github.com/orgs/qualcomm-linux/packages/container/pkg-builder/settings

### Repository Variables

Set the following repository variables to establish links between upstream and package repositories:

- **UPSTREAM_REPO_GITHUB_NAME**: In this package repo, this is the GitHub name of the upstream repository (e.g. in the case of the pkg-example, `qualcomm-linux/qcom-example-package-source`).
- **PKG_REPO_GITHUB_NAME**: This variable is set in the upstream project repo; the GitHub name of the package repository (e.g., `qualcomm-linux/pkg-example`).

### Branch Protection Rules

Configure branch protection for `debian/**` and `qcom/**`:

- Restrict deletions.
- Require pull requests before merging.
- Block force pushes.
- Add `build / build-debian-package` as a required status check.
- Add the `qcom-service-bot` account with admin rights
- Add the Admin role to the branche protection ruleset so that the qcom-service-bot can push directly to those branches
### Additional Settings

- Enable **"Automatically delete head branches"** for pull requests.
- Allow only merge commits for pull request merges.
- Enable **release immutability** in the upstream repository.
- Add the Qualcomm Github Service bot as a user with write access :
- While the repo is private, add the Github user **qcom-service-bot**.
- If/when the repo is made public, there will be a big change in how the contributors are handled.
After that, the contributors list is cleared, and one need to re-enroll as a contributor. The way
to do that is completely different from when the repo was private. When it was private, the creator
of the repo had the possibility to go into the repo settings and add whoever. When made public, the
repo's maintainer/contributor list is managed by a Qualcomm internal mailing list. If the repo is
named pkg-foo, then the Maintainer list will be named Maintainers.pkg-foo, and one need to request
access via https://lists.qualcomm.com, find the list and ask access. For the bot, you must add it via
its qualcomm username **githubservice**@qti.qualcomm.com, as opposed to its Github handle above.

## Making your pkg-repo to public

When your pkg-repo is mature enough, it will need to be made public.

### How to make the repo go public

The first step in making a repo go public is the Tradesmark/legal process.
Your POC (Person of Contact) in this step is [Stephanie Arce](sarce@qti.qualcomm.com)

You need to [complete an OSS Contribution Request](https://jira-dc4.qualcomm.com/jira/secure/CreateIssue.jspa?pid=46536&issuetype=13440)

Here is a bit of help on the mandatory fields when filling the form:

- Components : Select "Other"
- Summary : Give a short description such as "Debian packaging repository for X"
- Project name: This would be the repo name, such as "pkg-example"
- Destination URL: Give the Github URL, such as "www.github.com/qualcomm-linux/pkg-example"
- Description: Give a description about the repo being a debian packaging repo, which packages another upstream project X
- Project Licenses: Give the license of the repo. Unless something changes, it should remain BSD-3-Clause License.
- Contribution plan:
- Project Description: You can give the same project description as above
- What are ourr general plan with the Project: Talk about it being the debian packaging for project X
- Do we have any Leadership positions in the project: Give yourself/manager
- Is Qualcomm expanding the project by contributing technology implementations: Likely a simple no

More information can be found [here](https://github.qualcomm.com/pages/osdo/handbook/qcom-github/docs/new-project-checklist/)

Once submitted, it will generally take a couple of days to a week to get approval from Legal.

The, once you receive an email about the acceptance of the Legal team, you will have to submit a ticket about enabling the repo.

In this process, your POC will be [Mark Matyas](mmatyas@qti.qualcomm.com)

Complete the form : https://ossops.qualcomm.com/github/enable-repo/

### Note about Github Repo roles after going public

When creating a repo withing the organization, it always starts as a private repo and one need to go through an approval
process in order to have the repo go public.

Upon creation of the repo, the person who created it gets to be assigned the maintainer responsability and has full control
over it in the settings. When the repo goes public, this changes. The repo creator stops having all the powers over the repo,
and in order to join the repo as a contributor, one needs to enroll via a github mailing list instead of directly through the repo
settings.

This is the link to go to in order to ask to be a contributor or a maintainer of a Qualcomm publib github repo :
https://lists.qualcomm.com/ListManager

In the searchbox, one need to find the contributor/maintainer list corresponding to the repo.
If the repo is named "pkg-example", then the list(s) to search for are :

- contributors.pkg-example
- maintainers.pkg-example

It takes about an hour between the list acceptance and the new role to reflect in Github

## Getting in Contact

For support or inquiries, contact sbeaudoi@qti.qualcomm.com.
Graph service repository supports various build systems: Android, Autotools. CMake is work in progress.
Refer meta-audioreach [README](https://github.com/Audioreach/meta-audioreach?tab=readme-ov-file#openembedded-build--development-process) for instructions to use Graph Service on OpenEmbedded system.

## License

pkg-template is licensed under the [BSD-3-Clause License](https://spdx.org/licenses/BSD-3-Clause.html). See [LICENSE.txt](LICENSE.txt) for the full license text.
Graph service is licensed under the BSD-3-Clause. Check out the [LICENSE](LICENSE) for more details.
31 changes: 0 additions & 31 deletions SECURITY.md

This file was deleted.

Loading
Loading