Commit graph

1,245 commits

Author SHA1 Message Date
roynatech2544
531ad80afa universal7885: aidl-support: Allow platform API on java backend
To use vintf stability, we need to call android.os.Binder.markVintfStability() which is marked as SystemAPI and thus hidden to non-platform API module
2022-10-09 09:37:54 +00:00
roynatech2544
0f7eea2bbe universal7885: aidl-support: Update hashes
system/tools/aidl/build/hash_gen.sh device/samsung/universal7885-common/apps/aidl-support/fm/aidl_api/ 1 device/samsung/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/.hash
2022-10-09 05:39:36 +00:00
roynatech2544
65fa2766f4 universal7885: aidl-support: Make a stable version 2022-10-09 05:23:21 +00:00
roynatech2544
61d1efb082 universal7885: fm-aidl: Fix undeclared variable 2022-10-08 13:37:57 +09:00
roynatech2544
946f4768e9 universal7885: FMRadio: Remove source edit
If the AIDL hal which can be allowed to change uid calls audioflinger API to change route, we don't need to change source for it. seteuid(audioserver_uid) will work fine
2022-10-08 01:12:37 +09:00
roynatech2544
4296d27bea rootdir: Drop chown fastcharge sysfs to system
Also fix errors of aidl
2022-10-08 00:04:59 +09:00
roynatech2544
497fa53db9 universal7885: parts-aidl: Swap changes
* Remove join() call for std::thread which blocks the current context, halting the HAL thread also
* access returns 0 on successful, so we should make file if return value isnt 0
* Set parts AIDL thread to 3, for SwapThread, other interactions, Binder transaction
2022-10-07 14:34:50 +09:00
roynatech2544
76ac588516 universal7885: Export channel buffer size as cc_default 2022-10-07 13:42:24 +09:00
roynatech2544
b6537a107b universal7885: Unify IFMSysfsSupport to IFMDevControl
Also update sepolicy svc ctx
2022-10-07 13:39:07 +09:00
roynatech2544
d3adcd6380 universal7885: Fixup remaining mistakes converting to AIDL
sepolicy: Rename service_contexts for AIDL
parts-aidl: vintf: Fix hal name
2022-10-07 11:00:14 +09:00
roynatech2544
e2254ff189 universal7885: libFileIO: Log write data too 2022-10-07 10:58:48 +09:00
roynatech2544
972e443357 universal7885: sepolicy: Fix neverallows and label 2022-10-06 17:31:49 +00:00
roynatech2544
9030e2eb7b universal7885: SamsungParts: Move to AIDL 2022-10-06 15:47:32 +00:00
roynatech2544
453f0f5f48 universal7885: fm-aidl: Fix a derp
Should join threadpool here
2022-10-06 14:25:43 +00:00
roynatech2544
dd1f2a2bd2 universal7885: sepolicy: Fix system_app rules
Also move fm dev ioctl allow to fm hal
2022-10-06 14:13:46 +00:00
roynatech2544
365fa56736 universal7885: FMRadio: Adapt to AIDL 2022-10-06 14:11:09 +00:00
roynatech2544
6fdc377216 universal7885: fm-aidl: Rename interfaces and fix errors 2022-10-06 14:10:42 +00:00
roynatech2544
839dc3ae4c universal7885: fm-aidl: Move ioctl code to hal 2022-10-06 10:21:42 +00:00
roynatech2544
983a25b4d2 universal7885: sepolicy: Rename for aidl hals 2022-10-05 09:59:39 +00:00
roynatech2544
7d0a8dc3d0 universal7885: apps: Update dependency names 2022-10-05 09:59:38 +00:00
roynatech2544
ba51d9197f universal7885: Move parts HAL to AIDL impl 2022-10-05 09:59:37 +00:00
roynatech2544
7beedaa4e4 universal7885: Move FM HAL to AIDL impl 2022-10-05 09:59:36 +00:00
roynatech2544
402ea33acb universal7885: cflags: Ignore thread safety negative 2022-10-05 09:59:35 +00:00
roynatech2544
9f508f12ae universal7885: RIP hidl-support 2022-10-05 09:59:35 +00:00
roynatech2544
efc9f1063b universal7885: aidl-support: Mark unstable and fix errors 2022-10-05 09:59:34 +00:00
roynatech2544
53b5d14b3c universal7885: parts-jni: Adapt to hidl changes 2022-10-05 09:59:33 +00:00
roynatech2544
1603054a6e universal7885: parts-hidl -> parts-aidl 2022-10-05 09:59:32 +00:00
roynatech2544
a8eed8f2aa universal7885: fm-hidl -> fm-aidl 2022-10-05 09:59:31 +00:00
roynatech2544
d8ad12b45e universal7885: parts: Fix derps
FileIO.cpp: Drop unused header
SmartChargingImpl.cpp: delay 5s -> 5m
2022-10-05 09:59:29 +00:00
github-actions[bot]
8802311f9b universal7885: Update fp [Tue Oct 4 07:31:11 UTC 2022] 2022-10-04 07:31:11 +00:00
roynatech2544
0c4beb3f8c universal7885: fm-hidl: Move to libfileio and libcachedclass 2022-10-03 11:10:56 +00:00
roynatech2544
3e5e571267 universal7885: parts-hidl: Use libFileIO
- Also fix compile errors
2022-10-03 10:15:17 +00:00
roynatech2544
840e252b72 universal7885: hidl: Introduce simple fileio lib 2022-10-03 18:20:52 +09:00
roynatech2544
2e0da038da universal7885: parts-hidl: Refactor code and impl smartcharge 2022-10-03 16:38:45 +09:00
roynatech2544
5f6bde3d2b universal7885: dlopener: Unify Android.bp entry 2022-10-03 11:52:09 +09:00
Soo-Hwan Na
3a89b4dec4
universal7885: sepolicy: rild denials 2022-09-28 00:26:03 +09:00
TheMalachite
9691bf38b8 universal7885: Switch to LLVM utils and ld.lld
* fixes linker issues in T

Signed-off-by: Gian <gianpaoloestacio5@gmail.com>
2022-09-27 10:02:24 +00:00
roynatech2544
cf49588873 universal7885: multliclientd: Address extra denial 2022-09-25 15:15:59 +09:00
roynatech2544
93735da7ca universal7885: sepolicy: Fixup! use macro for covering denials 2022-09-22 22:31:45 +09:00
roynatech2544
2c65ee5bcf universal7885: FpUpdater: Modernize code
std::unique_ptr: Smart pointer
std::move: Move object instead of copy
constexpr: Specify constant types
2022-09-22 19:53:33 +09:00
github-actions[bot]
1b83af4291 universal7885: Update fp [Thu Sep 22 09:12:24 UTC 2022] 2022-09-22 09:12:24 +00:00
roynatech2544
2fd6a2cb26 universal7885: host_tools: Introduce a tool to update fp 2022-09-22 18:11:50 +09:00
roynatech2544
340f28fe4b universal7885: Organize tree 2022-09-22 13:31:14 +09:00
roynatech2544
3f7b6ce7aa universal7885: sepolicy: Add rule for multiclientd
This will make sec audioril init succeed, as it creates socket for rild and audio system to connect
Still don't know what this actually does since its part of Samsung telephony framework
2022-09-22 13:12:46 +09:00
roynatech2544
bfe2d6397e universal7885: Build missing radio@1.0 2022-09-22 13:12:22 +09:00
roynatech2544
cb8ce57122 universal7885: Enable tracing support
- rootdir: Remove chmod 222 to tracefs
2022-09-22 13:12:22 +09:00
roynatech2544
ba9e566ab3 universal7885: sepolicy: Label memtrack AIDL service 2022-09-17 20:38:43 +09:00
roynatech2544
f822eeb345 universal7885: Drop obsolete cpu flags
TARGET_CPU_SMP: 4230533457
TARGET_CPU_ABI2 of arm64: 1c8941f9ea
2022-09-17 19:25:44 +09:00
mikairyuu
8bd59262a6 universal7885: overlays: Remove obsolete overlays
Remove:
config_bluetooth_le_peripheral_mode_supported
config_bluetooth_hfp_inband_ringing_support

Android T added support for BT LE on their stack, making this overlay useless
2022-09-17 19:20:07 +09:00
roynatech2544
ae1c3087bf universal7885: dlopener: Format code
That code formatting looks awful
2022-09-17 19:04:18 +09:00