refactor: platform-neutral API cleanup - rename Android-specific symbols and remove vendor path hardcoding - #154
Open
Vinayak Katoch (quic-vkatoch) wants to merge 4 commits into
Conversation
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
April 24, 2025 04:00
5ad182f to
e92d2c8
Compare
Contributor
|
Please check if you can break the change into multiple commits instead of a single commit. |
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
April 25, 2025 08:33
e92d2c8 to
66cba44
Compare
|
This pull request has been marked as stale due to 60 days of inactivity. To prevent automatic closure in 10 days, remove the stale label or add a comment. You can reopen a closed pull request at any time. |
Contributor
|
Vinayak Katoch (@quic-vkatoch), can you please rebase this PR? |
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
3 times, most recently
from
August 12, 2025 10:48
0ffa6c4 to
f7d23d7
Compare
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
August 12, 2025 11:21
f7d23d7 to
4e34aac
Compare
Contributor
Author
Done |
Ekansh Gupta (ekanshibu)
requested changes
Aug 24, 2025
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
August 25, 2025 06:26
4e34aac to
44fd420
Compare
Vinayak Katoch (quic-vkatoch)
requested a review
from Ekansh Gupta (ekanshibu)
August 25, 2025 06:30
Ekansh Gupta (ekanshibu)
previously approved these changes
Sep 1, 2025
Ekansh Gupta (ekanshibu)
enabled auto-merge
September 1, 2025 04:27
auto-merge was automatically disabled
October 13, 2025 16:56
Head branch was pushed to by a user without write access
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
2 times, most recently
from
October 13, 2025 17:14
ef69f29 to
040ef4c
Compare
Vinayak Katoch (quic-vkatoch)
requested review from
Ekansh Gupta (ekanshibu) and
Dmitry Baryshkov (lumag)
October 14, 2025 06:12
Dmitry Baryshkov (lumag)
suggested changes
Oct 14, 2025
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
October 22, 2025 17:48
040ef4c to
e26a068
Compare
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
January 13, 2026 17:32
056c191 to
9d4d996
Compare
Bharath Kumar V (quic-bkumar)
previously approved these changes
Jan 14, 2026
Contributor
Author
|
Dmitry Baryshkov (@lumag), could you please review this PR? |
Ekansh Gupta (ekanshibu)
requested changes
Jan 14, 2026
Dmitry Baryshkov (lumag)
suggested changes
Jan 14, 2026
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
January 18, 2026 16:27
9d4d996 to
0dc0c36
Compare
Vinayak Katoch (quic-vkatoch)
requested review from
Ekansh Gupta (ekanshibu) and
Dmitry Baryshkov (lumag)
January 18, 2026 16:34
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
January 19, 2026 11:13
0dc0c36 to
e4aee33
Compare
Vinayak Katoch (quic-vkatoch)
requested a review
from Bharath Kumar V (quic-bkumar)
January 21, 2026 05:57
Contributor
Author
|
Dmitry Baryshkov (@lumag), I have addressed the comments. Could you please review it again? |
Chenna Kesava Raju (Chennak-quic)
previously approved these changes
Feb 3, 2026
|
qualcomm/fastrpc.triage This pull request has been marked as stale due to 30 days of inactivity. |
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
August 11, 2026 11:26
e4aee33 to
e523f4e
Compare
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
August 11, 2026 11:30
e523f4e to
64820e8
Compare
Rename listener_android.h/c to listener.h/c and update all symbol references (listener_android_* to listener_*), PL_DEFINE/PL_DEP/PL_ENTRY entries, and Makefiles. Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
Replace fastrpc_android.h/c with fastrpc_platform.h/c exposing two neutral functions: fastrpc_platform_get_property_int/string. Android internals (property name table, property_get stubs) moved to file-static scope; LE stub added in the same file under #else. Update fastrpc_apps_user.c to include the new header unconditionally, remove Android-specific arrays and stubs, fix an off-by-one OOB bounds check (> to >=) in the property key range check, and update Makefiles. Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
Remove VENDOR_DSP_LOCATION and VENDOR_DOM_LOCATION defines and the vendor path fallback logic in open_shell(). Inline the DSP_LIBS_LOCATION search directly into open_shell() removing the try_open_shell_file() helper which existed solely to abstract the vendor fallbacks. The base-name retry (fastrpc_shell without domain suffix) is preserved. Also update two vendor-specific comments in apps_std_imp.c and remove a dead #if 0 block. Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
Remove stale AEE_EINVHANDLE comment, fix header guard FASTRPC_ANDROID_USER_H to FASTRPC_APPS_USER_H, remove dead Android TODO include block in fastrpc_trace.h, remove #if 0 log priority function in adspmsgd_printf.c, fix "buuid" typo in fastrpc_log.c, and collapse 3-way PROPERTY_VALUE_MAX #ifdef to a single #define in fastrpc_mem.c. Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
Vinayak Katoch (quic-vkatoch)
force-pushed
the
code-cleanup
branch
from
August 11, 2026 12:46
64820e8 to
e30653b
Compare
Vinayak Katoch (quic-vkatoch)
requested review from
Chenna Kesava Raju (Chennak-quic) and
Bharath Kumar V (quic-bkumar)
August 11, 2026 12:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove Android-specific naming, dead code, and hardcoded paths from the fastrpc library to make it platform-neutral.