Loading telephony/java/com/android/internal/telephony/msim/ITelephonyMSim.aidl +40 −0 Original line number Diff line number Diff line Loading @@ -382,5 +382,45 @@ interface ITelephonyMSim { * @return true if success */ boolean setDefaultDataSubscription(int subscription); /** * Returns the response APDU for a command APDU sent to a logical channel */ String transmitIccLogicalChannel(int cla, int command, int channel, int p1, int p2, int p3, String data, int subscription); /** * Returns the response APDU for a command APDU sent to the basic channel */ String transmitIccBasicChannel(int cla, int command, int p1, int p2, int p3, String data, int subscription); /** * Returns the channel id of the logical channel, * Returns 0 on error. */ int openIccLogicalChannel(String aid, int subscription); /** * Return true if logical channel was closed successfully */ boolean closeIccLogicalChannel(int channel, int subscription); /** * Returns the error code of the last error occurred. * Currently only used for openIccLogicalChannel */ int getLastError(int subscription); /** * Returns the response APDU for a command APDU sent through SIM_IO */ byte[] transmitIccSimIO(int fileID, int command, int p1, int p2, int p3, String filePath, int subscription); /** * Get ATR (Answer To Reset; as per ISO/IEC 7816-4) from SIM card */ byte[] getATR(int subscription); } Loading
telephony/java/com/android/internal/telephony/msim/ITelephonyMSim.aidl +40 −0 Original line number Diff line number Diff line Loading @@ -382,5 +382,45 @@ interface ITelephonyMSim { * @return true if success */ boolean setDefaultDataSubscription(int subscription); /** * Returns the response APDU for a command APDU sent to a logical channel */ String transmitIccLogicalChannel(int cla, int command, int channel, int p1, int p2, int p3, String data, int subscription); /** * Returns the response APDU for a command APDU sent to the basic channel */ String transmitIccBasicChannel(int cla, int command, int p1, int p2, int p3, String data, int subscription); /** * Returns the channel id of the logical channel, * Returns 0 on error. */ int openIccLogicalChannel(String aid, int subscription); /** * Return true if logical channel was closed successfully */ boolean closeIccLogicalChannel(int channel, int subscription); /** * Returns the error code of the last error occurred. * Currently only used for openIccLogicalChannel */ int getLastError(int subscription); /** * Returns the response APDU for a command APDU sent through SIM_IO */ byte[] transmitIccSimIO(int fileID, int command, int p1, int p2, int p3, String filePath, int subscription); /** * Get ATR (Answer To Reset; as per ISO/IEC 7816-4) from SIM card */ byte[] getATR(int subscription); }