summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-03Remove LockScreenAutomation.apk am: 331184f545 am: f465eb8c7b am: 76be6560c6 ↵Yo Chiang
am: 74bc0e8df7 am: d12a5f8680 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1418189 Change-Id: I74bfa2bd1b5cc3ced5d3d72df488e9cfa3824d90
2020-09-03Remove LockScreenAutomation.apk am: 331184f545 am: f465eb8c7b am: 76be6560c6 ↵Yo Chiang
am: 74bc0e8df7 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1418189 Change-Id: I7111f9e6f0bb538bd83e26ec1f2c0be9ee9eea82
2020-09-03Remove LockScreenAutomation.apk am: 331184f545 am: f465eb8c7b am: 76be6560c6Yo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1418189 Change-Id: I7d2cb20c3e9a804c0377910ebe1e9f3acdf2a180
2020-09-03Remove LockScreenAutomation.apk am: 331184f545 am: f465eb8c7bYo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1418189 Change-Id: I916a25910c27fbb43294b5b8370d95d04cd97c64
2020-09-03Remove LockScreenAutomation.apk am: 331184f545Yo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1418189 Change-Id: I0606028813ea410264eadea6a0ce7115005e7dca
2020-09-02Remove LockScreenAutomation.apkYo Chiang
Because it's no longer a prerequisite for `gsi_tool install` and it's causing test flakes. Bug: 165907486 Bug: 165471299 Test: atest DSUEndtoEndTest Change-Id: Iad0985fb61e1c3463b8fc831123aa728fd2fbe71
2020-09-02Merge "Add closePartition() method to gsid" am: 1ba307abda am: 1274eb3d3c ↵Yo Chiang
am: 683453331f am: 912632b838 am: b9d8e89291 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404709 Change-Id: I60ce41d7181358f4a9875013ffab13b842ed17f3
2020-09-02Merge "Add closePartition() method to gsid" am: 1ba307abda am: 1274eb3d3c ↵Yo Chiang
am: 683453331f am: 912632b838 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404709 Change-Id: I8973e89490c092e39a8ecc8372eb93d72e04ca79
2020-09-02Merge "Add closePartition() method to gsid" am: 1ba307abda am: 1274eb3d3c ↵Yo Chiang
am: 683453331f Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404709 Change-Id: I0e26cc6b6c3e837061c1a5fb90739da749512e6a
2020-09-02Merge "Add closePartition() method to gsid" am: 1ba307abda am: 1274eb3d3cYo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404709 Change-Id: Idc4b12be26647c823121e434b6f67de36a87543b
2020-09-02Merge "Add closePartition() method to gsid" am: 1ba307abdaYo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404709 Change-Id: I7c8f445a02bb7bebee2b5e0e32f971af319249a0
2020-09-02Merge "Add closePartition() method to gsid"Yo Chiang
2020-08-31Merge "gsi_tool should send STDIN_FILENO to gsid" am: 69a1bb0d8d am: ↵Yo Chiang
8eec4c8064 am: e567986c46 am: 72ae5cb5b0 am: 96392a76ed Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1413316 Change-Id: Ie81a68a11e4236e98458e976983146e0e52ed83f
2020-08-31Merge "gsi_tool should send STDIN_FILENO to gsid" am: 69a1bb0d8d am: ↵Yo Chiang
8eec4c8064 am: e567986c46 am: 72ae5cb5b0 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1413316 Change-Id: I41b1f8dcf1102d9e2e756ef13994cf538aa18131
2020-08-31Merge "gsi_tool should send STDIN_FILENO to gsid" am: 69a1bb0d8d am: ↵Yo Chiang
8eec4c8064 am: e567986c46 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1413316 Change-Id: I2164314ad3ea91d4d5532fdca8488358b6d4d28f
2020-08-31Merge "gsi_tool should send STDIN_FILENO to gsid" am: 69a1bb0d8d am: 8eec4c8064Yo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1413316 Change-Id: I2620529bec7542b375f46741d9dbea6fa7d6c573
2020-08-31Merge "gsi_tool should send STDIN_FILENO to gsid" am: 69a1bb0d8dYo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1413316 Change-Id: I52996ee1525d13581d2f006cb70e6d3031885de7
2020-08-31Merge "gsi_tool should send STDIN_FILENO to gsid"Yo Chiang
2020-08-28gsi_tool should send STDIN_FILENO to gsidYo Chiang
`gsi_tool` is `dup()`-ing FD 1, which is the STDOUT_FILENO, and sending it to `gsid`, and `gsid` is calling `read()` on the FD. `gsi_tool` should actually be sending FD 0, the STDIN, to `gsid`. Bug: 166589508 Test: gzip -c system.raw | adb shell "zcat | gsi_tool install ..." Change-Id: I9d7bb5f2a1146d3c5ac7332eae34a67963a6eb5d
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 66d1430fae -s ours am: 765e6d9f64 -s ours am: 83bc3e2716 -s ours am: e14d264a3a -s ours am skip reason: Change-Id Ib7fbfaccf9abb50bd183cc0c3caa29eb6c9aa0b4 with SHA-1 6285efd975 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/gsid/+/12469966 Change-Id: Ic2688faf8a05e3df37da6dbbe8e91f3c1548e5f4
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 66d1430fae -s ours am: 765e6d9f64 -s ours am: 83bc3e2716 -s ours am skip reason: Change-Id Ib7fbfaccf9abb50bd183cc0c3caa29eb6c9aa0b4 with SHA-1 6285efd975 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/gsid/+/12469966 Change-Id: I7d77dae0c9c237c0251c47f76ba16131756951b5
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 66d1430fae -s ours am: 765e6d9f64 -s ours am skip reason: Change-Id Ib7fbfaccf9abb50bd183cc0c3caa29eb6c9aa0b4 with SHA-1 6285efd975 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/gsid/+/12469966 Change-Id: I01ae0b239f21cb23ba8937ec8c8eae5721c9ef1b
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 66d1430fae -s ours am skip reason: Change-Id Ib7fbfaccf9abb50bd183cc0c3caa29eb6c9aa0b4 with SHA-1 6285efd975 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/gsid/+/12469966 Change-Id: Ia23fbcad1b34b51f1401a79c9c1399f531c547c3
2020-08-27Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as mergedXin Li
Bug: 166295507 Merged-In: Ib7fbfaccf9abb50bd183cc0c3caa29eb6c9aa0b4 Change-Id: I7059ec073951ab7cb0180ae28efa331c3bcb27b8
2020-08-25Merge changes I3e283232,Iee004bc2,Ie4d798c9,If977b4da am: dc8697e372 am: ↵Yo Chiang
31c838f039 am: 5a7fc4a9d6 am: 43966baa8d am: 3bfbaaf69e Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404707 Change-Id: I29061806786c443ca22fbe5cca005dea693722ab
2020-08-25Merge changes I3e283232,Iee004bc2,Ie4d798c9,If977b4da am: dc8697e372 am: ↵Yo Chiang
31c838f039 am: 5a7fc4a9d6 am: 43966baa8d Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404707 Change-Id: I944cc69afb7813baac33d9cb1d0d8ae068316c1f
2020-08-25Merge changes I3e283232,Iee004bc2,Ie4d798c9,If977b4da am: dc8697e372 am: ↵Yo Chiang
31c838f039 am: 5a7fc4a9d6 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404707 Change-Id: Id78ed3b23499ba96b0ad73fbf6fb0cf7634479aa
2020-08-25Merge changes I3e283232,Iee004bc2,Ie4d798c9,If977b4da am: dc8697e372 am: ↵Yo Chiang
31c838f039 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404707 Change-Id: If966dd0f4c7e00169740642957d8f1db98f0d8a1
2020-08-25Merge changes I3e283232,Iee004bc2,Ie4d798c9,If977b4da am: dc8697e372Yo Chiang
Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1404707 Change-Id: Ifb459a1f04caa01234c93da8144d07ef813f152a
2020-08-25Add closePartition() method to gsidYo Chiang
closePartition() closes an ongoing partition installation and does error checking. closePartition() returns a non-zero error code if the installation ends with an error. Bug: 165471299 Test: Observe the logcat of a failed DSU installation Change-Id: I2ca7868834fa1f59bd534a7fef5eb7b3201d6789
2020-08-25Merge changes I3e283232,Iee004bc2,Ie4d798c9,If977b4daYo Chiang
* changes: GsiService::enableGsi() checks return code of FinishInstall() Refactor ~PartitionInstaller() and add FinishInstall() Refactor and rename Finish() to CheckInstallState() Check install status in ~PartitionInstaller()
2020-08-24GsiService::enableGsi() checks return code of FinishInstall()Yo Chiang
If enabling a freshly installed GSI, GsiService::enableGsi() should call FinishInstall() to check if the installation completes successfully. Bug: 165471299 Test: Observe logcat when DSU installation fails Test: DsuEndToEndTest Change-Id: I3e2832322b272506f748fdd9e1ff60c6317ef42b
2020-08-24Refactor ~PartitionInstaller() and add FinishInstall()Yo Chiang
Distill the error checking and resource management logic in ~PartitionInstaller() and PostInstallCleanup() into a public method FinishInstall(). FinishInstall() does the opposite of StartInstall(). It checks the installation result, release device handles and cleans up any failed installation files. Then it returns an error code indicating the installation status. Bug: 165471299 Test: Observe logcat when DSU installation fails Change-Id: Iee004bc29dc875c8cf656e11fe8fd259e3003992
2020-08-24Refactor and rename Finish() to CheckInstallState()Yo Chiang
CheckInstallState() returns IGsiService::INSTALL_OK if installation completes successfully, else an error code. Remove the PartitionInstaller::succeeded_ field as checking the value of CheckInstallState() is enough. Bug: 165471299 Test: Observe logcat when DSU installation fails Change-Id: Ie4d798c963c0d537ed5ab35713e1f8faacb89af2
2020-08-24Check install status in ~PartitionInstaller()Yo Chiang
~PartitionInstaller() should check the error code returned by Finish() and clean up the installed images if any error occured. Bug: 165471299 Test: Observe logcat when DSU installation fails Change-Id: If977b4da0f37a0706494259838c84bcd2752ed94
2020-07-15Add missing shared library dependencies from system/core/libutils/Android.bp ↵Stephen Hines
am: 60bbc030e1 am: 6c1d2827fd am: 6285efd975 am: fe46276807 am: df8e850db2 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1362823 Change-Id: I7557983fc0609254976da0b428f5e4d9c27edc08
2020-07-15Add missing shared library dependencies from system/core/libutils/Android.bp ↵Stephen Hines
am: 60bbc030e1 am: 6c1d2827fd am: 6285efd975 am: fe46276807 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1362823 Change-Id: I2444a520b137c8545a0f98f881092d0a8dc38b85
2020-07-15Add missing shared library dependencies from system/core/libutils/Android.bp ↵Stephen Hines
am: 60bbc030e1 am: 6c1d2827fd am: 6285efd975 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1362823 Change-Id: I6c3aad85be5a9ab663b658088b200935cd9085f0
2020-07-15Add missing shared library dependencies from system/core/libutils/Android.bp ↵Stephen Hines
am: 60bbc030e1 am: 6c1d2827fd Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1362823 Change-Id: Ib7fbfaccf9abb50bd183cc0c3caa29eb6c9aa0b4
2020-07-15Add missing shared library dependencies from system/core/libutils/Android.bp ↵Stephen Hines
am: 60bbc030e1 Original change: https://android-review.googlesource.com/c/platform/system/gsid/+/1362823 Change-Id: I4e5bf0e40e5e91986b36577b5c49b50aa187048d
2020-07-14Add missing shared library dependencies from system/core/libutils/Android.bpStephen Hines
Without these shared library dependencies, our updated lld detects missing symbols like android_load_sphal_library and SetTaskProfiles. Bug: http://b/155835175 Test: m for aosp_blueline Change-Id: I5190ea8c139acb12feb13366fa58f52d71ef80b1
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04b ↵Jiyong Park
am: 353bd5faa7 am: 24038474d7 am: 13c4a1484e Change-Id: I9800b004ffc0685e2c10b725ae4f4a7e1f4dd8d1
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04b ↵Jiyong Park
am: 353bd5faa7 am: 24038474d7 Change-Id: I7cc0dfb6d680217b8fb7d8817b1ad451a0d0ccd4
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04b ↵Jiyong Park
am: 4913ba22d3 am: aeb7bb4aad Change-Id: Ib70393a9fb61c36eeb2f48732ff2ed862aed7b89
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04b ↵Jiyong Park
am: 4913ba22d3 Change-Id: I76fd81692f973e73fe2ef8a1bfc598d2196b36b0
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04b ↵Jiyong Park
am: 353bd5faa7 Change-Id: I5a71a8b13cf64829ffedcc768bf005126244b1ff
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04bandroid-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-d2-releaseJiyong Park
Change-Id: I9d7e620c64f28447f95eae0e66848985121bf61a
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fb am: 66478cb04bJiyong Park
Change-Id: I6d3aa584b817aeb00ea61411df17b64f0a0cfdbb
2020-04-21Mark some aidl_interface modules as unstable am: 5e06a0a2fbandroid-11.0.0_r16android11-d1-b-releaseJiyong Park
Change-Id: I5971ca40870d8950fa27fbe0c81ab555aa30652d
2020-04-20[automerger skipped] Mark some aidl_interface modules as unstable am: ↵Jiyong Park
4801a3fe5a am: 7247c8258a -s ours am: 4065497b35 -s ours am: c3ef6ba92e -s ours am: 79f4cabd42 -s ours am skip reason: Change-Id Ic16f45803a4532ffd818e74e3ca4b90f788113cc with SHA-1 5e06a0a2fb is in history Change-Id: I97998542185c8adb7f5af89da8a89b36b6b0cd61