)]}'
{
  "commit": "be066e1a9aa613f4e7e56fbd16b35d8ad377b68f",
  "tree": "19053479cea25b9ed11f525fb30f3bb97aa1d143",
  "parents": [
    "4ba358197d49e926a0c18e64f295005debbaa911"
  ],
  "author": {
    "name": "jovanak",
    "email": "jovanak@google.com",
    "time": "Mon Sep 02 11:54:39 2019 -0700"
  },
  "committer": {
    "name": "jovanak",
    "email": "jovanak@google.com",
    "time": "Tue Sep 03 19:37:52 2019 -0700"
  },
  "message": "Allow --user parameter for audio service commands.\n\nThis allows testing on secondary users.\n\nChange similar to ag/7022195 and ag/6936694.\n\nFixes: 139301368\nTest: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioRecordTest#testRecordNoDataForIdleUids\n\nand ...\n$ adb install testcases/CtsMediaTestCases.apk\nSuccess\n$ adb shell cmd media.audio_policy set-uid-state android.media.cts active\n$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 0\nactive\n$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10\nidle\n$ adb shell cmd media.audio_policy set-uid-state android.media.cts --user 10 active\n$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10\nidle\n$ adb shell cmd media.audio_policy set-uid-state android.media.cts active --user 10\n$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10\nactive\n$ adb shell cmd media.audio_policy set-uid-state android.media.cts idle --user 0\n$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 0\nidle\n$ adb shell cmd media.audio_policy reset-uid-state android.media.cts --user 10\n$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10\nidle\n\nChange-Id: I17774efa6aca7c9b9d0af9bf9c1e75474e90d990\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "300c7465f721d027d10d916df4a3c44270ba68e9",
      "old_mode": 33188,
      "old_path": "services/audiopolicy/service/AudioPolicyService.cpp",
      "new_id": "f235c475918ff45acd6bd3423a62afc4dc2a3ae3",
      "new_mode": 33188,
      "new_path": "services/audiopolicy/service/AudioPolicyService.cpp"
    }
  ]
}
