)]}'
{
  "log": [
    {
      "commit": "06e20a03493f73f128b397107d55ecee2635c831",
      "tree": "6fc9aff70417a9f4359b72b724b56a40df4453f7",
      "parents": [
        "925e03a912e07283056cf99d12fad51a4451adae"
      ],
      "author": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Tue Feb 16 17:24:42 2021 -0800"
      },
      "committer": {
        "name": "Hangyu Kuang",
        "email": "hkuang@google.com",
        "time": "Thu Feb 18 21:16:45 2021 +0000"
      },
      "message": "transcoding: Add permission check in addClient.\n\nThis is used to allow only MediaProvider access the media transcoding\nservice.\n\nBug: 179496636\nTest: atest  CtsMediaTranscodingTestCases:MediaTranscodeManagerTest\nChange-Id: If38e7d2283631e2e174af657ab0b409c77c3ff26\n"
    },
    {
      "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": "cbb06bde46fa0d29607db64a8ed01b84b3b78f12",
      "tree": "42c3312f93df38dde8113c207b4ce4ae5f8b78e0",
      "parents": [
        "27e692473dd610618c9b1d4a1e8c4778dc5f628d",
        "26ddfc5929467be4fd290ce0f6f9e2321b17f2a8"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Fri Jan 22 17:29:37 2021 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Fri Jan 22 17:29:37 2021 +0000"
      },
      "message": "Merge changes Ib70e7c51,I4ccf05f3\n\n* changes:\n  transcoding: use builtin_available macro instead of __ANDROID_APEX__\n  transcoding: use __ANDROID_API_FUTURE__ in __builtin_available check\n"
    },
    {
      "commit": "6ea8f8b6dbc869e5881d1285937dd7793e21950d",
      "tree": "b9867ac5ea5d24b8aecc66bc0c5cbfe97089706c",
      "parents": [
        "03b68517d3e9d75332b6a2a62b276958807831a5"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Jan 21 18:14:11 2021 -0800"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Fri Jan 22 15:36:07 2021 +0000"
      },
      "message": "Fix typos in logs\n\nbug: 178144708\ntest: builds\nChange-Id: Iab7444c4db049c4a846500ed401c6c06153d0f21\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": "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": "5077cac5c1eff03c6470279a3116fd784f86d29a",
      "tree": "65af5a65abab58feb165b2bed605a5f2f99a0f3b",
      "parents": [
        "a71f8a2a9af89d7b25940e52e942f68a668a705a"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Nov 19 13:28:17 2020 -0800"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Nov 19 13:30:54 2020 -0800"
      },
      "message": "transcoding: change permission check to WRITE_MEDIA_STORAGE\n\nAs recommended by MediaProvider team.\n\nbug: 159172726\nbug: 171393067\nChange-Id: I6b30f84d21a5af60a565284f3562876dca24786e\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": "3fea286f711f8e81afe7e85fe44d55e09cd6a9ea",
      "tree": "7b004f776aa3efddc0bf535cf4536f8f664281d4",
      "parents": [
        "5c75d0b7f9cf84438ff65d4865a29cb32bf1a051"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Oct 21 08:46:03 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Oct 21 16:40:19 2020 +0000"
      },
      "message": "Add more package names for MediaProvider\n\nbug: 171393067\nChange-Id: I201de3c7a9e0e6a9a8c3620b519d069764ec73a0\n"
    },
    {
      "commit": "bc06248c38fb40820d614f81f24a858016c40a28",
      "tree": "f285ff98b372f525fba23a22c7ea6be58f19a180",
      "parents": [
        "29ac42b5105591c64454e06bf81b7b6782e54e81"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Oct 14 16:43:53 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Oct 15 00:35:29 2020 +0000"
      },
      "message": "transcoding: renaming to session controller to avoid confusion\n\nNo functional change.\n\nbug:154733526\n\nChange-Id: I8731a721ab3a6ae2937e1ac24e4f1a2f1e27da85\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": "3f23e986396cf1e874e79f8b648d9e06bc4a1b91",
      "tree": "11dbf8360f9e0a27635d770f36fe4937bc88253a",
      "parents": [
        "2f0bf51fb362149cfd88d55b93a3a0bb89779e92"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Sep 24 14:03:41 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Sep 24 20:38:40 2020 -0700"
      },
      "message": "transcoding: move uid/pid from client to job\n\nRemove the uid/pid on registerClient, and move uid/pid\nchecking to submitRequest time.\n\nbug: 154733526\ntest: unit testing, builds\n\nChange-Id: Ibf29e326cd80e133b8630df96382c80dd9002548\n"
    },
    {
      "commit": "72d105f876312a6a7a0886963c461a56c16d6383",
      "tree": "90b7e8670ce9815df8f2b2b2b31c9f5388c79abc",
      "parents": [
        "63b7e570a5ee9d48b886c4c18306bb26d5f2a107"
      ],
      "author": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Thu May 21 10:48:55 2020 -0700"
      },
      "committer": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Tue May 26 16:05:35 2020 -0700"
      },
      "message": "Transcoding: Change to use string path instead of fd.\n\nBug: 145628554\nTest: unit test\n\nChange-Id: I321ecf75e770b4500fc3015a5d161e3b48ea5678\n"
    },
    {
      "commit": "15c192adcbd4502559f87e57cfc9b245071b8349",
      "tree": "1f2796cc2456bda9572d534b71187d7772f9381d",
      "parents": [
        "3fa408f83dda44f768ed7e53dc34b5ea78bb41a1"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue May 05 16:24:00 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed May 06 14:09:48 2020 -0700"
      },
      "message": "transcoding: remove realtime jobs when a client is removed\n\nAlso disallow usage of the client after unregister.\n\nbug: 154734285\ntest: unit testing\nChange-Id: Ib5d54a897c7e56d42d27645fa55ab6f21f435b5e\n"
    },
    {
      "commit": "3fa408f83dda44f768ed7e53dc34b5ea78bb41a1",
      "tree": "7e79793ff7ab68f006759417ff44ea5dbb157cca",
      "parents": [
        "df797540fde34d6cb552d7b7787e96f6c6c995f4"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Thu Apr 30 11:04:28 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed May 06 10:51:05 2020 -0700"
      },
      "message": "transcoding: fixes for binder died handling\n\nChange client id type to uintptr_t counter, instead of\ncasting binder to int64_t.\n\nSave all shared_ptrs of clients in global registry.\n\nbug: 154734285\nbug: 145233472\n\ntest: transcoding unit tests; manually plant crash\nin test client and check binderDied handling in log.\nChange-Id: If6523a1c6b7ce797a2201462399174e9cf0a3c71\n\nChange-Id: I6b312c0f28a345285e27b738c37baee2bccae755\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"
    },
    {
      "commit": "20f2aa6bd6556427d8e7a5b27ced5538106fe404",
      "tree": "dcd4131c27cd65638d8544b6c5b69675a8205611",
      "parents": [
        "920acdde9af9c71b94a3480af91112c8a49dc07d",
        "7ae4e2fa40fbf6035ab15952a3412031aa477798"
      ],
      "author": {
        "name": "TreeHugger Robot",
        "email": "treehugger-gerrit@google.com",
        "time": "Wed Apr 29 21:39:57 2020 +0000"
      },
      "committer": {
        "name": "Android (Google) Code Review",
        "email": "android-gerrit@google.com",
        "time": "Wed Apr 29 21:39:57 2020 +0000"
      },
      "message": "Merge \"transcoding: use uid instead of pid for scheduling\""
    },
    {
      "commit": "7ae4e2fa40fbf6035ab15952a3412031aa477798",
      "tree": "8a7acb8da489b094941e57ac408c809d3209132b",
      "parents": [
        "4187c8951b6ec3611720c2f0c2f2ce8da14d9087"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Fri Apr 17 15:24:34 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Apr 29 12:03:09 2020 -0700"
      },
      "message": "transcoding: use uid instead of pid for scheduling\n\nThis change replaces pid usage with uid, there is no functional\nchange other than that.\n\nbug: 154734285\nbug: 145233472\ntest: unit tests\n\nChange-Id: I2000a84486a561a393211cb0b098e456c2173227\n"
    },
    {
      "commit": "08b38d01b7ad88c3197c6010a71d483c0e74547e",
      "tree": "8ccbff470ca9ed279a2af0238cde4c0b412bda80",
      "parents": [
        "6709a937953cf92b73fb057ec9e4e0616ab3e6c5"
      ],
      "author": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Fri Apr 17 14:29:33 2020 -0700"
      },
      "committer": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Fri Apr 17 18:08:28 2020 -0700"
      },
      "message": "MediaTranscodingService: Add some missing build flags to Android.bp\n\nThe build flag uncover some locking are missed and this CL also fixes\nthem.\n\nBug: 145233472\nTest: Unit test\nChange-Id: Ide999b95f064adf14967cc2e36331524e83426d2\n"
    },
    {
      "commit": "6d58e4b1ae638222e6f228ab07f9709199778476",
      "tree": "b6002604f68ea5a258c3600cfc392fee38f0a017",
      "parents": [
        "b134bafea46c8a08fea30f2c534f9844039b937b"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue Mar 31 09:41:10 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Wed Apr 15 12:42:10 2020 -0700"
      },
      "message": "transcoding: add job scheduler and unit tests\n\nbug: 145233472\n\nChange-Id: Id0244ff553e9fa963ccc7623cc6198dfd9db2564\n"
    },
    {
      "commit": "8e06263e23b0f44d3a8e2970548a600e6bde3560",
      "tree": "025ed1f839fc6751fc0015dfbdf689a896effb78",
      "parents": [
        "5e76a930b0a7147c0dbd32f0fc1e9cd35baaf705"
      ],
      "author": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue Mar 31 10:56:37 2020 -0700"
      },
      "committer": {
        "name": "Chong Zhang",
        "email": "chz@google.com",
        "time": "Tue Mar 31 15:52:47 2020 -0700"
      },
      "message": "transcoding: separate client interface from service\n\nRefactor AIDL to separate client interface from service.\n\nUse client listener binder as unique id for client, as multiple\nclients could exist for the same pid.\n\nMisc unit testing changes.\n\nbug: 145233472\ntest: mediatranscodingservice_test, TranscodingClientManager_tests\nChange-Id: I8d9522da23163375df8df7822d0f6ae270cff1b4\n"
    },
    {
      "commit": "5172cabc2ecf0dc6e15539eccae3b35d6aed3de8",
      "tree": "f8c25e3fd2da94c300cbbd63a417497d18f23fb0",
      "parents": [
        "3f4a68a09dfd87b6e5a40f67278e27c957c818a1"
      ],
      "author": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Fri Jan 31 12:40:28 2020 -0800"
      },
      "committer": {
        "name": "Hangyu Kuang",
        "email": "hkuang@google.com",
        "time": "Sat Feb 01 00:54:27 2020 +0000"
      },
      "message": "MediaTranscodingService: Simplify TranscodingClientManager.\n\nChange the singleton to return reference instead of sp\u003c\u003e;\n\nBug: 145233472\nTest: Unit test.\nChange-Id: Ie5b8631ec9e917d80805f63c77618e24720f53bc\n"
    },
    {
      "commit": "9c04b8d17071731b919563c129919dd070f8075c",
      "tree": "e82f6739c53cb900a6cd02ea77b8ccdfd946c47b",
      "parents": [
        "91fe789336d2c9ff772651bfa654604d5d241fd2"
      ],
      "author": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Wed Jan 22 10:03:21 2020 -0800"
      },
      "committer": {
        "name": "Hangyu Kuang",
        "email": "hkuang@google.com",
        "time": "Fri Jan 31 21:37:04 2020 +0000"
      },
      "message": "MediaTranscodingService: Implement service\u0027s add/remove client APIs.\n\nBug: 145233472\nTest: Unit test.\n\nChange-Id: Ice22f86942bf3838c80b100c71af46ff6e217744\n"
    },
    {
      "commit": "26587cbbaad5057e43f6648293fbe5a546fc809c",
      "tree": "a4a1046b12602a68dfe6aa28d122bcd1a2b79cc5",
      "parents": [
        "48c365e01796f391604560421d66ca175937243a"
      ],
      "author": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Thu Jan 16 10:36:08 2020 -0800"
      },
      "committer": {
        "name": "hkuang",
        "email": "hkuang@google.com",
        "time": "Mon Jan 27 13:16:26 2020 -0800"
      },
      "message": "MediaTranscoding: Add TranscodingClientManager.\n\nTranscodingClientManager manages all the clients for\nMediaTranscodingService.\n\nBug: 145233472\nTest: Unit test.\nChange-Id: I29243eeb6dcc0271c9edc8cc28e1b9b2bf6b3912\n"
    }
  ]
}
