- For some reason, allowing cameraserver to access sysfs_leds on lahaina results in a neverallow.
- Hence, allow cameraserver to access a new type, sysfs_torch which only accesses the relevant nodes we utilize to alleviate the neverallow.
Change-Id: I8625b32f2bb501bbf85f0c026dca22a8e0bcc939
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Looks like apps like Network Signal Guru connects to the diag-router
through an emulated(?) USB device.
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: 0mar99 <omarag9099@gmail.com>
On targets where diag-router is used, override the
vendor.usb.diag.func.name property to 'ffs' to
instantiate the Diag function instances to use
F_FS instead of the legacy f_diag driver.
Change-Id: I529a081a0d6988628944a9020b61c061baa877a4
F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
This sets log_level to 0
10-14 14:17:17.674 14629 14629 I sensors-hal: get_system_config:67, log_level: 0
This is done especially to disable spammy logging of oplus ambient light sensor events
10-14 14:17:12.821 12603 14590 I sensors-hal: handle_oplus_ambient_light_event:157, oplus_ambient_light: ts=3858719100254, lux=11, data_c=0, delta_ms=0, data_cnt=0
Change-Id: Ib097c172bb01ae62dec542a76b289a9641764bc2
This service hogs a considerable amount of CPU all the time as its
busy calculating compensation for our under-display light sensor
(and also spamming logcat, which we can take care of later).
PID USER PR NI VIRT RES SHR S[%CPU] %MEM TIME+ ARGS
1969 system 20 0 12G 9.2M 9.0M S 4.6 0.1 1:13.15
vendor.xiaomi.sensor.citsensorservice@2.0-service
Move it to background CPU set like the sensors multihal to lower
power consumption from big cores.
Change-Id: I8c7b2835b2b53654642ac20fd97df3b8a5ad96eb
audio driver affines pm-qos requests to these cpus so it makes sense
to use them for audio-app as well
Change-Id: I61223db706042e215b1ab5ca9eb4562989e362f6
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.
Bug: 137973303
Test: MP3 playback
Change-Id: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: justinweng <justinweng@google.com>
Signed-off-by: xNombre <kartapolska@gmail.com>
Signed-off-by: Pascoato <viniciuspascoato@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Updated audio policy manager configuration files to comply
with the changes in the XML schema.
Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: I1f96e61c6d18763099d0f87e2b880948dad80f9a
This breaks in-game voice chat and audio in some messaging apps
causing it to plays with a higher pitch and speed, making it sound
like chipmunks.
Change-Id: Ic951a4fd43a4b647d5f6f271259a65be18289627
* Implement DC Dimming preference
* Disable DC Dimming if it's not supported
* Implement HBM switch
* Adapt HBM and DC dimming settings to S style
* Define DC dimming and HBM nodes / keys in one place
* Declare exported flags in manifest
* Fix compilation for QPR1
* Fix compilation for Android 15
* Adapt to sm8350-common devices
Co-Authored-By: Nauval Rizky <enuma.alrizky@gmail.com>
Co-Authored-By: Adhitya Mohan <me@adhityamohan.in>
Co-Authored-By: TheScarastic <warabhishek@gmail.com>
Co-Authored-By: alibei <sebastiankotzias83@gmail.com>
Co-Authored-By: kamikaonashi <thorschi93@gmx.at>
When the app's default thermal profile was different from the standard
one, it resulted in not being able to set it back to the default mode.
Fixes 37a15544 ("sm8350-common: parts: Automatically determine thermal profile for apps")
Change-Id: I5029cfc72194a93f7ab693b6b6aa966066d7c3bf
* icon taken from https://fonts.google.com
Signed-off-by: Pabloescobar-reborn <pabloescobarreborn77@gmail.com>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
Change-Id: 68fed5cda7f4c17aab13ga47e6e212b97b22c2bf
Signed-off-by: kenway214 <kenway214@outlook.com>
peridot: sepolicy: allow parts to get SettingsLib prop
ThermalSettingsFragment's use of ApplicationsState includes a
check of whether a package is an instant app or not. The function
isInstant() in AppUtils reads settingsdebug.instant.packages prop
to retrieve a list of instant packages for debugging purposes.
We do not actually use this property, but this check triggers an
SELinux denial for every package in the list and spams the logs
with permission denied errors. Get rid of these log spams by
allowing parts to read the prop.
Test: open the thermal profile settings and check logs
Signed-off-by: kenway214 <kenway214@outlook.com>
Co-Authored-By: Arian <arian.kulmer@web.de>