• Home
  • Raw
  • Download

Lines Matching refs:ar

399             AsyncResult ar;  in handleMessage()  local
466 ar = (AsyncResult) msg.obj; in handleMessage()
467 request = (MainThreadRequest) ar.userObj; in handleMessage()
468 if (ar.exception == null && ar.result != null) { in handleMessage()
469 request.result = ar.result; in handleMessage()
472 if (ar.result == null) { in handleMessage()
474 } else if (ar.exception instanceof CommandException) { in handleMessage()
476 ar.exception); in handleMessage()
502 ar = (AsyncResult) msg.obj; in handleMessage()
503 request = (MainThreadRequest) ar.userObj; in handleMessage()
504 if (ar.exception == null && ar.result != null) { in handleMessage()
505 request.result = ar.result; in handleMessage()
508 if (ar.result == null) { in handleMessage()
510 } else if (ar.exception instanceof CommandException) { in handleMessage()
512 ar.exception); in handleMessage()
538 ar = (AsyncResult) msg.obj; in handleMessage()
539 request = (MainThreadRequest) ar.userObj; in handleMessage()
540 if (ar.exception == null && ar.result != null) { in handleMessage()
541 request.result = ar.result; in handleMessage()
562 ar = (AsyncResult) msg.obj; in handleMessage()
563 request = (MainThreadRequest) ar.userObj; in handleMessage()
564 if (ar.exception == null && ar.result != null) { in handleMessage()
565 request.result = ar.result; in handleMessage()
568 if (ar.result == null) { in handleMessage()
570 } else if (ar.exception instanceof CommandException) { in handleMessage()
572 ar.exception); in handleMessage()
574 loge("sendEnvelopeWithStatus: exception:" + ar.exception); in handleMessage()
597 ar = (AsyncResult) msg.obj; in handleMessage()
598 request = (MainThreadRequest) ar.userObj; in handleMessage()
600 if (ar.exception == null && ar.result != null) { in handleMessage()
601 int[] result = (int[]) ar.result; in handleMessage()
613 if (ar.result == null) { in handleMessage()
616 if (ar.exception != null) { in handleMessage()
617 loge("iccOpenLogicalChannel: Exception: " + ar.exception); in handleMessage()
621 if (ar.exception instanceof CommandException) { in handleMessage()
623 ((CommandException) (ar.exception)).getCommandError(); in handleMessage()
662 ar = (AsyncResult) msg.obj; in handleMessage()
663 request = (MainThreadRequest) ar.userObj; in handleMessage()
664 if (ar.exception == null && ar.result != null) { in handleMessage()
665 request.result = ar.result; // String in handleMessage()
668 if (ar.result == null) { in handleMessage()
670 } else if (ar.exception instanceof CommandException) { in handleMessage()
672 ar.exception); in handleMessage()
719 ar = (AsyncResult) msg.obj; in handleMessage()
720 request = (MainThreadRequest) ar.userObj; in handleMessage()
721 if (ar.exception == null && ar.result != null) { in handleMessage()
722 request.result = ar.result; // Integer in handleMessage()
725 if (ar.result == null) { in handleMessage()
727 } else if (ar.exception instanceof CommandException) { in handleMessage()
729 ar.exception); in handleMessage()
755 ar = (AsyncResult)msg.obj; in handleMessage()
756 request = (MainThreadRequest)ar.userObj; in handleMessage()
757 request.result = ar; in handleMessage()
791 ar = (AsyncResult) msg.obj; in handleMessage()
792 request = (MainThreadRequest) ar.userObj; in handleMessage()
794 if (ar.exception == null && ar.result != null) { in handleMessage()
797 (List<OperatorInfo>) ar.result); in handleMessage()
799 if (ar.result == null) { in handleMessage()
802 if (ar.exception != null) { in handleMessage()
803 loge("getCellNetworkScanResults: Exception: " + ar.exception); in handleMessage()
806 if (ar.exception instanceof CommandException) { in handleMessage()
808 ((CommandException) (ar.exception)).getCommandError(); in handleMessage()
832 ar = (AsyncResult) msg.obj; in handleMessage()
833 request = (MainThreadRequest) ar.userObj; in handleMessage()
834 if (ar.exception == null) { in handleMessage()
838 loge("setNetworkSelectionModeManual " + ar.exception); in handleMessage()
853 ar = (AsyncResult) msg.obj; in handleMessage()
854 request = (MainThreadRequest) ar.userObj; in handleMessage()
855 if (ar.exception == null && ar.result != null) { in handleMessage()
856 request.result = ar.result; in handleMessage()
858 if (ar.result == null) { in handleMessage()
860 } else if (ar.exception instanceof CommandException) { in handleMessage()
862 ar.exception); in handleMessage()
883 ar = (AsyncResult) msg.obj; in handleMessage()
884 request = (MainThreadRequest) ar.userObj; in handleMessage()
885 if (ar.exception == null && ar.result != null) { in handleMessage()
886 request.result = ar.result; in handleMessage()
889 if (ar.exception instanceof CommandException) { in handleMessage()
890 loge("setAllowedCarriers: CommandException: " + ar.exception); in handleMessage()
892 ((CommandException) (ar.exception)).getCommandError(); in handleMessage()
911 ar = (AsyncResult) msg.obj; in handleMessage()
912 request = (MainThreadRequest) ar.userObj; in handleMessage()
913 if (ar.exception == null && ar.result != null) { in handleMessage()
914 request.result = ar.result; in handleMessage()
918 if (ar.result == null) { in handleMessage()
920 } else if (ar.exception instanceof CommandException) { in handleMessage()
922 ar.exception); in handleMessage()
931 ar = (AsyncResult) msg.obj; in handleMessage()
932 request = (MainThreadRequest) ar.userObj; in handleMessage()
933 if (ar.exception == null && ar.result != null) { in handleMessage()
934 request.result = ar.result; in handleMessage()
938 if (ar.result == null) { in handleMessage()
982 ar = (AsyncResult) msg.obj; in handleMessage()
983 request = (MainThreadRequest) ar.userObj; in handleMessage()
984 request.result = (ar.exception == null); in handleMessage()
994 ar = (AsyncResult) msg.obj; in handleMessage()
995 request = (MainThreadRequest) ar.userObj; in handleMessage()
996 if (ar.exception != null) { in handleMessage()
999 int mode = ((int[]) ar.result)[0]; in handleMessage()
1014 ar = (AsyncResult) msg.obj; in handleMessage()
1015 request = (MainThreadRequest) ar.userObj; in handleMessage()
1016 if (ar.exception != null) { in handleMessage()
1019 request.result = ((int[]) ar.result)[0]; in handleMessage()
1030 ar = (AsyncResult) msg.obj; in handleMessage()
1031 request = (MainThreadRequest) ar.userObj; in handleMessage()
1032 request.result = ar.exception == null; in handleMessage()
1042 ar = (AsyncResult) msg.obj; in handleMessage()
1043 request = (MainThreadRequest) ar.userObj; in handleMessage()
1044 request.result = ar.exception == null; in handleMessage()
1053 ar = (AsyncResult) msg.obj; in handleMessage()
1054 request = (MainThreadRequest) ar.userObj; in handleMessage()
1056 request.result = (ar.exception == null && ar.result != null) in handleMessage()
1057 ? ar.result : new ArrayList<CellInfo>(); in handleMessage()
1068 ar = (AsyncResult) msg.obj; in handleMessage()
1069 request = (MainThreadRequest) ar.userObj; in handleMessage()
1072 if (ar.exception != null) { in handleMessage()
1073 Log.e(LOG_TAG, "Exception retrieving CellInfo=" + ar.exception); in handleMessage()
1075 new android.os.ParcelableException(ar.exception)); in handleMessage()
1076 } else if (ar.result == null) { in handleMessage()
1081 cb.onCellInfo((List<CellInfo>) ar.result); in handleMessage()
1094 ar = (AsyncResult) msg.obj; in handleMessage()
1095 request = (MainThreadRequest) ar.userObj; in handleMessage()
1096 if (ar.exception == null) { in handleMessage()
1097 request.result = ar.result; in handleMessage()
1125 ar = (AsyncResult) msg.obj; in handleMessage()
1126 request = (MainThreadRequest) ar.userObj; in handleMessage()
1127 request.result = (ar.exception == null); in handleMessage()
1135 + ar.exception); in handleMessage()
1146 ar = (AsyncResult) msg.obj; in handleMessage()
1147 request = (MainThreadRequest) ar.userObj; in handleMessage()
1149 if (ar.exception == null && ar.result != null) { in handleMessage()
1150 request.result = ar.result; in handleMessage()
1162 + ar.exception); in handleMessage()
1179 AsyncResult ar = (AsyncResult) msg.obj; in handleNullReturnEvent() local
1180 MainThreadRequest request = (MainThreadRequest) ar.userObj; in handleNullReturnEvent()
1181 if (ar.exception == null) { in handleNullReturnEvent()
1185 if (ar.exception instanceof CommandException) { in handleNullReturnEvent()
1186 loge(command + ": CommandException: " + ar.exception); in handleNullReturnEvent()
1534 AsyncResult ar = (AsyncResult) msg.obj; in run()
1540 if (ar.exception != null) { in run()
1541 if (ar.exception instanceof CommandException && in run()
1542 ((CommandException)(ar.exception)).getCommandError() in run()