Switch *_METHOD to a more future-proof pattern.

This merges go/aog/424219 into master (unfortunately, the
implementations are meaningfully different).

This matches the other uses in Android and would have avoided
https://android-review.googlesource.com/c/423260/.

Test: mma
Change-Id: I81f6092ab50ff408a48f18bcbca2a50cf9717ca6
1 file changed