Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4c9c223 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Support for SEEK on Android"

parents 84f9bd3b 457904ea
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
@@ -329,5 +329,45 @@ interface ITelephony {
     * Sets minimum time in milli-seconds between onCellInfoChanged
     */
    void setCellInfoListRate(int rateInMillis);

    /**
     * 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);

    /**
     * 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);

    /**
     * Returns the channel id of the logical channel,
     * Returns 0 on error.
     */
    int openIccLogicalChannel(String AID);

    /**
     * Return true if logical channel was closed successfully
     */
    boolean closeIccLogicalChannel(int channel);

    /**
     * Returns the error code of the last error occured.
     * Currently only used for openIccLogicalChannel
     */
    int getLastError();

    /**
     * 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);

    /**
     * Get ATR (Answer To Reset; as per ISO/IEC 7816-4) from SIM card
     */
     byte[] getATR();
}
+8 −0
Original line number Diff line number Diff line
@@ -67,6 +67,9 @@ public interface RILConstants {
    int SS_MODIFIED_TO_USSD = 24;             /* SS request modified to USSD */
    int SS_MODIFIED_TO_SS = 25;               /* SS request modified to different SS request */
    int SUBSCRIPTION_NOT_SUPPORTED = 26;      /* Subscription not supported */
    int MISSING_RESOURCE = 27;
    int NO_SUCH_ELEMENT = 28;
    int INVALID_PARAMETER = 29;

    /* NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE */
    int NETWORK_MODE_WCDMA_PREF     = 0; /* GSM/WCDMA (WCDMA preferred) */
@@ -292,6 +295,11 @@ cat include/telephony/ril.h | \
    int RIL_REQUEST_GET_DATA_CALL_PROFILE = 114;
    int RIL_REQUEST_SET_UICC_SUBSCRIPTION = 115;
    int RIL_REQUEST_SET_DATA_SUBSCRIPTION = 116;
    int RIL_REQUEST_SIM_TRANSMIT_BASIC = 117;
    int RIL_REQUEST_SIM_OPEN_CHANNEL = 118;
    int RIL_REQUEST_SIM_CLOSE_CHANNEL = 119;
    int RIL_REQUEST_SIM_TRANSMIT_CHANNEL = 120;
    int RIL_REQUEST_SIM_GET_ATR = 121;

    int RIL_UNSOL_RESPONSE_BASE = 1000;
    int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED = 1000;