dtalley11

ril.java

May 21st, 2013
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 151.65 KB | None | 0 0
  1. package com.android.internal.telephony;
  2.  
  3. import android.content.BroadcastReceiver;
  4. import android.content.Context;
  5. import android.content.Intent;
  6. import android.content.IntentFilter;
  7. import android.net.LocalSocket;
  8. import android.os.AsyncResult;
  9. import android.os.Handler;
  10. import android.os.HandlerThread;
  11. import android.os.Looper;
  12. import android.os.Message;
  13. import android.os.Parcel;
  14. import android.os.PowerManager;
  15. import android.os.PowerManager.WakeLock;
  16. import android.os.Registrant;
  17. import android.os.RegistrantList;
  18. import android.os.SystemProperties;
  19. import android.telephony.NeighboringCellInfo;
  20. import android.telephony.PhoneNumberUtils;
  21. import android.telephony.SmsMessage;
  22. import android.util.Log;
  23. import com.android.internal.telephony.cdma.CdmaCallWaitingNotification;
  24. import com.android.internal.telephony.cdma.CdmaInformationRecords;
  25. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaDisplayInfoRec;
  26. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaLineControlInfoRec;
  27. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaNumberInfoRec;
  28. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaRedirectingNumberInfoRec;
  29. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaSignalInfoRec;
  30. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaT53AudioControlInfoRec;
  31. import com.android.internal.telephony.cdma.CdmaInformationRecords.CdmaT53ClirInfoRec;
  32. import com.android.internal.telephony.gsm.NetworkInfo;
  33. import com.android.internal.telephony.gsm.SmsBroadcastConfigInfo;
  34. import com.android.internal.telephony.gsm.SuppServiceNotification;
  35. import java.io.ByteArrayInputStream;
  36. import java.io.DataInputStream;
  37. import java.io.IOException;
  38. import java.io.InputStream;
  39. import java.io.OutputStream;
  40. import java.nio.ByteBuffer;
  41. import java.nio.ByteOrder;
  42. import java.util.ArrayList;
  43. import java.util.Collections;
  44. import java.util.Iterator;
  45.  
  46. public final class RIL extends BaseCommands
  47.   implements CommandsInterface
  48. {
  49.   private static final int CDMA_BROADCAST_SMS_NO_OF_SERVICE_CATEGORIES = 31;
  50.   private static final int CDMA_BSI_NO_OF_INTS_STRUCT = 3;
  51.   private static final boolean DBG = false;
  52.   private static final int DEFAULT_WAKE_LOCK_TIMEOUT = 30000;
  53.   static final int EVENT_SEND = 1;
  54.   static final int EVENT_WAKE_LOCK_TIMEOUT = 2;
  55.   static final String LOG_TAG = "RILJ";
  56.   static final int RESPONSE_SOLICITED = 0;
  57.   static final int RESPONSE_UNSOLICITED = 1;
  58.   static final boolean RILJ_LOGD = true;
  59.   static final boolean RILJ_LOGV = false;
  60.   static final int RIL_MAX_COMMAND_BYTES = 8192;
  61.   static final String SOCKET_NAME_RIL = "rild";
  62.   static final int SOCKET_OPEN_RETRY_MILLIS = 4000;
  63.   private Context mContext;
  64.   private boolean mInitialRadioStateChange = true;
  65.   BroadcastReceiver mIntentReceiver = new BroadcastReceiver()
  66.   {
  67.     public void onReceive(Context paramContext, Intent paramIntent)
  68.     {
  69.       if (paramIntent.getAction().equals("android.intent.action.SCREEN_ON"))
  70.         RIL.this.sendScreenState(true);
  71.       while (true)
  72.       {
  73.         return;
  74.         if (paramIntent.getAction().equals("android.intent.action.SCREEN_OFF"))
  75.         {
  76.           RIL.this.sendScreenState(false);
  77.           continue;
  78.         }
  79.         Log.w("RILJ", "RIL received unexpected Intent: " + paramIntent.getAction());
  80.       }
  81.     }
  82.   };
  83.   Object mLastNITZTimeInfo;
  84.   RILReceiver mReceiver;
  85.   Thread mReceiverThread;
  86.   int mRequestMessagesPending;
  87.   int mRequestMessagesWaiting;
  88.   ArrayList<RILRequest> mRequestsList = new ArrayList();
  89.   RILSender mSender;
  90.   HandlerThread mSenderThread;
  91.   LocalSocket mSocket;
  92.   PowerManager.WakeLock mWakeLock;
  93.   int mWakeLockTimeout;
  94.  
  95.   public RIL(Context paramContext)
  96.   {
  97.     this(paramContext, 4, 1);
  98.   }
  99.  
  100.   public RIL(Context paramContext, int paramInt1, int paramInt2)
  101.   {
  102.     super(paramContext);
  103.     this.mCdmaSubscription = paramInt2;
  104.     this.mNetworkMode = paramInt1;
  105.     switch (paramInt1)
  106.     {
  107.     default:
  108.       this.mPhoneType = 2;
  109.     case 0:
  110.     case 1:
  111.     case 2:
  112.     case 3:
  113.     case 9:
  114.     case 4:
  115.     case 5:
  116.     case 6:
  117.     case 8:
  118.     case 7:
  119.     case 10:
  120.     case 11:
  121.     }
  122.     while (true)
  123.     {
  124.       this.mWakeLock = ((PowerManager)paramContext.getSystemService("power")).newWakeLock(1, "RILJ");
  125.       this.mWakeLock.setReferenceCounted(false);
  126.       this.mWakeLockTimeout = SystemProperties.getInt("ro.ril.wake_lock_timeout", 30000);
  127.       this.mRequestMessagesPending = 0;
  128.       this.mRequestMessagesWaiting = 0;
  129.       this.mContext = paramContext;
  130.       this.mSenderThread = new HandlerThread("RILSender");
  131.       this.mSenderThread.start();
  132.       this.mSender = new RILSender(this.mSenderThread.getLooper());
  133.       this.mReceiver = new RILReceiver();
  134.       this.mReceiverThread = new Thread(this.mReceiver, "RILReceiver");
  135.       this.mReceiverThread.start();
  136.       IntentFilter localIntentFilter = new IntentFilter();
  137.       localIntentFilter.addAction("android.intent.action.SCREEN_ON");
  138.       localIntentFilter.addAction("android.intent.action.SCREEN_OFF");
  139.       paramContext.registerReceiver(this.mIntentReceiver, localIntentFilter);
  140.       return;
  141.       this.mPhoneType = 1;
  142.       continue;
  143.       this.mPhoneType = 2;
  144.       continue;
  145.       this.mPhoneType = 2;
  146.     }
  147.   }
  148.  
  149.   private void acquireWakeLock()
  150.   {
  151.     synchronized (this.mWakeLock)
  152.     {
  153.       this.mWakeLock.acquire();
  154.       this.mRequestMessagesPending = (1 + this.mRequestMessagesPending);
  155.       this.mSender.removeMessages(2);
  156.       Message localMessage = this.mSender.obtainMessage(2);
  157.       this.mSender.sendMessageDelayed(localMessage, this.mWakeLockTimeout);
  158.       return;
  159.     }
  160.   }
  161.  
  162.   private void clearRequestsList(int paramInt, boolean paramBoolean)
  163.   {
  164.     while (true)
  165.     {
  166.       synchronized (this.mRequestsList)
  167.       {
  168.         int i = this.mRequestsList.size();
  169.         if (paramBoolean)
  170.         {
  171.           Log.d("RILJ", "WAKE_LOCK_TIMEOUT  mReqPending=" + this.mRequestMessagesPending + " mRequestList=" + i);
  172.           break label178;
  173.           if (j >= i)
  174.             continue;
  175.           RILRequest localRILRequest = (RILRequest)this.mRequestsList.get(j);
  176.           if (!paramBoolean)
  177.             continue;
  178.           Log.d("RILJ", j + ": [" + localRILRequest.mSerial + "] " + requestToString(localRILRequest.mRequest));
  179.           localRILRequest.onError(paramInt, null);
  180.           localRILRequest.release();
  181.           j++;
  182.           continue;
  183.           this.mRequestsList.clear();
  184.           this.mRequestMessagesWaiting = 0;
  185.           return;
  186.         }
  187.       }
  188.       label178: int j = 0;
  189.     }
  190.   }
  191.  
  192.   private void constructCdmaSendSmsRilRequest(RILRequest paramRILRequest, byte[] paramArrayOfByte)
  193.   {
  194.     DataInputStream localDataInputStream = new DataInputStream(new ByteArrayInputStream(paramArrayOfByte));
  195.     try
  196.     {
  197.       paramRILRequest.mp.writeInt(localDataInputStream.readInt());
  198.       paramRILRequest.mp.writeByte((byte)localDataInputStream.readInt());
  199.       paramRILRequest.mp.writeInt(localDataInputStream.readInt());
  200.       paramRILRequest.mp.writeInt(localDataInputStream.read());
  201.       paramRILRequest.mp.writeInt(localDataInputStream.read());
  202.       paramRILRequest.mp.writeInt(localDataInputStream.read());
  203.       paramRILRequest.mp.writeInt(localDataInputStream.read());
  204.       byte b1 = (byte)localDataInputStream.read();
  205.       paramRILRequest.mp.writeByte(b1);
  206.       byte b2 = 0;
  207.       while (b2 < b1)
  208.       {
  209.         paramRILRequest.mp.writeByte(localDataInputStream.readByte());
  210.         int i;
  211.         b2 += 1;
  212.       }
  213.       paramRILRequest.mp.writeInt(localDataInputStream.read());
  214.       paramRILRequest.mp.writeByte((byte)localDataInputStream.read());
  215.       byte b3 = (byte)localDataInputStream.read();
  216.       paramRILRequest.mp.writeByte(b3);
  217.       byte b4 = 0;
  218.       while (b4 < b3)
  219.       {
  220.         paramRILRequest.mp.writeByte(localDataInputStream.readByte());
  221.         int j;
  222.         b4 += 1;
  223.       }
  224.       int k = localDataInputStream.read();
  225.       paramRILRequest.mp.writeInt(k);
  226.       for (int m = 0; m < k; m++)
  227.         paramRILRequest.mp.writeByte(localDataInputStream.readByte());
  228.     }
  229.     catch (IOException localIOException)
  230.     {
  231.       riljLog("sendSmsCdma: conversion from input stream to object failed: " + localIOException);
  232.     }
  233.   }
  234.  
  235.   private void constructGsmSendSmsRilRequest(RILRequest paramRILRequest, String paramString1, String paramString2)
  236.   {
  237.     paramRILRequest.mp.writeInt(2);
  238.     paramRILRequest.mp.writeString(paramString1);
  239.     paramRILRequest.mp.writeString(paramString2);
  240.   }
  241.  
  242.   private RILRequest findAndRemoveRequestFromList(int paramInt)
  243.   {
  244.     ArrayList localArrayList = this.mRequestsList;
  245.     monitorenter;
  246.     for (int i = 0; ; i++)
  247.     {
  248.       RILRequest localRILRequest1;
  249.       try
  250.       {
  251.         int j = this.mRequestsList.size();
  252.         if (i < j)
  253.         {
  254.           RILRequest localRILRequest2 = (RILRequest)this.mRequestsList.get(i);
  255.           if (localRILRequest2.mSerial != paramInt)
  256.             continue;
  257.           this.mRequestsList.remove(i);
  258.           if (this.mRequestMessagesWaiting > 0)
  259.             this.mRequestMessagesWaiting -= 1;
  260.           monitorexit;
  261.           localRILRequest1 = localRILRequest2;
  262.         }
  263.         else
  264.         {
  265.           monitorexit;
  266.           localRILRequest1 = null;
  267.         }
  268.       }
  269.       finally
  270.       {
  271.         monitorexit;
  272.       }
  273.     }
  274.   }
  275.  
  276.   private CommandsInterface.RadioState getRadioStateFromInt(int paramInt)
  277.   {
  278.     CommandsInterface.RadioState localRadioState;
  279.     switch (paramInt)
  280.     {
  281.     default:
  282.       throw new RuntimeException("Unrecognized RIL_RadioState: " + paramInt);
  283.     case 0:
  284.       localRadioState = CommandsInterface.RadioState.RADIO_OFF;
  285.     case 1:
  286.     case 2:
  287.     }
  288.     while (true)
  289.     {
  290.       return localRadioState;
  291.       localRadioState = CommandsInterface.RadioState.RADIO_UNAVAILABLE;
  292.       continue;
  293.       localRadioState = CommandsInterface.RadioState.RADIO_ON;
  294.     }
  295.   }
  296.  
  297.   private boolean isQcUnsolOemHookResp(ByteBuffer paramByteBuffer)
  298.   {
  299.     int i = "QUALCOMM".length();
  300.     (4 * 2);
  301.     int j = i + 8;
  302.     int k;
  303.     if (paramByteBuffer.capacity() < j)
  304.     {
  305.       Log.d("RILJ", "RIL_UNSOL_OEM_HOOK_RAW data size is " + paramByteBuffer.capacity());
  306.       k = 0;
  307.     }
  308.     while (true)
  309.     {
  310.       return k;
  311.       byte[] arrayOfByte = new byte["QUALCOMM".length()];
  312.       paramByteBuffer.get(arrayOfByte);
  313.       String str = new String(arrayOfByte);
  314.       Log.d("RILJ", "Oem ID in RIL_UNSOL_OEM_HOOK_RAW is " + str);
  315.       if (!str.equals("QUALCOMM"))
  316.       {
  317.         k = 0;
  318.         continue;
  319.       }
  320.       k = 1;
  321.     }
  322.   }
  323.  
  324.   private void notifyRegistrantsCdmaInfoRec(CdmaInformationRecords paramCdmaInformationRecords)
  325.   {
  326.     if ((paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaDisplayInfoRec))
  327.       if (this.mDisplayInfoRegistrants != null)
  328.       {
  329.         unsljLogRet(1027, paramCdmaInformationRecords.record);
  330.         this.mDisplayInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  331.       }
  332.     while (true)
  333.     {
  334.       return;
  335.       if ((paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaSignalInfoRec))
  336.       {
  337.         if (this.mSignalInfoRegistrants == null)
  338.           continue;
  339.         unsljLogRet(1027, paramCdmaInformationRecords.record);
  340.         this.mSignalInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  341.         continue;
  342.       }
  343.       if ((paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaNumberInfoRec))
  344.       {
  345.         if (this.mNumberInfoRegistrants == null)
  346.           continue;
  347.         unsljLogRet(1027, paramCdmaInformationRecords.record);
  348.         this.mNumberInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  349.         continue;
  350.       }
  351.       if ((paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaRedirectingNumberInfoRec))
  352.       {
  353.         if (this.mRedirNumInfoRegistrants == null)
  354.           continue;
  355.         unsljLogRet(1027, paramCdmaInformationRecords.record);
  356.         this.mRedirNumInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  357.         continue;
  358.       }
  359.       if ((paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaLineControlInfoRec))
  360.       {
  361.         if (this.mLineControlInfoRegistrants == null)
  362.           continue;
  363.         unsljLogRet(1027, paramCdmaInformationRecords.record);
  364.         this.mLineControlInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  365.         continue;
  366.       }
  367.       if ((paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaT53ClirInfoRec))
  368.       {
  369.         if (this.mT53ClirInfoRegistrants == null)
  370.           continue;
  371.         unsljLogRet(1027, paramCdmaInformationRecords.record);
  372.         this.mT53ClirInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  373.         continue;
  374.       }
  375.       if ((!(paramCdmaInformationRecords.record instanceof CdmaInformationRecords.CdmaT53AudioControlInfoRec)) || (this.mT53AudCntrlInfoRegistrants == null))
  376.         continue;
  377.       unsljLogRet(1027, paramCdmaInformationRecords.record);
  378.       this.mT53AudCntrlInfoRegistrants.notifyRegistrants(new AsyncResult(null, paramCdmaInformationRecords.record, null));
  379.     }
  380.   }
  381.  
  382.   private void processResponse(Parcel paramParcel)
  383.   {
  384.     int i = paramParcel.readInt();
  385.     if (i == 1)
  386.       processUnsolicited(paramParcel);
  387.     while (true)
  388.     {
  389.       releaseWakeLockIfDone();
  390.       return;
  391.       if (i != 0)
  392.         continue;
  393.       processSolicited(paramParcel);
  394.     }
  395.   }
  396.  
  397.   private void processSolicited(Parcel paramParcel)
  398.   {
  399.     int i = paramParcel.readInt();
  400.     int j = paramParcel.readInt();
  401.     RILRequest localRILRequest = findAndRemoveRequestFromList(i);
  402.     if (localRILRequest == null)
  403.       Log.w("RILJ", "Unexpected solicited response! sn: " + i + " error: " + j);
  404.     Object localObject2;
  405.     while (true)
  406.     {
  407.       return;
  408.       if ((j != 0) && (paramParcel.dataAvail() <= 0))
  409.         break;
  410.       try
  411.       {
  412.         switch (localRILRequest.mRequest)
  413.         {
  414.         case 109:
  415.         case 110:
  416.         case 112:
  417.         case 113:
  418.         case 114:
  419.         case 115:
  420.         case 116:
  421.         case 117:
  422.         case 118:
  423.         case 119:
  424.         case 120:
  425.         case 121:
  426.         case 122:
  427.         case 123:
  428.         case 124:
  429.         case 125:
  430.         case 126:
  431.         case 127:
  432.         case 128:
  433.         case 129:
  434.         case 130:
  435.         case 131:
  436.         case 132:
  437.         case 133:
  438.         case 134:
  439.         case 135:
  440.         case 136:
  441.         case 137:
  442.         case 138:
  443.         case 139:
  444.         case 140:
  445.         case 141:
  446.         case 142:
  447.         case 143:
  448.         case 144:
  449.         case 145:
  450.         case 146:
  451.         case 147:
  452.         case 148:
  453.         case 149:
  454.         case 154:
  455.         case 155:
  456.         case 156:
  457.         case 157:
  458.         case 158:
  459.         case 159:
  460.         case 160:
  461.         case 161:
  462.         case 162:
  463.         case 163:
  464.         case 164:
  465.         case 165:
  466.         case 166:
  467.         case 167:
  468.         case 168:
  469.         case 169:
  470.         case 171:
  471.         case 172:
  472.         case 173:
  473.         case 174:
  474.         case 184:
  475.         case 185:
  476.         case 186:
  477.         case 187:
  478.         case 188:
  479.         case 189:
  480.         case 193:
  481.         case 194:
  482.         case 195:
  483.         case 196:
  484.         case 197:
  485.         case 198:
  486.         case 199:
  487.         case 200:
  488.         case 201:
  489.         case 202:
  490.         case 203:
  491.         case 204:
  492.         case 205:
  493.         case 206:
  494.         case 207:
  495.         case 208:
  496.         case 209:
  497.         case 210:
  498.         case 211:
  499.         case 212:
  500.         case 213:
  501.         case 214:
  502.         case 215:
  503.         case 216:
  504.         case 217:
  505.         case 218:
  506.         case 219:
  507.         case 220:
  508.         case 221:
  509.         case 222:
  510.         case 223:
  511.         case 224:
  512.         case 225:
  513.         case 226:
  514.         case 227:
  515.         case 228:
  516.         case 229:
  517.         case 230:
  518.         case 231:
  519.         case 232:
  520.         case 233:
  521.         case 234:
  522.         case 235:
  523.         case 236:
  524.         case 237:
  525.         case 238:
  526.         case 239:
  527.         case 240:
  528.         case 241:
  529.         case 242:
  530.         case 243:
  531.         case 244:
  532.         case 245:
  533.         case 246:
  534.         case 247:
  535.         case 248:
  536.         case 249:
  537.         case 250:
  538.         case 251:
  539.         case 252:
  540.         case 253:
  541.         case 254:
  542.         case 255:
  543.         case 256:
  544.         case 257:
  545.         case 258:
  546.         case 259:
  547.         case 260:
  548.         case 261:
  549.         case 262:
  550.         case 263:
  551.         case 264:
  552.         case 265:
  553.         case 266:
  554.         case 267:
  555.         case 268:
  556.         case 269:
  557.         case 270:
  558.         case 271:
  559.         case 272:
  560.         case 273:
  561.         case 274:
  562.         case 275:
  563.         case 276:
  564.         case 277:
  565.         case 278:
  566.         case 279:
  567.         case 280:
  568.         case 281:
  569.         case 282:
  570.         case 283:
  571.         case 284:
  572.         case 285:
  573.         case 286:
  574.         case 287:
  575.         case 288:
  576.         case 289:
  577.         case 290:
  578.         case 291:
  579.         case 292:
  580.         case 293:
  581.         case 294:
  582.         case 295:
  583.         case 296:
  584.         case 297:
  585.         default:
  586.           throw new RuntimeException("Unrecognized solicited response: " + localRILRequest.mRequest);
  587.         case 1:
  588.         case 2:
  589.         case 3:
  590.         case 4:
  591.         case 5:
  592.         case 6:
  593.         case 7:
  594.         case 8:
  595.         case 9:
  596.         case 10:
  597.         case 11:
  598.         case 12:
  599.         case 13:
  600.         case 14:
  601.         case 15:
  602.         case 16:
  603.         case 17:
  604.         case 18:
  605.         case 19:
  606.         case 20:
  607.         case 21:
  608.         case 22:
  609.         case 23:
  610.         case 24:
  611.         case 25:
  612.         case 26:
  613.         case 27:
  614.         case 28:
  615.         case 29:
  616.         case 30:
  617.         case 31:
  618.         case 32:
  619.         case 33:
  620.         case 34:
  621.         case 35:
  622.         case 36:
  623.         case 37:
  624.         case 38:
  625.         case 39:
  626.         case 40:
  627.         case 41:
  628.         case 42:
  629.         case 43:
  630.         case 44:
  631.         case 45:
  632.         case 46:
  633.         case 47:
  634.         case 48:
  635.         case 49:
  636.         case 50:
  637.         case 51:
  638.         case 52:
  639.         case 53:
  640.         case 54:
  641.         case 55:
  642.         case 56:
  643.         case 57:
  644.         case 58:
  645.         case 59:
  646.         case 60:
  647.         case 61:
  648.         case 62:
  649.         case 63:
  650.         case 64:
  651.         case 65:
  652.         case 66:
  653.         case 67:
  654.         case 68:
  655.         case 69:
  656.         case 70:
  657.         case 71:
  658.         case 72:
  659.         case 73:
  660.         case 74:
  661.         case 75:
  662.         case 76:
  663.         case 77:
  664.         case 78:
  665.         case 79:
  666.         case 80:
  667.         case 81:
  668.         case 82:
  669.         case 83:
  670.         case 170:
  671.         case 111:
  672.         case 150:
  673.         case 151:
  674.         case 152:
  675.         case 153:
  676.         case 175:
  677.         case 176:
  678.         case 177:
  679.         case 178:
  680.         case 179:
  681.         case 180:
  682.         case 181:
  683.         case 182:
  684.         case 183:
  685.         case 84:
  686.         case 85:
  687.         case 87:
  688.         case 88:
  689.         case 89:
  690.         case 90:
  691.         case 91:
  692.         case 92:
  693.         case 93:
  694.         case 94:
  695.         case 86:
  696.         case 95:
  697.         case 96:
  698.         case 97:
  699.         case 98:
  700.         case 100:
  701.         case 101:
  702.         case 99:
  703.         case 102:
  704.         case 103:
  705.         case 105:
  706.         case 104:
  707.         case 106:
  708.         case 107:
  709.         case 108:
  710.         case 298:
  711.         case 190:
  712.         case 191:
  713.         case 192:
  714.         }
  715.       }
  716.       catch (Throwable localThrowable)
  717.       {
  718.         Log.w("RILJ", localRILRequest.serialString() + "< " + requestToString(localRILRequest.mRequest) + " exception, possible invalid RIL response", localThrowable);
  719.         if (localRILRequest.mResult != null)
  720.         {
  721.           AsyncResult.forMessage(localRILRequest.mResult, null, localThrowable);
  722.           localRILRequest.mResult.sendToTarget();
  723.         }
  724.         localRILRequest.release();
  725.       }
  726.       continue;
  727.       Object localObject4 = responseIccCardStatus(paramParcel);
  728.       localObject2 = localObject4;
  729.     }
  730.     label1410: for (Object localObject3 = localObject2; ; localObject3 = null)
  731.     {
  732.       if (j != 0)
  733.       {
  734.         localRILRequest.onError(j, localObject3);
  735.         localRILRequest.release();
  736.         break;
  737.         localObject2 = responseInts(paramParcel);
  738.         break label1410;
  739.         localObject2 = responseInts(paramParcel);
  740.         break label1410;
  741.         localObject2 = responseInts(paramParcel);
  742.         break label1410;
  743.         localObject2 = responseInts(paramParcel);
  744.         break label1410;
  745.         localObject2 = responseInts(paramParcel);
  746.         break label1410;
  747.         localObject2 = responseInts(paramParcel);
  748.         break label1410;
  749.         localObject2 = responseInts(paramParcel);
  750.         break label1410;
  751.         localObject2 = responseCallList(paramParcel);
  752.         break label1410;
  753.         localObject2 = responseVoid(paramParcel);
  754.         break label1410;
  755.         localObject2 = responseString(paramParcel);
  756.         break label1410;
  757.         localObject2 = responseVoid(paramParcel);
  758.         break label1410;
  759.         localObject2 = responseVoid(paramParcel);
  760.         break label1410;
  761.         localObject2 = responseVoid(paramParcel);
  762.         break label1410;
  763.         localObject2 = responseVoid(paramParcel);
  764.         break label1410;
  765.         localObject2 = responseVoid(paramParcel);
  766.         break label1410;
  767.         localObject2 = responseVoid(paramParcel);
  768.         break label1410;
  769.         localObject2 = responseInts(paramParcel);
  770.         break label1410;
  771.         localObject2 = responseSignalStrength(paramParcel);
  772.         break label1410;
  773.         localObject2 = responseRegState(paramParcel);
  774.         break label1410;
  775.         localObject2 = responseRegState(paramParcel);
  776.         break label1410;
  777.         localObject2 = responseStrings(paramParcel);
  778.         break label1410;
  779.         localObject2 = responseVoid(paramParcel);
  780.         break label1410;
  781.         localObject2 = responseVoid(paramParcel);
  782.         break label1410;
  783.         localObject2 = responseSMS(paramParcel);
  784.         break label1410;
  785.         localObject2 = responseSMS(paramParcel);
  786.         break label1410;
  787.         localObject2 = responseStrings(paramParcel);
  788.         break label1410;
  789.         localObject2 = responseICC_IO(paramParcel);
  790.         break label1410;
  791.         localObject2 = responseVoid(paramParcel);
  792.         break label1410;
  793.         localObject2 = responseVoid(paramParcel);
  794.         break label1410;
  795.         localObject2 = responseInts(paramParcel);
  796.         break label1410;
  797.         localObject2 = responseVoid(paramParcel);
  798.         break label1410;
  799.         localObject2 = responseCallForward(paramParcel);
  800.         break label1410;
  801.         localObject2 = responseVoid(paramParcel);
  802.         break label1410;
  803.         localObject2 = responseInts(paramParcel);
  804.         break label1410;
  805.         localObject2 = responseVoid(paramParcel);
  806.         break label1410;
  807.         localObject2 = responseVoid(paramParcel);
  808.         break label1410;
  809.         localObject2 = responseString(paramParcel);
  810.         break label1410;
  811.         localObject2 = responseString(paramParcel);
  812.         break label1410;
  813.         localObject2 = responseVoid(paramParcel);
  814.         break label1410;
  815.         localObject2 = responseVoid(paramParcel);
  816.         break label1410;
  817.         localObject2 = responseInts(paramParcel);
  818.         break label1410;
  819.         localObject2 = responseInts(paramParcel);
  820.         break label1410;
  821.         localObject2 = responseVoid(paramParcel);
  822.         break label1410;
  823.         localObject2 = responseInts(paramParcel);
  824.         break label1410;
  825.         localObject2 = responseVoid(paramParcel);
  826.         break label1410;
  827.         localObject2 = responseVoid(paramParcel);
  828.         break label1410;
  829.         localObject2 = responseNetworkInfos(paramParcel);
  830.         break label1410;
  831.         localObject2 = responseVoid(paramParcel);
  832.         break label1410;
  833.         localObject2 = responseVoid(paramParcel);
  834.         break label1410;
  835.         localObject2 = responseString(paramParcel);
  836.         break label1410;
  837.         localObject2 = responseVoid(paramParcel);
  838.         break label1410;
  839.         localObject2 = responseVoid(paramParcel);
  840.         break label1410;
  841.         localObject2 = responseInts(paramParcel);
  842.         break label1410;
  843.         localObject2 = responseInts(paramParcel);
  844.         break label1410;
  845.         localObject2 = responseInts(paramParcel);
  846.         break label1410;
  847.         localObject2 = responseDataCallList(paramParcel);
  848.         break label1410;
  849.         localObject2 = responseVoid(paramParcel);
  850.         break label1410;
  851.         localObject2 = responseRaw(paramParcel);
  852.         break label1410;
  853.         localObject2 = responseStrings(paramParcel);
  854.         break label1410;
  855.         localObject2 = responseVoid(paramParcel);
  856.         break label1410;
  857.         localObject2 = responseVoid(paramParcel);
  858.         break label1410;
  859.         localObject2 = responseInts(paramParcel);
  860.         break label1410;
  861.         localObject2 = responseVoid(paramParcel);
  862.         break label1410;
  863.         localObject2 = responseVoid(paramParcel);
  864.         break label1410;
  865.         localObject2 = responseInts(paramParcel);
  866.         break label1410;
  867.         localObject2 = responseString(paramParcel);
  868.         break label1410;
  869.         localObject2 = responseVoid(paramParcel);
  870.         break label1410;
  871.         localObject2 = responseString(paramParcel);
  872.         break label1410;
  873.         localObject2 = responseVoid(paramParcel);
  874.         break label1410;
  875.         localObject2 = responseInts(paramParcel);
  876.         break label1410;
  877.         localObject2 = responseVoid(paramParcel);
  878.         break label1410;
  879.         localObject2 = responseVoid(paramParcel);
  880.         break label1410;
  881.         localObject2 = responseInts(paramParcel);
  882.         break label1410;
  883.         localObject2 = responseCellList(paramParcel);
  884.         break label1410;
  885.         localObject2 = responseVoid(paramParcel);
  886.         break label1410;
  887.         localObject2 = responseVoid(paramParcel);
  888.         break label1410;
  889.         localObject2 = responseVoid(paramParcel);
  890.         break label1410;
  891.         localObject2 = responseInts(paramParcel);
  892.         break label1410;
  893.         localObject2 = responseVoid(paramParcel);
  894.         break label1410;
  895.         localObject2 = responseInts(paramParcel);
  896.         break label1410;
  897.         localObject2 = responseVoid(paramParcel);
  898.         break label1410;
  899.         localObject2 = responseInts(paramParcel);
  900.         break label1410;
  901.         localObject2 = responseString(paramParcel);
  902.         break label1410;
  903.         localObject2 = responseInts(paramParcel);
  904.         break label1410;
  905.         localObject2 = responseVoid(paramParcel);
  906.         break label1410;
  907.         localObject2 = responseInts(paramParcel);
  908.         break label1410;
  909.         localObject2 = responseVoid(paramParcel);
  910.         break label1410;
  911.         localObject2 = responseInts(paramParcel);
  912.         break label1410;
  913.         localObject2 = responseString(paramParcel);
  914.         break label1410;
  915.         localObject2 = responseString(paramParcel);
  916.         break label1410;
  917.         localObject2 = responseInts(paramParcel);
  918.         break label1410;
  919.         localObject2 = responseVoid(paramParcel);
  920.         break label1410;
  921.         localObject2 = responseVoid(paramParcel);
  922.         break label1410;
  923.         localObject2 = responseVoid(paramParcel);
  924.         break label1410;
  925.         localObject2 = responseInts(paramParcel);
  926.         break label1410;
  927.         localObject2 = responseVoid(paramParcel);
  928.         break label1410;
  929.         localObject2 = responseInts(paramParcel);
  930.         break label1410;
  931.         localObject2 = responseVoid(paramParcel);
  932.         break label1410;
  933.         localObject2 = responseVoid(paramParcel);
  934.         break label1410;
  935.         localObject2 = responseSMS(paramParcel);
  936.         break label1410;
  937.         localObject2 = responseVoid(paramParcel);
  938.         break label1410;
  939.         localObject2 = responseGmsBroadcastConfig(paramParcel);
  940.         break label1410;
  941.         localObject2 = responseVoid(paramParcel);
  942.         break label1410;
  943.         localObject2 = responseVoid(paramParcel);
  944.         break label1410;
  945.         localObject2 = responseCdmaBroadcastConfig(paramParcel);
  946.         break label1410;
  947.         localObject2 = responseVoid(paramParcel);
  948.         break label1410;
  949.         localObject2 = responseVoid(paramParcel);
  950.         break label1410;
  951.         localObject2 = responseInts(paramParcel);
  952.         break label1410;
  953.         localObject2 = responseStrings(paramParcel);
  954.         break label1410;
  955.         localObject2 = responseInts(paramParcel);
  956.         break label1410;
  957.         localObject2 = responseVoid(paramParcel);
  958.         break label1410;
  959.         localObject2 = responseStrings(paramParcel);
  960.         break label1410;
  961.         localObject2 = responseString(paramParcel);
  962.         break label1410;
  963.         localObject2 = responseVoid(paramParcel);
  964.         break label1410;
  965.         localObject2 = responseVoid(paramParcel);
  966.         break label1410;
  967.         localObject2 = responseVoid(paramParcel);
  968.         break label1410;
  969.         localObject2 = responseVoid(paramParcel);
  970.         break label1410;
  971.         localObject2 = responseInts(paramParcel);
  972.         break label1410;
  973.         localObject2 = responseInts(paramParcel);
  974.         break label1410;
  975.         localObject2 = responseInts(paramParcel);
  976.         break label1410;
  977.         localObject2 = responseSMS(paramParcel);
  978.         break label1410;
  979.         localObject2 = responseGetDataCallProfile(paramParcel);
  980.         break label1410;
  981.         localObject2 = responseVoid(paramParcel);
  982.         break label1410;
  983.         localObject2 = responseInts(paramParcel);
  984.         break label1410;
  985.         localObject2 = responseInts(paramParcel);
  986.         break label1410;
  987.         Object localObject1 = responseInts(paramParcel);
  988.         localObject2 = localObject1;
  989.         break label1410;
  990.       }
  991.       riljLog(localRILRequest.serialString() + "< " + requestToString(localRILRequest.mRequest) + " " + retToString(localRILRequest.mRequest, localObject3));
  992.       if (localRILRequest.mResult != null)
  993.       {
  994.         AsyncResult.forMessage(localRILRequest.mResult, localObject3, null);
  995.         localRILRequest.mResult.sendToTarget();
  996.       }
  997.       localRILRequest.release();
  998.       break;
  999.     }
  1000.   }
  1001.  
  1002.   private void processUnsolOemhookResponse(ByteBuffer paramByteBuffer)
  1003.   {
  1004.     int i = paramByteBuffer.getInt();
  1005.     Log.d("RILJ", "Response ID in RIL_UNSOL_OEM_HOOK_RAW is " + i);
  1006.     int j = paramByteBuffer.getInt();
  1007.     if (j < 0)
  1008.       Log.e("RILJ", "Response Size is Invalid " + j);
  1009.     while (true)
  1010.     {
  1011.       return;
  1012.       byte[] arrayOfByte1 = new byte[j];
  1013.       paramByteBuffer.get(arrayOfByte1, 0, j);
  1014.       switch (i)
  1015.       {
  1016.       default:
  1017.         Log.d("RILJ", "Response ID " + i + "is not served in this process.");
  1018.         Log.d("RILJ", "To broadcast an Intent via the notifier to external apps");
  1019.         if (this.mUnsolOemHookExtAppRegistrant == null)
  1020.           continue;
  1021.         paramByteBuffer.rewind();
  1022.         byte[] arrayOfByte2 = paramByteBuffer.array();
  1023.         this.mUnsolOemHookExtAppRegistrant.notifyRegistrant(new AsyncResult(null, arrayOfByte2, null));
  1024.         break;
  1025.       case 525289:
  1026.         notifyCdmaFwdBurstDtmf(arrayOfByte1);
  1027.         break;
  1028.       case 525290:
  1029.         notifyCdmaFwdContDtmfStart(arrayOfByte1);
  1030.         break;
  1031.       case 525291:
  1032.         notifyCdmaFwdContDtmfStop();
  1033.         break;
  1034.       case 525292:
  1035.         notifyCallReestablish();
  1036.       }
  1037.     }
  1038.   }
  1039.  
  1040.   private void processUnsolicited(Parcel paramParcel)
  1041.   {
  1042.     int i = paramParcel.readInt();
  1043.     switch (i)
  1044.     {
  1045.     case 1007:
  1046.     default:
  1047.       try
  1048.       {
  1049.         throw new RuntimeException("Unrecognized unsol response: " + i);
  1050.       }
  1051.       catch (Throwable localThrowable)
  1052.       {
  1053.         Log.e("RILJ", "Exception processing unsol response: " + i + "Exception:" + localThrowable.toString());
  1054.       }
  1055.     case 1000:
  1056.     case 1001:
  1057.     case 1002:
  1058.     case 1037:
  1059.     case 1003:
  1060.     case 1004:
  1061.     case 1005:
  1062.     case 1006:
  1063.     case 1008:
  1064.     case 1009:
  1065.     case 1010:
  1066.     case 1011:
  1067.     case 1012:
  1068.     case 1013:
  1069.     case 1014:
  1070.     case 1015:
  1071.     case 1016:
  1072.     case 1017:
  1073.     case 1018:
  1074.     case 1023:
  1075.     case 1019:
  1076.     case 1020:
  1077.     case 1021:
  1078.     case 1022:
  1079.     case 1024:
  1080.     case 1033:
  1081.     case 1025:
  1082.     case 1026:
  1083.     case 1027:
  1084.     case 1028:
  1085.     case 1029:
  1086.     case 1030:
  1087.     case 1034:
  1088.     case 1035:
  1089.     case 1031:
  1090.     case 1032:
  1091.     case 1036:
  1092.     case 1038:
  1093.     case 1039:
  1094.     case 1040:
  1095.     case 1041:
  1096.     case 1042:
  1097.     case 1043:
  1098.     case 1044:
  1099.     case 1045:
  1100.     case 1046:
  1101.     case 1047:
  1102.     case 1048:
  1103.     }
  1104.     while (true)
  1105.     {
  1106.       return;
  1107.       Object localObject3 = responseVoid(paramParcel);
  1108.       Object localObject2 = localObject3;
  1109.       while (true)
  1110.         switch (i)
  1111.         {
  1112.         case 1007:
  1113.         default:
  1114.           break;
  1115.         case 1000:
  1116.           CommandsInterface.RadioState localRadioState = getRadioStateFromInt(paramParcel.readInt());
  1117.           unsljLogMore(i, localRadioState.toString());
  1118.           switchToRadioState(localRadioState);
  1119.           break;
  1120.           localObject2 = responseVoid(paramParcel);
  1121.           continue;
  1122.           localObject2 = responseVoid(paramParcel);
  1123.           continue;
  1124.           localObject2 = responseVoid(paramParcel);
  1125.           continue;
  1126.           localObject2 = responseString(paramParcel);
  1127.           continue;
  1128.           localObject2 = responseString(paramParcel);
  1129.           continue;
  1130.           localObject2 = responseInts(paramParcel);
  1131.           continue;
  1132.           localObject2 = responseStrings(paramParcel);
  1133.           continue;
  1134.           localObject2 = responseString(paramParcel);
  1135.           continue;
  1136.           localObject2 = responseSignalStrength(paramParcel);
  1137.           continue;
  1138.           localObject2 = responseDataCallList(paramParcel);
  1139.           continue;
  1140.           localObject2 = responseSuppServiceNotification(paramParcel);
  1141.           continue;
  1142.           localObject2 = responseVoid(paramParcel);
  1143.           continue;
  1144.           localObject2 = responseString(paramParcel);
  1145.           continue;
  1146.           localObject2 = responseString(paramParcel);
  1147.           continue;
  1148.           localObject2 = responseInts(paramParcel);
  1149.           continue;
  1150.           localObject2 = responseVoid(paramParcel);
  1151.           continue;
  1152.           localObject2 = responseSimRefresh(paramParcel);
  1153.           continue;
  1154.           localObject2 = responseCallRing(paramParcel);
  1155.           continue;
  1156.           localObject2 = responseInts(paramParcel);
  1157.           continue;
  1158.           localObject2 = responseVoid(paramParcel);
  1159.           continue;
  1160.           localObject2 = responseCdmaSms(paramParcel);
  1161.           continue;
  1162.           localObject2 = responseString(paramParcel);
  1163.           continue;
  1164.           localObject2 = responseVoid(paramParcel);
  1165.           continue;
  1166.           localObject2 = responseVoid(paramParcel);
  1167.           continue;
  1168.           localObject2 = responseVoid(paramParcel);
  1169.           continue;
  1170.           localObject2 = responseCdmaCallWaiting(paramParcel);
  1171.           continue;
  1172.           localObject2 = responseInts(paramParcel);
  1173.           continue;
  1174.           localObject2 = responseCdmaInformationRecord(paramParcel);
  1175.           continue;
  1176.           localObject2 = responseRaw(paramParcel);
  1177.           continue;
  1178.           localObject2 = responseInts(paramParcel);
  1179.           continue;
  1180.           localObject2 = responseVoid(paramParcel);
  1181.           continue;
  1182.           localObject2 = responseVoid(paramParcel);
  1183.           continue;
  1184.           localObject2 = responseVoid(paramParcel);
  1185.           continue;
  1186.           localObject2 = responseInts(paramParcel);
  1187.           continue;
  1188.           localObject2 = responseInts(paramParcel);
  1189.           continue;
  1190.           localObject2 = responseInts(paramParcel);
  1191.           continue;
  1192.           localObject2 = responseVoid(paramParcel);
  1193.           continue;
  1194.           localObject2 = responseVoid(paramParcel);
  1195.           continue;
  1196.           localObject2 = responseVoid(paramParcel);
  1197.           continue;
  1198.           localObject2 = responseVoid(paramParcel);
  1199.           continue;
  1200.           localObject2 = responseVoid(paramParcel);
  1201.           continue;
  1202.           localObject2 = responseVoid(paramParcel);
  1203.           continue;
  1204.           localObject2 = responseVoid(paramParcel);
  1205.           continue;
  1206.           localObject2 = responseVoid(paramParcel);
  1207.           continue;
  1208.           localObject2 = responseVoid(paramParcel);
  1209.           continue;
  1210.           localObject2 = responseVoid(paramParcel);
  1211.           continue;
  1212.           Object localObject1 = responseVoid(paramParcel);
  1213.           localObject2 = localObject1;
  1214.         case 1034:
  1215.         case 1031:
  1216.         case 1032:
  1217.         case 1035:
  1218.         case 1001:
  1219.         case 1037:
  1220.         case 1002:
  1221.         case 1038:
  1222.         case 1039:
  1223.         case 1040:
  1224.         case 1041:
  1225.         case 1042:
  1226.         case 1043:
  1227.         case 1044:
  1228.         case 1045:
  1229.         case 1046:
  1230.         case 1047:
  1231.         case 1048:
  1232.         case 1003:
  1233.         case 1004:
  1234.         case 1005:
  1235.         case 1006:
  1236.         case 1008:
  1237.         case 1009:
  1238.         case 1010:
  1239.         case 1011:
  1240.         case 1012:
  1241.         case 1013:
  1242.         case 1014:
  1243.         case 1015:
  1244.         case 1016:
  1245.         case 1017:
  1246.         case 1018:
  1247.         case 1023:
  1248.         case 1019:
  1249.         case 1020:
  1250.         case 1021:
  1251.         case 1022:
  1252.         case 1024:
  1253.         case 1033:
  1254.         case 1025:
  1255.         case 1026:
  1256.         case 1027:
  1257.         case 1028:
  1258.         case 1029:
  1259.         case 1030:
  1260.         case 1036:
  1261.         }
  1262.       unsljLog(i);
  1263.       this.mVoiceRadioTechChangedRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
  1264.       continue;
  1265.       unsljLog(i);
  1266.       int[] arrayOfInt3 = (int[])(int[])localObject2;
  1267.       if (this.mCdmaSubscriptionSourceChangedRegistrants == null)
  1268.         continue;
  1269.       RegistrantList localRegistrantList10 = this.mCdmaSubscriptionSourceChangedRegistrants;
  1270.       AsyncResult localAsyncResult24 = new AsyncResult(null, arrayOfInt3, null);
  1271.       localRegistrantList10.notifyRegistrants(localAsyncResult24);
  1272.       continue;
  1273.       unsljLog(i);
  1274.       int[] arrayOfInt2 = (int[])(int[])localObject2;
  1275.       if (this.mCdmaPrlChangedRegistrants == null)
  1276.         continue;
  1277.       RegistrantList localRegistrantList9 = this.mCdmaPrlChangedRegistrants;
  1278.       AsyncResult localAsyncResult23 = new AsyncResult(null, arrayOfInt2, null);
  1279.       localRegistrantList9.notifyRegistrants(localAsyncResult23);
  1280.       continue;
  1281.       unsljLog(i);
  1282.       this.mImsNetworkStateChangedRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
  1283.       continue;
  1284.       unsljLog(i);
  1285.       this.mCallStateRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
  1286.       continue;
  1287.       unsljLog(i);
  1288.       this.mDataNetworkStateRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
  1289.       continue;
  1290.       unsljLog(i);
  1291.       this.mNetworkStateRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
  1292.       continue;
  1293.       unsljLog(i);
  1294.       Intent localIntent11 = new Intent("android.intent.action.OMADM_AT_COMMAND_DISABLED");
  1295.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1296.       this.mContext.sendBroadcast(localIntent11);
  1297.       continue;
  1298.       unsljLog(i);
  1299.       Intent localIntent10 = new Intent("android.intent.action.OMADM_AT_COMMAND_ENABLED");
  1300.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1301.       this.mContext.sendBroadcast(localIntent10);
  1302.       continue;
  1303.       unsljLog(i);
  1304.       Intent localIntent9 = new Intent("android.intent.action.OMADM_AT_COMMAND_INITIATED");
  1305.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1306.       this.mContext.sendBroadcast(localIntent9);
  1307.       continue;
  1308.       unsljLog(i);
  1309.       Intent localIntent8 = new Intent("android.intent.action.PRL_AT_COMMAND_DISABLED");
  1310.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1311.       this.mContext.sendBroadcast(localIntent8);
  1312.       continue;
  1313.       unsljLog(i);
  1314.       Intent localIntent7 = new Intent("android.intent.action.PRL_AT_COMMAND_ENABLED");
  1315.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1316.       this.mContext.sendBroadcast(localIntent7);
  1317.       continue;
  1318.       unsljLog(i);
  1319.       Intent localIntent6 = new Intent("android.intent.action.PRL_AT_COMMAND_INITIATED");
  1320.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1321.       this.mContext.sendBroadcast(localIntent6);
  1322.       continue;
  1323.       unsljLog(i);
  1324.       Intent localIntent5 = new Intent("android.intent.action.PRL_AT_COMMAND_CHECK_UPDATAE_45");
  1325.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1326.       this.mContext.sendBroadcast(localIntent5);
  1327.       continue;
  1328.       unsljLog(i);
  1329.       Intent localIntent4 = new Intent("android.intent.action.PRL_AT_COMMAND_CHECK_UPDATAE_90");
  1330.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1331.       this.mContext.sendBroadcast(localIntent4);
  1332.       continue;
  1333.       unsljLog(i);
  1334.       Intent localIntent3 = new Intent("android.intent.action.FUMO_AT_COMMAND_DISABLED");
  1335.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1336.       this.mContext.sendBroadcast(localIntent3);
  1337.       continue;
  1338.       unsljLog(i);
  1339.       Intent localIntent2 = new Intent("android.intent.action.FUMO_AT_COMMAND_ENABLED");
  1340.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1341.       this.mContext.sendBroadcast(localIntent2);
  1342.       continue;
  1343.       unsljLog(i);
  1344.       Intent localIntent1 = new Intent("android.intent.action.FUMO_AT_COMMAND_INITIATED");
  1345.       Log.e("RILJ", "[UNSL] RIL Unsol intent = " + responseToString(i));
  1346.       this.mContext.sendBroadcast(localIntent1);
  1347.       continue;
  1348.       unsljLog(i);
  1349.       String[] arrayOfString2 = new String[2];
  1350.       arrayOfString2[1] = ((String)localObject2);
  1351.       SmsMessage localSmsMessage2 = SmsMessage.newFromCMT(arrayOfString2);
  1352.       if (this.mSMSRegistrant == null)
  1353.         continue;
  1354.       Registrant localRegistrant14 = this.mSMSRegistrant;
  1355.       AsyncResult localAsyncResult22 = new AsyncResult(null, localSmsMessage2, null);
  1356.       localRegistrant14.notifyRegistrant(localAsyncResult22);
  1357.       continue;
  1358.       unsljLogRet(i, localObject2);
  1359.       if (this.mSmsStatusRegistrant == null)
  1360.         continue;
  1361.       Registrant localRegistrant13 = this.mSmsStatusRegistrant;
  1362.       AsyncResult localAsyncResult21 = new AsyncResult(null, localObject2, null);
  1363.       localRegistrant13.notifyRegistrant(localAsyncResult21);
  1364.       continue;
  1365.       unsljLogRet(i, localObject2);
  1366.       int[] arrayOfInt1 = (int[])(int[])localObject2;
  1367.       if (arrayOfInt1.length == 1)
  1368.       {
  1369.         if (this.mSmsOnSimRegistrant == null)
  1370.           continue;
  1371.         Registrant localRegistrant12 = this.mSmsOnSimRegistrant;
  1372.         AsyncResult localAsyncResult20 = new AsyncResult(null, arrayOfInt1, null);
  1373.         localRegistrant12.notifyRegistrant(localAsyncResult20);
  1374.         continue;
  1375.       }
  1376.       riljLog(" NEW_SMS_ON_SIM ERROR with wrong length " + arrayOfInt1.length);
  1377.       continue;
  1378.       String[] arrayOfString1 = (String[])(String[])localObject2;
  1379.       if (arrayOfString1.length < 2)
  1380.       {
  1381.         arrayOfString1 = new String[2];
  1382.         arrayOfString1[0] = ((String[])(String[])localObject2)[0];
  1383.         arrayOfString1[1] = null;
  1384.       }
  1385.       unsljLogMore(i, arrayOfString1[0]);
  1386.       if (this.mUSSDRegistrant == null)
  1387.         continue;
  1388.       Registrant localRegistrant11 = this.mUSSDRegistrant;
  1389.       AsyncResult localAsyncResult19 = new AsyncResult(null, arrayOfString1, null);
  1390.       localRegistrant11.notifyRegistrant(localAsyncResult19);
  1391.       continue;
  1392.       unsljLogRet(i, localObject2);
  1393.       long l = paramParcel.readLong();
  1394.       Object[] arrayOfObject = new Object[2];
  1395.       arrayOfObject[0] = localObject2;
  1396.       arrayOfObject[1] = Long.valueOf(l);
  1397.       if (this.mNITZTimeRegistrants != null)
  1398.       {
  1399.         RegistrantList localRegistrantList8 = this.mNITZTimeRegistrants;
  1400.         AsyncResult localAsyncResult18 = new AsyncResult(null, arrayOfObject, null);
  1401.         localRegistrantList8.notifyRegistrants(localAsyncResult18);
  1402.         continue;
  1403.       }
  1404.       this.mLastNITZTimeInfo = arrayOfObject;
  1405.       continue;
  1406.       if (this.mSignalStrengthRegistrant == null)
  1407.         continue;
  1408.       Registrant localRegistrant10 = this.mSignalStrengthRegistrant;
  1409.       AsyncResult localAsyncResult17 = new AsyncResult(null, localObject2, null);
  1410.       localRegistrant10.notifyRegistrant(localAsyncResult17);
  1411.       continue;
  1412.       unsljLogRet(i, localObject2);
  1413.       RegistrantList localRegistrantList7 = this.mDataConnectionRegistrants;
  1414.       AsyncResult localAsyncResult16 = new AsyncResult(null, localObject2, null);
  1415.       localRegistrantList7.notifyRegistrants(localAsyncResult16);
  1416.       continue;
  1417.       unsljLogRet(i, localObject2);
  1418.       if (this.mSsnRegistrant == null)
  1419.         continue;
  1420.       Registrant localRegistrant9 = this.mSsnRegistrant;
  1421.       AsyncResult localAsyncResult15 = new AsyncResult(null, localObject2, null);
  1422.       localRegistrant9.notifyRegistrant(localAsyncResult15);
  1423.       continue;
  1424.       unsljLog(i);
  1425.       if (this.mCatSessionEndRegistrant == null)
  1426.         continue;
  1427.       Registrant localRegistrant8 = this.mCatSessionEndRegistrant;
  1428.       AsyncResult localAsyncResult14 = new AsyncResult(null, localObject2, null);
  1429.       localRegistrant8.notifyRegistrant(localAsyncResult14);
  1430.       continue;
  1431.       unsljLogRet(i, localObject2);
  1432.       if (this.mCatProCmdRegistrant == null)
  1433.         continue;
  1434.       Registrant localRegistrant7 = this.mCatProCmdRegistrant;
  1435.       AsyncResult localAsyncResult13 = new AsyncResult(null, localObject2, null);
  1436.       localRegistrant7.notifyRegistrant(localAsyncResult13);
  1437.       continue;
  1438.       unsljLogRet(i, localObject2);
  1439.       if (this.mCatEventRegistrant == null)
  1440.         continue;
  1441.       Registrant localRegistrant6 = this.mCatEventRegistrant;
  1442.       AsyncResult localAsyncResult12 = new AsyncResult(null, localObject2, null);
  1443.       localRegistrant6.notifyRegistrant(localAsyncResult12);
  1444.       continue;
  1445.       unsljLogRet(i, localObject2);
  1446.       if (this.mCatCallSetUpRegistrant == null)
  1447.         continue;
  1448.       Registrant localRegistrant5 = this.mCatCallSetUpRegistrant;
  1449.       AsyncResult localAsyncResult11 = new AsyncResult(null, localObject2, null);
  1450.       localRegistrant5.notifyRegistrant(localAsyncResult11);
  1451.       continue;
  1452.       unsljLog(i);
  1453.       if (this.mIccSmsFullRegistrant == null)
  1454.         continue;
  1455.       this.mIccSmsFullRegistrant.notifyRegistrant();
  1456.       continue;
  1457.       unsljLogRet(i, localObject2);
  1458.       if (this.mIccRefreshRegistrants == null)
  1459.         continue;
  1460.       RegistrantList localRegistrantList6 = this.mIccRefreshRegistrants;
  1461.       AsyncResult localAsyncResult10 = new AsyncResult(null, localObject2, null);
  1462.       localRegistrantList6.notifyRegistrants(localAsyncResult10);
  1463.       continue;
  1464.       unsljLogRet(i, localObject2);
  1465.       if (this.mRingRegistrant == null)
  1466.         continue;
  1467.       Registrant localRegistrant4 = this.mRingRegistrant;
  1468.       AsyncResult localAsyncResult9 = new AsyncResult(null, localObject2, null);
  1469.       localRegistrant4.notifyRegistrant(localAsyncResult9);
  1470.       continue;
  1471.       unsljLogvRet(i, localObject2);
  1472.       if (this.mRestrictedStateRegistrants == null)
  1473.         continue;
  1474.       RegistrantList localRegistrantList5 = this.mRestrictedStateRegistrants;
  1475.       AsyncResult localAsyncResult8 = new AsyncResult(null, localObject2, null);
  1476.       localRegistrantList5.notifyRegistrants(localAsyncResult8);
  1477.       continue;
  1478.       unsljLog(i);
  1479.       if (this.mIccStatusChangedRegistrants == null)
  1480.         continue;
  1481.       this.mIccStatusChangedRegistrants.notifyRegistrants();
  1482.       continue;
  1483.       unsljLog(i);
  1484.       SmsMessage localSmsMessage1 = (SmsMessage)localObject2;
  1485.       if (this.mCdmaSMSRegistrant == null)
  1486.         continue;
  1487.       Registrant localRegistrant3 = this.mCdmaSMSRegistrant;
  1488.       AsyncResult localAsyncResult7 = new AsyncResult(null, localSmsMessage1, null);
  1489.       localRegistrant3.notifyRegistrant(localAsyncResult7);
  1490.       continue;
  1491.       unsljLog(i);
  1492.       if (this.mGsmBroadcastSmsRegistrant == null)
  1493.         continue;
  1494.       Registrant localRegistrant2 = this.mGsmBroadcastSmsRegistrant;
  1495.       AsyncResult localAsyncResult6 = new AsyncResult(null, localObject2, null);
  1496.       localRegistrant2.notifyRegistrant(localAsyncResult6);
  1497.       continue;
  1498.       unsljLog(i);
  1499.       if (this.mIccSmsFullRegistrant == null)
  1500.         continue;
  1501.       this.mIccSmsFullRegistrant.notifyRegistrant();
  1502.       continue;
  1503.       unsljLog(i);
  1504.       if (this.mEmergencyCallbackModeRegistrant == null)
  1505.         continue;
  1506.       this.mEmergencyCallbackModeRegistrant.notifyResult(Boolean.valueOf(true));
  1507.       continue;
  1508.       unsljLog(i);
  1509.       if (this.mEmergencyCallbackModeRegistrant == null)
  1510.         continue;
  1511.       this.mEmergencyCallbackModeRegistrant.notifyResult(Boolean.valueOf(false));
  1512.       continue;
  1513.       unsljLogRet(i, localObject2);
  1514.       if (this.mCallWaitingInfoRegistrants == null)
  1515.         continue;
  1516.       RegistrantList localRegistrantList4 = this.mCallWaitingInfoRegistrants;
  1517.       AsyncResult localAsyncResult5 = new AsyncResult(null, localObject2, null);
  1518.       localRegistrantList4.notifyRegistrants(localAsyncResult5);
  1519.       continue;
  1520.       unsljLogRet(i, localObject2);
  1521.       if (this.mOtaProvisionRegistrants == null)
  1522.         continue;
  1523.       RegistrantList localRegistrantList3 = this.mOtaProvisionRegistrants;
  1524.       AsyncResult localAsyncResult4 = new AsyncResult(null, localObject2, null);
  1525.       localRegistrantList3.notifyRegistrants(localAsyncResult4);
  1526.       continue;
  1527.       try
  1528.       {
  1529.         ArrayList localArrayList = (ArrayList)localObject2;
  1530.         Iterator localIterator = localArrayList.iterator();
  1531.         while (localIterator.hasNext())
  1532.         {
  1533.           CdmaInformationRecords localCdmaInformationRecords = (CdmaInformationRecords)localIterator.next();
  1534.           unsljLogRet(i, localCdmaInformationRecords);
  1535.           notifyRegistrantsCdmaInfoRec(localCdmaInformationRecords);
  1536.         }
  1537.       }
  1538.       catch (ClassCastException localClassCastException)
  1539.       {
  1540.         Log.e("RILJ", "Unexpected exception casting to listInfoRecs", localClassCastException);
  1541.       }
  1542.       continue;
  1543.       unsljLogvRet(i, IccUtils.bytesToHexString((byte[])(byte[])localObject2));
  1544.       ByteBuffer localByteBuffer = ByteBuffer.wrap((byte[])(byte[])localObject2);
  1545.       localByteBuffer.order(ByteOrder.nativeOrder());
  1546.       if (isQcUnsolOemHookResp(localByteBuffer))
  1547.       {
  1548.         Log.d("RILJ", "OEM ID check Passed");
  1549.         processUnsolOemhookResponse(localByteBuffer);
  1550.         continue;
  1551.       }
  1552.       if (this.mUnsolOemHookRawRegistrant == null)
  1553.         continue;
  1554.       Log.d("RILJ", "External OEM message, to be notified");
  1555.       Registrant localRegistrant1 = this.mUnsolOemHookRawRegistrant;
  1556.       AsyncResult localAsyncResult3 = new AsyncResult(null, localObject2, null);
  1557.       localRegistrant1.notifyRegistrant(localAsyncResult3);
  1558.       continue;
  1559.       unsljLogvRet(i, localObject2);
  1560.       if (this.mRingbackToneRegistrants == null)
  1561.         continue;
  1562.       if (((int[])(int[])localObject2)[0] == 1);
  1563.       for (boolean bool = true; ; bool = false)
  1564.       {
  1565.         this.mRingbackToneRegistrants.notifyRegistrants(new AsyncResult(null, Boolean.valueOf(bool), null));
  1566.         break;
  1567.       }
  1568.       unsljLogRet(i, localObject2);
  1569.       if (this.mResendIncallMuteRegistrants != null)
  1570.       {
  1571.         RegistrantList localRegistrantList2 = this.mResendIncallMuteRegistrants;
  1572.         AsyncResult localAsyncResult2 = new AsyncResult(null, localObject2, null);
  1573.         localRegistrantList2.notifyRegistrants(localAsyncResult2);
  1574.       }
  1575.       unsljLogvRet(i, localObject2);
  1576.       if (this.mTetheredModeStateRegistrants == null)
  1577.         continue;
  1578.       if (localObject2 != null)
  1579.       {
  1580.         RegistrantList localRegistrantList1 = this.mTetheredModeStateRegistrants;
  1581.         AsyncResult localAsyncResult1 = new AsyncResult(null, localObject2, null);
  1582.         localRegistrantList1.notifyRegistrants(localAsyncResult1);
  1583.         continue;
  1584.       }
  1585.       Log.e("RILJ", "null returned, expected non-null");
  1586.     }
  1587.   }
  1588.  
  1589.   private static int readRilMessage(InputStream paramInputStream, byte[] paramArrayOfByte)
  1590.     throws IOException
  1591.   {
  1592.     int i = 0;
  1593.     int j = 4;
  1594.     int k = paramInputStream.read(paramArrayOfByte, i, j);
  1595.     int i3;
  1596.     if (k < 0)
  1597.     {
  1598.       Log.e("RILJ", "Hit EOS reading message length");
  1599.       i3 = -1;
  1600.     }
  1601.     while (true)
  1602.     {
  1603.       return i3;
  1604.       i += k;
  1605.       j -= k;
  1606.       if (j > 0)
  1607.         break;
  1608.       int m = (0xFF & paramArrayOfByte[0]) << 24 | (0xFF & paramArrayOfByte[1]) << 16 | (0xFF & paramArrayOfByte[2]) << 8 | 0xFF & paramArrayOfByte[3];
  1609.       int n = 0;
  1610.       int i1 = m;
  1611.       do
  1612.       {
  1613.         int i2 = paramInputStream.read(paramArrayOfByte, n, i1);
  1614.         if (i2 < 0)
  1615.         {
  1616.           Log.e("RILJ", "Hit EOS reading message.  messageLength=" + m + " remaining=" + i1);
  1617.           i3 = -1;
  1618.           break;
  1619.         }
  1620.         n += i2;
  1621.         i1 -= i2;
  1622.       }
  1623.       while (i1 > 0);
  1624.       i3 = m;
  1625.     }
  1626.   }
  1627.  
  1628.   private void releaseWakeLockIfDone()
  1629.   {
  1630.     synchronized (this.mWakeLock)
  1631.     {
  1632.       if ((this.mWakeLock.isHeld()) && (this.mRequestMessagesPending == 0) && (this.mRequestMessagesWaiting == 0))
  1633.       {
  1634.         this.mSender.removeMessages(2);
  1635.         this.mWakeLock.release();
  1636.       }
  1637.       return;
  1638.     }
  1639.   }
  1640.  
  1641.   static String requestToString(int paramInt)
  1642.   {
  1643.     String str;
  1644.     switch (paramInt)
  1645.     {
  1646.     case 109:
  1647.     case 110:
  1648.     case 112:
  1649.     case 113:
  1650.     case 114:
  1651.     case 115:
  1652.     case 116:
  1653.     case 117:
  1654.     case 118:
  1655.     case 119:
  1656.     case 120:
  1657.     case 121:
  1658.     case 122:
  1659.     case 123:
  1660.     case 124:
  1661.     case 125:
  1662.     case 126:
  1663.     case 127:
  1664.     case 128:
  1665.     case 129:
  1666.     case 130:
  1667.     case 131:
  1668.     case 132:
  1669.     case 133:
  1670.     case 134:
  1671.     case 135:
  1672.     case 136:
  1673.     case 137:
  1674.     case 138:
  1675.     case 139:
  1676.     case 140:
  1677.     case 141:
  1678.     case 142:
  1679.     case 143:
  1680.     case 144:
  1681.     case 145:
  1682.     case 146:
  1683.     case 147:
  1684.     case 148:
  1685.     case 149:
  1686.     case 154:
  1687.     case 155:
  1688.     case 156:
  1689.     case 157:
  1690.     case 158:
  1691.     case 159:
  1692.     case 160:
  1693.     case 161:
  1694.     case 162:
  1695.     case 163:
  1696.     case 164:
  1697.     case 165:
  1698.     case 166:
  1699.     case 167:
  1700.     case 168:
  1701.     case 169:
  1702.     case 171:
  1703.     case 172:
  1704.     case 173:
  1705.     case 174:
  1706.     case 184:
  1707.     case 185:
  1708.     case 186:
  1709.     case 187:
  1710.     case 188:
  1711.     case 189:
  1712.     case 193:
  1713.     case 194:
  1714.     case 195:
  1715.     case 196:
  1716.     case 197:
  1717.     case 198:
  1718.     case 199:
  1719.     case 200:
  1720.     case 201:
  1721.     case 202:
  1722.     case 203:
  1723.     case 204:
  1724.     case 205:
  1725.     case 206:
  1726.     case 207:
  1727.     case 208:
  1728.     case 209:
  1729.     case 210:
  1730.     case 211:
  1731.     case 212:
  1732.     case 213:
  1733.     case 214:
  1734.     case 215:
  1735.     case 216:
  1736.     case 217:
  1737.     case 218:
  1738.     case 219:
  1739.     case 220:
  1740.     case 221:
  1741.     case 222:
  1742.     case 223:
  1743.     case 224:
  1744.     case 225:
  1745.     case 226:
  1746.     case 227:
  1747.     case 228:
  1748.     case 229:
  1749.     case 230:
  1750.     case 231:
  1751.     case 232:
  1752.     case 233:
  1753.     case 234:
  1754.     case 235:
  1755.     case 236:
  1756.     case 237:
  1757.     case 238:
  1758.     case 239:
  1759.     case 240:
  1760.     case 241:
  1761.     case 242:
  1762.     case 243:
  1763.     case 244:
  1764.     case 245:
  1765.     case 246:
  1766.     case 247:
  1767.     case 248:
  1768.     case 249:
  1769.     case 250:
  1770.     case 251:
  1771.     case 252:
  1772.     case 253:
  1773.     case 254:
  1774.     case 255:
  1775.     case 256:
  1776.     case 257:
  1777.     case 258:
  1778.     case 259:
  1779.     case 260:
  1780.     case 261:
  1781.     case 262:
  1782.     case 263:
  1783.     case 264:
  1784.     case 265:
  1785.     case 266:
  1786.     case 267:
  1787.     case 268:
  1788.     case 269:
  1789.     case 270:
  1790.     case 271:
  1791.     case 272:
  1792.     case 273:
  1793.     case 274:
  1794.     case 275:
  1795.     case 276:
  1796.     case 277:
  1797.     case 278:
  1798.     case 279:
  1799.     case 280:
  1800.     case 281:
  1801.     case 282:
  1802.     case 283:
  1803.     case 284:
  1804.     case 285:
  1805.     case 286:
  1806.     case 287:
  1807.     case 288:
  1808.     case 289:
  1809.     case 290:
  1810.     case 291:
  1811.     case 292:
  1812.     case 293:
  1813.     case 294:
  1814.     case 295:
  1815.     case 296:
  1816.     case 297:
  1817.     default:
  1818.       str = "<unknown request>";
  1819.     case 1:
  1820.     case 2:
  1821.     case 3:
  1822.     case 4:
  1823.     case 5:
  1824.     case 6:
  1825.     case 7:
  1826.     case 8:
  1827.     case 9:
  1828.     case 10:
  1829.     case 11:
  1830.     case 12:
  1831.     case 13:
  1832.     case 14:
  1833.     case 15:
  1834.     case 16:
  1835.     case 17:
  1836.     case 18:
  1837.     case 19:
  1838.     case 20:
  1839.     case 21:
  1840.     case 22:
  1841.     case 23:
  1842.     case 24:
  1843.     case 25:
  1844.     case 26:
  1845.     case 27:
  1846.     case 28:
  1847.     case 29:
  1848.     case 30:
  1849.     case 31:
  1850.     case 32:
  1851.     case 33:
  1852.     case 34:
  1853.     case 35:
  1854.     case 36:
  1855.     case 37:
  1856.     case 38:
  1857.     case 39:
  1858.     case 40:
  1859.     case 41:
  1860.     case 42:
  1861.     case 43:
  1862.     case 44:
  1863.     case 45:
  1864.     case 46:
  1865.     case 47:
  1866.     case 48:
  1867.     case 49:
  1868.     case 50:
  1869.     case 51:
  1870.     case 52:
  1871.     case 53:
  1872.     case 54:
  1873.     case 55:
  1874.     case 56:
  1875.     case 57:
  1876.     case 58:
  1877.     case 59:
  1878.     case 60:
  1879.     case 61:
  1880.     case 62:
  1881.     case 63:
  1882.     case 64:
  1883.     case 65:
  1884.     case 66:
  1885.     case 67:
  1886.     case 68:
  1887.     case 69:
  1888.     case 70:
  1889.     case 71:
  1890.     case 72:
  1891.     case 73:
  1892.     case 74:
  1893.     case 75:
  1894.     case 76:
  1895.     case 77:
  1896.     case 78:
  1897.     case 79:
  1898.     case 80:
  1899.     case 81:
  1900.     case 82:
  1901.     case 83:
  1902.     case 170:
  1903.     case 111:
  1904.     case 150:
  1905.     case 151:
  1906.     case 152:
  1907.     case 153:
  1908.     case 175:
  1909.     case 176:
  1910.     case 177:
  1911.     case 178:
  1912.     case 179:
  1913.     case 180:
  1914.     case 181:
  1915.     case 182:
  1916.     case 183:
  1917.     case 84:
  1918.     case 85:
  1919.     case 87:
  1920.     case 88:
  1921.     case 89:
  1922.     case 90:
  1923.     case 92:
  1924.     case 93:
  1925.     case 91:
  1926.     case 86:
  1927.     case 94:
  1928.     case 95:
  1929.     case 96:
  1930.     case 97:
  1931.     case 98:
  1932.     case 100:
  1933.     case 101:
  1934.     case 99:
  1935.     case 102:
  1936.     case 103:
  1937.     case 105:
  1938.     case 104:
  1939.     case 106:
  1940.     case 107:
  1941.     case 108:
  1942.     case 298:
  1943.     case 190:
  1944.     case 191:
  1945.     case 192:
  1946.     }
  1947.     while (true)
  1948.     {
  1949.       return str;
  1950.       str = "GET_SIM_STATUS";
  1951.       continue;
  1952.       str = "ENTER_SIM_PIN";
  1953.       continue;
  1954.       str = "ENTER_SIM_PUK";
  1955.       continue;
  1956.       str = "ENTER_SIM_PIN2";
  1957.       continue;
  1958.       str = "ENTER_SIM_PUK2";
  1959.       continue;
  1960.       str = "CHANGE_SIM_PIN";
  1961.       continue;
  1962.       str = "CHANGE_SIM_PIN2";
  1963.       continue;
  1964.       str = "ENTER_DEPERSONALIZATION_CODE";
  1965.       continue;
  1966.       str = "GET_CURRENT_CALLS";
  1967.       continue;
  1968.       str = "DIAL";
  1969.       continue;
  1970.       str = "GET_IMSI";
  1971.       continue;
  1972.       str = "HANGUP";
  1973.       continue;
  1974.       str = "HANGUP_WAITING_OR_BACKGROUND";
  1975.       continue;
  1976.       str = "HANGUP_FOREGROUND_RESUME_BACKGROUND";
  1977.       continue;
  1978.       str = "REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE";
  1979.       continue;
  1980.       str = "CONFERENCE";
  1981.       continue;
  1982.       str = "UDUB";
  1983.       continue;
  1984.       str = "LAST_CALL_FAIL_CAUSE";
  1985.       continue;
  1986.       str = "SIGNAL_STRENGTH";
  1987.       continue;
  1988.       str = "REGISTRATION_STATE";
  1989.       continue;
  1990.       str = "DATA_REGISTRATION_STATE";
  1991.       continue;
  1992.       str = "OPERATOR";
  1993.       continue;
  1994.       str = "RADIO_POWER";
  1995.       continue;
  1996.       str = "DTMF";
  1997.       continue;
  1998.       str = "SEND_SMS";
  1999.       continue;
  2000.       str = "SEND_SMS_EXPECT_MORE";
  2001.       continue;
  2002.       str = "SETUP_DATA_CALL";
  2003.       continue;
  2004.       str = "SIM_IO";
  2005.       continue;
  2006.       str = "SEND_USSD";
  2007.       continue;
  2008.       str = "CANCEL_USSD";
  2009.       continue;
  2010.       str = "GET_CLIR";
  2011.       continue;
  2012.       str = "SET_CLIR";
  2013.       continue;
  2014.       str = "QUERY_CALL_FORWARD_STATUS";
  2015.       continue;
  2016.       str = "SET_CALL_FORWARD";
  2017.       continue;
  2018.       str = "QUERY_CALL_WAITING";
  2019.       continue;
  2020.       str = "SET_CALL_WAITING";
  2021.       continue;
  2022.       str = "SMS_ACKNOWLEDGE";
  2023.       continue;
  2024.       str = "GET_IMEI";
  2025.       continue;
  2026.       str = "GET_IMEISV";
  2027.       continue;
  2028.       str = "ANSWER";
  2029.       continue;
  2030.       str = "DEACTIVATE_DATA_CALL";
  2031.       continue;
  2032.       str = "QUERY_FACILITY_LOCK";
  2033.       continue;
  2034.       str = "SET_FACILITY_LOCK";
  2035.       continue;
  2036.       str = "CHANGE_BARRING_PASSWORD";
  2037.       continue;
  2038.       str = "QUERY_NETWORK_SELECTION_MODE";
  2039.       continue;
  2040.       str = "SET_NETWORK_SELECTION_AUTOMATIC";
  2041.       continue;
  2042.       str = "SET_NETWORK_SELECTION_MANUAL";
  2043.       continue;
  2044.       str = "QUERY_AVAILABLE_NETWORKS ";
  2045.       continue;
  2046.       str = "DTMF_START";
  2047.       continue;
  2048.       str = "DTMF_STOP";
  2049.       continue;
  2050.       str = "BASEBAND_VERSION";
  2051.       continue;
  2052.       str = "SEPARATE_CONNECTION";
  2053.       continue;
  2054.       str = "SET_MUTE";
  2055.       continue;
  2056.       str = "GET_MUTE";
  2057.       continue;
  2058.       str = "QUERY_CLIP";
  2059.       continue;
  2060.       str = "LAST_DATA_CALL_FAIL_CAUSE";
  2061.       continue;
  2062.       str = "DATA_CALL_LIST";
  2063.       continue;
  2064.       str = "RESET_RADIO";
  2065.       continue;
  2066.       str = "OEM_HOOK_RAW";
  2067.       continue;
  2068.       str = "OEM_HOOK_STRINGS";
  2069.       continue;
  2070.       str = "SCREEN_STATE";
  2071.       continue;
  2072.       str = "SET_SUPP_SVC_NOTIFICATION";
  2073.       continue;
  2074.       str = "WRITE_SMS_TO_SIM";
  2075.       continue;
  2076.       str = "DELETE_SMS_ON_SIM";
  2077.       continue;
  2078.       str = "SET_BAND_MODE";
  2079.       continue;
  2080.       str = "QUERY_AVAILABLE_BAND_MODE";
  2081.       continue;
  2082.       str = "REQUEST_STK_GET_PROFILE";
  2083.       continue;
  2084.       str = "REQUEST_STK_SET_PROFILE";
  2085.       continue;
  2086.       str = "REQUEST_STK_SEND_ENVELOPE_COMMAND";
  2087.       continue;
  2088.       str = "REQUEST_STK_SEND_TERMINAL_RESPONSE";
  2089.       continue;
  2090.       str = "REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM";
  2091.       continue;
  2092.       str = "REQUEST_EXPLICIT_CALL_TRANSFER";
  2093.       continue;
  2094.       str = "REQUEST_SET_PREFERRED_NETWORK_TYPE";
  2095.       continue;
  2096.       str = "REQUEST_GET_PREFERRED_NETWORK_TYPE";
  2097.       continue;
  2098.       str = "REQUEST_GET_NEIGHBORING_CELL_IDS";
  2099.       continue;
  2100.       str = "REQUEST_SET_LOCATION_UPDATES";
  2101.       continue;
  2102.       str = "RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE";
  2103.       continue;
  2104.       str = "RIL_REQUEST_CDMA_SET_ROAMING_PREFERENCE";
  2105.       continue;
  2106.       str = "RIL_REQUEST_CDMA_QUERY_ROAMING_PREFERENCE";
  2107.       continue;
  2108.       str = "RIL_REQUEST_SET_TTY_MODE";
  2109.       continue;
  2110.       str = "RIL_REQUEST_QUERY_TTY_MODE";
  2111.       continue;
  2112.       str = "RIL_REQUEST_CDMA_SET_PREFERRED_VOICE_PRIVACY_MODE";
  2113.       continue;
  2114.       str = "RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE";
  2115.       continue;
  2116.       str = "RIL_REQUEST_GET_BD_ADDRESS";
  2117.       continue;
  2118.       str = "RIL_REQUEST_CDMA_FACTORY_RESET";
  2119.       continue;
  2120.       str = "RIL_REQUEST_CDMA_SET_AUTO_ANSWER_MODE";
  2121.       continue;
  2122.       str = "RIL_REQUEST_CDMA_QUERY_AUTO_ANSWER_MODE";
  2123.       continue;
  2124.       str = "RIL_REQUEST_CDMA_SET_CONT_KEY_DTMF_MODE";
  2125.       continue;
  2126.       str = "RIL_REQUEST_CDMA_QUERY_CONT_KEY_DTMF_MODE";
  2127.       continue;
  2128.       str = "RIL_REQUEST_GET_MANUAL_TEST_MODE";
  2129.       continue;
  2130.       str = "RIL_REQUEST_GET_CALL_WDC";
  2131.       continue;
  2132.       str = "RIL_REQUEST_GET_CALL_LIFETIMER";
  2133.       continue;
  2134.       str = "RIL_REQUEST_SET_CALL_WDC";
  2135.       continue;
  2136.       str = "RIL_REQUEST_SET_CALL_LIFETIMER";
  2137.       continue;
  2138.       str = "RIL_REQUEST_SET_ROAMING_MODE";
  2139.       continue;
  2140.       str = "RIL_REQUEST_GET_ROAMING_MODE";
  2141.       continue;
  2142.       str = "RIL_REQUEST_SET_ROAMING_GUARD";
  2143.       continue;
  2144.       str = "RIL_REQUEST_GET_ROAMING_GUARD";
  2145.       continue;
  2146.       str = "RIL_REQUEST_CDMA_FLASH";
  2147.       continue;
  2148.       str = "RIL_REQUEST_CDMA_BURST_DTMF";
  2149.       continue;
  2150.       str = "RIL_REQUEST_CDMA_SEND_SMS";
  2151.       continue;
  2152.       str = "RIL_REQUEST_CDMA_SMS_ACKNOWLEDGE";
  2153.       continue;
  2154.       str = "RIL_REQUEST_GSM_GET_BROADCAST_CONFIG";
  2155.       continue;
  2156.       str = "RIL_REQUEST_GSM_SET_BROADCAST_CONFIG";
  2157.       continue;
  2158.       str = "RIL_REQUEST_CDMA_GET_BROADCAST_CONFIG";
  2159.       continue;
  2160.       str = "RIL_REQUEST_CDMA_SET_BROADCAST_CONFIG";
  2161.       continue;
  2162.       str = "RIL_REQUEST_GSM_BROADCAST_ACTIVATION";
  2163.       continue;
  2164.       str = "RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY";
  2165.       continue;
  2166.       str = "RIL_REQUEST_CDMA_BROADCAST_ACTIVATION";
  2167.       continue;
  2168.       str = "RIL_REQUEST_CDMA_SUBSCRIPTION";
  2169.       continue;
  2170.       str = "RIL_REQUEST_CDMA_WRITE_SMS_TO_RUIM";
  2171.       continue;
  2172.       str = "RIL_REQUEST_CDMA_DELETE_SMS_ON_RUIM";
  2173.       continue;
  2174.       str = "RIL_REQUEST_DEVICE_IDENTITY";
  2175.       continue;
  2176.       str = "RIL_REQUEST_GET_SMSC_ADDRESS";
  2177.       continue;
  2178.       str = "RIL_REQUEST_SET_SMSC_ADDRESS";
  2179.       continue;
  2180.       str = "REQUEST_EXIT_EMERGENCY_CALLBACK_MODE";
  2181.       continue;
  2182.       str = "RIL_REQUEST_REPORT_SMS_MEMORY_STATUS";
  2183.       continue;
  2184.       str = "RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING";
  2185.       continue;
  2186.       str = "RIL_REQUEST_VOICE_RADIO_TECH";
  2187.       continue;
  2188.       str = "RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE";
  2189.       continue;
  2190.       str = "RIL_REQUEST_IMS_REGISTRATION_STATE";
  2191.       continue;
  2192.       str = "RIL_REQUEST_IMS_SEND_SMS";
  2193.       continue;
  2194.       str = "RIL_REQUEST_GET_DATA_CALL_PROFILE";
  2195.       continue;
  2196.       str = "SEND_COMMAND";
  2197.       continue;
  2198.       str = "RIL_REQUEST_GET_MIP_ERRORCODE";
  2199.       continue;
  2200.       str = "RIL_REQUEST_GET_OMADM_LOCK";
  2201.       continue;
  2202.       str = "RIL_REQUEST_GET_DATA_PROFILE";
  2203.     }
  2204.   }
  2205.  
  2206.   private Object responseCallForward(Parcel paramParcel)
  2207.   {
  2208.     int i = paramParcel.readInt();
  2209.     CallForwardInfo[] arrayOfCallForwardInfo = new CallForwardInfo[i];
  2210.     for (int j = 0; j < i; j++)
  2211.     {
  2212.       arrayOfCallForwardInfo[j] = new CallForwardInfo();
  2213.       arrayOfCallForwardInfo[j].status = paramParcel.readInt();
  2214.       arrayOfCallForwardInfo[j].reason = paramParcel.readInt();
  2215.       arrayOfCallForwardInfo[j].serviceClass = paramParcel.readInt();
  2216.       arrayOfCallForwardInfo[j].toa = paramParcel.readInt();
  2217.       arrayOfCallForwardInfo[j].number = paramParcel.readString();
  2218.       arrayOfCallForwardInfo[j].timeSeconds = paramParcel.readInt();
  2219.     }
  2220.     return arrayOfCallForwardInfo;
  2221.   }
  2222.  
  2223.   private Object responseCallList(Parcel paramParcel)
  2224.   {
  2225.     int i = paramParcel.readInt();
  2226.     ArrayList localArrayList = new ArrayList(i);
  2227.     int j = 0;
  2228.     if (j < i)
  2229.     {
  2230.       DriverCall localDriverCall = new DriverCall();
  2231.       localDriverCall.state = DriverCall.stateFromCLCC(paramParcel.readInt());
  2232.       localDriverCall.index = paramParcel.readInt();
  2233.       localDriverCall.TOA = paramParcel.readInt();
  2234.       boolean bool1;
  2235.       label72: boolean bool2;
  2236.       label89: boolean bool3;
  2237.       label115: boolean bool4;
  2238.       if (paramParcel.readInt() != 0)
  2239.       {
  2240.         bool1 = true;
  2241.         localDriverCall.isMpty = bool1;
  2242.         if (paramParcel.readInt() == 0)
  2243.           break label441;
  2244.         bool2 = true;
  2245.         localDriverCall.isMT = bool2;
  2246.         localDriverCall.als = paramParcel.readInt();
  2247.         if (paramParcel.readInt() != 0)
  2248.           break label447;
  2249.         bool3 = false;
  2250.         localDriverCall.isVoice = bool3;
  2251.         if (paramParcel.readInt() == 0)
  2252.           break label453;
  2253.         bool4 = true;
  2254.         label132: localDriverCall.isVoicePrivacy = bool4;
  2255.         localDriverCall.number = paramParcel.readString();
  2256.         localDriverCall.numberPresentation = DriverCall.presentationFromCLIP(paramParcel.readInt());
  2257.         localDriverCall.name = paramParcel.readString();
  2258.         localDriverCall.namePresentation = paramParcel.readInt();
  2259.         if (paramParcel.readInt() != 1)
  2260.           break label459;
  2261.         localDriverCall.uusInfo = new UUSInfo();
  2262.         localDriverCall.uusInfo.setType(paramParcel.readInt());
  2263.         localDriverCall.uusInfo.setDcs(paramParcel.readInt());
  2264.         byte[] arrayOfByte = paramParcel.createByteArray();
  2265.         localDriverCall.uusInfo.setUserData(arrayOfByte);
  2266.         Object[] arrayOfObject = new Object[3];
  2267.         arrayOfObject[0] = Integer.valueOf(localDriverCall.uusInfo.getType());
  2268.         arrayOfObject[1] = Integer.valueOf(localDriverCall.uusInfo.getDcs());
  2269.         arrayOfObject[2] = Integer.valueOf(localDriverCall.uusInfo.getUserData().length);
  2270.         Log.v("RILJ", String.format("Incoming UUS : type=%d, dcs=%d, length=%d", arrayOfObject));
  2271.         Log.v("RILJ", "Incoming UUS : data (string)=" + new String(localDriverCall.uusInfo.getUserData()));
  2272.         Log.v("RILJ", "Incoming UUS : data (hex): " + IccUtils.bytesToHexString(localDriverCall.uusInfo.getUserData()));
  2273.         label380: localDriverCall.number = PhoneNumberUtils.stringFromStringAndTOA(localDriverCall.number, localDriverCall.TOA);
  2274.         localArrayList.add(localDriverCall);
  2275.         if (!localDriverCall.isVoicePrivacy)
  2276.           break label471;
  2277.         this.mVoicePrivacyOnRegistrants.notifyRegistrants();
  2278.         Log.d("RILJ", "InCall VoicePrivacy is enabled");
  2279.       }
  2280.       while (true)
  2281.       {
  2282.         j++;
  2283.         break;
  2284.         bool1 = false;
  2285.         break label72;
  2286.         label441: bool2 = false;
  2287.         break label89;
  2288.         label447: bool3 = true;
  2289.         break label115;
  2290.         label453: bool4 = false;
  2291.         break label132;
  2292.         label459: Log.v("RILJ", "Incoming UUS : NOT present!");
  2293.         break label380;
  2294.         label471: this.mVoicePrivacyOffRegistrants.notifyRegistrants();
  2295.         Log.d("RILJ", "InCall VoicePrivacy is disabled");
  2296.       }
  2297.     }
  2298.     Collections.sort(localArrayList);
  2299.     return localArrayList;
  2300.   }
  2301.  
  2302.   private Object responseCallRing(Parcel paramParcel)
  2303.   {
  2304.     char[] arrayOfChar = new char[4];
  2305.     arrayOfChar[0] = (char)paramParcel.readInt();
  2306.     arrayOfChar[1] = (char)paramParcel.readInt();
  2307.     arrayOfChar[2] = (char)paramParcel.readInt();
  2308.     arrayOfChar[3] = (char)paramParcel.readInt();
  2309.     return arrayOfChar;
  2310.   }
  2311.  
  2312.   private Object responseCdmaBroadcastConfig(Parcel paramParcel)
  2313.   {
  2314.     int i = paramParcel.readInt();
  2315.     if (i == 0)
  2316.     {
  2317.       arrayOfInt = new int[94];
  2318.       arrayOfInt[0] = 31;
  2319.       for (int m = 1; m < 94; m += 3)
  2320.       {
  2321.         arrayOfInt[(m + 0)] = (m / 3);
  2322.         arrayOfInt[(m + 1)] = 1;
  2323.         arrayOfInt[(m + 2)] = 0;
  2324.       }
  2325.     }
  2326.     int j = 1 + i * 3;
  2327.     int[] arrayOfInt = new int[j];
  2328.     arrayOfInt[0] = i;
  2329.     for (int k = 1; k < j; k++)
  2330.       arrayOfInt[k] = paramParcel.readInt();
  2331.     return arrayOfInt;
  2332.   }
  2333.  
  2334.   private Object responseCdmaCallWaiting(Parcel paramParcel)
  2335.   {
  2336.     CdmaCallWaitingNotification localCdmaCallWaitingNotification = new CdmaCallWaitingNotification();
  2337.     localCdmaCallWaitingNotification.number = paramParcel.readString();
  2338.     localCdmaCallWaitingNotification.numberPresentation = CdmaCallWaitingNotification.presentationFromCLIP(paramParcel.readInt());
  2339.     localCdmaCallWaitingNotification.name = paramParcel.readString();
  2340.     localCdmaCallWaitingNotification.namePresentation = localCdmaCallWaitingNotification.numberPresentation;
  2341.     localCdmaCallWaitingNotification.isPresent = paramParcel.readInt();
  2342.     localCdmaCallWaitingNotification.signalType = paramParcel.readInt();
  2343.     localCdmaCallWaitingNotification.alertPitch = paramParcel.readInt();
  2344.     localCdmaCallWaitingNotification.signal = paramParcel.readInt();
  2345.     return localCdmaCallWaitingNotification;
  2346.   }
  2347.  
  2348.   private ArrayList<CdmaInformationRecords> responseCdmaInformationRecord(Parcel paramParcel)
  2349.   {
  2350.     int i = paramParcel.readInt();
  2351.     ArrayList localArrayList = new ArrayList(i);
  2352.     for (int j = 0; j < i; j++)
  2353.       localArrayList.add(new CdmaInformationRecords(paramParcel));
  2354.     return localArrayList;
  2355.   }
  2356.  
  2357.   private Object responseCdmaSms(Parcel paramParcel)
  2358.   {
  2359.     return SmsMessage.newFromParcel(paramParcel);
  2360.   }
  2361.  
  2362.   private Object responseCellList(Parcel paramParcel)
  2363.   {
  2364.     int i = paramParcel.readInt();
  2365.     ArrayList localArrayList = new ArrayList();
  2366.     String str = SystemProperties.get("gsm.network.type", "unknown");
  2367.     int j;
  2368.     if (str.equals("GPRS"))
  2369.       j = 1;
  2370.     while (j != 0)
  2371.     {
  2372.       for (int k = 0; k < i; k++)
  2373.         localArrayList.add(new NeighboringCellInfo(paramParcel.readInt(), paramParcel.readString(), j));
  2374.       if (str.equals("EDGE"))
  2375.       {
  2376.         j = 2;
  2377.         continue;
  2378.       }
  2379.       if (str.equals("UMTS"))
  2380.       {
  2381.         j = 3;
  2382.         continue;
  2383.       }
  2384.       if (str.equals("HSDPA"))
  2385.       {
  2386.         j = 8;
  2387.         continue;
  2388.       }
  2389.       if (str.equals("HSUPA"))
  2390.       {
  2391.         j = 9;
  2392.         continue;
  2393.       }
  2394.       if (str.equals("HSPA"))
  2395.       {
  2396.         j = 10;
  2397.         continue;
  2398.       }
  2399.       j = 0;
  2400.     }
  2401.     return localArrayList;
  2402.   }
  2403.  
  2404.   private Object responseDataCallList(Parcel paramParcel)
  2405.   {
  2406.     int i = paramParcel.readInt();
  2407.     ArrayList localArrayList = new ArrayList(i);
  2408.     for (int j = 0; j < i; j++)
  2409.     {
  2410.       DataCallState localDataCallState = new DataCallState();
  2411.       localDataCallState.cid = paramParcel.readInt();
  2412.       localDataCallState.active = paramParcel.readInt();
  2413.       localDataCallState.type = paramParcel.readString();
  2414.       localDataCallState.apn = paramParcel.readString();
  2415.       localDataCallState.address = paramParcel.readString();
  2416.       localDataCallState.mRadioTech = CommandsInterface.RadioTechnology.getRadioTechFromInt(paramParcel.readInt());
  2417.       localDataCallState.inactiveReason = paramParcel.readInt();
  2418.       localArrayList.add(localDataCallState);
  2419.     }
  2420.     return localArrayList;
  2421.   }
  2422.  
  2423.   private ArrayList<DataProfile> responseGetDataCallProfile(Parcel paramParcel)
  2424.   {
  2425.     int i = paramParcel.readInt();
  2426.     riljLog("# data call profiles:" + i);
  2427.     ArrayList localArrayList = new ArrayList(i);
  2428.     for (int j = 0; j < i; j++)
  2429.     {
  2430.       DataProfileOmh localDataProfileOmh = new DataProfileOmh();
  2431.       localDataProfileOmh.setProfileId(paramParcel.readInt());
  2432.       localDataProfileOmh.setPriority(paramParcel.readInt());
  2433.       riljLog("responseGetDataCallProfile()" + localDataProfileOmh.getProfileId() + ":" + localDataProfileOmh.getPriority());
  2434.       localArrayList.add(localDataProfileOmh);
  2435.     }
  2436.     return localArrayList;
  2437.   }
  2438.  
  2439.   private Object responseGmsBroadcastConfig(Parcel paramParcel)
  2440.   {
  2441.     int i = paramParcel.readInt();
  2442.     ArrayList localArrayList = new ArrayList(i);
  2443.     int j = 0;
  2444.     if (j < i)
  2445.     {
  2446.       int k = paramParcel.readInt();
  2447.       int m = paramParcel.readInt();
  2448.       int n = paramParcel.readInt();
  2449.       int i1 = paramParcel.readInt();
  2450.       if (paramParcel.readInt() == 1);
  2451.       for (boolean bool = true; ; bool = false)
  2452.       {
  2453.         localArrayList.add(new SmsBroadcastConfigInfo(k, m, n, i1, bool));
  2454.         j++;
  2455.         break;
  2456.       }
  2457.     }
  2458.     return localArrayList;
  2459.   }
  2460.  
  2461.   private Object responseICC_IO(Parcel paramParcel)
  2462.   {
  2463.     int i = paramParcel.readInt();
  2464.     int j = paramParcel.readInt();
  2465.     String str = paramParcel.readString();
  2466.     riljLog("< iccIO:  0x" + Integer.toHexString(i) + " 0x" + Integer.toHexString(j) + " " + str);
  2467.     return new IccIoResult(i, j, str);
  2468.   }
  2469.  
  2470.   private Object responseIccCardStatus(Parcel paramParcel)
  2471.   {
  2472.     UiccCardStatusResponse localUiccCardStatusResponse = new UiccCardStatusResponse();
  2473.     localUiccCardStatusResponse.getClass();
  2474.     localUiccCardStatusResponse.card = new UiccCardStatusResponse.CardStatus(localUiccCardStatusResponse);
  2475.     UiccCardStatusResponse.CardStatus localCardStatus1 = localUiccCardStatusResponse.card;
  2476.     localCardStatus1.card_state = UiccConstants.CardState.values()[paramParcel.readInt()];
  2477.     localCardStatus1.universal_pin_state = UiccConstants.PinState.values()[paramParcel.readInt()];
  2478.     int i = paramParcel.readInt();
  2479.     localCardStatus1.subscription_3gpp_app_index = new int[i];
  2480.     for (int j = 0; j < i; j++)
  2481.       localCardStatus1.subscription_3gpp_app_index[j] = paramParcel.readInt();
  2482.     int k = paramParcel.readInt();
  2483.     localCardStatus1.subscription_3gpp2_app_index = new int[k];
  2484.     for (int m = 0; m < k; m++)
  2485.       localCardStatus1.subscription_3gpp2_app_index[m] = paramParcel.readInt();
  2486.     int n = paramParcel.readInt();
  2487.     if (n > 8)
  2488.       n = 8;
  2489.     localCardStatus1.applications = new UiccCardStatusResponse.CardStatus.AppStatus[n];
  2490.     for (int i1 = 0; i1 < n; i1++)
  2491.     {
  2492.       UiccCardStatusResponse.CardStatus localCardStatus2 = localUiccCardStatusResponse.card;
  2493.       localCardStatus2.getClass();
  2494.       UiccCardStatusResponse.CardStatus.AppStatus localAppStatus = new UiccCardStatusResponse.CardStatus.AppStatus(localCardStatus2);
  2495.       localAppStatus.app_type = UiccConstants.AppType.values()[paramParcel.readInt()];
  2496.       localAppStatus.app_state = UiccConstants.AppState.values()[paramParcel.readInt()];
  2497.       localAppStatus.perso_substate = UiccConstants.PersoSubState.values()[paramParcel.readInt()];
  2498.       localAppStatus.aid = paramParcel.readString();
  2499.       localAppStatus.app_label = paramParcel.readString();
  2500.       localAppStatus.pin1_replaced = paramParcel.readInt();
  2501.       localAppStatus.pin1 = UiccConstants.PinState.values()[paramParcel.readInt()];
  2502.       localAppStatus.pin2 = UiccConstants.PinState.values()[paramParcel.readInt()];
  2503.       localUiccCardStatusResponse.card.applications[i1] = localAppStatus;
  2504.     }
  2505.     return localUiccCardStatusResponse;
  2506.   }
  2507.  
  2508.   private Object responseInts(Parcel paramParcel)
  2509.   {
  2510.     int i = paramParcel.readInt();
  2511.     int[] arrayOfInt = new int[i];
  2512.     for (int j = 0; j < i; j++)
  2513.       arrayOfInt[j] = paramParcel.readInt();
  2514.     return arrayOfInt;
  2515.   }
  2516.  
  2517.   private Object responseNetworkInfos(Parcel paramParcel)
  2518.   {
  2519.     String[] arrayOfString = (String[])(String[])responseStrings(paramParcel);
  2520.     if (arrayOfString.length % 4 != 0)
  2521.       throw new RuntimeException("RIL_REQUEST_QUERY_AVAILABLE_NETWORKS: invalid response. Got " + arrayOfString.length + " strings, expected multible of 4");
  2522.     ArrayList localArrayList = new ArrayList(arrayOfString.length / 4);
  2523.     for (int i = 0; i < arrayOfString.length; i += 4)
  2524.       localArrayList.add(new NetworkInfo(arrayOfString[(i + 0)], arrayOfString[(i + 1)], arrayOfString[(i + 2)], arrayOfString[(i + 3)]));
  2525.     return localArrayList;
  2526.   }
  2527.  
  2528.   private Object responseRaw(Parcel paramParcel)
  2529.   {
  2530.     return paramParcel.createByteArray();
  2531.   }
  2532.  
  2533.   private Object responseRegState(Parcel paramParcel)
  2534.   {
  2535.     return new RegStateResponse(paramParcel.readStringArray());
  2536.   }
  2537.  
  2538.   private Object responseSMS(Parcel paramParcel)
  2539.   {
  2540.     return new SmsResponse(paramParcel.readInt(), paramParcel.readString(), paramParcel.readInt());
  2541.   }
  2542.  
  2543.   private Object responseSignalStrength(Parcel paramParcel)
  2544.   {
  2545.     int[] arrayOfInt = new int[10];
  2546.     for (int i = 0; i < 10; i++)
  2547.       arrayOfInt[i] = paramParcel.readInt();
  2548.     return arrayOfInt;
  2549.   }
  2550.  
  2551.   private Object responseSimRefresh(Parcel paramParcel)
  2552.   {
  2553.     IccRefreshResponse localIccRefreshResponse = new IccRefreshResponse();
  2554.     localIccRefreshResponse.refreshResult = IccRefreshResponse.Result.values()[paramParcel.readInt()];
  2555.     localIccRefreshResponse.aidPtr = paramParcel.readString();
  2556.     localIccRefreshResponse.efId = paramParcel.readInt();
  2557.     return localIccRefreshResponse;
  2558.   }
  2559.  
  2560.   private Object responseString(Parcel paramParcel)
  2561.   {
  2562.     return paramParcel.readString();
  2563.   }
  2564.  
  2565.   private Object responseStrings(Parcel paramParcel)
  2566.   {
  2567.     return paramParcel.readStringArray();
  2568.   }
  2569.  
  2570.   private Object responseSuppServiceNotification(Parcel paramParcel)
  2571.   {
  2572.     SuppServiceNotification localSuppServiceNotification = new SuppServiceNotification();
  2573.     localSuppServiceNotification.notificationType = paramParcel.readInt();
  2574.     localSuppServiceNotification.code = paramParcel.readInt();
  2575.     localSuppServiceNotification.index = paramParcel.readInt();
  2576.     localSuppServiceNotification.type = paramParcel.readInt();
  2577.     localSuppServiceNotification.number = paramParcel.readString();
  2578.     return localSuppServiceNotification;
  2579.   }
  2580.  
  2581.   static String responseToString(int paramInt)
  2582.   {
  2583.     String str;
  2584.     switch (paramInt)
  2585.     {
  2586.     default:
  2587.       str = "<unknown reponse>";
  2588.     case 1000:
  2589.     case 1001:
  2590.     case 1002:
  2591.     case 1037:
  2592.     case 1003:
  2593.     case 1004:
  2594.     case 1005:
  2595.     case 1006:
  2596.     case 1007:
  2597.     case 1008:
  2598.     case 1009:
  2599.     case 1010:
  2600.     case 1011:
  2601.     case 1012:
  2602.     case 1013:
  2603.     case 1014:
  2604.     case 1015:
  2605.     case 1016:
  2606.     case 1017:
  2607.     case 1018:
  2608.     case 1019:
  2609.     case 1020:
  2610.     case 1021:
  2611.     case 1022:
  2612.     case 1023:
  2613.     case 1024:
  2614.     case 1033:
  2615.     case 1025:
  2616.     case 1026:
  2617.     case 1027:
  2618.     case 1028:
  2619.     case 1029:
  2620.     case 1030:
  2621.     case 1031:
  2622.     case 1032:
  2623.     case 1034:
  2624.     case 1035:
  2625.     case 1036:
  2626.     case 1038:
  2627.     case 1039:
  2628.     case 1040:
  2629.     case 1041:
  2630.     case 1042:
  2631.     case 1043:
  2632.     case 1044:
  2633.     case 1045:
  2634.     case 1046:
  2635.     case 1047:
  2636.     case 1048:
  2637.     }
  2638.     while (true)
  2639.     {
  2640.       return str;
  2641.       str = "UNSOL_RESPONSE_RADIO_STATE_CHANGED";
  2642.       continue;
  2643.       str = "UNSOL_RESPONSE_CALL_STATE_CHANGED";
  2644.       continue;
  2645.       str = "UNSOL_RESPONSE_NETWORK_STATE_CHANGED";
  2646.       continue;
  2647.       str = "RIL_UNSOL_RESPONSE_DATA_NETWORK_STATE_CHANGED";
  2648.       continue;
  2649.       str = "UNSOL_RESPONSE_NEW_SMS";
  2650.       continue;
  2651.       str = "UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT";
  2652.       continue;
  2653.       str = "UNSOL_RESPONSE_NEW_SMS_ON_SIM";
  2654.       continue;
  2655.       str = "UNSOL_ON_USSD";
  2656.       continue;
  2657.       str = "UNSOL_ON_USSD_REQUEST";
  2658.       continue;
  2659.       str = "UNSOL_NITZ_TIME_RECEIVED";
  2660.       continue;
  2661.       str = "UNSOL_SIGNAL_STRENGTH";
  2662.       continue;
  2663.       str = "UNSOL_DATA_CALL_LIST_CHANGED";
  2664.       continue;
  2665.       str = "UNSOL_SUPP_SVC_NOTIFICATION";
  2666.       continue;
  2667.       str = "UNSOL_STK_SESSION_END";
  2668.       continue;
  2669.       str = "UNSOL_STK_PROACTIVE_COMMAND";
  2670.       continue;
  2671.       str = "UNSOL_STK_EVENT_NOTIFY";
  2672.       continue;
  2673.       str = "UNSOL_STK_CALL_SETUP";
  2674.       continue;
  2675.       str = "UNSOL_SIM_SMS_STORAGE_FULL";
  2676.       continue;
  2677.       str = "UNSOL_SIM_REFRESH";
  2678.       continue;
  2679.       str = "UNSOL_CALL_RING";
  2680.       continue;
  2681.       str = "UNSOL_RESPONSE_SIM_STATUS_CHANGED";
  2682.       continue;
  2683.       str = "UNSOL_RESPONSE_CDMA_NEW_SMS";
  2684.       continue;
  2685.       str = "UNSOL_RESPONSE_NEW_BROADCAST_SMS";
  2686.       continue;
  2687.       str = "UNSOL_CDMA_RUIM_SMS_STORAGE_FULL";
  2688.       continue;
  2689.       str = "UNSOL_RESTRICTED_STATE_CHANGED";
  2690.       continue;
  2691.       str = "UNSOL_ENTER_EMERGENCY_CALLBACK_MODE";
  2692.       continue;
  2693.       str = "UNSOL_EXIT_EMERGENCY_CALLBACK_MODE";
  2694.       continue;
  2695.       str = "UNSOL_CDMA_CALL_WAITING";
  2696.       continue;
  2697.       str = "UNSOL_CDMA_OTA_PROVISION_STATUS";
  2698.       continue;
  2699.       str = "UNSOL_CDMA_INFO_REC";
  2700.       continue;
  2701.       str = "UNSOL_OEM_HOOK_RAW";
  2702.       continue;
  2703.       str = "UNSOL_RINGBACK_TONG";
  2704.       continue;
  2705.       str = "UNSOL_RESEND_INCALL_MUTE";
  2706.       continue;
  2707.       str = "UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED";
  2708.       continue;
  2709.       str = "UNSOL_CDMA_PRL_CHANGED";
  2710.       continue;
  2711.       str = "UNSOL_VOICE_RADIO_TECH_CHANGED";
  2712.       continue;
  2713.       str = "UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED";
  2714.       continue;
  2715.       str = "RIL_UNSOL_TETHERED_MODE_STATE_CHANGED";
  2716.       continue;
  2717.       str = "RIL_UNSOL_OMADM_AT_COMMAND_DISABLED";
  2718.       continue;
  2719.       str = "RIL_UNSOL_OMADM_AT_COMMAND_ENABLED";
  2720.       continue;
  2721.       str = "RIL_UNSOL_OMADM_AT_COMMAND_INITIATED";
  2722.       continue;
  2723.       str = "RIL_UNSOL_PRL_AT_COMMAND_DISABLED";
  2724.       continue;
  2725.       str = "RIL_UNSOL_PRL_AT_COMMAND_ENABLED";
  2726.       continue;
  2727.       str = "RIL_UNSOL_PRL_AT_COMMAND_INITIATED";
  2728.       continue;
  2729.       str = "RIL_UNSOL_PRL_AT_COMMAND_CHECK_UPDATAE_45";
  2730.       continue;
  2731.       str = "RIL_UNSOL_PRL_AT_COMMAND_CHECK_UPDATAE_90";
  2732.       continue;
  2733.       str = "RIL_UNSOL_FUMO_AT_COMMAND_DISABLED";
  2734.       continue;
  2735.       str = "RIL_UNSOL_FUMO_AT_COMMAND_ENABLED";
  2736.       continue;
  2737.       str = "RIL_UNSOL_FUMO_AT_COMMAND_INITIATED";
  2738.     }
  2739.   }
  2740.  
  2741.   private Object responseVoid(Parcel paramParcel)
  2742.   {
  2743.     return null;
  2744.   }
  2745.  
  2746.   private String retToString(int paramInt, Object paramObject)
  2747.   {
  2748.     Object localObject;
  2749.     if (paramObject == null)
  2750.       localObject = "";
  2751.     String str;
  2752.     while (true)
  2753.     {
  2754.       return localObject;
  2755.       int[] arrayOfInt;
  2756.       int m;
  2757.       StringBuilder localStringBuilder5;
  2758.       int n;
  2759.       switch (paramInt)
  2760.       {
  2761.       default:
  2762.         if (!(paramObject instanceof int[]))
  2763.           break label167;
  2764.         arrayOfInt = (int[])(int[])paramObject;
  2765.         m = arrayOfInt.length;
  2766.         localStringBuilder5 = new StringBuilder("{");
  2767.         if (m <= 0)
  2768.           break;
  2769.         n = 0 + 1;
  2770.         localStringBuilder5.append(arrayOfInt[0]);
  2771.       case 11:
  2772.       case 38:
  2773.       case 39:
  2774.         while (true)
  2775.           if (n < m)
  2776.           {
  2777.             StringBuilder localStringBuilder6 = localStringBuilder5.append(", ");
  2778.             int i1 = n + 1;
  2779.             localStringBuilder6.append(arrayOfInt[n]);
  2780.             n = i1;
  2781.             continue;
  2782.             localObject = "";
  2783.             break;
  2784.           }
  2785.       }
  2786.       localStringBuilder5.append("}");
  2787.       str = localStringBuilder5.toString();
  2788.     }
  2789.     while (true)
  2790.     {
  2791.       localObject = str;
  2792.       break;
  2793.       label167: if ((paramObject instanceof String[]))
  2794.       {
  2795.         String[] arrayOfString = (String[])(String[])paramObject;
  2796.         int i = arrayOfString.length;
  2797.         StringBuilder localStringBuilder3 = new StringBuilder("{");
  2798.         if (i > 0)
  2799.         {
  2800.           int j = 0 + 1;
  2801.           localStringBuilder3.append(arrayOfString[0]);
  2802.           while (j < i)
  2803.           {
  2804.             StringBuilder localStringBuilder4 = localStringBuilder3.append(", ");
  2805.             int k = j + 1;
  2806.             localStringBuilder4.append(arrayOfString[j]);
  2807.             j = k;
  2808.           }
  2809.         }
  2810.         localStringBuilder3.append("}");
  2811.         str = localStringBuilder3.toString();
  2812.         continue;
  2813.       }
  2814.       if (paramInt == 9)
  2815.       {
  2816.         ArrayList localArrayList2 = (ArrayList)paramObject;
  2817.         StringBuilder localStringBuilder2 = new StringBuilder(" ");
  2818.         Iterator localIterator2 = localArrayList2.iterator();
  2819.         while (localIterator2.hasNext())
  2820.         {
  2821.           DriverCall localDriverCall = (DriverCall)localIterator2.next();
  2822.           localStringBuilder2.append("[").append(localDriverCall).append("] ");
  2823.         }
  2824.         str = localStringBuilder2.toString();
  2825.         continue;
  2826.       }
  2827.       if (paramInt == 75)
  2828.       {
  2829.         ArrayList localArrayList1 = (ArrayList)paramObject;
  2830.         StringBuilder localStringBuilder1 = new StringBuilder(" ");
  2831.         Iterator localIterator1 = localArrayList1.iterator();
  2832.         while (localIterator1.hasNext())
  2833.           localStringBuilder1.append((NeighboringCellInfo)localIterator1.next()).append(" ");
  2834.         str = localStringBuilder1.toString();
  2835.         continue;
  2836.       }
  2837.       str = paramObject.toString();
  2838.     }
  2839.   }
  2840.  
  2841.   private void riljLog(String paramString)
  2842.   {
  2843.     Log.d("RILJ", paramString);
  2844.   }
  2845.  
  2846.   private void riljLogv(String paramString)
  2847.   {
  2848.     Log.v("RILJ", paramString);
  2849.   }
  2850.  
  2851.   private void send(RILRequest paramRILRequest)
  2852.   {
  2853.     if (this.mSocket == null)
  2854.     {
  2855.       paramRILRequest.onError(1, null);
  2856.       paramRILRequest.release();
  2857.     }
  2858.     while (true)
  2859.     {
  2860.       return;
  2861.       Message localMessage = this.mSender.obtainMessage(1, paramRILRequest);
  2862.       acquireWakeLock();
  2863.       localMessage.sendToTarget();
  2864.     }
  2865.   }
  2866.  
  2867.   private void sendScreenState(boolean paramBoolean)
  2868.   {
  2869.     RILRequest localRILRequest = RILRequest.obtain(61, null);
  2870.     localRILRequest.mp.writeInt(1);
  2871.     Parcel localParcel = localRILRequest.mp;
  2872.     if (paramBoolean);
  2873.     for (int i = 1; ; i = 0)
  2874.     {
  2875.       localParcel.writeInt(i);
  2876.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + ": " + paramBoolean);
  2877.       send(localRILRequest);
  2878.       return;
  2879.     }
  2880.   }
  2881.  
  2882.   private void switchToRadioState(CommandsInterface.RadioState paramRadioState)
  2883.   {
  2884.     if (this.mInitialRadioStateChange)
  2885.       if (paramRadioState.isOn())
  2886.       {
  2887.         Log.d("RILJ", "Radio ON @ init; reset to OFF");
  2888.         setRadioPower(false, null);
  2889.         this.mInitialRadioStateChange = false;
  2890.       }
  2891.     while (true)
  2892.     {
  2893.       return;
  2894.       setRadioState(paramRadioState);
  2895.       break;
  2896.       setRadioState(paramRadioState);
  2897.     }
  2898.   }
  2899.  
  2900.   private int translateStatus(int paramInt)
  2901.   {
  2902.     int i;
  2903.     switch (paramInt & 0x7)
  2904.     {
  2905.     case 2:
  2906.     case 4:
  2907.     case 6:
  2908.     default:
  2909.       i = 1;
  2910.     case 1:
  2911.     case 3:
  2912.     case 5:
  2913.     case 7:
  2914.     }
  2915.     while (true)
  2916.     {
  2917.       return i;
  2918.       i = 1;
  2919.       continue;
  2920.       i = 0;
  2921.       continue;
  2922.       i = 3;
  2923.       continue;
  2924.       i = 2;
  2925.     }
  2926.   }
  2927.  
  2928.   private void unsljLog(int paramInt)
  2929.   {
  2930.     riljLog("[UNSL]< " + responseToString(paramInt));
  2931.   }
  2932.  
  2933.   private void unsljLogMore(int paramInt, String paramString)
  2934.   {
  2935.     riljLog("[UNSL]< " + responseToString(paramInt) + " " + paramString);
  2936.   }
  2937.  
  2938.   private void unsljLogRet(int paramInt, Object paramObject)
  2939.   {
  2940.     riljLog("[UNSL]< " + responseToString(paramInt) + " " + retToString(paramInt, paramObject));
  2941.   }
  2942.  
  2943.   private void unsljLogvRet(int paramInt, Object paramObject)
  2944.   {
  2945.     riljLogv("[UNSL]< " + responseToString(paramInt) + " " + retToString(paramInt, paramObject));
  2946.   }
  2947.  
  2948.   public void acceptCall(Message paramMessage)
  2949.   {
  2950.     RILRequest localRILRequest = RILRequest.obtain(40, paramMessage);
  2951.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  2952.     send(localRILRequest);
  2953.   }
  2954.  
  2955.   public void acknowledgeLastIncomingCdmaSms(boolean paramBoolean, int paramInt, Message paramMessage)
  2956.   {
  2957.     RILRequest localRILRequest = RILRequest.obtain(88, paramMessage);
  2958.     Parcel localParcel = localRILRequest.mp;
  2959.     if (paramBoolean);
  2960.     for (int i = 0; ; i = 1)
  2961.     {
  2962.       localParcel.writeInt(i);
  2963.       localRILRequest.mp.writeInt(paramInt);
  2964.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramBoolean + " " + paramInt);
  2965.       send(localRILRequest);
  2966.       return;
  2967.     }
  2968.   }
  2969.  
  2970.   public void acknowledgeLastIncomingGsmSms(boolean paramBoolean, int paramInt, Message paramMessage)
  2971.   {
  2972.     RILRequest localRILRequest = RILRequest.obtain(37, paramMessage);
  2973.     localRILRequest.mp.writeInt(2);
  2974.     Parcel localParcel = localRILRequest.mp;
  2975.     if (paramBoolean);
  2976.     for (int i = 1; ; i = 0)
  2977.     {
  2978.       localParcel.writeInt(i);
  2979.       localRILRequest.mp.writeInt(paramInt);
  2980.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramBoolean + " " + paramInt);
  2981.       send(localRILRequest);
  2982.       return;
  2983.     }
  2984.   }
  2985.  
  2986.   public void cancelPendingUssd(Message paramMessage)
  2987.   {
  2988.     RILRequest localRILRequest = RILRequest.obtain(30, paramMessage);
  2989.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  2990.     send(localRILRequest);
  2991.   }
  2992.  
  2993.   public void changeBarringPassword(String paramString1, String paramString2, String paramString3, Message paramMessage)
  2994.   {
  2995.     RILRequest localRILRequest = RILRequest.obtain(44, paramMessage);
  2996.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  2997.     localRILRequest.mp.writeInt(3);
  2998.     localRILRequest.mp.writeString(paramString1);
  2999.     localRILRequest.mp.writeString(paramString2);
  3000.     localRILRequest.mp.writeString(paramString3);
  3001.     send(localRILRequest);
  3002.   }
  3003.  
  3004.   public void changeIccPin(String paramString1, String paramString2, String paramString3, Message paramMessage)
  3005.   {
  3006.     RILRequest localRILRequest = RILRequest.obtain(6, paramMessage);
  3007.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3008.     localRILRequest.mp.writeString(paramString1);
  3009.     localRILRequest.mp.writeString(paramString2);
  3010.     localRILRequest.mp.writeString(paramString3);
  3011.     send(localRILRequest);
  3012.   }
  3013.  
  3014.   public void changeIccPin2(String paramString1, String paramString2, String paramString3, Message paramMessage)
  3015.   {
  3016.     RILRequest localRILRequest = RILRequest.obtain(7, paramMessage);
  3017.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3018.     localRILRequest.mp.writeString(paramString1);
  3019.     localRILRequest.mp.writeString(paramString2);
  3020.     localRILRequest.mp.writeString(paramString3);
  3021.     send(localRILRequest);
  3022.   }
  3023.  
  3024.   public void conference(Message paramMessage)
  3025.   {
  3026.     RILRequest localRILRequest = RILRequest.obtain(16, paramMessage);
  3027.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3028.     send(localRILRequest);
  3029.   }
  3030.  
  3031.   public void deactivateDataCall(int paramInt1, int paramInt2, Message paramMessage)
  3032.   {
  3033.     RILRequest localRILRequest = RILRequest.obtain(41, paramMessage);
  3034.     localRILRequest.mp.writeInt(2);
  3035.     localRILRequest.mp.writeString(Integer.toString(paramInt1));
  3036.     localRILRequest.mp.writeString(Integer.toString(paramInt2));
  3037.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt1 + " " + paramInt2);
  3038.     send(localRILRequest);
  3039.   }
  3040.  
  3041.   public void deactivateDefaultPDP(int paramInt, Message paramMessage)
  3042.   {
  3043.     deactivateDataCall(paramInt, 0, paramMessage);
  3044.   }
  3045.  
  3046.   public void deleteSmsOnRuim(int paramInt, Message paramMessage)
  3047.   {
  3048.     RILRequest localRILRequest = RILRequest.obtain(97, paramMessage);
  3049.     localRILRequest.mp.writeInt(1);
  3050.     localRILRequest.mp.writeInt(paramInt);
  3051.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3052.     send(localRILRequest);
  3053.   }
  3054.  
  3055.   public void deleteSmsOnSim(int paramInt, Message paramMessage)
  3056.   {
  3057.     RILRequest localRILRequest = RILRequest.obtain(64, paramMessage);
  3058.     localRILRequest.mp.writeInt(1);
  3059.     localRILRequest.mp.writeInt(paramInt);
  3060.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3061.     send(localRILRequest);
  3062.   }
  3063.  
  3064.   public void dial(String paramString, int paramInt, Message paramMessage)
  3065.   {
  3066.     dial(paramString, paramInt, null, paramMessage);
  3067.   }
  3068.  
  3069.   public void dial(String paramString, int paramInt, UUSInfo paramUUSInfo, Message paramMessage)
  3070.   {
  3071.     RILRequest localRILRequest = RILRequest.obtain(10, paramMessage);
  3072.     localRILRequest.mp.writeString(paramString);
  3073.     localRILRequest.mp.writeInt(paramInt);
  3074.     localRILRequest.mp.writeInt(0);
  3075.     if (paramUUSInfo == null)
  3076.       localRILRequest.mp.writeInt(0);
  3077.     while (true)
  3078.     {
  3079.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3080.       send(localRILRequest);
  3081.       return;
  3082.       localRILRequest.mp.writeInt(1);
  3083.       localRILRequest.mp.writeInt(paramUUSInfo.getType());
  3084.       localRILRequest.mp.writeInt(paramUUSInfo.getDcs());
  3085.       localRILRequest.mp.writeByteArray(paramUUSInfo.getUserData());
  3086.     }
  3087.   }
  3088.  
  3089.   public void exitEmergencyCallbackMode(Message paramMessage)
  3090.   {
  3091.     RILRequest localRILRequest = RILRequest.obtain(99, paramMessage);
  3092.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3093.     send(localRILRequest);
  3094.   }
  3095.  
  3096.   public void explicitCallTransfer(Message paramMessage)
  3097.   {
  3098.     RILRequest localRILRequest = RILRequest.obtain(72, paramMessage);
  3099.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3100.     send(localRILRequest);
  3101.   }
  3102.  
  3103.   public void getAvailableNetworks(Message paramMessage)
  3104.   {
  3105.     RILRequest localRILRequest = RILRequest.obtain(48, paramMessage);
  3106.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3107.     send(localRILRequest);
  3108.   }
  3109.  
  3110.   public void getBDAddress(Message paramMessage)
  3111.   {
  3112.     RILRequest localRILRequest = RILRequest.obtain(170, paramMessage);
  3113.     Log.e("RILJ", "[BTUI] ### getBDAddress ### : request( " + localRILRequest.mRequest + " )");
  3114.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3115.     send(localRILRequest);
  3116.   }
  3117.  
  3118.   public void getBasebandVersion(Message paramMessage)
  3119.   {
  3120.     RILRequest localRILRequest = RILRequest.obtain(51, paramMessage);
  3121.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3122.     send(localRILRequest);
  3123.   }
  3124.  
  3125.   public void getCDMASubscription(Message paramMessage)
  3126.   {
  3127.     RILRequest localRILRequest = RILRequest.obtain(95, paramMessage);
  3128.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3129.     send(localRILRequest);
  3130.   }
  3131.  
  3132.   public void getCLIR(Message paramMessage)
  3133.   {
  3134.     RILRequest localRILRequest = RILRequest.obtain(31, paramMessage);
  3135.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3136.     send(localRILRequest);
  3137.   }
  3138.  
  3139.   public void getCalLifeTimer(Message paramMessage)
  3140.   {
  3141.     RILRequest localRILRequest = RILRequest.obtain(177, paramMessage);
  3142.     Log.e("RILJ", "getCalLifeTimer request( " + localRILRequest.mRequest + " )");
  3143.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3144.     send(localRILRequest);
  3145.   }
  3146.  
  3147.   public void getCallWdc(Message paramMessage)
  3148.   {
  3149.     RILRequest localRILRequest = RILRequest.obtain(176, paramMessage);
  3150.     Log.e("RILJ", "getCallWdc request( " + localRILRequest.mRequest + " )");
  3151.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3152.     send(localRILRequest);
  3153.   }
  3154.  
  3155.   public void getCdmaBroadcastConfig(Message paramMessage)
  3156.   {
  3157.     send(RILRequest.obtain(92, paramMessage));
  3158.   }
  3159.  
  3160.   public void getCdmaSubscriptionSource(Message paramMessage)
  3161.   {
  3162.     RILRequest localRILRequest = RILRequest.obtain(104, paramMessage);
  3163.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3164.     send(localRILRequest);
  3165.   }
  3166.  
  3167.   public void getContKeyDtmfMode(Message paramMessage)
  3168.   {
  3169.     send(RILRequest.obtain(153, paramMessage));
  3170.   }
  3171.  
  3172.   public void getCurrentCalls(Message paramMessage)
  3173.   {
  3174.     RILRequest localRILRequest = RILRequest.obtain(9, paramMessage);
  3175.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3176.     send(localRILRequest);
  3177.   }
  3178.  
  3179.   public void getDataCallList(Message paramMessage)
  3180.   {
  3181.     RILRequest localRILRequest = RILRequest.obtain(57, paramMessage);
  3182.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3183.     send(localRILRequest);
  3184.   }
  3185.  
  3186.   public void getDataCallProfile(int paramInt, Message paramMessage)
  3187.   {
  3188.     RILRequest localRILRequest = RILRequest.obtain(108, paramMessage);
  3189.     localRILRequest.mp.writeInt(1);
  3190.     localRILRequest.mp.writeInt(paramInt);
  3191.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramInt);
  3192.     send(localRILRequest);
  3193.   }
  3194.  
  3195.   public void getDataProfile(Message paramMessage)
  3196.   {
  3197.     RILRequest localRILRequest = RILRequest.obtain(192, paramMessage);
  3198.     Log.e("RILJ", "getDataProfile request( " + localRILRequest.mRequest + " )");
  3199.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3200.     send(localRILRequest);
  3201.   }
  3202.  
  3203.   public void getDataRegistrationState(Message paramMessage)
  3204.   {
  3205.     RILRequest localRILRequest = RILRequest.obtain(21, paramMessage);
  3206.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3207.     send(localRILRequest);
  3208.   }
  3209.  
  3210.   public void getDeviceIdentity(Message paramMessage)
  3211.   {
  3212.     RILRequest localRILRequest = RILRequest.obtain(98, paramMessage);
  3213.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3214.     send(localRILRequest);
  3215.   }
  3216.  
  3217.   public void getGsmBroadcastConfig(Message paramMessage)
  3218.   {
  3219.     RILRequest localRILRequest = RILRequest.obtain(89, paramMessage);
  3220.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3221.     send(localRILRequest);
  3222.   }
  3223.  
  3224.   public void getIMEI(Message paramMessage)
  3225.   {
  3226.     RILRequest localRILRequest = RILRequest.obtain(38, paramMessage);
  3227.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3228.     send(localRILRequest);
  3229.   }
  3230.  
  3231.   public void getIMEISV(Message paramMessage)
  3232.   {
  3233.     RILRequest localRILRequest = RILRequest.obtain(39, paramMessage);
  3234.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3235.     send(localRILRequest);
  3236.   }
  3237.  
  3238.   public void getIMSI(String paramString, Message paramMessage)
  3239.   {
  3240.     RILRequest localRILRequest = RILRequest.obtain(11, paramMessage);
  3241.     localRILRequest.mp.writeString(paramString);
  3242.     riljLog(localRILRequest.serialString() + "> getIMSI:RIL_REQUEST_GET_IMSI " + 11 + " aid: " + paramString + " " + requestToString(localRILRequest.mRequest));
  3243.     send(localRILRequest);
  3244.   }
  3245.  
  3246.   public void getIccCardStatus(Message paramMessage)
  3247.   {
  3248.     RILRequest localRILRequest = RILRequest.obtain(1, paramMessage);
  3249.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3250.     send(localRILRequest);
  3251.   }
  3252.  
  3253.   public void getImsRegistrationState(Message paramMessage)
  3254.   {
  3255.     RILRequest localRILRequest = RILRequest.obtain(106, paramMessage);
  3256.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3257.     send(localRILRequest);
  3258.   }
  3259.  
  3260.   public void getLastCallFailCause(Message paramMessage)
  3261.   {
  3262.     RILRequest localRILRequest = RILRequest.obtain(18, paramMessage);
  3263.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3264.     send(localRILRequest);
  3265.   }
  3266.  
  3267.   public void getLastDataCallFailCause(Message paramMessage)
  3268.   {
  3269.     RILRequest localRILRequest = RILRequest.obtain(56, paramMessage);
  3270.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3271.     send(localRILRequest);
  3272.   }
  3273.  
  3274.   public void getLastPdpFailCause(Message paramMessage)
  3275.   {
  3276.     getLastDataCallFailCause(paramMessage);
  3277.   }
  3278.  
  3279.   public void getManualTestMode(Message paramMessage)
  3280.   {
  3281.     RILRequest localRILRequest = RILRequest.obtain(175, paramMessage);
  3282.     Log.e("RILJ", "getManualTestMode request( " + localRILRequest.mRequest + " )");
  3283.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3284.     send(localRILRequest);
  3285.   }
  3286.  
  3287.   public void getMipErrorCode(Message paramMessage)
  3288.   {
  3289.     RILRequest localRILRequest = RILRequest.obtain(190, paramMessage);
  3290.     Log.e("RILJ", "getMipErrorCode request( " + localRILRequest.mRequest + " )");
  3291.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3292.     send(localRILRequest);
  3293.   }
  3294.  
  3295.   public void getMute(Message paramMessage)
  3296.   {
  3297.     RILRequest localRILRequest = RILRequest.obtain(54, paramMessage);
  3298.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3299.     send(localRILRequest);
  3300.   }
  3301.  
  3302.   public void getNeighboringCids(Message paramMessage)
  3303.   {
  3304.     RILRequest localRILRequest = RILRequest.obtain(75, paramMessage);
  3305.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3306.     send(localRILRequest);
  3307.   }
  3308.  
  3309.   public void getNetworkSelectionMode(Message paramMessage)
  3310.   {
  3311.     RILRequest localRILRequest = RILRequest.obtain(45, paramMessage);
  3312.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3313.     send(localRILRequest);
  3314.   }
  3315.  
  3316.   public void getOmadmLock(Message paramMessage)
  3317.   {
  3318.     RILRequest localRILRequest = RILRequest.obtain(191, paramMessage);
  3319.     Log.e("RILJ", "getOmadmLock request( " + localRILRequest.mRequest + " )");
  3320.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3321.     send(localRILRequest);
  3322.   }
  3323.  
  3324.   public void getOperator(Message paramMessage)
  3325.   {
  3326.     RILRequest localRILRequest = RILRequest.obtain(22, paramMessage);
  3327.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3328.     send(localRILRequest);
  3329.   }
  3330.  
  3331.   public void getPDPContextList(Message paramMessage)
  3332.   {
  3333.     getDataCallList(paramMessage);
  3334.   }
  3335.  
  3336.   public void getPreferredAutoAnswer(Message paramMessage)
  3337.   {
  3338.     send(RILRequest.obtain(151, paramMessage));
  3339.   }
  3340.  
  3341.   public void getPreferredNetworkType(Message paramMessage)
  3342.   {
  3343.     RILRequest localRILRequest = RILRequest.obtain(74, paramMessage);
  3344.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3345.     send(localRILRequest);
  3346.   }
  3347.  
  3348.   public void getPreferredVoicePrivacy(Message paramMessage)
  3349.   {
  3350.     send(RILRequest.obtain(83, paramMessage));
  3351.   }
  3352.  
  3353.   public void getRegistrationState(Message paramMessage)
  3354.   {
  3355.     RILRequest localRILRequest = RILRequest.obtain(20, paramMessage);
  3356.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3357.     send(localRILRequest);
  3358.   }
  3359.  
  3360.   public void getRoamingGuard(Message paramMessage)
  3361.   {
  3362.     RILRequest localRILRequest = RILRequest.obtain(183, paramMessage);
  3363.     Log.e("RILJ", "getRoamingGuard request( " + localRILRequest.mRequest + " )");
  3364.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3365.     send(localRILRequest);
  3366.   }
  3367.  
  3368.   public void getRoamingMode(Message paramMessage)
  3369.   {
  3370.     RILRequest localRILRequest = RILRequest.obtain(181, paramMessage);
  3371.     Log.e("RILJ", "getRoamingMode request( " + localRILRequest.mRequest + " )");
  3372.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3373.     send(localRILRequest);
  3374.   }
  3375.  
  3376.   public void getSignalStrength(Message paramMessage)
  3377.   {
  3378.     RILRequest localRILRequest = RILRequest.obtain(19, paramMessage);
  3379.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3380.     send(localRILRequest);
  3381.   }
  3382.  
  3383.   public void getSmscAddress(Message paramMessage)
  3384.   {
  3385.     RILRequest localRILRequest = RILRequest.obtain(100, paramMessage);
  3386.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3387.     send(localRILRequest);
  3388.   }
  3389.  
  3390.   public void getVoiceRadioTechnology(Message paramMessage)
  3391.   {
  3392.     RILRequest localRILRequest = RILRequest.obtain(105, paramMessage);
  3393.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3394.     send(localRILRequest);
  3395.   }
  3396.  
  3397.   public void handleCallSetupRequestFromSim(boolean paramBoolean, Message paramMessage)
  3398.   {
  3399.     RILRequest localRILRequest = RILRequest.obtain(71, paramMessage);
  3400.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3401.     int[] arrayOfInt = new int[1];
  3402.     if (paramBoolean);
  3403.     for (int i = 1; ; i = 0)
  3404.     {
  3405.       arrayOfInt[0] = i;
  3406.       localRILRequest.mp.writeIntArray(arrayOfInt);
  3407.       send(localRILRequest);
  3408.       return;
  3409.     }
  3410.   }
  3411.  
  3412.   public void hangupConnection(int paramInt, Message paramMessage)
  3413.   {
  3414.     riljLog("hangupConnection: gsmIndex=" + paramInt);
  3415.     RILRequest localRILRequest = RILRequest.obtain(12, paramMessage);
  3416.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3417.     localRILRequest.mp.writeInt(1);
  3418.     localRILRequest.mp.writeInt(paramInt);
  3419.     send(localRILRequest);
  3420.   }
  3421.  
  3422.   public void hangupForegroundResumeBackground(Message paramMessage)
  3423.   {
  3424.     RILRequest localRILRequest = RILRequest.obtain(14, paramMessage);
  3425.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3426.     send(localRILRequest);
  3427.   }
  3428.  
  3429.   public void hangupWaitingOrBackground(Message paramMessage)
  3430.   {
  3431.     RILRequest localRILRequest = RILRequest.obtain(13, paramMessage);
  3432.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3433.     send(localRILRequest);
  3434.   }
  3435.  
  3436.   public void iccIO(String paramString1, int paramInt1, int paramInt2, String paramString2, int paramInt3, int paramInt4, int paramInt5, String paramString3, String paramString4, Message paramMessage)
  3437.   {
  3438.     RILRequest localRILRequest = RILRequest.obtain(28, paramMessage);
  3439.     localRILRequest.mp.writeString(paramString1);
  3440.     localRILRequest.mp.writeInt(paramInt1);
  3441.     localRILRequest.mp.writeInt(paramInt2);
  3442.     localRILRequest.mp.writeString(paramString2);
  3443.     localRILRequest.mp.writeInt(paramInt3);
  3444.     localRILRequest.mp.writeInt(paramInt4);
  3445.     localRILRequest.mp.writeInt(paramInt5);
  3446.     localRILRequest.mp.writeString(paramString3);
  3447.     localRILRequest.mp.writeString(paramString4);
  3448.     riljLog(localRILRequest.serialString() + "> iccIO: " + " aid: " + paramString1 + " " + requestToString(localRILRequest.mRequest) + " 0x" + Integer.toHexString(paramInt1) + " 0x" + Integer.toHexString(paramInt2) + " " + " path: " + paramString2 + "," + paramInt3 + "," + paramInt4 + "," + paramInt5);
  3449.     send(localRILRequest);
  3450.   }
  3451.  
  3452.   public void invokeDepersonalization(String paramString, int paramInt, Message paramMessage)
  3453.   {
  3454.     int i = "QUALCOMM".length();
  3455.     (4 * 2);
  3456.     int j = i + 8;
  3457.     int k = 524288 + 4;
  3458.     int m = 4 + paramString.length();
  3459.     byte[] arrayOfByte = new byte[1 + (j + m)];
  3460.     ByteBuffer localByteBuffer = ByteBuffer.wrap(arrayOfByte);
  3461.     localByteBuffer.order(ByteOrder.nativeOrder());
  3462.     localByteBuffer.put("QUALCOMM".getBytes());
  3463.     localByteBuffer.putInt(k);
  3464.     localByteBuffer.putInt(m);
  3465.     localByteBuffer.putInt(paramInt);
  3466.     localByteBuffer.put(paramString.getBytes());
  3467.     localByteBuffer.put(0);
  3468.     invokeOemRilRequestRaw(arrayOfByte, paramMessage);
  3469.   }
  3470.  
  3471.   public void invokeOemRilRequestRaw(byte[] paramArrayOfByte, Message paramMessage)
  3472.   {
  3473.     RILRequest localRILRequest = RILRequest.obtain(59, paramMessage);
  3474.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + "[" + IccUtils.bytesToHexString(paramArrayOfByte) + "]");
  3475.     localRILRequest.mp.writeByteArray(paramArrayOfByte);
  3476.     send(localRILRequest);
  3477.   }
  3478.  
  3479.   public void invokeOemRilRequestStrings(String[] paramArrayOfString, Message paramMessage)
  3480.   {
  3481.     RILRequest localRILRequest = RILRequest.obtain(60, paramMessage);
  3482.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3483.     localRILRequest.mp.writeStringArray(paramArrayOfString);
  3484.     send(localRILRequest);
  3485.   }
  3486.  
  3487.   protected void notifyCallReestablish()
  3488.   {
  3489.     AsyncResult localAsyncResult = new AsyncResult(null, null, null);
  3490.     this.mCallReestablishIndRegistrants.notifyRegistrants(localAsyncResult);
  3491.   }
  3492.  
  3493.   protected void notifyCdmaFwdBurstDtmf(byte[] paramArrayOfByte)
  3494.   {
  3495.     AsyncResult localAsyncResult = new AsyncResult(null, paramArrayOfByte, null);
  3496.     this.mCdmaFwdBurstDtmfRegistrants.notifyRegistrants(localAsyncResult);
  3497.   }
  3498.  
  3499.   protected void notifyCdmaFwdContDtmfStart(byte[] paramArrayOfByte)
  3500.   {
  3501.     AsyncResult localAsyncResult = new AsyncResult(null, paramArrayOfByte, null);
  3502.     this.mCdmaFwdContDtmfStartRegistrants.notifyRegistrants(localAsyncResult);
  3503.   }
  3504.  
  3505.   protected void notifyCdmaFwdContDtmfStop()
  3506.   {
  3507.     AsyncResult localAsyncResult = new AsyncResult(null, null, null);
  3508.     this.mCdmaFwdContDtmfStopRegistrants.notifyRegistrants(localAsyncResult);
  3509.   }
  3510.  
  3511.   protected void onRadioAvailable()
  3512.   {
  3513.     sendScreenState(true);
  3514.   }
  3515.  
  3516.   public void queryAvailableBandMode(Message paramMessage)
  3517.   {
  3518.     RILRequest localRILRequest = RILRequest.obtain(66, paramMessage);
  3519.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3520.     send(localRILRequest);
  3521.   }
  3522.  
  3523.   public void queryCLIP(Message paramMessage)
  3524.   {
  3525.     RILRequest localRILRequest = RILRequest.obtain(55, paramMessage);
  3526.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3527.     send(localRILRequest);
  3528.   }
  3529.  
  3530.   public void queryCallForwardStatus(int paramInt1, int paramInt2, String paramString, Message paramMessage)
  3531.   {
  3532.     RILRequest localRILRequest = RILRequest.obtain(33, paramMessage);
  3533.     localRILRequest.mp.writeInt(2);
  3534.     localRILRequest.mp.writeInt(paramInt1);
  3535.     localRILRequest.mp.writeInt(paramInt2);
  3536.     localRILRequest.mp.writeInt(PhoneNumberUtils.toaFromString(paramString));
  3537.     localRILRequest.mp.writeString(paramString);
  3538.     localRILRequest.mp.writeInt(0);
  3539.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt1 + " " + paramInt2);
  3540.     send(localRILRequest);
  3541.   }
  3542.  
  3543.   public void queryCallWaiting(int paramInt, Message paramMessage)
  3544.   {
  3545.     RILRequest localRILRequest = RILRequest.obtain(35, paramMessage);
  3546.     localRILRequest.mp.writeInt(1);
  3547.     localRILRequest.mp.writeInt(paramInt);
  3548.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3549.     send(localRILRequest);
  3550.   }
  3551.  
  3552.   public void queryCdmaRoamingPreference(Message paramMessage)
  3553.   {
  3554.     RILRequest localRILRequest = RILRequest.obtain(79, paramMessage);
  3555.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3556.     send(localRILRequest);
  3557.   }
  3558.  
  3559.   public void queryFacilityLock(String paramString1, String paramString2, String paramString3, int paramInt, Message paramMessage)
  3560.   {
  3561.     RILRequest localRILRequest = RILRequest.obtain(42, paramMessage);
  3562.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " aid: " + paramString1 + " facility: " + paramString2);
  3563.     localRILRequest.mp.writeInt(4);
  3564.     localRILRequest.mp.writeString(paramString1);
  3565.     localRILRequest.mp.writeString(paramString2);
  3566.     localRILRequest.mp.writeString(paramString3);
  3567.     localRILRequest.mp.writeString(Integer.toString(paramInt));
  3568.     send(localRILRequest);
  3569.   }
  3570.  
  3571.   public void queryTTYMode(Message paramMessage)
  3572.   {
  3573.     RILRequest localRILRequest = RILRequest.obtain(81, paramMessage);
  3574.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3575.     send(localRILRequest);
  3576.   }
  3577.  
  3578.   public void rejectCall(Message paramMessage)
  3579.   {
  3580.     RILRequest localRILRequest = RILRequest.obtain(17, paramMessage);
  3581.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3582.     send(localRILRequest);
  3583.   }
  3584.  
  3585.   public void reportSmsMemoryStatus(boolean paramBoolean, Message paramMessage)
  3586.   {
  3587.     int i = 1;
  3588.     RILRequest localRILRequest = RILRequest.obtain(102, paramMessage);
  3589.     localRILRequest.mp.writeInt(i);
  3590.     Parcel localParcel = localRILRequest.mp;
  3591.     if (paramBoolean);
  3592.     while (true)
  3593.     {
  3594.       localParcel.writeInt(i);
  3595.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + ": " + paramBoolean);
  3596.       send(localRILRequest);
  3597.       return;
  3598.       i = 0;
  3599.     }
  3600.   }
  3601.  
  3602.   public void reportStkServiceIsRunning(Message paramMessage)
  3603.   {
  3604.     RILRequest localRILRequest = RILRequest.obtain(103, paramMessage);
  3605.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3606.     send(localRILRequest);
  3607.   }
  3608.  
  3609.   public void resetRadio(Message paramMessage)
  3610.   {
  3611.     RILRequest localRILRequest = RILRequest.obtain(58, paramMessage);
  3612.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3613.     send(localRILRequest);
  3614.   }
  3615.  
  3616.   public void sendBurstDtmf(String paramString, int paramInt1, int paramInt2, Message paramMessage)
  3617.   {
  3618.     RILRequest localRILRequest = RILRequest.obtain(85, paramMessage);
  3619.     localRILRequest.mp.writeInt(3);
  3620.     localRILRequest.mp.writeString(paramString);
  3621.     localRILRequest.mp.writeString(Integer.toString(paramInt1));
  3622.     localRILRequest.mp.writeString(Integer.toString(paramInt2));
  3623.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramString);
  3624.     send(localRILRequest);
  3625.   }
  3626.  
  3627.   public void sendCDMAFeatureCode(String paramString, Message paramMessage)
  3628.   {
  3629.     RILRequest localRILRequest = RILRequest.obtain(84, paramMessage);
  3630.     localRILRequest.mp.writeString(paramString);
  3631.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramString);
  3632.     send(localRILRequest);
  3633.   }
  3634.  
  3635.   public void sendCdmaSms(byte[] paramArrayOfByte, Message paramMessage)
  3636.   {
  3637.     RILRequest localRILRequest = RILRequest.obtain(87, paramMessage);
  3638.     constructCdmaSendSmsRilRequest(localRILRequest, paramArrayOfByte);
  3639.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3640.     send(localRILRequest);
  3641.   }
  3642.  
  3643.   public void sendCommand(int paramInt)
  3644.   {
  3645.     RILRequest localRILRequest = RILRequest.obtain(298, null);
  3646.     localRILRequest.mp.writeInt(1);
  3647.     localRILRequest.mp.writeInt(paramInt);
  3648.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3649.     send(localRILRequest);
  3650.   }
  3651.  
  3652.   public void sendDtmf(char paramChar, Message paramMessage)
  3653.   {
  3654.     RILRequest localRILRequest = RILRequest.obtain(24, paramMessage);
  3655.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3656.     localRILRequest.mp.writeString(Character.toString(paramChar));
  3657.     send(localRILRequest);
  3658.   }
  3659.  
  3660.   public void sendEnvelope(String paramString, Message paramMessage)
  3661.   {
  3662.     RILRequest localRILRequest = RILRequest.obtain(69, paramMessage);
  3663.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3664.     localRILRequest.mp.writeString(paramString);
  3665.     send(localRILRequest);
  3666.   }
  3667.  
  3668.   public void sendImsCdmaSms(byte[] paramArrayOfByte, Message paramMessage)
  3669.   {
  3670.     RILRequest localRILRequest = RILRequest.obtain(107, paramMessage);
  3671.     localRILRequest.mp.writeInt(2);
  3672.     constructCdmaSendSmsRilRequest(localRILRequest, paramArrayOfByte);
  3673.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3674.     send(localRILRequest);
  3675.   }
  3676.  
  3677.   public void sendImsGsmSms(String paramString1, String paramString2, Message paramMessage)
  3678.   {
  3679.     RILRequest localRILRequest = RILRequest.obtain(107, paramMessage);
  3680.     localRILRequest.mp.writeInt(1);
  3681.     constructGsmSendSmsRilRequest(localRILRequest, paramString1, paramString2);
  3682.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3683.     send(localRILRequest);
  3684.   }
  3685.  
  3686.   public void sendSMS(String paramString1, String paramString2, Message paramMessage)
  3687.   {
  3688.     RILRequest localRILRequest = RILRequest.obtain(25, paramMessage);
  3689.     constructGsmSendSmsRilRequest(localRILRequest, paramString1, paramString2);
  3690.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3691.     send(localRILRequest);
  3692.   }
  3693.  
  3694.   public void sendTerminalResponse(String paramString, Message paramMessage)
  3695.   {
  3696.     RILRequest localRILRequest = RILRequest.obtain(70, paramMessage);
  3697.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3698.     localRILRequest.mp.writeString(paramString);
  3699.     send(localRILRequest);
  3700.   }
  3701.  
  3702.   public void sendUSSD(String paramString, Message paramMessage)
  3703.   {
  3704.     RILRequest localRILRequest = RILRequest.obtain(29, paramMessage);
  3705.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramString);
  3706.     localRILRequest.mp.writeString(paramString);
  3707.     send(localRILRequest);
  3708.   }
  3709.  
  3710.   public void separateConnection(int paramInt, Message paramMessage)
  3711.   {
  3712.     RILRequest localRILRequest = RILRequest.obtain(52, paramMessage);
  3713.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3714.     localRILRequest.mp.writeInt(1);
  3715.     localRILRequest.mp.writeInt(paramInt);
  3716.     send(localRILRequest);
  3717.   }
  3718.  
  3719.   public void setBandMode(int paramInt, Message paramMessage)
  3720.   {
  3721.     RILRequest localRILRequest = RILRequest.obtain(65, paramMessage);
  3722.     localRILRequest.mp.writeInt(1);
  3723.     localRILRequest.mp.writeInt(paramInt);
  3724.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3725.     send(localRILRequest);
  3726.   }
  3727.  
  3728.   public void setCLIR(int paramInt, Message paramMessage)
  3729.   {
  3730.     RILRequest localRILRequest = RILRequest.obtain(32, paramMessage);
  3731.     localRILRequest.mp.writeInt(1);
  3732.     localRILRequest.mp.writeInt(paramInt);
  3733.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt);
  3734.     send(localRILRequest);
  3735.   }
  3736.  
  3737.   public void setCalLifeTimer(int paramInt, Message paramMessage)
  3738.   {
  3739.     RILRequest localRILRequest = RILRequest.obtain(179, paramMessage);
  3740.     Log.e("RILJ", "SetCalLifeTimer request( " + localRILRequest.mRequest + " )");
  3741.     localRILRequest.mp.writeInt(1);
  3742.     localRILRequest.mp.writeInt(paramInt);
  3743.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3744.     send(localRILRequest);
  3745.   }
  3746.  
  3747.   public void setCallForward(int paramInt1, int paramInt2, int paramInt3, String paramString, int paramInt4, Message paramMessage)
  3748.   {
  3749.     RILRequest localRILRequest = RILRequest.obtain(34, paramMessage);
  3750.     localRILRequest.mp.writeInt(paramInt1);
  3751.     localRILRequest.mp.writeInt(paramInt2);
  3752.     localRILRequest.mp.writeInt(paramInt3);
  3753.     localRILRequest.mp.writeInt(PhoneNumberUtils.toaFromString(paramString));
  3754.     localRILRequest.mp.writeString(paramString);
  3755.     localRILRequest.mp.writeInt(paramInt4);
  3756.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramInt1 + " " + paramInt2 + " " + paramInt3 + paramInt4);
  3757.     send(localRILRequest);
  3758.   }
  3759.  
  3760.   public void setCallWaiting(boolean paramBoolean, int paramInt, Message paramMessage)
  3761.   {
  3762.     RILRequest localRILRequest = RILRequest.obtain(36, paramMessage);
  3763.     localRILRequest.mp.writeInt(2);
  3764.     Parcel localParcel = localRILRequest.mp;
  3765.     if (paramBoolean);
  3766.     for (int i = 1; ; i = 0)
  3767.     {
  3768.       localParcel.writeInt(i);
  3769.       localRILRequest.mp.writeInt(paramInt);
  3770.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramBoolean + ", " + paramInt);
  3771.       send(localRILRequest);
  3772.       return;
  3773.     }
  3774.   }
  3775.  
  3776.   public void setCallWdc(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, Message paramMessage)
  3777.   {
  3778.     RILRequest localRILRequest = RILRequest.obtain(178, paramMessage);
  3779.     Log.e("RILJ", "setCallWdc request( " + localRILRequest.mRequest + " )");
  3780.     localRILRequest.mp.writeInt(5);
  3781.     localRILRequest.mp.writeInt(paramInt1);
  3782.     localRILRequest.mp.writeInt(paramInt2);
  3783.     localRILRequest.mp.writeInt(paramInt3);
  3784.     localRILRequest.mp.writeInt(paramInt4);
  3785.     localRILRequest.mp.writeInt(paramInt5);
  3786.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3787.     send(localRILRequest);
  3788.   }
  3789.  
  3790.   public void setCdmaBroadcastActivation(boolean paramBoolean, Message paramMessage)
  3791.   {
  3792.     int i = 1;
  3793.     RILRequest localRILRequest = RILRequest.obtain(94, paramMessage);
  3794.     localRILRequest.mp.writeInt(i);
  3795.     Parcel localParcel = localRILRequest.mp;
  3796.     if (paramBoolean)
  3797.       i = 0;
  3798.     localParcel.writeInt(i);
  3799.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3800.     send(localRILRequest);
  3801.   }
  3802.  
  3803.   public void setCdmaBroadcastConfig(int[] paramArrayOfInt, Message paramMessage)
  3804.   {
  3805.     RILRequest localRILRequest = RILRequest.obtain(93, paramMessage);
  3806.     for (int i = 0; i < paramArrayOfInt.length; i++)
  3807.       localRILRequest.mp.writeInt(paramArrayOfInt[i]);
  3808.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3809.     send(localRILRequest);
  3810.   }
  3811.  
  3812.   public void setCdmaFactoryReset(Message paramMessage)
  3813.   {
  3814.     send(RILRequest.obtain(111, paramMessage));
  3815.   }
  3816.  
  3817.   public void setCdmaRoamingPreference(int paramInt, Message paramMessage)
  3818.   {
  3819.     RILRequest localRILRequest = RILRequest.obtain(78, paramMessage);
  3820.     localRILRequest.mp.writeInt(1);
  3821.     localRILRequest.mp.writeInt(paramInt);
  3822.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramInt);
  3823.     send(localRILRequest);
  3824.   }
  3825.  
  3826.   public void setCdmaSubscription(int paramInt, Message paramMessage)
  3827.   {
  3828.     RILRequest localRILRequest = RILRequest.obtain(77, paramMessage);
  3829.     localRILRequest.mp.writeInt(1);
  3830.     localRILRequest.mp.writeInt(paramInt);
  3831.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramInt);
  3832.     send(localRILRequest);
  3833.   }
  3834.  
  3835.   public void setCdmaValidateAKey(String paramString, Message paramMessage)
  3836.   {
  3837.     RILRequest localRILRequest = RILRequest.obtain(86, paramMessage);
  3838.     localRILRequest.mp.writeString(paramString);
  3839.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3840.     send(localRILRequest);
  3841.   }
  3842.  
  3843.   public void setContKeyDtmfMode(boolean paramBoolean, Message paramMessage)
  3844.   {
  3845.     int i = 1;
  3846.     RILRequest localRILRequest = RILRequest.obtain(152, paramMessage);
  3847.     localRILRequest.mp.writeInt(i);
  3848.     Parcel localParcel = localRILRequest.mp;
  3849.     if (paramBoolean);
  3850.     while (true)
  3851.     {
  3852.       localParcel.writeInt(i);
  3853.       send(localRILRequest);
  3854.       return;
  3855.       i = 0;
  3856.     }
  3857.   }
  3858.  
  3859.   public void setFacilityLock(String paramString1, String paramString2, boolean paramBoolean, String paramString3, int paramInt, Message paramMessage)
  3860.   {
  3861.     RILRequest localRILRequest = RILRequest.obtain(43, paramMessage);
  3862.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " aid: " + paramString1 + " facility: " + paramString2 + " lockstate: " + paramBoolean);
  3863.     localRILRequest.mp.writeInt(5);
  3864.     localRILRequest.mp.writeString(paramString1);
  3865.     localRILRequest.mp.writeString(paramString2);
  3866.     if (paramBoolean);
  3867.     for (String str = "1"; ; str = "0")
  3868.     {
  3869.       localRILRequest.mp.writeString(str);
  3870.       localRILRequest.mp.writeString(paramString3);
  3871.       localRILRequest.mp.writeString(Integer.toString(paramInt));
  3872.       send(localRILRequest);
  3873.       return;
  3874.     }
  3875.   }
  3876.  
  3877.   public void setGsmBroadcastActivation(boolean paramBoolean, Message paramMessage)
  3878.   {
  3879.     int i = 1;
  3880.     RILRequest localRILRequest = RILRequest.obtain(91, paramMessage);
  3881.     localRILRequest.mp.writeInt(i);
  3882.     Parcel localParcel = localRILRequest.mp;
  3883.     if (paramBoolean)
  3884.       i = 0;
  3885.     localParcel.writeInt(i);
  3886.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3887.     send(localRILRequest);
  3888.   }
  3889.  
  3890.   public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] paramArrayOfSmsBroadcastConfigInfo, Message paramMessage)
  3891.   {
  3892.     RILRequest localRILRequest = RILRequest.obtain(90, paramMessage);
  3893.     int i = paramArrayOfSmsBroadcastConfigInfo.length;
  3894.     localRILRequest.mp.writeInt(i);
  3895.     int j = 0;
  3896.     if (j < i)
  3897.     {
  3898.       localRILRequest.mp.writeInt(paramArrayOfSmsBroadcastConfigInfo[j].getFromServiceId());
  3899.       localRILRequest.mp.writeInt(paramArrayOfSmsBroadcastConfigInfo[j].getToServiceId());
  3900.       localRILRequest.mp.writeInt(paramArrayOfSmsBroadcastConfigInfo[j].getFromCodeScheme());
  3901.       localRILRequest.mp.writeInt(paramArrayOfSmsBroadcastConfigInfo[j].getToCodeScheme());
  3902.       Parcel localParcel = localRILRequest.mp;
  3903.       if (paramArrayOfSmsBroadcastConfigInfo[j].isSelected());
  3904.       for (int m = 1; ; m = 0)
  3905.       {
  3906.         localParcel.writeInt(m);
  3907.         j++;
  3908.         break;
  3909.       }
  3910.     }
  3911.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " with " + i + "configs : ");
  3912.     for (int k = 0; k < i; k++)
  3913.       riljLog(paramArrayOfSmsBroadcastConfigInfo[k].toString());
  3914.     send(localRILRequest);
  3915.   }
  3916.  
  3917.   public void setLocationUpdates(boolean paramBoolean, Message paramMessage)
  3918.   {
  3919.     int i = 1;
  3920.     RILRequest localRILRequest = RILRequest.obtain(76, paramMessage);
  3921.     localRILRequest.mp.writeInt(i);
  3922.     Parcel localParcel = localRILRequest.mp;
  3923.     if (paramBoolean);
  3924.     while (true)
  3925.     {
  3926.       localParcel.writeInt(i);
  3927.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + ": " + paramBoolean);
  3928.       send(localRILRequest);
  3929.       return;
  3930.       i = 0;
  3931.     }
  3932.   }
  3933.  
  3934.   public void setMute(boolean paramBoolean, Message paramMessage)
  3935.   {
  3936.     RILRequest localRILRequest = RILRequest.obtain(53, paramMessage);
  3937.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramBoolean);
  3938.     localRILRequest.mp.writeInt(1);
  3939.     Parcel localParcel = localRILRequest.mp;
  3940.     if (paramBoolean);
  3941.     for (int i = 1; ; i = 0)
  3942.     {
  3943.       localParcel.writeInt(i);
  3944.       send(localRILRequest);
  3945.       return;
  3946.     }
  3947.   }
  3948.  
  3949.   public void setNetworkSelectionModeAutomatic(Message paramMessage)
  3950.   {
  3951.     RILRequest localRILRequest = RILRequest.obtain(46, paramMessage);
  3952.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  3953.     send(localRILRequest);
  3954.   }
  3955.  
  3956.   public void setNetworkSelectionModeManual(String paramString, Message paramMessage)
  3957.   {
  3958.     RILRequest localRILRequest = RILRequest.obtain(47, paramMessage);
  3959.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramString);
  3960.     localRILRequest.mp.writeString(paramString);
  3961.     send(localRILRequest);
  3962.   }
  3963.  
  3964.   public void setOnNITZTime(Handler paramHandler, int paramInt, Object paramObject)
  3965.   {
  3966.     super.setOnNITZTime(paramHandler, paramInt, paramObject);
  3967.     if ((this.mLastNITZTimeInfo != null) && (this.mNITZTimeRegistrants != null))
  3968.       this.mNITZTimeRegistrants.notifyRegistrants(new AsyncResult(null, this.mLastNITZTimeInfo, null));
  3969.   }
  3970.  
  3971.   public void setPhoneType(int paramInt)
  3972.   {
  3973.     this.mPhoneType = paramInt;
  3974.   }
  3975.  
  3976.   public void setPreferredAutoAnswer(boolean paramBoolean, Message paramMessage)
  3977.   {
  3978.     int i = 1;
  3979.     RILRequest localRILRequest = RILRequest.obtain(150, paramMessage);
  3980.     localRILRequest.mp.writeInt(i);
  3981.     Parcel localParcel = localRILRequest.mp;
  3982.     if (paramBoolean);
  3983.     while (true)
  3984.     {
  3985.       localParcel.writeInt(i);
  3986.       send(localRILRequest);
  3987.       return;
  3988.       i = 0;
  3989.     }
  3990.   }
  3991.  
  3992.   public void setPreferredNetworkType(int paramInt, Message paramMessage)
  3993.   {
  3994.     RILRequest localRILRequest = RILRequest.obtain(73, paramMessage);
  3995.     localRILRequest.mp.writeInt(1);
  3996.     localRILRequest.mp.writeInt(paramInt);
  3997.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramInt);
  3998.     send(localRILRequest);
  3999.   }
  4000.  
  4001.   public void setPreferredVoicePrivacy(boolean paramBoolean, Message paramMessage)
  4002.   {
  4003.     int i = 1;
  4004.     RILRequest localRILRequest = RILRequest.obtain(82, paramMessage);
  4005.     localRILRequest.mp.writeInt(i);
  4006.     Parcel localParcel = localRILRequest.mp;
  4007.     if (paramBoolean);
  4008.     while (true)
  4009.     {
  4010.       localParcel.writeInt(i);
  4011.       send(localRILRequest);
  4012.       return;
  4013.       i = 0;
  4014.     }
  4015.   }
  4016.  
  4017.   public void setRadioPower(boolean paramBoolean, Message paramMessage)
  4018.   {
  4019.     if (this.mInitialRadioStateChange);
  4020.     while (true)
  4021.     {
  4022.       synchronized (this.mStateMonitor)
  4023.       {
  4024.         if (this.mState.isOn())
  4025.           continue;
  4026.         RILRequest localRILRequest2 = RILRequest.obtain(73, null);
  4027.         localRILRequest2.mp.writeInt(1);
  4028.         localRILRequest2.mp.writeInt(this.mNetworkMode);
  4029.         riljLog(localRILRequest2.serialString() + "> " + requestToString(localRILRequest2.mRequest) + " : " + this.mNetworkMode);
  4030.         send(localRILRequest2);
  4031.         RILRequest localRILRequest3 = RILRequest.obtain(77, null);
  4032.         localRILRequest3.mp.writeInt(1);
  4033.         localRILRequest3.mp.writeInt(this.mCdmaSubscription);
  4034.         riljLog(localRILRequest3.serialString() + "> " + requestToString(localRILRequest3.mRequest) + " : " + this.mCdmaSubscription);
  4035.         send(localRILRequest3);
  4036.         RILRequest localRILRequest1 = RILRequest.obtain(23, paramMessage);
  4037.         localRILRequest1.mp.writeInt(1);
  4038.         Parcel localParcel = localRILRequest1.mp;
  4039.         if (paramBoolean)
  4040.         {
  4041.           i = 1;
  4042.           localParcel.writeInt(i);
  4043.           riljLog(localRILRequest1.serialString() + "> " + requestToString(localRILRequest1.mRequest));
  4044.           send(localRILRequest1);
  4045.           return;
  4046.         }
  4047.       }
  4048.       int i = 0;
  4049.     }
  4050.   }
  4051.  
  4052.   public void setRilPowerOff(Message paramMessage)
  4053.   {
  4054.     RILRequest localRILRequest = RILRequest.obtain(23, paramMessage);
  4055.     localRILRequest.mp.writeInt(1);
  4056.     localRILRequest.mp.writeInt(2);
  4057.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4058.     send(localRILRequest);
  4059.   }
  4060.  
  4061.   public void setRoamingGuard(int[] paramArrayOfInt, Message paramMessage)
  4062.   {
  4063.     RILRequest localRILRequest = RILRequest.obtain(182, paramMessage);
  4064.     Log.e("RILJ", "RIL_REQUEST_SET_ROAMING_GUARD( " + localRILRequest.mRequest + " )");
  4065.     localRILRequest.mp.writeIntArray(paramArrayOfInt);
  4066.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4067.     send(localRILRequest);
  4068.   }
  4069.  
  4070.   public void setRoamingMode(int[] paramArrayOfInt, Message paramMessage)
  4071.   {
  4072.     RILRequest localRILRequest = RILRequest.obtain(180, paramMessage);
  4073.     Log.e("RILJ", "RIL_REQUEST_SET_ROAMING_MODE( " + localRILRequest.mRequest + " )");
  4074.     localRILRequest.mp.writeIntArray(paramArrayOfInt);
  4075.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4076.     send(localRILRequest);
  4077.   }
  4078.  
  4079.   public void setSmscAddress(String paramString, Message paramMessage)
  4080.   {
  4081.     RILRequest localRILRequest = RILRequest.obtain(101, paramMessage);
  4082.     localRILRequest.mp.writeString(paramString);
  4083.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramString);
  4084.     send(localRILRequest);
  4085.   }
  4086.  
  4087.   public void setSuppServiceNotifications(boolean paramBoolean, Message paramMessage)
  4088.   {
  4089.     int i = 1;
  4090.     RILRequest localRILRequest = RILRequest.obtain(62, paramMessage);
  4091.     localRILRequest.mp.writeInt(i);
  4092.     Parcel localParcel = localRILRequest.mp;
  4093.     if (paramBoolean);
  4094.     while (true)
  4095.     {
  4096.       localParcel.writeInt(i);
  4097.       riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4098.       send(localRILRequest);
  4099.       return;
  4100.       i = 0;
  4101.     }
  4102.   }
  4103.  
  4104.   public void setTTYMode(int paramInt, Message paramMessage)
  4105.   {
  4106.     RILRequest localRILRequest = RILRequest.obtain(80, paramMessage);
  4107.     localRILRequest.mp.writeInt(1);
  4108.     localRILRequest.mp.writeInt(paramInt);
  4109.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " : " + paramInt);
  4110.     send(localRILRequest);
  4111.   }
  4112.  
  4113.   public void setupDataCall(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5, String paramString6, String paramString7, Message paramMessage)
  4114.   {
  4115.     RILRequest localRILRequest = RILRequest.obtain(27, paramMessage);
  4116.     localRILRequest.mp.writeInt(7);
  4117.     localRILRequest.mp.writeString(paramString1);
  4118.     localRILRequest.mp.writeString(paramString2);
  4119.     localRILRequest.mp.writeString(paramString3);
  4120.     localRILRequest.mp.writeString(paramString4);
  4121.     localRILRequest.mp.writeString(paramString5);
  4122.     localRILRequest.mp.writeString(paramString6);
  4123.     localRILRequest.mp.writeString(paramString7);
  4124.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + paramString1 + " " + paramString2 + " " + paramString3 + " " + paramString4 + " " + paramString5 + " " + paramString6 + " " + paramString7);
  4125.     send(localRILRequest);
  4126.   }
  4127.  
  4128.   public void setupDefaultPDP(String paramString1, String paramString2, String paramString3, Message paramMessage)
  4129.   {
  4130.     if (paramString2 != null);
  4131.     for (int i = 3; ; i = 0)
  4132.     {
  4133.       setupDataCall(Integer.toString(1), "", paramString1, paramString2, paramString3, Integer.toString(i), "IP", paramMessage);
  4134.       return;
  4135.     }
  4136.   }
  4137.  
  4138.   public void startDtmf(char paramChar, Message paramMessage)
  4139.   {
  4140.     RILRequest localRILRequest = RILRequest.obtain(49, paramMessage);
  4141.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4142.     localRILRequest.mp.writeString(Character.toString(paramChar));
  4143.     send(localRILRequest);
  4144.   }
  4145.  
  4146.   public void stopDtmf(Message paramMessage)
  4147.   {
  4148.     RILRequest localRILRequest = RILRequest.obtain(50, paramMessage);
  4149.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4150.     send(localRILRequest);
  4151.   }
  4152.  
  4153.   public void supplyIccPin(String paramString1, String paramString2, Message paramMessage)
  4154.   {
  4155.     RILRequest localRILRequest = RILRequest.obtain(2, paramMessage);
  4156.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4157.     localRILRequest.mp.writeString(paramString1);
  4158.     localRILRequest.mp.writeString(paramString2);
  4159.     send(localRILRequest);
  4160.   }
  4161.  
  4162.   public void supplyIccPin2(String paramString1, String paramString2, Message paramMessage)
  4163.   {
  4164.     RILRequest localRILRequest = RILRequest.obtain(4, paramMessage);
  4165.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4166.     localRILRequest.mp.writeString(paramString1);
  4167.     localRILRequest.mp.writeString(paramString2);
  4168.     send(localRILRequest);
  4169.   }
  4170.  
  4171.   public void supplyIccPuk(String paramString1, String paramString2, String paramString3, Message paramMessage)
  4172.   {
  4173.     RILRequest localRILRequest = RILRequest.obtain(3, paramMessage);
  4174.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4175.     localRILRequest.mp.writeString(paramString1);
  4176.     localRILRequest.mp.writeString(paramString2);
  4177.     localRILRequest.mp.writeString(paramString3);
  4178.     send(localRILRequest);
  4179.   }
  4180.  
  4181.   public void supplyIccPuk2(String paramString1, String paramString2, String paramString3, Message paramMessage)
  4182.   {
  4183.     RILRequest localRILRequest = RILRequest.obtain(5, paramMessage);
  4184.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4185.     localRILRequest.mp.writeString(paramString1);
  4186.     localRILRequest.mp.writeString(paramString2);
  4187.     localRILRequest.mp.writeString(paramString3);
  4188.     send(localRILRequest);
  4189.   }
  4190.  
  4191.   public void supplyNetworkDepersonalization(String paramString, Message paramMessage)
  4192.   {
  4193.     invokeDepersonalization(paramString, 3, paramMessage);
  4194.   }
  4195.  
  4196.   public void switchWaitingOrHoldingAndActive(Message paramMessage)
  4197.   {
  4198.     RILRequest localRILRequest = RILRequest.obtain(15, paramMessage);
  4199.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest));
  4200.     send(localRILRequest);
  4201.   }
  4202.  
  4203.   public void writeSmsToRuim(int paramInt, String paramString, Message paramMessage)
  4204.   {
  4205.     int i = translateStatus(paramInt);
  4206.     RILRequest localRILRequest = RILRequest.obtain(96, paramMessage);
  4207.     localRILRequest.mp.writeInt(i);
  4208.     localRILRequest.mp.writeString(paramString);
  4209.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + i);
  4210.     send(localRILRequest);
  4211.   }
  4212.  
  4213.   public void writeSmsToSim(int paramInt, String paramString1, String paramString2, Message paramMessage)
  4214.   {
  4215.     int i = translateStatus(paramInt);
  4216.     RILRequest localRILRequest = RILRequest.obtain(63, paramMessage);
  4217.     localRILRequest.mp.writeInt(i);
  4218.     localRILRequest.mp.writeString(paramString2);
  4219.     localRILRequest.mp.writeString(paramString1);
  4220.     riljLog(localRILRequest.serialString() + "> " + requestToString(localRILRequest.mRequest) + " " + i);
  4221.     send(localRILRequest);
  4222.   }
  4223.  
  4224.   class RILReceiver
  4225.     implements Runnable
  4226.   {
  4227.     byte[] buffer = new byte[8192];
  4228.  
  4229.     RILReceiver()
  4230.     {
  4231.     }
  4232.  
  4233.     // ERROR //
  4234.     public void run()
  4235.     {
  4236.       // Byte code:
  4237.       //   0: iconst_0
  4238.       //   1: istore_1
  4239.       //   2: aconst_null
  4240.       //   3: astore_2
  4241.       //   4: new 31    android/net/LocalSocket
  4242.       //   7: dup
  4243.       //   8: invokespecial 32  android/net/LocalSocket:<init>  ()V
  4244.       //   11: astore_3
  4245.       //   12: aload_3
  4246.       //   13: new 34   android/net/LocalSocketAddress
  4247.       //   16: dup
  4248.       //   17: ldc 36
  4249.       //   19: getstatic 42 android/net/LocalSocketAddress$Namespace:RESERVED   Landroid/net/LocalSocketAddress$Namespace;
  4250.       //   22: invokespecial 45 android/net/LocalSocketAddress:<init>   (Ljava/lang/String;Landroid/net/LocalSocketAddress$Namespace;)V
  4251.       //   25: invokevirtual 49 android/net/LocalSocket:connect (Landroid/net/LocalSocketAddress;)V
  4252.       //   28: iconst_0
  4253.       //   29: istore_1
  4254.       //   30: aload_0
  4255.       //   31: getfield 17  com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4256.       //   34: aload_3
  4257.       //   35: putfield 53  com/android/internal/telephony/RIL:mSocket  Landroid/net/LocalSocket;
  4258.       //   38: ldc 55
  4259.       //   40: ldc 57
  4260.       //   42: invokestatic 63  android/util/Log:i  (Ljava/lang/String;Ljava/lang/String;)I
  4261.       //   45: pop
  4262.       //   46: iconst_0
  4263.       //   47: istore 14
  4264.       //   49: aload_0
  4265.       //   50: getfield 17  com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4266.       //   53: getfield 53  com/android/internal/telephony/RIL:mSocket  Landroid/net/LocalSocket;
  4267.       //   56: invokevirtual 67 android/net/LocalSocket:getInputStream  ()Ljava/io/InputStream;
  4268.       //   59: astore 21
  4269.       //   61: aload 21
  4270.       //   63: aload_0
  4271.       //   64: getfield 22  com/android/internal/telephony/RIL$RILReceiver:buffer   [B
  4272.       //   67: invokestatic 71  com/android/internal/telephony/RIL:access$300   (Ljava/io/InputStream;[B)I
  4273.       //   70: istore 22
  4274.       //   72: iload 22
  4275.       //   74: istore 14
  4276.       //   76: iload 14
  4277.       //   78: ifge +159 -> 237
  4278.       //   81: ldc 55
  4279.       //   83: ldc 73
  4280.       //   85: invokestatic 63  android/util/Log:i  (Ljava/lang/String;Ljava/lang/String;)I
  4281.       //   88: pop
  4282.       //   89: aload_0
  4283.       //   90: getfield 17  com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4284.       //   93: getstatic 79 com/android/internal/telephony/CommandsInterface$RadioState:RADIO_UNAVAILABLE   Lcom/android/internal/telephony/CommandsInterface$RadioState;
  4285.       //   96: invokevirtual 83 com/android/internal/telephony/RIL:setRadioState    (Lcom/android/internal/telephony/CommandsInterface$RadioState;)V
  4286.       //   99: aload_0
  4287.       //   100: getfield 17 com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4288.       //   103: getfield 53 com/android/internal/telephony/RIL:mSocket  Landroid/net/LocalSocket;
  4289.       //   106: invokevirtual 86    android/net/LocalSocket:close   ()V
  4290.       //   109: aload_0
  4291.       //   110: getfield 17 com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4292.       //   113: aconst_null
  4293.       //   114: putfield 53 com/android/internal/telephony/RIL:mSocket  Landroid/net/LocalSocket;
  4294.       //   117: invokestatic 91 com/android/internal/telephony/RILRequest:resetSerial   ()V
  4295.       //   120: aload_0
  4296.       //   121: getfield 17 com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4297.       //   124: iconst_1
  4298.       //   125: iconst_0
  4299.       //   126: invokestatic 95 com/android/internal/telephony/RIL:access$500   (Lcom/android/internal/telephony/RIL;IZ)V
  4300.       //   129: goto -127 -> 2
  4301.       //   132: astore 12
  4302.       //   134: aload 12
  4303.       //   136: astore 6
  4304.       //   138: ldc 55
  4305.       //   140: ldc 97
  4306.       //   142: aload 6
  4307.       //   144: invokestatic 101    android/util/Log:e  (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  4308.       //   147: pop
  4309.       //   148: return
  4310.       //   149: astore 24
  4311.       //   151: aload_2
  4312.       //   152: ifnull +7 -> 159
  4313.       //   155: aload_2
  4314.       //   156: invokevirtual 86    android/net/LocalSocket:close   ()V
  4315.       //   159: iload_1
  4316.       //   160: bipush 8
  4317.       //   162: if_icmpne +45 -> 207
  4318.       //   165: ldc 55
  4319.       //   167: new 103 java/lang/StringBuilder
  4320.       //   170: dup
  4321.       //   171: invokespecial 104   java/lang/StringBuilder:<init>  ()V
  4322.       //   174: ldc 106
  4323.       //   176: invokevirtual 110   java/lang/StringBuilder:append  (Ljava/lang/String;)Ljava/lang/StringBuilder;
  4324.       //   179: iload_1
  4325.       //   180: invokevirtual 113   java/lang/StringBuilder:append  (I)Ljava/lang/StringBuilder;
  4326.       //   183: ldc 115
  4327.       //   185: invokevirtual 110   java/lang/StringBuilder:append  (Ljava/lang/String;)Ljava/lang/StringBuilder;
  4328.       //   188: invokevirtual 119   java/lang/StringBuilder:toString    ()Ljava/lang/String;
  4329.       //   191: invokestatic 121    android/util/Log:e  (Ljava/lang/String;Ljava/lang/String;)I
  4330.       //   194: pop
  4331.       //   195: ldc2_w 122
  4332.       //   198: invokestatic 129    java/lang/Thread:sleep  (J)V
  4333.       //   201: iinc 1 1
  4334.       //   204: goto -202 -> 2
  4335.       //   207: iload_1
  4336.       //   208: ifle -13 -> 195
  4337.       //   211: iload_1
  4338.       //   212: bipush 8
  4339.       //   214: if_icmpge -19 -> 195
  4340.       //   217: ldc 55
  4341.       //   219: ldc 131
  4342.       //   221: invokestatic 63 android/util/Log:i  (Ljava/lang/String;Ljava/lang/String;)I
  4343.       //   224: pop
  4344.       //   225: goto -30 -> 195
  4345.       //   228: astore 5
  4346.       //   230: aload 5
  4347.       //   232: astore 6
  4348.       //   234: goto -96 -> 138
  4349.       //   237: invokestatic 137    android/os/Parcel:obtain    ()Landroid/os/Parcel;
  4350.       //   240: astore 23
  4351.       //   242: aload 23
  4352.       //   244: aload_0
  4353.       //   245: getfield 22 com/android/internal/telephony/RIL$RILReceiver:buffer   [B
  4354.       //   248: iconst_0
  4355.       //   249: iload 14
  4356.       //   251: invokevirtual 141   android/os/Parcel:unmarshall    ([BII)V
  4357.       //   254: aload 23
  4358.       //   256: iconst_0
  4359.       //   257: invokevirtual 145   android/os/Parcel:setDataPosition   (I)V
  4360.       //   260: aload_0
  4361.       //   261: getfield 17 com/android/internal/telephony/RIL$RILReceiver:this$0   Lcom/android/internal/telephony/RIL;
  4362.       //   264: aload 23
  4363.       //   266: invokestatic 149    com/android/internal/telephony/RIL:access$400   (Lcom/android/internal/telephony/RIL;Landroid/os/Parcel;)V
  4364.       //   269: aload 23
  4365.       //   271: invokevirtual 152   android/os/Parcel:recycle   ()V
  4366.       //   274: goto -213 -> 61
  4367.       //   277: astore 19
  4368.       //   279: ldc 55
  4369.       //   281: ldc 154
  4370.       //   283: aload 19
  4371.       //   285: invokestatic 156    android/util/Log:i  (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  4372.       //   288: pop
  4373.       //   289: goto -208 -> 81
  4374.       //   292: astore 15
  4375.       //   294: ldc 55
  4376.       //   296: new 103 java/lang/StringBuilder
  4377.       //   299: dup
  4378.       //   300: invokespecial 104   java/lang/StringBuilder:<init>  ()V
  4379.       //   303: ldc 158
  4380.       //   305: invokevirtual 110   java/lang/StringBuilder:append  (Ljava/lang/String;)Ljava/lang/StringBuilder;
  4381.       //   308: iload 14
  4382.       //   310: invokevirtual 113   java/lang/StringBuilder:append  (I)Ljava/lang/StringBuilder;
  4383.       //   313: ldc 160
  4384.       //   315: invokevirtual 110   java/lang/StringBuilder:append  (Ljava/lang/String;)Ljava/lang/StringBuilder;
  4385.       //   318: aload 15
  4386.       //   320: invokevirtual 161   java/lang/Throwable:toString    ()Ljava/lang/String;
  4387.       //   323: invokevirtual 110   java/lang/StringBuilder:append  (Ljava/lang/String;)Ljava/lang/StringBuilder;
  4388.       //   326: invokevirtual 119   java/lang/StringBuilder:toString    ()Ljava/lang/String;
  4389.       //   329: invokestatic 121    android/util/Log:e  (Ljava/lang/String;Ljava/lang/String;)I
  4390.       //   332: pop
  4391.       //   333: goto -252 -> 81
  4392.       //   336: astore 11
  4393.       //   338: goto -179 -> 159
  4394.       //   341: astore 9
  4395.       //   343: goto -142 -> 201
  4396.       //   346: astore 18
  4397.       //   348: goto -239 -> 109
  4398.       //   351: astore 4
  4399.       //   353: aload_3
  4400.       //   354: astore_2
  4401.       //   355: goto -204 -> 151
  4402.       //
  4403.       // Exception table:
  4404.       //   from to  target  type
  4405.       //   12   28  132 java/lang/Throwable
  4406.       //   30   46  132 java/lang/Throwable
  4407.       //   81   99  132 java/lang/Throwable
  4408.       //   99   109 132 java/lang/Throwable
  4409.       //   109  129 132 java/lang/Throwable
  4410.       //   279  333 132 java/lang/Throwable
  4411.       //   4    12  149 java/io/IOException
  4412.       //   4    12  228 java/lang/Throwable
  4413.       //   155  159 228 java/lang/Throwable
  4414.       //   165  195 228 java/lang/Throwable
  4415.       //   195  201 228 java/lang/Throwable
  4416.       //   217  225 228 java/lang/Throwable
  4417.       //   49   72  277 java/io/IOException
  4418.       //   237  274 277 java/io/IOException
  4419.       //   49   72  292 java/lang/Throwable
  4420.       //   237  274 292 java/lang/Throwable
  4421.       //   155  159 336 java/io/IOException
  4422.       //   195  201 341 java/lang/InterruptedException
  4423.       //   99   109 346 java/io/IOException
  4424.       //   12   28  351 java/io/IOException
  4425.     }
  4426.   }
  4427.  
  4428.   class RILSender extends Handler
  4429.     implements Runnable
  4430.   {
  4431.     byte[] dataLength = new byte[4];
  4432.  
  4433.     public RILSender(Looper arg2)
  4434.     {
  4435.       super();
  4436.     }
  4437.  
  4438.     public void handleMessage(Message paramMessage)
  4439.     {
  4440.       RILRequest localRILRequest1 = (RILRequest)(RILRequest)paramMessage.obj;
  4441.       switch (paramMessage.what)
  4442.       {
  4443.       default:
  4444.       case 1:
  4445.       case 2:
  4446.       }
  4447.       while (true)
  4448.       {
  4449.         return;
  4450.         int k = 0;
  4451.         try
  4452.         {
  4453.           localLocalSocket = RIL.this.mSocket;
  4454.           if (localLocalSocket == null)
  4455.           {
  4456.             localRILRequest1.onError(1, null);
  4457.             localRILRequest1.release();
  4458.             if (RIL.this.mRequestMessagesPending > 0)
  4459.             {
  4460.               RIL localRIL5 = RIL.this;
  4461.               localRIL5.mRequestMessagesPending -= 1;
  4462.             }
  4463.             RIL.this.releaseWakeLockIfDone();
  4464.             continue;
  4465.           }
  4466.         }
  4467.         catch (IOException localIOException)
  4468.         {
  4469.         }
  4470.         catch (RuntimeException localRuntimeException)
  4471.         {
  4472.           while (true)
  4473.           {
  4474.             LocalSocket localLocalSocket;
  4475.             RIL localRIL3;
  4476.             RIL localRIL4;
  4477.             byte[] arrayOfByte1;
  4478.             RIL localRIL2;
  4479.             Log.e("RILJ", "Uncaught exception ", localRuntimeException);
  4480.             if ((RIL.this.findAndRemoveRequestFromList(localRILRequest1.mSerial) != null) || (k == 0))
  4481.             {
  4482.               localRILRequest1.onError(2, null);
  4483.               localRILRequest1.release();
  4484.             }
  4485.             RIL localRIL1 = RIL.this;
  4486.             continue;
  4487.             byte[] arrayOfByte2 = this.dataLength;
  4488.             this.dataLength[1] = 0;
  4489.             arrayOfByte2[0] = 0;
  4490.             this.dataLength[2] = (byte)(0xFF & arrayOfByte1.length >> 8);
  4491.             this.dataLength[3] = (byte)(0xFF & arrayOfByte1.length);
  4492.             localLocalSocket.getOutputStream().write(this.dataLength);
  4493.             localLocalSocket.getOutputStream().write(arrayOfByte1);
  4494.             localRIL1 = RIL.this;
  4495.           }
  4496.         }
  4497.         finally
  4498.         {
  4499.           RIL.this.releaseWakeLockIfDone();
  4500.         }
  4501.         synchronized (RIL.this.mWakeLock)
  4502.         {
  4503.           if (RIL.this.mWakeLock.isHeld())
  4504.             if (RIL.this.mRequestMessagesWaiting != 0)
  4505.             {
  4506.               Log.d("RILJ", "NOTE: mReqWaiting is NOT 0 but" + RIL.this.mRequestMessagesWaiting + " at TIMEOUT, reset!" + " There still msg waitng for response");
  4507.               RIL.this.mRequestMessagesWaiting = 0;
  4508.             }
  4509.         }
  4510.         synchronized (RIL.this.mRequestsList)
  4511.         {
  4512.           int i = RIL.this.mRequestsList.size();
  4513.           Log.d("RILJ", "WAKE_LOCK_TIMEOUT  mRequestList=" + i);
  4514.           for (int j = 0; j < i; j++)
  4515.           {
  4516.             RILRequest localRILRequest2 = (RILRequest)RIL.this.mRequestsList.get(j);
  4517.             Log.d("RILJ", j + ": [" + localRILRequest2.mSerial + "] " + RIL.requestToString(localRILRequest2.mRequest));
  4518.           }
  4519.           if (RIL.this.mRequestMessagesPending != 0)
  4520.           {
  4521.             Log.e("RILJ", "ERROR: mReqPending is NOT 0 but" + RIL.this.mRequestMessagesPending + " at TIMEOUT, reset!");
  4522.             RIL.this.mRequestMessagesPending = 0;
  4523.           }
  4524.           RIL.this.mWakeLock.release();
  4525.           monitorexit;
  4526.           continue;
  4527.           localObject1 = finally;
  4528.           monitorexit;
  4529.           throw localObject1;
  4530.         }
  4531.       }
  4532.     }
  4533.  
  4534.     public void run()
  4535.     {
  4536.     }
  4537.   }
  4538. }
  4539.  
  4540. /* Location:           C:\Users\Dan\Desktop\New folder (3)\tools\classes-dex2jar.jar
  4541.  * Qualified Name:     com.android.internal.telephony.RIL
  4542.  * JD-Core Version:    0.6.0
  4543.  */
Advertisement
Add Comment
Please, Sign In to add comment