Remove @hide method usage in Telecom.

Some @hide Connection methods are being removed for mainline purposes.
Removed usage of Connection#putExtra shortcut method in favor of the
supported public API.
Inline use of Connection.can() method since it is just bit math.

Bug: 141576016
Test: Smoke test
Test: Run unit tests
Test: Run CTS tests
Change-Id: Idf65a45c924fd227ff487f501cd256200ab26f84
Merged-In: Idf65a45c924fd227ff487f501cd256200ab26f84
4 files changed