/frameworks/base/core/java/android/os/ |
D | AsyncResult.java | 22 public class AsyncResult class 39 public static AsyncResult 42 AsyncResult ret; in forMessage() 44 ret = new AsyncResult (m.obj, r, ex); in forMessage() 53 public static AsyncResult 56 AsyncResult ret; in forMessage() 58 ret = new AsyncResult (m.obj, null, null); in forMessage() 68 AsyncResult (Object uo, Object r, Throwable ex) in AsyncResult() method in AsyncResult
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 28 import android.os.AsyncResult; 79 AsyncResult ar = new AsyncResult(null, new int[]{0}, null); in testHelper() 91 AsyncResult ar = new AsyncResult(null, iir, null); in testHelper() 274 AsyncResult ar1 = new AsyncResult( in testRetryARAM_shouldRetry() 280 AsyncResult ar2 = new AsyncResult( in testRetryARAM_shouldRetry() 286 AsyncResult ar3 = new AsyncResult( in testRetryARAM_shouldRetry() 296 AsyncResult ar = new AsyncResult( in testRetryARAM_shouldNotRetry() 315 AsyncResult ar = new AsyncResult(null, new int[]{0}, null); in testAID_OnlyARAM() 320 AsyncResult ar = new AsyncResult(null, null, null); in testAID_OnlyARAM() 333 AsyncResult ar = new AsyncResult(null, iir, null); in testAID_OnlyARAM() [all …]
|
D | AdnRecordCacheTest.java | 34 import android.os.AsyncResult; 125 AsyncResult ar1 = (AsyncResult) message1.obj; in resetTest() 126 AsyncResult ar2 = (AsyncResult) message2.obj; in resetTest() 138 AsyncResult ar = (AsyncResult) message.obj; in updateAdnByIndexEfException() 153 AsyncResult ar = (AsyncResult) message.obj; in updateAdnByIndex_WriteResponseException() 163 AsyncResult.forMessage(response, "success2", null); in updateAdnByIndex() 186 AsyncResult ar = (AsyncResult) message.obj; in updateAdnBySearch_EfException() 197 AsyncResult ar = (AsyncResult) message.obj; in updateAdnBySearch_Exception() 211 AsyncResult ar = (AsyncResult) message.obj; in updateAdnBySearch_AdnListError() 222 AsyncResult.forMessage(response, "success2", null); in updateAdnBySearch_PendingUpdate() [all …]
|
D | SIMRecordsTest.java | 33 import android.os.AsyncResult; 141 AsyncResult ar = (AsyncResult) message.obj; in testSetForbiddenPlmnsPad() 156 AsyncResult ar = (AsyncResult) message.obj; in testSetForbiddenPlmnsTruncate() 171 AsyncResult ar = (AsyncResult) message.obj; in testSetForbiddenPlmnsClear() 182 AsyncResult.forMessage(response, EF_SIZE, null); in setUpSetForbiddenPlmnsTests() 191 AsyncResult.forMessage(response, true, null); in setUpSetForbiddenPlmnsTests() 205 AsyncResult.forMessage(response, encodedFplmn, null); in testGetForbiddenPlmns() 216 AsyncResult ar = (AsyncResult) message.obj; in testGetForbiddenPlmns() 227 AsyncResult.forMessage(response, null, new CommandException( in testGetForbiddenPlmnsException() 239 AsyncResult ar = (AsyncResult) message.obj; in testGetForbiddenPlmnsException() [all …]
|
D | IsimUiccRecordsTest.java | 42 import android.os.AsyncResult; 108 msg.obj = new AsyncResult(null, null, null); in testBroadcastRefresh() 127 AsyncResult.forMessage(message, smscBytes, null); in testPsiSmscTelValue() 148 AsyncResult.forMessage(message, smscBytes, null); in testGetPsiSmscSipValue() 162 AsyncResult.forMessage(message, smscBytes, in testGetPsiSmscValueException() 176 AsyncResult.forMessage(message, smscBytes, in testGetPsiSmscValueInvalidObject() 192 AsyncResult.forMessage(message, null, null); in testGetSmssTpmrValue() 206 AsyncResult.forMessage(message, null, in testGetSmssTpmrValueException() 222 AsyncResult.forMessage(message, null, null); in testGetSmssTpmrValueExtreme() 235 AsyncResult.forMessage(message, null, null); in setValidSmssValue() [all …]
|
D | IccFileHandlerTest.java | 33 import android.os.AsyncResult; 104 AsyncResult.forMessage(response, "Success", null); in loadEFLinearFixed_WithNullPath() 123 AsyncResult.forMessage(response, "Success", null); in loadEFLinearFixed() 142 AsyncResult.forMessage(response, "Success", null); in loadEFImgLinearFixed() 161 AsyncResult.forMessage(response, "Success", null); in getEFLinearRecordSize_WithNullPath() 180 AsyncResult.forMessage(response, "Success", null); in getEFLinearRecordSize() 199 AsyncResult.forMessage(response, "Success", null); in getEFTransparentRecordSize() 222 AsyncResult.forMessage(response, iir, null); in loadEFLinearFixedAll_FileNotFoundAtGetRecord() 233 AsyncResult ar = (AsyncResult) message.obj; in loadEFLinearFixedAll_FileNotFoundAtGetRecord() 254 AsyncResult.forMessage(response, iir, null); in loadEFLinearFixedAll_FileNotFoundAtReadRecord() [all …]
|
D | RuimRecordsTest.java | 21 import android.os.AsyncResult; 62 AsyncResult ar = new AsyncResult(null, null, null); in testCsimImsiLoaded() 68 AsyncResult ar2 = new AsyncResult(null, byteArray, null); in testCsimImsiLoaded()
|
D | UiccControllerTest.java | 32 import android.os.AsyncResult; 271 AsyncResult ar = new AsyncResult(null, ics, null); in testCardIdFromIccStatus() 312 AsyncResult ar = new AsyncResult(null, status, null); in testCardIdFromSlotStatus() 339 AsyncResult ar = new AsyncResult(null, status, null); in testCardIdForDefaultEuicc() 379 AsyncResult ar = new AsyncResult(null, ics, null); in testGetAllUiccCardInfos() 430 AsyncResult ar = new AsyncResult(null, ics, null); in testIccidWithTrailingF() 478 AsyncResult ar = new AsyncResult(null, ics, null); in testGetAllUiccCardInfosNullCard() 538 AsyncResult ar = new AsyncResult(null, status, null); in testDefaultEuiccIsNotRemovable() 589 AsyncResult ar = new AsyncResult(null, status, null); in testDefaultEuiccIsNotRemovable_swapSlotOrder() 642 AsyncResult ar = new AsyncResult(null, status, null); in testDefaultEuiccIsNotRemovable_EuiccIsInactive() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SIMRecords.java | 25 import android.os.AsyncResult; 392 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber() 418 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber() 653 AsyncResult ar; in handleMessage() 670 ar = (AsyncResult) msg.obj; in handleMessage() 684 ar = (AsyncResult) msg.obj; in handleMessage() 729 ar = (AsyncResult) msg.obj; in handleMessage() 777 ar = (AsyncResult) msg.obj; in handleMessage() 794 ar = (AsyncResult) msg.obj; in handleMessage() 803 AsyncResult.forMessage(((Message) ar.userObj)).exception = ar.exception; in handleMessage() [all …]
|
D | AdnRecordLoader.java | 20 import android.os.AsyncResult; 152 AsyncResult ar; in handleMessage() 159 ar = (AsyncResult)(msg.obj); in handleMessage() 213 ar = (AsyncResult)(msg.obj); in handleMessage() 227 ar = (AsyncResult)(msg.obj); in handleMessage() 258 ar = (AsyncResult)(msg.obj); in handleMessage() 286 ar = (AsyncResult)(msg.obj); in handleMessage() 317 AsyncResult.forMessage(mUserResponse) in handleMessage() 328 AsyncResult.forMessage(mUserResponse).result in handleMessage()
|
D | AdnRecordCache.java | 20 import android.os.AsyncResult; 92 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset")); in clearWaiters() 141 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 276 AsyncResult.forMessage(response).result = result; in requestLoadAllAdnLike() 307 AsyncResult.forMessage(response).exception in requestLoadAllAdnLike() 323 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { in notifyWaiters() 332 AsyncResult.forMessage(waiter, ar.result, ar.exception); in notifyWaiters() 342 AsyncResult ar; in handleMessage() 347 ar = (AsyncResult) msg.obj; in handleMessage() 360 ar = (AsyncResult)msg.obj; in handleMessage() [all …]
|
D | UiccCardApplication.java | 21 import android.os.AsyncResult; 251 private void onQueryFdnEnabled(AsyncResult ar) { in onQueryFdnEnabled() 279 private void onChangeFdnDone(AsyncResult ar) { in onChangeFdnDone() 293 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFdnDone() 309 private void onQueryFacilityLock(AsyncResult ar) { in onQueryFacilityLock() 355 private void onChangeFacilityLock(AsyncResult ar) { in onChangeFacilityLock() 368 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFacilityLock() 377 private int parsePinPukErrorResult(AsyncResult ar) { in parsePinPukErrorResult() 395 AsyncResult ar; 402 ar = (AsyncResult) msg.obj; [all …]
|
D | IccFileHandler.java | 20 import android.os.AsyncResult; 446 AsyncResult.forMessage(response, result, ex); in sendResult() 451 private boolean processException(Message response, AsyncResult ar) { in processException() 472 AsyncResult ar; in handleMessage() 487 ar = (AsyncResult)msg.obj; in handleMessage() 492 if (processException(response, (AsyncResult) msg.obj)) { in handleMessage() 513 ar = (AsyncResult)msg.obj; in handleMessage() 518 if (processException(response, (AsyncResult) msg.obj)) { in handleMessage() 554 ar = (AsyncResult)msg.obj; in handleMessage() 558 if (processException(response, (AsyncResult) msg.obj)) { in handleMessage() [all …]
|
D | IsimUiccRecords.java | 22 import android.os.AsyncResult; 105 AsyncResult ar; in handleMessage() 182 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 193 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 210 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 221 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 241 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 253 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 274 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() 330 mLockedRecordsLoadedRegistrants.notifyRegistrants(new AsyncResult(null, null, null)); in onLockedAllRecordsLoaded() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/ |
D | AsyncMessageInvocation.java | 19 import android.os.AsyncResult; 53 AsyncResult result = (AsyncResult) msg.obj; in handleMessage() 71 protected abstract Response parseResult(AsyncResult result) throws Throwable; in parseResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SimIndication.java | 34 import android.os.AsyncResult; 65 new AsyncResult(null, null, null)); in carrierInfoForImsiEncryption() 82 new AsyncResult(null, response, null)); in cdmaSubscriptionSourceChanged() 121 mRil.mSimPhonebookRecordsReceivedRegistrants.notifyRegistrants(new AsyncResult( in simPhonebookRecordsReceived() 141 mRil.mIccRefreshRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in simRefresh() 169 mRil.mCatEventRegistrant.notifyRegistrant(new AsyncResult(null, cmd, null)); in stkEventNotify() 185 mRil.mCatProCmdRegistrant.notifyRegistrant(new AsyncResult(null, cmd, null)); in stkProactiveCommand() 199 mRil.mCatSessionEndRegistrant.notifyRegistrant(new AsyncResult(null, null, null)); in stkSessionEnd() 218 new AsyncResult(null, response, null)); in subscriptionStatusChanged()
|
D | RadioIndication.java | 94 import android.os.AsyncResult; 179 new AsyncResult(null, smsb == null ? null : new SmsMessage(smsb), null)); in newSms() 190 mRil.mSmsStatusRegistrant.notifyRegistrant(new AsyncResult(null, pduArray, null)); in newSmsStatusReport() 200 mRil.mSmsOnSimRegistrant.notifyRegistrant(new AsyncResult(null, recordNumber, null)); in newSmsOnSim() 214 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null)); in onUssd() 234 mRil.mNITZTimeRegistrant.notifyRegistrant(new AsyncResult (null, result, null)); in nitzTimeReceived() 259 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate() 275 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate_1_6() 300 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult(null, ss, null)); in currentSignalStrength_1_4() 317 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult(null, ss, null)); in currentSignalStrength_1_6() [all …]
|
D | NetworkIndication.java | 41 import android.os.AsyncResult; 110 mRil.mCdmaPrlChangedRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in cdmaPrlChanged() 123 mRil.mRilCellInfoListRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in cellInfoList() 140 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate() 202 new AsyncResult(null, response, null)); in currentPhysicalChannelConfigs() 220 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult(null, ss, null)); in currentSignalStrength() 248 mRil.mRilNetworkScanResultRegistrants.notifyRegistrants(new AsyncResult(null, nsr, null)); in networkScanResult() 303 mRil.mNITZTimeRegistrant.notifyRegistrant(new AsyncResult(null, result, null)); in nitzTimeReceived() 348 new AsyncResult(null, registrationFailedEvent, null)); in registrationFailed() 362 mRil.mRestrictedStateRegistrant.notifyRegistrant(new AsyncResult(null, state, null)); in restrictedStateChanged() [all …]
|
D | DataIndication.java | 28 import android.os.AsyncResult; 63 new AsyncResult(null, response, null)); in dataCallListChanged() 83 mRil.mNattKeepaliveStatusRegistrants.notifyRegistrants(new AsyncResult(null, ks, null)); in keepaliveStatus() 98 mRil.mPcoDataRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in pcoData() 114 mRil.mApnUnthrottledRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in unthrottleApn() 131 new AsyncResult(null, ret, null)); in slicingConfigChanged()
|
D | MessagingIndication.java | 30 import android.os.AsyncResult; 58 mRil.mCdmaSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); in cdmaNewSms() 95 mRil.mGsmBroadcastSmsRegistrant.notifyRegistrant(new AsyncResult(null, data, null)); in newBroadcastSms() 112 new AsyncResult(null, smsb == null ? null : new SmsMessage(smsb), null)); in newSms() 127 mRil.mSmsOnSimRegistrant.notifyRegistrant(new AsyncResult(null, recordNumber, null)); in newSmsOnSim() 143 mRil.mSmsStatusRegistrant.notifyRegistrant(new AsyncResult(null, pdu, null)); in newSmsStatusReport()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellBroadcastConfigTrackerTest.java | 35 import android.os.AsyncResult; 120 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 128 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 160 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 169 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 198 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 207 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 216 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 225 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() 243 AsyncResult.forMessage(msg); in testSetCellBroadcastIdRangesSuccess() [all …]
|
D | CarrierActionAgentTest.java | 28 import android.os.AsyncResult; 111 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM() 114 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM() 125 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM() 129 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM() 155 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPNChange() 159 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPNChange() 168 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPNChange() 172 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPNChange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | KeepAliveTrackerTest.java | 32 import android.os.AsyncResult; 115 AsyncResult.forMessage( in checkStartStopNattKeepalive() 124 AsyncResult.forMessage( in checkStartStopNattKeepalive() 129 AsyncResult.forMessage( in checkStartStopNattKeepalive() 145 AsyncResult.forMessage(kaStopped); in checkStartStopNattKeepalive() 190 AsyncResult.forMessage( in checkStartNattKeepaliveFail() 197 AsyncResult.forMessage( in checkStartNattKeepaliveFail() 202 AsyncResult.forMessage( in checkStartNattKeepaliveFail()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 20 import android.os.AsyncResult; 85 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null); in startRingbackTone() 91 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null); in stopRingbackTone() 113 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null)); in startOnHoldTone() 123 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null)); in stopOnHoldTone() 137 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null); in onTtyModeReceived() 203 AsyncResult ar = new AsyncResult(null, this, null); in notifyPreciseCallStateChanged() 398 AsyncResult.forMessage(onComplete, null, null); in setVoiceMailNumber() 426 AsyncResult.forMessage(onComplete, null, null); in getOutgoingCallerIdDisplay() 434 AsyncResult.forMessage(onComplete, null, null); in setOutgoingCallerIdDisplay() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSubscriptionSourceManager.java | 21 import android.os.AsyncResult; 115 AsyncResult ar; in handleMessage() 121 ar = (AsyncResult) msg.obj; in handleMessage() 131 ar = (AsyncResult)msg.obj; in handleMessage() 190 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { in handleGetCdmaSubscriptionSource() 200 mCdmaSubscriptionSourceChangedRegistrants.notifyRegistrants(new AsyncResult(null, in handleGetCdmaSubscriptionSource()
|