Replace writepid with task_profiles command for cgroup migration

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 <>
Change-Id: I69c376d3fb9c5dc29bce5ffb2a54cd0038e545c4
1 file changed
tree: 8dae098e6653f5bd99188c410c6278f4248f679e
  1. binder/
  2. docs/
  3. include/
  4. seccomp_policy/
  5. src/
  6. Android.bp
  8. iorapd.rc