Commit graph

1,276 commits

Author SHA1 Message Date
roynatech2544
ae4aef0ba3 universal7885: parts-aidl: Check r/w perms 2022-12-23 19:23:54 +09:00
roynatech2544
12ee518097 universal7885: dlopener: Use more common exit code 2022-12-23 19:23:54 +09:00
roynatech2544
7ea8d02949 universal7885: bootlogger: loop on kmsg 2022-12-23 19:23:54 +09:00
github-actions[bot]
fc79faa3dd universal7885: Update fp [Tue Dec 6 07:15:50 UTC 2022] 2022-12-23 19:23:54 +09:00
roynatech2544
cdcdf5481c universal7885: Include a radio wrapper
vendor.samsung.hardware.radio@2.1 extends android.hardware.radio@1.4 which can be casted and registered
2022-12-23 19:23:54 +09:00
roynatech2544
21cd0f77f7 universal7885: interfaces: radio: Replace to stub implementation 2022-12-23 19:23:54 +09:00
roynatech2544
8d728a6111 universal7885: libfileio: Fix the unoverloadable function error
device/samsung/universal7885-common/apps/aidl-support/libfileio/FileIO.cpp:27:5: error: functions that differ only in their return type cannot be overloaded
int readline(const char *path) {
~~~ ^
device/samsung/universal7885-common/apps/aidl-support/libfileio/FileIO.cpp:12:13: note: previous definition is here
std::string readline(const char *path) {
~~~~~~~~~~~ ^
1 error generated.

- Rename int version to 'readint' to fix
2022-12-23 19:23:54 +09:00
roynatech2544
eea872d99a a10-arm: Don't build fm 2022-12-23 19:23:54 +09:00
roynatech2544
4ad9296609 universal7885: aidl-support: Add new signature for readline()
std::string readline(const char *)
2022-12-23 19:23:54 +09:00
roynatech2544
31c8b75b7a universal7885: sepolicy: Label cmd_result node 2022-12-23 19:23:54 +09:00
roynatech2544
e8bbe8517f universal7885: parts-aidl: Implement new interface 2022-12-23 19:23:54 +09:00
roynatech2544
9799db2a28 universal7885: parts-aidl: Add new interface 2022-12-23 19:23:54 +09:00
roynatech2544
b2b0515b28 universal7885: parts-jni: Use std::round 2022-11-26 18:53:01 +09:00
roynatech2544
0f241e7998 A10-ARM: Fix overlay build
- LOCAL_PATH is not set coming to this common.mk
2022-11-19 07:47:14 +09:00
roynatech2544
22927330e7 universal7885: Fix a10 build 2022-11-17 08:19:18 +09:00
roynatech2544
bf6b6eff34 universal7885: aidl-support: Cut off dirs on __FILE__ 2022-11-15 12:44:58 +09:00
matheucomth
17c638f00a universal7885: Set TARGET_KERNEL_OPTIONA_LD to true
- Fixes clang-14: error: unable to execute command: Executable "ld" doesn't exist! clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
2022-11-13 23:26:07 +09:00
roynatech2544
0e98cf262f README: Be more descriptive 2022-11-12 16:58:35 +09:00
roynatech2544
f8d64352c9 universal7885: FMRadio: Introduce MaterialHelper
Used for merging all those sperate material colors settings into one
Also correct spelling of 'favorite'
2022-11-12 16:58:29 +09:00
roynatech2544
f941c4c915 universal7885: FMRadio: Move const sharedpref strings to an object 2022-11-12 16:05:35 +09:00
roynatech2544
9ee7a36bee universal7885: parts: values-es: Fix build
device/samsung/universal7885-common/apps/SamsungParts/res/values-es/strings.xml:89: error: unescaped apostrophe in string
device/samsung/universal7885-common/apps/SamsungParts/res/values-es/strings.xml:86: error: not a valid string.
device/samsung/universal7885-common/apps/SamsungParts/res/values-es/strings.xml: error: file failed to compile.
2022-11-10 23:09:52 +09:00
roynatech2544
82d8c4eca9 universal7885: fm-aidl: impl: Fix namespace error 2022-11-10 22:43:49 +09:00
roynatech2544
c0ffdb634c universal7885: parts: Update Spanish translation
By @aarch_64 from tg
2022-11-10 13:05:25 +09:00
roynatech2544
fbc8d8ccc3 universal7885: libfm: Use std::atomic for thread stopper 2022-11-10 11:52:38 +09:00
roynatech2544
7d23777f39 universal7885: fm-aidl: Run clang-format 2022-11-09 19:05:53 +09:00
roynatech2544
f2228a093e universal7885: parts-aidl: Run clang-format on smartcharge impl 2022-11-09 19:05:53 +09:00
roynatech2544
5aab0c64ed universal7885: parts-aidl: Concat swap related code to one file
Also run clang-format
2022-11-09 19:05:39 +09:00
github-actions[bot]
db2c6e3d49 universal7885: Update fp [Tue Nov 8 07:19:29 UTC 2022] 2022-11-08 07:19:29 +00:00
roynatech2544
12490a5eaf universal7885: aidl-support: Disable verbose logs by def 2022-11-08 11:53:30 +09:00
roynatech2544
f31d63aeb9 universal7885: fm-aidl: Allocate threads on heap
Then we don't have to call detach() to keep running without terminating, so we can keep a reference to thread object so its better
2022-11-08 11:39:55 +09:00
roynatech2544
d222619857 universal7885: libfm_slsi-impl: Correct strerror usage
strerror(errno) is correct
2022-11-07 20:24:40 +09:00
roynatech2544
4382d1d2cd universal7885: camera: Make a neater function for remap
- Also enable camera id 2 back, the front AUX
2022-11-07 19:08:26 +09:00
roynatech2544
6b313d15c4 Revert "universal7885: FMRadio: Drop for now"
This reverts commit 13db70086c.
2022-11-05 08:18:24 +09:00
Soo-Hwan Na
fc36eb1863
github: Not on push 2022-11-04 19:19:50 +09:00
roynatech2544
7914ea45fd universal7885: FM-App: Switch to simple notification
- Also revert setting fm app as persistent
2022-11-04 02:19:51 +00:00
roynatech2544
111f3529ae universal7885: fm-aidl-support: Cleanup logs
- __func__ macros in lambda is useless, nuke it
- Append function name on impl lib
- Remove useless logging
2022-11-03 20:39:15 +09:00
roynatech2544
2d2a1ed08f universal7885: FMRadio: Fix background svc not receiving start
Somehow this intent filter got removed, breaking init function
2022-11-03 19:59:35 +09:00
roynatech2544
6c962d35a8 universal7885: fm-aidl: Always sort the fetched track list 2022-11-03 19:59:35 +09:00
roynatech2544
201c4fa92a universal7885: FMRadio: Restore output selection too 2022-11-03 19:59:13 +09:00
roynatech2544
e682783f6b universal7885: FM: Fix sepolicy denial and crash of app
- Don't crash on no headphones detected
- Use progressdialog instead of disabling touch
- Don't crash while manually updating freqs list
- Address selinux denial on aidl
2022-11-03 16:44:06 +09:00
GhostMaster69-dev
25c497ade3 universal7885: Remove Provider Model flag property for T
see here: https://android.googlesource.com/platform/frameworks/base.git/+/29c2e807e010ca0229e9db1d036649f3b7c21134%5E%21/#F0

While I'm on it, remove dead rcs prop

Signed-off-by: GhostMaster69-dev <rathore6375@gmail.com>
2022-11-03 16:43:28 +09:00
roynatech2544
5c518baaef universal7885: camera-app: Change module name
So it can override source built ones
2022-11-03 16:43:28 +09:00
roynatech2544
72bb5acc20 universal7885: libshims: Import a shim to make blobs shut up 2022-11-01 19:18:37 +09:00
roynatech2544
0be8f2929f universal7885: fm-aidl: Add missing dep to liblogformat
- Also fix errors
2022-11-01 18:51:15 +09:00
roynatech2544
633809a397 universal7885: camera-app: Ship Aperture instead
- Supports AUX camera.
- Also add aux camera prop
- Prebuilt's commit: c28b2af987
2022-11-01 15:14:53 +09:00
Aaron Kling
2253170e8a universal7885: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
2022-11-01 14:50:35 +09:00
roynatech2544
8957783333 universal7885: aidl-support: Adapt to liblogfmt changes 2022-11-01 13:55:18 +09:00
roynatech2544
917fc7ecf1 universal7885: liblogformat: Add helpers to avoid -Wformat-security warns/errors
- Also make warning if LOG_TAG is not defined
2022-11-01 13:55:14 +09:00
roynatech2544
60659bf10c universal7885: liblogfmt: IDKIDC -Wformat-security 2022-11-01 12:31:22 +09:00
roynatech2544
5c7c906519 universal7885: fm-aidl: Fixups
- libfileio: Move back to liblog.
- FMDevCtrl: Add some loggings
- FM-app: Call open() before set(apppid)
2022-11-01 12:16:27 +09:00