From 2680416a67cc0c1724e7c175afef5af6d2655b69 Mon Sep 17 00:00:00 2001 From: Cody Kesting Date: Fri, 29 Mar 2019 13:06:41 -0700 Subject: [PATCH] Clarify documentation for TelMan#iccOpenLogicalChannel. TelephonyManager#iccOpenLogicalChannel documentation should be improved to clarify the function and its inputs. Relevant standards are also explicitly referenced. Bug: 129555815 Test: Only documentation is changed. Tests not affected. Change-Id: I0664572c83cde480a9ac5f39d8664723b9ac81c9 --- .../android/telephony/TelephonyManager.java | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 41d7eb11ce11e..424a81a1eb748 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -5177,6 +5177,18 @@ public class TelephonyManager { * Use this method when no subscriptions are available on the SIM and the operation must be * performed using the physical slot index. * + * This operation wraps two APDU instructions: + * + * + * Per Open Mobile API Specification v3.2 section 6.2.7.h, only p2 values of 0x00, 0x04, 0x08, + * and 0x0C are guaranteed to be supported. + * + * If the SELECT command's status word is not '9000', '62xx', or '63xx', the status word will be + * considered an error and the channel shall not be opened. + * * Input parameters equivalent to TS 27.007 AT+CCHO command. * *

Requires Permission: @@ -5208,6 +5220,18 @@ public class TelephonyManager { /** * Opens a logical channel to the ICC card. * + * This operation wraps two APDU instructions: + *

+ * + * Per Open Mobile API Specification v3.2 section 6.2.7.h, only p2 values of 0x00, 0x04, 0x08, + * and 0x0C are guaranteed to be supported. + * + * If the SELECT command's status word is not '9000', '62xx', or '63xx', the status word will be + * considered an error and the channel shall not be opened. + * * Input parameters equivalent to TS 27.007 AT+CCHO command. * *

Requires Permission: @@ -5225,6 +5249,18 @@ public class TelephonyManager { /** * Opens a logical channel to the ICC card. * + * This operation wraps two APDU instructions: + *

+ * + * Per Open Mobile API Specification v3.2 section 6.2.7.h, only p2 values of 0x00, 0x04, 0x08, + * and 0x0C are guaranteed to be supported. + * + * If the SELECT command's status word is not '9000', '62xx', or '63xx', the status word will be + * considered an error and the channel shall not be opened. + * * Input parameters equivalent to TS 27.007 AT+CCHO command. * *

Requires Permission: