)]}'
{
  "log": [
    {
      "commit": "8677f1f3ea6f83a6561f3fc230e6a1dfd086ccf4",
      "tree": "79cf734514e2eae0b7774a51c33b4c8fe1b90a8a",
      "parents": [
        "cbb06bde46fa0d29607db64a8ed01b84b3b78f12"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Jan 21 20:37:35 2021 +0000"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Fri Jan 22 10:55:13 2021 -0800"
      },
      "message": "Revert \"Revert \"transcoding: add thermal status listener\"\"\n\nThis reverts commit b253cec66de2986379ef94e1d372123dee1b826f.\n\nReason for revert: reland with fix\n\nChange-Id: Ieab554dc2dc4187e75fc223997387f4875832e52\n"
    },
    {
      "commit": "5c504ee4cb63b1565a5f5653516d1d31c7d87621",
      "tree": "8768ce47cbe02877fcaa18da4a02cba774824552",
      "parents": [
        "03b68517d3e9d75332b6a2a62b276958807831a5"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Jan 21 18:53:19 2021 -0800"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Jan 21 18:58:33 2021 -0800"
      },
      "message": "transcoding: use __ANDROID_API_FUTURE__ in __builtin_available check\n\n__builtin_available 31 fails because we\u0027re not officially 31 yet.\nUse __ANDROID_API_FUTURE__ for now.\n\nbug: 178144708\ntest: builds; transcoding unit tests; manually test transcoding works.\nChange-Id: I4ccf05f3858feb9e22eb294b4443edc830737204\n"
    },
    {
      "commit": "b253cec66de2986379ef94e1d372123dee1b826f",
      "tree": "dc2ca1b340a361303617db5dbe88a07183c06370",
      "parents": [
        "a960d1d94d2ef121d6fab50eeb89bfdae6c2d16a"
      ],
      "author": {
        "name": "Dan Albert",
        "email": "danalbert@google.com",
        "time": "Thu Jan 21 20:28:04 2021 +0000"
      },
      "committer": {
        "name": "Dan Albert",
        "email": "danalbert@google.com",
        "time": "Thu Jan 21 20:28:04 2021 +0000"
      },
      "message": "Revert \"transcoding: add thermal status listener\"\n\nThis reverts commit a960d1d94d2ef121d6fab50eeb89bfdae6c2d16a.\n\nReason for revert: broke build due to race condition with automerger\n\nChange-Id: I1e64e54bf1c37a9cf8cddf9128469b0fbf931e8b\n"
    },
    {
      "commit": "a960d1d94d2ef121d6fab50eeb89bfdae6c2d16a",
      "tree": "1f1a310d6737e07968b15518ef24c59c2bd53d05",
      "parents": [
        "bfebb60dbd1041048e4567d412a5f472652eaaec"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Mon Dec 21 17:11:37 2020 -0800"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Jan 20 14:43:25 2021 -0800"
      },
      "message": "transcoding: add thermal status listener\n\nRegister thermal status listener with thermal manager, and\npause/resume transcoding activity when thermal status goes\nabove certain threshold (currently set at CRITICAL).\n\nAdd unit tests with mock thermal policy. Also add unit test\nthat exercise the actual transcoding service, but use adb\nshell cmd to fake thermal status change.\n\nbug: 169452730\ntest: unit testing added in the CL; manual testing using\n\"adb shell cmd thermalservice override-status #\" and observe\nthermal throttling logs from transcoding service.\n\nChange-Id: I7d28ed3069bdd73e8984ad138e2edba9c9a2360a\n"
    },
    {
      "commit": "ff99861659e9da5704cdc5d1ea08a9890c393b5e",
      "tree": "486f71d4c5438af622c1ebcfab67060f3930dd94",
      "parents": [
        "ae8ef79571e7844c8fc816808492d6ac6ee1ecf4"
      ],
      "author": {
        "name": "Jiyong Park",
        "email": "jiyong@google.com",
        "time": "Fri Jan 15 16:01:38 2021 +0900"
      },
      "committer": {
        "name": "Jiyong Park",
        "email": "jiyong@google.com",
        "time": "Fri Jan 15 16:33:05 2021 +0900"
      },
      "message": "Guard __AActivityManager_* APIs with __builtin_available\n\n* AActivityManager_checkPermission\n* AActivityManager_addUidImportanceListener\n* AActivityManager_removeUidImportanceListener\n* AActivityManager_isUidActive\n* AActivityManager_getUidImportance\n\nAbove APIs were added for the API level 31 and beyond. Currently,their\nexistence is not tested before calling them, which can result linkage\nerror at runtime when the code runs on pre-31 platforms.\n\nNow, we have a preferred way of testing the API availability;\n__builtin_available. The calls to the APIs are now guarded with the\nmacro so that they get called only on the platforms they are available.\n\nBug: 150860940\nBug: 134795810\nTest: m\nChange-Id: I442426641a33bcdb341a166e68f300e539fc85d2\n"
    },
    {
      "commit": "ad8fdfc73c701cc870d3d37e95ddf618deccc370",
      "tree": "d0e4f0b5baf50eb9551d7ed5bd1b508cfc895beb",
      "parents": [
        "75390ea055376b5abff11506014a18064be65913"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Oct 21 19:05:15 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue Dec 01 00:50:28 2020 +0000"
      },
      "message": "transcoding: use libandroid for activity_manager\n\nConvert the usage of ActivityManager to stable version\nin libandroid.\n\nbug: 172942349\nbug: 159172726\n\ntest: mediatranscodingservice unit tests.\n\nChange-Id: I6cfc98060547acae88ff5bb92b034f4615c5a999\n"
    },
    {
      "commit": "bbb4eac1d90fe904d28d31e2c713c5dbab5fa1eb",
      "tree": "f4bfd57d8936c7da36a4673c255a06cfac1c154d",
      "parents": [
        "a71f8a2a9af89d7b25940e52e942f68a668a705a"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Nov 18 11:12:06 2020 -0800"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Nov 19 13:47:20 2020 -0800"
      },
      "message": "transcoder: plumb uid/pid to transcoder createCodec\n\nInstead of using ResourceManagerService::overrideProcessInfo to\noverride the procinfo of the native MediaTranscodingService,\nuse the newly added AMediaCodec create methods with UID/PID.\nThis will allow the codec instance to be attributed to the\nactual client (for battery reporting as well resource managerment\npurposes), instead of all to media.transcoding.\n\nPlumb uid/pid to transcoder to create the codec with them.\n\nFix up the unit test after the change.\n\nbug: 159172726\ntest: transcoder unit tests.\nChange-Id: Ie7e6fd813ec53f125590665ab3466758a0fd4601\n"
    },
    {
      "commit": "efeabbd992b167c320cbae88bbcbd5b04cabb359",
      "tree": "7dd0e57e0974d0f8ccabca6cf591aa97a0216000",
      "parents": [
        "ddd2c167f5653d452d745d776d2eb8d831f2624b"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Nov 18 09:31:58 2020 -0800"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Nov 19 10:04:22 2020 -0800"
      },
      "message": "transcoding: use NDK methods for permission and binder\n\n- Change permission checks to use NDK\n- Replace MediaProvider uid check with permission check of\n  MANAGE_EXTERNAL_STORAGE (which is replacing the deprecated\n  WRITE_MEDIA_STORAGE).\n- Use ABinderProcess_* for thread pool.\n\nbug: 159172726\nbug: 171393067\ntest: MediaTranscodingService unit tests; dumpsys to check if\nMediaProvider can still regiserClient successfully.\n\nChange-Id: I4fed7bb23a2d68c92e5cd1aecd5a6ef340dc2b61\n"
    },
    {
      "commit": "cf3f8ee0602fc004e2879a14ad7846f6b6b4db4f",
      "tree": "71f54506f29b4ea3747ee9d57ded6b4317b3ec5a",
      "parents": [
        "210fa979d389daace684411b4381ea362b83d0e2"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Oct 29 18:38:37 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Oct 29 19:01:49 2020 -0700"
      },
      "message": "transcoding: pass package name from client to service\n\nbug: 159172726\n\nChange-Id: I9c35c23f3d6eb5b03092813c891f9cc98a4c6fc8\n"
    },
    {
      "commit": "c37bdfeb8001229d266b8e453749b273edb008b2",
      "tree": "9196733568ae64a87e598205d29668e1dd4b9290",
      "parents": [
        "f8701c40e95ec237919884629f0497c0bb504c04"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue Oct 06 13:54:09 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Oct 07 00:25:08 2020 +0000"
      },
      "message": "transcoding: trust MediaProvider to set uid for jobs\n\nbug: 154733526\ntest: manually check that MediaProvider uid is obtained\nsuccessfully, and isTrustedCallingUid() is true\n\nChange-Id: I5577adcfc1acdac343ec3d98a1e33a9fc2fe36d6\n"
    },
    {
      "commit": "0579c6f315bd703becd0bf9a92c754163474e368",
      "tree": "d93cd2a853a090083f9054c9cad0a6cfef7b266c",
      "parents": [
        "66c8b0988bf02c218bc4fe6c0d81e4bed743c57b"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Mon Oct 05 12:03:34 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Mon Oct 05 12:05:20 2020 -0700"
      },
      "message": "transcoding: add more dumps for jobs\n\nbug: 154733526\ntest: run the following to monitor transcoding status:\n\nwatch -n 1 adb shell dumpsys media.transcoding\n\nChange-Id: I167bae9adcff2f80b26aefb520b4ab6d493e3f9d\n"
    },
    {
      "commit": "97d367b26286afca53b2c47d643792ea5d18f361",
      "tree": "bf4d4dbbf2e1571aedddb0c1578b9ee25deee6d0",
      "parents": [
        "2526250c329d30b4456d99e9dd9be46633da4f7e"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Sep 16 12:53:14 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue Sep 22 19:29:13 2020 -0700"
      },
      "message": "Allow native process to set procinfo in ResourceManager\n\nAnd set the override in transcoding service to allow\nResourceManager to reclaim from it.\n\nbug: 168307955\ntest: mediatranscodingservice unit tests;\nResourceManager unit tests;\nCTS ResourceManagerTest; manually verify that binderDied\nevents are handled correctly.\n\nChange-Id: I3193a0e29c1efbaf641e8c6b391241233d9cc404\n"
    },
    {
      "commit": "799ba4f00cc8614dc4c59ec8e721247fa89ae931",
      "tree": "cc9dabcbaf54aa14557d088ff6065156e7224648",
      "parents": [
        "93d9bac9bf0685f1ee21ec9de183cf862a8376a2"
      ],
      "author": {
        "name": "Hui Yu",
        "email": "huiyu@google.com",
        "time": "Tue May 05 17:04:15 2020 -0700"
      },
      "committer": {
        "name": "Hui Yu",
        "email": "huiyu@google.com",
        "time": "Tue May 05 17:04:15 2020 -0700"
      },
      "message": "isUidActiveOrForeground will be reverted\n\nin ag/11369230 Go back to call isUidActive.\n\nBug: NA.\nTest: NA.\nChange-Id: I4f1a0e8cbf0b6ed3857e03347624e3970cb22da9\n"
    },
    {
      "commit": "7522218910507c4e0861661bd37dd06bda65a4b5",
      "tree": "29b0d409276e1e403a047702b1d127d25f1a8499",
      "parents": [
        "88aba17963a63a58c3fea20a357b6fde62c347d6"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Apr 29 14:43:42 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Sat May 02 15:52:13 2020 +0000"
      },
      "message": "transcoding: add SimulatedTranscoder to test service\n\n- Add SimulatedTranscoder (which is an upgraded version of\n  DummyTranscoder) to allow more testing of the service.\n\n- Add unit test that launches dummy test apps from shell\n  to simulate uid policy change.\n\nbug: 154734285\nbug: 145233472\ntest: unit tests\n\nChange-Id: Ic169757d64ad8da7eebd0e1febdcbfb467fe81f4\n"
    },
    {
      "commit": "acb3350ef7d22f53a73137217830546424175a0c",
      "tree": "5a2fdfd0d63ea25b9d1d29ffa655a5a0f794082f",
      "parents": [
        "596e7fde3b16e68f9dc94a9fd092029f87b0f052"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Mon Apr 20 11:04:48 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Sat May 02 02:15:11 2020 +0000"
      },
      "message": "transcoding: add uid state based scheduling policy\n\nbug: 145233472\nbug: 154734285\n\ntest: unit tests\n\nChange-Id: I9e8038252c2be834eb4e2fb2945396572d37b036\n"
    }
  ]
}
