/frameworks/base/core/java/android/os/ |
D | AsyncResult.java | 22 public class AsyncResult class 35 public static AsyncResult 38 AsyncResult ret; in forMessage() 40 ret = new AsyncResult (m.obj, r, ex); in forMessage() 48 public static AsyncResult 51 AsyncResult ret; in forMessage() 53 ret = new AsyncResult (m.obj, null, null); in forMessage() 62 AsyncResult (Object uo, Object r, Throwable ex) in AsyncResult() method in AsyncResult
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecordCache.java | 19 import android.os.AsyncResult; 81 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset")); in clearWaiters() 125 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 264 AsyncResult.forMessage(response).result = result; in requestLoadAllAdnLike() 295 AsyncResult.forMessage(response).exception in requestLoadAllAdnLike() 311 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { in notifyWaiters() 320 AsyncResult.forMessage(waiter, ar.result, ar.exception); in notifyWaiters() 330 AsyncResult ar; in handleMessage() 336 ar = (AsyncResult) msg.obj; in handleMessage() 349 ar = (AsyncResult)msg.obj; in handleMessage() [all …]
|
D | AdnRecordLoader.java | 21 import android.os.AsyncResult; 145 AsyncResult ar; in handleMessage() 152 ar = (AsyncResult)(msg.obj); in handleMessage() 186 ar = (AsyncResult)(msg.obj); in handleMessage() 195 ar = (AsyncResult)(msg.obj); in handleMessage() 226 ar = (AsyncResult)(msg.obj); in handleMessage() 254 ar = (AsyncResult)(msg.obj); in handleMessage() 285 AsyncResult.forMessage(mUserResponse) in handleMessage() 296 AsyncResult.forMessage(mUserResponse).result in handleMessage()
|
D | SIMRecords.java | 24 import android.os.AsyncResult; 417 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber() 441 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber() 658 AsyncResult ar; in handleMessage() 685 ar = (AsyncResult) msg.obj; in handleMessage() 743 ar = (AsyncResult) msg.obj; in handleMessage() 788 ar = (AsyncResult) msg.obj; in handleMessage() 836 ar = (AsyncResult) msg.obj; in handleMessage() 853 ar = (AsyncResult) msg.obj; in handleMessage() 862 AsyncResult.forMessage(((Message) ar.userObj)).exception = ar.exception; in handleMessage() [all …]
|
D | UiccPkcs15.java | 19 import android.os.AsyncResult; 111 AsyncResult ar = (AsyncResult) msg.obj; in handleMessage() 114 AsyncResult.forMessage(mCallback, null, ar.exception); in handleMessage() 129 AsyncResult.forMessage(mCallback, result, (result == null) ? in handleMessage() 156 AsyncResult ar; in handleMessage() 160 ar = (AsyncResult) msg.obj; in handleMessage() 164 AsyncResult.forMessage(mCallback, null, null); in handleMessage() 167 AsyncResult.forMessage(mCallback, null, ar.exception); in handleMessage() 204 AsyncResult ar = (AsyncResult) msg.obj; in handleMessage()
|
D | UiccController.java | 20 import android.os.AsyncResult; 222 AsyncResult ar = (AsyncResult)msg.obj; in handleMessage() 238 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null)); in handleMessage() 251 AsyncResult ar; in getCiIndex() 262 } else if(msg.obj != null && msg.obj instanceof AsyncResult) { in getCiIndex() 263 ar = (AsyncResult)msg.obj; in getCiIndex() 285 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) { in onGetIccCardStatusDone() 308 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null)); in onGetIccCardStatusDone() 312 private void onSimRefresh(AsyncResult ar, Integer index) { in onSimRefresh() 347 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null)); in onSimRefresh()
|
D | IccFileHandler.java | 400 AsyncResult.forMessage(response, result, ex); in sendResult() 405 private boolean processException(Message response, AsyncResult ar) { in processException() 426 AsyncResult ar; in handleMessage() 441 ar = (AsyncResult)msg.obj; in handleMessage() 446 if (processException(response, (AsyncResult) msg.obj)) { in handleMessage() 468 ar = (AsyncResult)msg.obj; in handleMessage() 473 if (processException(response, (AsyncResult) msg.obj)) { in handleMessage() 509 ar = (AsyncResult)msg.obj; in handleMessage() 513 if (processException(response, (AsyncResult) msg.obj)) { in handleMessage() 546 ar = (AsyncResult)msg.obj; in handleMessage() [all …]
|
D | UiccCardApplication.java | 20 import android.os.AsyncResult; 225 private void onQueryFdnEnabled(AsyncResult ar) { in onQueryFdnEnabled() 250 private void onChangeFdnDone(AsyncResult ar) { in onChangeFdnDone() 264 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFdnDone() 280 private void onQueryFacilityLock(AsyncResult ar) { in onQueryFacilityLock() 330 private void onChangeFacilityLock(AsyncResult ar) { in onChangeFacilityLock() 343 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFacilityLock() 352 private int parsePinPukErrorResult(AsyncResult ar) { in parsePinPukErrorResult() 370 AsyncResult ar; 386 ar = (AsyncResult)msg.obj; [all …]
|
D | RuimRecords.java | 23 import android.os.AsyncResult; 183 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber() 243 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 257 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 285 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 358 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 375 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 412 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 445 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 450 private void onGetCSimEprlDone(AsyncResult ar) { in onGetCSimEprlDone() [all …]
|
D | IsimUiccRecords.java | 27 import android.os.AsyncResult; 107 AsyncResult ar; in handleMessage() 123 ar = (AsyncResult)msg.obj; in handleMessage() 134 ar = (AsyncResult)msg.obj; in handleMessage() 204 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 215 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 232 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 243 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 253 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 305 new AsyncResult(null, null, null)); in onAllRecordsLoaded()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 37 import android.os.AsyncResult; 177 private long getSuggestedRetryDelay(AsyncResult ar) throws Exception { in getSuggestedRetryDelay() 179 cArgs[0] = AsyncResult.class; in getSuggestedRetryDelay() 233 AsyncResult ar = new AsyncResult(null, response, null); in testModemSuggestRetry() 238 ar = new AsyncResult(null, response, null); in testModemSuggestRetry() 243 ar = new AsyncResult(null, response, null); in testModemSuggestRetry() 252 AsyncResult ar = new AsyncResult(null, response, null); in testModemNotSuggestRetry() 257 ar = new AsyncResult(null, response, null); in testModemNotSuggestRetry() 262 ar = new AsyncResult(null, response, null); in testModemNotSuggestRetry() 271 AsyncResult ar = new AsyncResult(null, response, null); in testModemSuggestNoRetry()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioIndication.java | 36 import android.os.AsyncResult; 156 mRil.mGsmSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); in newSms() 167 mRil.mSmsStatusRegistrant.notifyRegistrant(new AsyncResult(null, pduArray, null)); in newSmsStatusReport() 177 mRil.mSmsOnSimRegistrant.notifyRegistrant(new AsyncResult(null, recordNumber, null)); in newSmsOnSim() 191 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null)); in onUssd() 212 mRil.mNITZTimeRegistrant.notifyRegistrant(new AsyncResult (null, result, null)); in nitzTimeReceived() 229 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult (null, ss, null)); in currentSignalStrength() 245 new AsyncResult(null, response, null)); in dataCallListChanged() 261 mRil.mSsnRegistrant.notifyRegistrant(new AsyncResult (null, notification, null)); in suppSvcNotify() 271 mRil.mCatSessionEndRegistrant.notifyRegistrant(new AsyncResult (null, null, null)); in stkSessionEnd() [all …]
|
D | TelephonyDevController.java | 23 import android.os.AsyncResult; 115 AsyncResult ar = (AsyncResult) sRilHardwareConfig.obj; in registerRIL() 132 AsyncResult ar; in handleMessage() 136 ar = (AsyncResult) msg.obj; in handleMessage() 167 private static void handleGetHardwareConfigChanged(AsyncResult ar) { in handleGetHardwareConfigChanged()
|
D | IccPhoneBookInterfaceManager.java | 20 import android.os.AsyncResult; 64 AsyncResult ar; 68 ar = (AsyncResult) msg.obj; 83 ar = (AsyncResult) msg.obj; 90 ar = (AsyncResult)msg.obj; 104 private void notifyPending(AsyncResult ar) {
|
D | ProxyController.java | 24 import android.os.AsyncResult; 341 AsyncResult ar = (AsyncResult)msg.obj; in onStartRadioCapabilityResponse() 351 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onStartRadioCapabilityResponse() 359 if (((AsyncResult) msg.obj).exception != null) { in onStartRadioCapabilityResponse() 408 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onApplyRadioCapabilityResponse() 415 if (((AsyncResult) msg.obj).exception != null) { in onApplyRadioCapabilityResponse() 433 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onNotificationRadioCapabilityChanged() 449 if ((((AsyncResult) msg.obj).exception != null) || in onNotificationRadioCapabilityChanged() 476 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onFinishRadioCapabilityResponse()
|
D | CallManager.java | 22 import android.os.AsyncResult; 2250 mDisconnectRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2256 mPreciseCallStateRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2260 Connection c = (Connection) ((AsyncResult) msg.obj).result; in handleMessage() 2270 mNewRingingConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2275 mUnknownConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2281 mIncomingRingRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2286 mRingbackToneRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2290 mInCallVoicePrivacyOnRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() 2294 mInCallVoicePrivacyOffRegistrants.notifyRegistrants((AsyncResult) msg.obj); in handleMessage() [all …]
|
D | OemHookIndication.java | 20 import android.os.AsyncResult; 50 mRil.mUnsolOemHookRawRegistrant.notifyRegistrant(new AsyncResult(null, response, null)); in oemHookRaw()
|
D | SmsStorageMonitor.java | 23 import android.os.AsyncResult; 104 AsyncResult ar; in handleMessage() 112 ar = (AsyncResult) msg.obj; in handleMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 21 import android.os.AsyncResult; 81 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null); in startRingbackTone() 87 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null); in stopRingbackTone() 108 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null)); in startOnHoldTone() 118 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null)); in stopOnHoldTone() 132 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null); in onTtyModeReceived() 375 AsyncResult.forMessage(onComplete, null, null); in setVoiceMailNumber() 392 AsyncResult.forMessage(onComplete, null, null); in getOutgoingCallerIdDisplay() 400 AsyncResult.forMessage(onComplete, null, null); in setOutgoingCallerIdDisplay() 406 AsyncResult.forMessage(onComplete, null, null); in getCallWaiting()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSubscriptionSourceManager.java | 23 import android.os.AsyncResult; 110 AsyncResult ar; in handleMessage() 116 ar = (AsyncResult) msg.obj; in handleMessage() 126 ar = (AsyncResult)msg.obj; in handleMessage() 184 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { in handleGetCdmaSubscriptionSource() 194 mCdmaSubscriptionSourceChangedRegistrants.notifyRegistrants(new AsyncResult(null, in handleGetCdmaSubscriptionSource()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 42 import android.os.AsyncResult; 235 new AsyncResult(null, mSmsMessage, null)); in testNewSms() 242 new AsyncResult(null, mSmsMessage, null)); in testNewSms() 259 new AsyncResult(null, mSmsMessage, null)); in testNewSmsFromBlockedNumber_noBroadcastsSent() 305 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, new AsyncResult(null, in testInjectSms() 312 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, new AsyncResult(null, in testInjectSms() 445 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null, in testMultiPartSmsWithIncompleteWAP() 458 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null, in testMultiPartSmsWithIncompleteWAP() 473 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null, in testMultiPartSmsWithIncompleteWAP() 501 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null, in testMultiPartSms() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 21 import android.os.AsyncResult; 95 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null); in startRingbackTone() 101 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null); in stopRingbackTone() 342 AsyncResult.forMessage(onComplete, null, null); in setVoiceMailNumber() 359 AsyncResult.forMessage(onComplete, null, null); in getOutgoingCallerIdDisplay() 367 AsyncResult.forMessage(onComplete, null, null); in setOutgoingCallerIdDisplay() 373 AsyncResult.forMessage(onComplete, null, null); in getCallWaiting()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmCellBroadcastHandler.java | 20 import android.os.AsyncResult; 75 if (message.obj instanceof AsyncResult) { in handleSmsMessage() 76 SmsCbMessage cbMessage = handleGsmBroadcastSms((AsyncResult) message.obj); in handleSmsMessage() 89 private SmsCbMessage handleGsmBroadcastSms(AsyncResult ar) { in handleGsmBroadcastSms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | IconLoader.java | 23 import android.os.AsyncResult; 131 AsyncResult ar; in handleMessage() 136 ar = (AsyncResult) msg.obj; in handleMessage() 145 ar = (AsyncResult) msg.obj; in handleMessage() 160 ar = (AsyncResult) msg.obj; in handleMessage()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccPhoneBookInterfaceManagerTest.java | 20 import android.os.AsyncResult; 79 AsyncResult.forMessage(response).result = mAdnList; in setUp() 106 AsyncResult.forMessage(response).exception = new RuntimeException(); in testAdnEFLoadWithFailure()
|