Add additional overriding methods to signature files

This change adds overriding methods that are essential to compile the
stubs generated from the signature files.

More information and the background for this change is available at go/add-overriding-one-pager.

Test: m checkbuild --build-from-text-stub
Bug: 299366704
Change-Id: I301ec87464be4fa89380b2ccb8b8b305676ec67f
2 files changed