)]}'
{
  "commit": "a178a73ad0f1caa3ca009ddc8ff501c3bdfad883",
  "tree": "38c43faf6033dd40a056d4b8d3bd2b15fd94c176",
  "parents": [
    "f03b6ae7b89b43428765e5480ecfbe8f92056cd1"
  ],
  "author": {
    "name": "Connor O\u0027Brien",
    "email": "connoro@google.com",
    "time": "Wed Jun 05 18:27:47 2019 -0700"
  },
  "committer": {
    "name": "Steven Moreland",
    "email": "smoreland@google.com",
    "time": "Mon Jan 13 15:58:04 2020 -0800"
  },
  "message": "libtimeinstate: add more tests\n\nCheck reported values to confirm that getUidCpuFreqTimes() and\ngetUidsCpuFreqTimes() are behaving reasonably.\n\nAlso revise RemoveUid test to create and then delete map entries for\nan unused UID rather than UID 0. getUidCpuFreqTimes() is only meant to\nbe called when an app is uninstalled, and calling it with a UID that\nhas running tasks creates data inconsistencies that can cause the new\ntests to fail. Since the revised test needs to directly manipulate the\nBPF map in order to add a fake entry, move some definitions from\ncputimeinstate.cpp into a header file to make them available for the\ntest.\n\nTest: libtimeinstate_test passes\nBug: 78498733\nChange-Id: I1587b1c7db870343ff863f2156b2a810d8ace915\nSigned-off-by: Connor O\u0027Brien \u003cconnoro@google.com\u003e\n(cherry picked from commit ff7bf701ad4a66ee4b9fe54c41e24fb5099fb533)\nMerged-In: I1587b1c7db870343ff863f2156b2a810d8ace915\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "28cb13827dad77a7f44dabb5c0272281c4045fc9",
      "old_mode": 33188,
      "old_path": "libs/cputimeinstate/Android.bp",
      "new_id": "9080ce13db663df1f96286202986f5eadf0be67e",
      "new_mode": 33188,
      "new_path": "libs/cputimeinstate/Android.bp"
    },
    {
      "type": "modify",
      "old_id": "41cbde1c18c73fa6ec493c9c66b231ae38c93a07",
      "old_mode": 33188,
      "old_path": "libs/cputimeinstate/cputimeinstate.cpp",
      "new_id": "0e68e628b616f59a7c0523f7ee2a751c9a8e3888",
      "new_mode": 33188,
      "new_path": "libs/cputimeinstate/cputimeinstate.cpp"
    },
    {
      "type": "modify",
      "old_id": "d4b87386e0e5ebd05a712e51b1ec129b27f4be06",
      "old_mode": 33188,
      "old_path": "libs/cputimeinstate/testtimeinstate.cpp",
      "new_id": "6347de166a40ac7b55092c35279c7dc5a5dd5102",
      "new_mode": 33188,
      "new_path": "libs/cputimeinstate/testtimeinstate.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cf66ae707707b962edbfe8d587853877b86e1a02",
      "new_mode": 33188,
      "new_path": "libs/cputimeinstate/timeinstate.h"
    }
  ]
}
