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
dc4fffda82
a10: Move a10dd (32bit) stuffs to a10
...
Don't make dup files
2022-10-23 14:21:47 +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
roynatech2544
1ba74af74b
universal7885: fm-aidl: x1000 to userspace freq
2022-10-22 13:04:04 +09:00
roynatech2544
8beec828f7
universal7885: fm-aidl: Fix deadlock on get mutex locked
...
- We started the function ensuring mutex is locked, and in the middle trying to lock again for return. This will cause deadlock or returning false forever. Therefore, put an if condition before locking at start of the function
2022-10-22 11:56:30 +09:00
roynatech2544
4a7ed2114a
universal7885: bluetooth: Drop bt header
2022-10-22 11:40:45 +09:00
LuK1337
ddcca81876
non-common: Set a default Settings.Global.DEVICE_NAME
...
for i in a10 a10dd a20 a20e a30 a30s a40; do cp -r overlay/ $i; sed -i "s/Galaxy Note10+ 5G/Samsung Galaxy ${i^}/g" $i/overlay/frameworks/base/packages/SettingsProvider/res/val
ues/defaults.xml; done
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-10-22 11:40:45 +09:00
Sal Savage
ce90afa9bc
non-common: Replace BTM_DEF_LOCAL_NAME with a sysprop
...
for i in a10 a10dd a20 a20e a30 a30s a40; do echo "## Bluetooth
bluetooth.device.default_name=Galaxy ${i^}" >> $i/vendor.prop; echo "" >> $i/BoardConfig.mk; echo "TARGET_VEN
DOR_PROP += \$(DEVICE_PATH)/vendor.prop" >> $i/BoardConfig.mk; done
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-10-22 11:40:42 +09:00
roynatech2544
1fd4442a64
universal7885: fm-app: Refactor
2022-10-22 11:40:37 +09:00
roynatech2544
b9c6e96e83
universal7885: fm-aidl: Handle middle states for manual freq setting
...
Also move FM support instance to vector cached
2022-10-22 10:26:08 +09:00
roynatech2544
1c59e28be9
universal7885: fm-aidl: Move to V2 version
...
- Also sort out common sysfs path
- Also fix Android.bp formatting
2022-10-21 10:28:04 +09:00
roynatech2544
3fa34f4db9
universal7885: parts: fastcharge is reverted as well
2022-10-20 18:43:39 +09:00
roynatech2544
5dcbb73be6
universal7885: fm-aidl: freeze-api, update-api, add mutex locked getype
2022-10-20 09:42:52 +00:00
roynatech2544
a87aa48ec4
universal7885: fm-aidl: Remove next_freq/before_freq helpers
...
This code is working, but it will query the H/W next channel everytime resulting in different freq than the list
2022-10-20 17:44:17 +09:00
roynatech2544
d05c95ce7f
universal7885: fm-aidl: Add a new settype
...
- Will save freqs list on HAL
2022-10-20 17:42:32 +09:00
roynatech2544
6e880ecd28
universal7885: fm-aidl: Export channel spacing
2022-10-20 14:46:49 +09:00
roynatech2544
6fedd9490f
universal7885: fm-aidl: libfm-impl: Use int32_t for all stuff
2022-10-20 14:44:10 +09:00
roynatech2544
ffad88e852
universal7885: parts: smartcharge: Nuke apply button
2022-10-18 19:42:38 +09:00
roynatech2544
820eeff595
universal7885: parts-aidl: No need to set the bool every 5s
2022-10-18 13:27:41 +09:00
roynatech2544
aa216cb327
universal7885: parts-aidl: Use lambda
2022-10-18 13:16:43 +09:00
roynatech2544
e29ee0a60e
universal7885: parts-aidl: Charging is enabled on 0 disabled on 1
2022-10-18 13:09:57 +09:00
roynatech2544
5b75120653
universal7885: parts: smartcharge: Fix derps
...
* Turn on charging back after smartcharge off.
* Correct onclick listener on smartcharge settings
* Only write to charge sysfs once
2022-10-18 12:50:28 +09:00
FPSensor
e92f502522
universal7885: parts: Add translation to ES ( #3 )
2022-10-18 07:45:46 +09:00
roynatech2544
a296d6e27e
universal7885: parts: Fix error after SmartCharge
2022-10-18 00:52:09 +09:00
roynatech2544
30f8177b3d
universal7885: fm-aidl: Use std::timed_mutex to provide thread safe operation
...
- Also sort out common macro to new header
2022-10-18 00:48:46 +09:00
roynatech2544
d9adb63d29
universal7885: parts-aidl: Move smartcharge code to one file
2022-10-17 18:38:47 +09:00
roynatech2544
c08e8f7fdc
universal7885: parts: Support apply on boot for smartcharge
2022-10-17 18:05:33 +09:00
roynatech2544
1845c09098
[SQUASH] universal7885: Revert health related commits
...
Revert "universal7885: sepolicy: Address charger_vendor denial"
This reverts commit f35e7ce2a6 .
Revert "universal7885: Switch to health AIDL HAL"
This reverts commit d80918f7b5 .
Revert "universal7885: health: remove unused namespace"
This reverts commit 19139783b3 .
Revert "universal7885: Remove unused deps from health impl"
This reverts commit 478b6f760c .
Revert "universal7885: Implement health 2.1 hal"
This reverts commit f90a9a09cf .
2022-10-17 18:01:00 +09:00
roynatech2544
38dfae1352
universal7885: parts: Avoid both options checked at the same time
2022-10-17 17:57:43 +09:00
roynatech2544
9a2f223571
universal7885: aidl-support: Address avc denials
2022-10-17 17:57:43 +09:00