Change testing for CarrierApiTest#transmitApdu

CarrierApiTest currently tests
TelephonyManager#iccTransmitApduLogicalChannel via STATUS, SELECT, and
GET RESPONSE commands. However, per TS 102 221 Section 7.3.1.1, the GET
RESPONSE apdu should not be necessary.

Since these commands are sent as APDUs (not TPDUs), the '61xx' response
from the SELECT command should be handled as part of the
iccTransmitApduLogicalChannel command. This change updates the testing
logic to verify that the FCP template requested in the SELECT command is
returned immediately following the SELECT command, or that the response
is '61xx', based on the first SDK value supported on the device
(targeting next generation devices) as well as the content of the
response value.

Bug: 135229967
Test: atest CarrierApiTest
Merged-In: I7b59b75e200b3512378cadbcf06bba05fd680b9d
Change-Id: I7b59b75e200b3512378cadbcf06bba05fd680b9d
(cherry picked from commit f491a088f17ff9e10dc4eebc2857bed90327ba26)
1 file changed