Telephony: Log parameters for facility lock operations.
Abhishek Adappa [Wed, 29 Aug 2012 16:55:36 +0000 (09:55 -0700)]
Change-Id: Ib834928ffd76a0f0e4fa0552cc27a09ccb4cd987

src/java/com/android/internal/telephony/RIL.java

index 99294ed..6131792 100755 (executable)
@@ -1659,7 +1659,9 @@ public final class RIL extends BaseCommands implements CommandsInterface {
                             Message response) {
         RILRequest rr = RILRequest.obtain(RIL_REQUEST_QUERY_FACILITY_LOCK, response);
 
-        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
+        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
+                                                 + " [" + facility + " " + serviceClass
+                                                 + " " + appId + "]");
 
         // count strings
         rr.mp.writeInt(4);
@@ -1688,7 +1690,9 @@ public final class RIL extends BaseCommands implements CommandsInterface {
          RILRequest rr
                 = RILRequest.obtain(RIL_REQUEST_SET_FACILITY_LOCK, response);
 
-        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
+        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
+                                                        + " [" + facility + " " + lockState
+                                                        + " " + serviceClass + " " + appId + "]");
 
         // count strings
         rr.mp.writeInt(5);