writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.
Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I22cbf3383f3686c4964e4b55e53d4cdb8ea5a7da
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Also set interval to 40 instead of default 60 since HBM mode is a thing
Change-Id: Idade7f5e786c350e58160e0ed49cd3e7de98951c
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: c79 <vexed@riseup.net>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
- Fixes scroll lag in many apps, such as Twitter:
W RenderThread: type=1400 audit(0.0:12371): avc: denied { open } for path=/dev/ashmem dev=tmpfs ino=10848 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.twitter.android
- Apps are no longer allowed open access to /dev/ashmem, unless they
target API level < Q.
- 8b12ff5f21
Change-Id: I6405786fea05891642d8437acafcd8c891d75912
Tune the BMPS listening interval for the moderate power level to achieve
power savings during wifi idle.
Change-Id: I0f5f8fafb6f6b3eaa6a855aa1a7dc12c3886ddce
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Albert I <krascgq@outlook.co.id>
Signed-off-by: karthik1896 <karthik1896@outlook.com>
Signed-off-by: Cykeek <Cykeek@proton.me>
* Update PTN_SWAP_LIST to reflect partition entry changes
to BOOT LUN and handle "multiimgoem", "multiimgqti"
partitions, similar to other BOOT LUN partitions.
Change-Id: I3fb2934c44f3c2555ef36437ae97c9a47bb874ed
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct
Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb
* Due to visible gamma shifts on our panels, we should
make the switchings to happen conservatively.
* With idle timer >= touch timer, idle timer now always
takes precedence, but we're leaving touch timer property
to immediately switch back to 120Hz on touch input events.
* Display power timer is left untouched as it's responsible
for display mode changes such as Doze.
Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8
Signed-off-by: aswin7469 <aswinas@pixysos.com>
The stock ROM enables this because our vibrator supports subtle "tick"
vibration effects. Enable it in our device tree as well to make pulling
down the notification shade/QS panel feel slightly more interactive.
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
The FPS deferral property allows deferring clock/bandwidth votes
when switching from high refresh rate to low in case hardware
takes some extra time to change refresh rate.
Bug: 152468927
Bug: 154607334
Test: 60/90 switching, no noise line
Test: systrace to check vsync period
Change-Id: I47284578d13c203b14b3213081faf258dd9a542b
Signed-off-by: aswin7469 <aswinas@pixysos.com>
This to allow us to idle to lower refresh rates even if the app is requesting a higher one if it's idle to save battery life, or boost even on apps that don't request a certain high refresh rate to get a smoother experience
Change-Id: Ie611283e1d75a31b218454073e85742be91fdf07
Signed-off-by: aswin7469 <aswinas@pixysos.com>