Modify path to add adbd in nnapi

Modify file path of nnapi and uclamp_min path to add adbd

Bug: 343580927
Flag: NONE <factory only>
Test: check adbd schedule passed
Change-Id: I867cd5a55982d6c2a0b6f02fba7c9a6c464a560c
This commit is contained in:
stevenzlliu 2024-05-30 04:37:38 +00:00 committed by Steven Liu
parent e70b5ae7c7
commit f257d39c65
2 changed files with 2 additions and 2 deletions

View file

@ -15,5 +15,5 @@ on boot
on property:sys.boot_completed=1
# Bump nnapi min clamp & add adbd to it for factory (b/222226268)
write /proc/vendor_sched/nnapi_uclamp_min 512
write /proc/vendor_sched/groups/nnapi/uclamp_min 512
exec - root root -- /vendor/bin/factory/factory_post_boot

View file

@ -1,4 +1,4 @@
#!/vendor/bin/sh
# Add adbd to nnapi vendor cgroup. (b/222226268)
echo `pidof adbd` > /proc/vendor_sched/set_task_group_nnapi
echo `pidof adbd` > /proc/vendor_sched/groups/nnapi/set_task_group