Replace direct cgroup access with task profiles

Cgroups should not be accessed directly. Replace direct access with
task profile usage to perform the operation via cgroup anstraction layer.

Bug: 170507876
Test: build pass
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I71e849cf7d1f0dfd46da1d9306310ce2c6ecf1ca
1 file changed
tree: c8b42cac850abcb0413d8f1b858d9ed7eb746651
  1. nn/
  2. .clang-format
  3. CleanSpec.mk
  4. CPPLINT.cfg
  5. OWNERS
  6. PREUPLOAD.cfg