Hide LogicalChannel operations developer preview.

Bug: 15193354
Change-Id: I0e41ab7bd8bb3aab9af855f022cb89349802f63f
This commit is contained in:
Wink Saville
2014-05-26 09:01:20 -07:00
parent 915f0ecaca
commit d42f945a3c
2 changed files with 8 additions and 4 deletions

View File

@@ -28205,12 +28205,8 @@ package android.telephony {
method public java.lang.String getVoiceMailAlphaTag();
method public java.lang.String getVoiceMailNumber();
method public boolean hasIccCard();
method public boolean iccCloseLogicalChannel(int);
method public int iccOpenLogicalChannel(java.lang.String);
method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String);
method public boolean isNetworkRoaming();
method public void listen(android.telephony.PhoneStateListener, int);
method public java.lang.String sendEnvelopeWithStatus(java.lang.String);
field public static final java.lang.String ACTION_PHONE_STATE_CHANGED = "android.intent.action.PHONE_STATE";
field public static final java.lang.String ACTION_RESPOND_VIA_MESSAGE = "android.intent.action.RESPOND_VIA_MESSAGE";
field public static final int CALL_STATE_IDLE = 0; // 0x0

View File

@@ -1752,6 +1752,8 @@ public class TelephonyManager {
*
* @param AID Application id. See ETSI 102.221 and 101.220.
* @return The logical channel id which is negative on error.
*
* @hide
*/
public int iccOpenLogicalChannel(String AID) {
try {
@@ -1773,6 +1775,8 @@ public class TelephonyManager {
* @param channel is the channel id to be closed as retruned by a successful
* iccOpenLogicalChannel.
* @return true if the channel was closed successfully.
*
* @hide
*/
public boolean iccCloseLogicalChannel(int channel) {
try {
@@ -1802,6 +1806,8 @@ public class TelephonyManager {
* @param data Data to be sent with the APDU.
* @return The APDU response from the ICC card with the status appended at
* the end. If an error occurs, an empty string is returned.
*
* @hide
*/
public String iccTransmitApduLogicalChannel(int channel, int cla,
int instruction, int p1, int p2, int p3, String data) {
@@ -1826,6 +1832,8 @@ public class TelephonyManager {
* @return The APDU response from the ICC card, with the last 4 bytes
* being the status word. If the command fails, returns an empty
* string.
*
* @hide
*/
public String sendEnvelopeWithStatus(String content) {
try {