Revert "Cherrypick from aosp/1478357."

Revert "Rebase to master@ 6976336"

Revert "Rebase to master@ 6976336 and copy the change in ag/12999372"

Revert "Cherrypick from: https://android-review.googlesource.com..."

Revert "Rebase to master@ 6976336"

Revert "Cherrypicked from https://android-review.git.corp.google..."

Revert "Cherrypicked from https://android-review.googlesource.co..."

Revert "Rebase to master@ 6976336"

Revert "Rebase to master@ 6976336"

Revert "Cherrypicked from https://android-review.googlesource.co..."

Revert "Rebase to master@ 6976336"

Revert submission 13068802-rebase_tf_173451928


Reason for revert: It leads to test flakiness and the coverage tests are not executed at all: https://b.corp.google.com/issues/173451928#comment47

Reverted Changes:
I249714c9e:Cherrypick from aosp/1478357.
I572e5c2ad:Cherrypick from https://android-review.googlesourc...
I56119259a:Cherrypicked from https://android-review.git.corp....
Id204d5385:Update build api library.
I9693182b7:Cherrypicked from https://android-review.googlesou...
I270764875:Cherrypicked from https://android-review.googlesou...
Iccd4e0e52:Cherrypick from: https://googleplex-android-review...
I69ef44a39:Cherrypick from: https://android-review.googlesour...
Ia9303dd1f:Cherrypick from: https://android-review.googlesour...
I569229605:Rebase to master@ 6976336
I58902ca81:Rebase to master@ 6976336 and copy the change in a...
I32e150372:Rebase to master@ 6976336
I3460d928c:Rebase to master@ 6976336
I63e2bedb6:Rebase to master@ 6976336
I82c2f9159:Rebase to master@ 6976336

Exempt-From-Owner-Approval: revert
Change-Id: I89cad9f79e0233018f763288a6425211db204cc2
Merged-In: I249714c9e284716249ce3d97dea6bec461fc19d9
2 files changed