【发布时间】:2014-06-28 07:08:19
【问题描述】:
我有一堆被拒绝的补丁;我想确保我正确阅读它们。这是 .rej 文件:
--- frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -304,5 +304,40 @@
* 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);
}
似乎补丁实用程序也创建了一个原始文件。通过查看原始文件,我发现只有一种方法为接口 setCellInfoListRate 实现,这与我对补丁、差异和 .rej 文件告诉我的理解有关。似乎我只需要在 setCellInfoListRate 接口下添加带有 + 号的行。你会同意吗?我错过了什么吗?
【问题讨论】: