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
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
roynatech2544
954d50f9b4
universal7885: parts: Fix inverted fastcharge value
2022-10-31 22:31:49 +09:00
roynatech2544
95e7624f55
universal7885: FMRadio: Switch to FM V3 aidl interface
2022-10-31 22:31:49 +09:00
github-actions[bot]
66f5fdcfcc
universal7885: Update fp [Fri Oct 28 14:49:06 UTC 2022]
2022-10-28 14:49:06 +00:00
roynatech2544
e5466b7b53
universal7885: buildfpupdater: Track cheetah (Pixel 7)
2022-10-28 23:48:24 +09:00
roynatech2544
06ca6c2ea6
universal7885: fm-aidl: Implement new settype
...
Creates a thread that can poll pid value passed by this settype. Can track the client status with this
2022-10-28 23:38:04 +09:00
roynatech2544
0a1bb46140
universal7885: fm-aidl: Add new settype, FM_APP_PID
2022-10-28 23:35:58 +09:00
roynatech2544
0163528f1a
universal7885: Copy libcrypto from VNDK 32
...
Fixes one of 2 DRM widevine errors in log
2022-10-27 15:17:16 +09:00
roynatech2544
13db70086c
universal7885: FMRadio: Drop for now
...
WIP
2022-10-27 15:13:31 +09:00
roynatech2544
5c4c310dd5
universal7885: FMRadio: Restore freq / set color only ence
2022-10-26 18:37:31 +09:00
roynatech2544
77d3b837f0
universal7885: FMRadio: Don't update fav every time
2022-10-26 17:56:44 +09:00
roynatech2544
13e6667cfd
universal7885: FMRadio: Fix crash and freq mismatch
...
- For ChannelListFragment, check if the fragment is added to an Activity and run requireactivity()
- For MainFragment, re-fetch the freq every time that fragment is drawn
2022-10-26 17:56:43 +09:00
roynatech2544
51e39482e0
Revert "universal7885: fm-aidl: x1000 to userspace freq"
...
- Reset the last one too.
This reverts commit 1ba74af74b .
2022-10-26 17:56:43 +09:00
roynatech2544
efa3468e1a
universal7885: libFileIO: switch to libbase log header and logformat
2022-10-26 17:56:43 +09:00
roynatech2544
49c565abdb
universal7885: FMRadio: Mark as persistent
...
- For avoiding HAL <-> app failures
2022-10-26 17:56:32 +09:00
roynatech2544
8a7743ac67
universal7885: FMradio: Crash fixups
...
- Init favlist
- Search freqs only once, with a static variable
- Update the UI of disabled view, forgot this
2022-10-25 17:33:05 +09:00
roynatech2544
1ed534a894
universal7885: FMRadio: Use correct function signature
...
Timer.schedule(TimerTask t, Long l1, Long l2) is running t with startdelay l1 and delaying l2 every execution
Timer.schedule(TimerTask t, Long l) is executing t after delay l and stops
We need to poll the HAL for mutex free, hence fix to first one
2022-10-24 18:50:12 +09:00
roynatech2544
666b99ecec
universal7885: fm-aidl: Call std: 🧵 :detach()
...
To run without being terminated because thread ref is no longer there
2022-10-23 14:21:48 +09:00
roynatech2544
5a70eb4ed3
universal7885: fm-aidl: Unlock and relock to thread
2022-10-23 14:21:48 +09:00
roynatech2544
092cf54ced
universal7885: Remove eureka_defaults treewide
...
clang-tidy checks doesn't make it best code
2022-10-23 14:21:45 +09:00
roynatech2544
a06a00d26b
universal7885: libfm-impl: Refactor
...
- Launch a sperate thread for polling (std::thread)
- Include logging about ioctl failures
2022-10-23 13:15:36 +09:00
roynatech2544
dd4e9fb547
universal7885: fm-aidl: increase threadpool count
2022-10-23 13:15:36 +09:00
roynatech2544
b5a6677f60
universal7885: aidl-support: Add a common header for log format
2022-10-23 13:15:18 +09:00
roynatech2544
ec1db378bd
universal7885: fm-aidl: MiddleState: Bounds checking
...
we need at least 2 elements on the vector. If it doesn't meet the requirements, return nullptr to keep it as-is unmodified.
2022-10-22 17:32:33 +09:00
roynatech2544
225466e775
universal7885: fm-app: Use size od passed List<Int> instead of hardcode
2022-10-22 13:10:23 +09:00