Add APIs to read and write the icc transparent file
Add APIs to read and write the icc transparent file in the SIM card
Change-Id: Ic53dd255fbc907a900b845efcf03394c18302f16
CRs-Fixed: 2648497
diff --git a/internal/src/org/codeaurora/internal/IExtTelephony.aidl b/internal/src/org/codeaurora/internal/IExtTelephony.aidl
old mode 100644
new mode 100755
index 7adb442..8b36ada
--- a/internal/src/org/codeaurora/internal/IExtTelephony.aidl
+++ b/internal/src/org/codeaurora/internal/IExtTelephony.aidl
@@ -141,6 +141,34 @@
boolean isFdnEnabled();
/**
+ * Check if get the icc file handler from specific application family sucessfully
+ * @param slotId user preferred slotId.
+ * @param family UICC application family.
+ * @return true or false
+ */
+ boolean hasGetIccFileHandler(int slotId, int family);
+
+ /**
+ * Read the icc transparent file in the SIM card.
+ * @param slotId user preferred slotId.
+ * @param family UICC application family.
+ * @param efId the file ID in the SIM card.
+ * @return true or false
+ */
+ boolean readEfFromIcc(int slotId, int family, int efId);
+
+ /**
+ * Write the icc transparent file in the SIM card.
+ * @param slotId user preferred slotId.
+ * @param family UICC application family.
+ * @param efId the file ID in the SIM card.
+ * @param efdata updated data to the EF.
+ * @return true - send the request to load transparent files sucessfully
+ * false - failed to get the icc file handler
+ */
+ boolean writeEfToIcc(int slotId, int family, int efId, in byte[] efData);
+
+ /**
* Get primary stack phone id.
* @param - void
* @return phone id