Lines Matching refs:request
243 MainThreadRequest request; in handleMessage() local
251 request = (MainThreadRequest) msg.obj; in handleMessage()
252 final Phone phone = getPhoneFromRequest(request); in handleMessage()
253 request.result = phone != null ? in handleMessage()
254 getPhoneFromRequest(request).handlePinMmi((String) request.argument) in handleMessage()
257 synchronized (request) { in handleMessage()
258 request.notifyAll(); in handleMessage()
264 request = (MainThreadRequest) msg.obj; in handleMessage()
266 request); in handleMessage()
272 request = (MainThreadRequest) ar.userObj; in handleMessage()
274 request.result = ar.result; in handleMessage()
277 request.result = new ArrayList<NeighboringCellInfo>(0); in handleMessage()
280 synchronized (request) { in handleMessage()
281 request.notifyAll(); in handleMessage()
286 request = (MainThreadRequest) msg.obj; in handleMessage()
287 int answer_subId = request.subId; in handleMessage()
292 request = (MainThreadRequest) msg.obj; in handleMessage()
293 int end_subId = request.subId; in handleMessage()
312 request.result = hungUp; in handleMessage()
314 synchronized (request) { in handleMessage()
315 request.notifyAll(); in handleMessage()
320 request = (MainThreadRequest) msg.obj; in handleMessage()
321 iccArgument = (IccAPDUArgument) request.argument; in handleMessage()
322 uiccCard = getUiccCardFromRequest(request); in handleMessage()
325 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
326 synchronized (request) { in handleMessage()
327 request.notifyAll(); in handleMessage()
331 request); in handleMessage()
341 request = (MainThreadRequest) ar.userObj; in handleMessage()
343 request.result = ar.result; in handleMessage()
345 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
355 synchronized (request) { in handleMessage()
356 request.notifyAll(); in handleMessage()
361 request = (MainThreadRequest) msg.obj; in handleMessage()
362 iccArgument = (IccAPDUArgument) request.argument; in handleMessage()
363 uiccCard = getUiccCardFromRequest(request); in handleMessage()
366 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
367 synchronized (request) { in handleMessage()
368 request.notifyAll(); in handleMessage()
372 request); in handleMessage()
381 request = (MainThreadRequest) ar.userObj; in handleMessage()
383 request.result = ar.result; in handleMessage()
385 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
395 synchronized (request) { in handleMessage()
396 request.notifyAll(); in handleMessage()
401 request = (MainThreadRequest) msg.obj; in handleMessage()
402 iccArgument = (IccAPDUArgument) request.argument; in handleMessage()
403 uiccCard = getUiccCardFromRequest(request); in handleMessage()
406 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
407 synchronized (request) { in handleMessage()
408 request.notifyAll(); in handleMessage()
412 request); in handleMessage()
421 request = (MainThreadRequest) ar.userObj; in handleMessage()
423 request.result = ar.result; in handleMessage()
425 request.result = new IccIoResult(0x6f, 0, (byte[])null); in handleMessage()
427 synchronized (request) { in handleMessage()
428 request.notifyAll(); in handleMessage()
433 request = (MainThreadRequest) msg.obj; in handleMessage()
434 uiccCard = getUiccCardFromRequest(request); in handleMessage()
437 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
438 synchronized (request) { in handleMessage()
439 request.notifyAll(); in handleMessage()
442 onCompleted = obtainMessage(EVENT_SEND_ENVELOPE_DONE, request); in handleMessage()
443 uiccCard.sendEnvelopeWithStatus((String)request.argument, onCompleted); in handleMessage()
449 request = (MainThreadRequest) ar.userObj; in handleMessage()
451 request.result = ar.result; in handleMessage()
453 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
463 synchronized (request) { in handleMessage()
464 request.notifyAll(); in handleMessage()
469 request = (MainThreadRequest) msg.obj; in handleMessage()
470 uiccCard = getUiccCardFromRequest(request); in handleMessage()
473 request.result = new IccOpenLogicalChannelResponse(-1, in handleMessage()
475 synchronized (request) { in handleMessage()
476 request.notifyAll(); in handleMessage()
479 onCompleted = obtainMessage(EVENT_OPEN_CHANNEL_DONE, request); in handleMessage()
480 uiccCard.iccOpenLogicalChannel((String)request.argument, onCompleted); in handleMessage()
486 request = (MainThreadRequest) ar.userObj; in handleMessage()
521 request.result = openChannelResp; in handleMessage()
522 synchronized (request) { in handleMessage()
523 request.notifyAll(); in handleMessage()
528 request = (MainThreadRequest) msg.obj; in handleMessage()
529 uiccCard = getUiccCardFromRequest(request); in handleMessage()
532 request.result = new IccIoResult(0x6F, 0, (byte[])null); in handleMessage()
533 synchronized (request) { in handleMessage()
534 request.notifyAll(); in handleMessage()
537 onCompleted = obtainMessage(EVENT_CLOSE_CHANNEL_DONE, request); in handleMessage()
538 uiccCard.iccCloseLogicalChannel((Integer) request.argument, onCompleted); in handleMessage()
547 request = (MainThreadRequest) msg.obj; in handleMessage()
548 onCompleted = obtainMessage(EVENT_NV_READ_ITEM_DONE, request); in handleMessage()
549 mPhone.nvReadItem((Integer) request.argument, onCompleted); in handleMessage()
554 request = (MainThreadRequest) ar.userObj; in handleMessage()
556 request.result = ar.result; // String in handleMessage()
558 request.result = ""; in handleMessage()
568 synchronized (request) { in handleMessage()
569 request.notifyAll(); in handleMessage()
574 request = (MainThreadRequest) msg.obj; in handleMessage()
575 onCompleted = obtainMessage(EVENT_NV_WRITE_ITEM_DONE, request); in handleMessage()
576 Pair<Integer, String> idValue = (Pair<Integer, String>) request.argument; in handleMessage()
585 request = (MainThreadRequest) msg.obj; in handleMessage()
586 onCompleted = obtainMessage(EVENT_NV_WRITE_CDMA_PRL_DONE, request); in handleMessage()
587 mPhone.nvWriteCdmaPrl((byte[]) request.argument, onCompleted); in handleMessage()
595 request = (MainThreadRequest) msg.obj; in handleMessage()
596 onCompleted = obtainMessage(EVENT_NV_RESET_CONFIG_DONE, request); in handleMessage()
597 mPhone.nvResetConfig((Integer) request.argument, onCompleted); in handleMessage()
605 request = (MainThreadRequest) msg.obj; in handleMessage()
606 onCompleted = obtainMessage(EVENT_GET_PREFERRED_NETWORK_TYPE_DONE, request); in handleMessage()
607 getPhoneFromRequest(request).getPreferredNetworkType(onCompleted); in handleMessage()
612 request = (MainThreadRequest) ar.userObj; in handleMessage()
614 request.result = ar.result; // Integer in handleMessage()
616 request.result = null; in handleMessage()
626 synchronized (request) { in handleMessage()
627 request.notifyAll(); in handleMessage()
632 request = (MainThreadRequest) msg.obj; in handleMessage()
633 onCompleted = obtainMessage(EVENT_SET_PREFERRED_NETWORK_TYPE_DONE, request); in handleMessage()
634 int networkType = (Integer) request.argument; in handleMessage()
635 getPhoneFromRequest(request).setPreferredNetworkType(networkType, onCompleted); in handleMessage()
643 request = (MainThreadRequest)msg.obj; in handleMessage()
644 onCompleted = obtainMessage(EVENT_INVOKE_OEM_RIL_REQUEST_RAW_DONE, request); in handleMessage()
645 mPhone.invokeOemRilRequestRaw((byte[])request.argument, onCompleted); in handleMessage()
650 request = (MainThreadRequest)ar.userObj; in handleMessage()
651 request.result = ar; in handleMessage()
652 synchronized (request) { in handleMessage()
653 request.notifyAll(); in handleMessage()
658 request = (MainThreadRequest) msg.obj; in handleMessage()
659 onCompleted = obtainMessage(EVENT_SET_VOICEMAIL_NUMBER_DONE, request); in handleMessage()
660 Pair<String, String> tagNum = (Pair<String, String>) request.argument; in handleMessage()
661 getPhoneFromRequest(request).setVoiceMailNumber(tagNum.first, tagNum.second, in handleMessage()
670 request = (MainThreadRequest) msg.obj; in handleMessage()
672 request); in handleMessage()
673 getPhoneFromRequest(request).setNetworkSelectionModeAutomatic(onCompleted); in handleMessage()
681 request = (MainThreadRequest) msg.obj; in handleMessage()
682 onCompleted = obtainMessage(EVENT_PERFORM_NETWORK_SCAN_DONE, request); in handleMessage()
683 getPhoneFromRequest(request).getAvailableNetworks(onCompleted); in handleMessage()
688 request = (MainThreadRequest) ar.userObj; in handleMessage()
713 request.result = cellScanResult; in handleMessage()
714 synchronized (request) { in handleMessage()
715 request.notifyAll(); in handleMessage()
720 request = (MainThreadRequest) msg.obj; in handleMessage()
722 (ManualNetworkSelectionArgument) request.argument; in handleMessage()
724 request); in handleMessage()
725 getPhoneFromRequest(request).selectNetworkManually(selArg.operatorInfo, in handleMessage()
734 request = (MainThreadRequest) msg.obj; in handleMessage()
735 onCompleted = obtainMessage(EVENT_GET_MODEM_ACTIVITY_INFO_DONE, request); in handleMessage()
741 request = (MainThreadRequest) ar.userObj; in handleMessage()
743 request.result = ar.result; in handleMessage()
755 if (request.result == null) { in handleMessage()
756 request.result = new ModemActivityInfo(0, 0, 0, null, 0, 0); in handleMessage()
758 synchronized (request) { in handleMessage()
759 request.notifyAll(); in handleMessage()
771 MainThreadRequest request = (MainThreadRequest) ar.userObj; in handleNullReturnEvent() local
773 request.result = true; in handleNullReturnEvent()
775 request.result = false; in handleNullReturnEvent()
782 synchronized (request) { in handleNullReturnEvent()
783 request.notifyAll(); in handleNullReturnEvent()
807 MainThreadRequest request = new MainThreadRequest(argument, subId); in sendRequest() local
808 Message msg = mMainThreadHandler.obtainMessage(command, request); in sendRequest()
812 synchronized (request) { in sendRequest()
813 while (request.result == null) { in sendRequest()
815 request.wait(); in sendRequest()
821 return request.result; in sendRequest()
839 MainThreadRequest request = new MainThreadRequest(argument); in sendRequestAsync() local
840 Message msg = mMainThreadHandler.obtainMessage(command, request); in sendRequestAsync()
880 private Phone getPhoneFromRequest(MainThreadRequest request) { in getPhoneFromRequest() argument
881 return (request.subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) in getPhoneFromRequest()
882 ? mPhone : getPhone(request.subId); in getPhoneFromRequest()
885 private UiccCard getUiccCardFromRequest(MainThreadRequest request) { in getUiccCardFromRequest() argument
886 Phone phone = getPhoneFromRequest(request); in getUiccCardFromRequest()