Searched refs:AsyncResult (Results 26 - 50 of 80) sorted by relevance

1234

/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsEcbm.java35 import android.os.AsyncResult;
H A DImsUt.java22 import android.os.AsyncResult;
118 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}.
146 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}.
175 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}.
547 AsyncResult.forMessage(result, null, new ImsException(errorString, error.mCode));
556 AsyncResult.forMessage(result, null, null);
565 AsyncResult.forMessage(result, ssInfo, null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierActionAgent.java23 import android.os.AsyncResult;
127 new AsyncResult(null, mCarrierActionOnMeteredApnEnabled, null));
134 new AsyncResult(null, mCarrierActionOnRadioEnabled, null));
214 r.notifyRegistrant(new AsyncResult(null, carrierAction, null));
H A DProxyController.java24 import android.os.AsyncResult;
341 AsyncResult ar = (AsyncResult)msg.obj;
351 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result;
359 if (((AsyncResult) msg.obj).exception != null) {
408 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result;
415 if (((AsyncResult) msg.obj).exception != null) {
433 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result;
449 if ((((AsyncResult) msg.obj).exception != null) ||
476 RadioCapability rc = (RadioCapability) ((AsyncResult) ms
[all...]
H A DImsSMSDispatcher.java23 import android.os.AsyncResult;
101 AsyncResult ar;
110 ar = (AsyncResult) msg.obj;
140 private void updateImsInfo(AsyncResult ar) {
235 AsyncResult ar = new AsyncResult(receivedIntent, msg, null);
H A DCallManager.java22 import android.os.AsyncResult;
1307 * <ul><li>Message.obj will be an AsyncResult</li>
1308 * <li>AsyncResult.userObj = obj</li>
1309 * <li>AsyncResult.result = a Connection object that is
1329 * Resulting events will have an AsyncResult in <code>Message.obj</code>.
1330 * AsyncResult.userData will be set to the obj argument here.
1365 * Message.obj will be an AsyncResult
1366 * AsyncResult.userObj = obj
1367 * AsyncResult.result = a Connection. <p>
1390 * Message.obj will be an AsyncResult
[all...]
H A DGsmCdmaPhone.java40 import android.os.AsyncResult;
1211 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
1231 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
1295 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
1817 AsyncResult.forMessage(response).exception = ce;
1944 mMmiCompleteRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
1967 new AsyncResult(null, mmi, null));
2079 AsyncResult ar;
2089 ar = (AsyncResult)msg.obj;
2123 ar = (AsyncResult) ms
[all...]
H A DPhone.java28 import android.os.AsyncResult;
579 AsyncResult ar;
588 handleSetSelectNetwork((AsyncResult) msg.obj);
595 ar = (AsyncResult)msg.obj;
622 ar = (AsyncResult) msg.obj;
635 ar = (AsyncResult)msg.obj;
644 ar = (AsyncResult)msg.obj;
654 ar = (AsyncResult) msg.obj;
763 * Resulting events will have an AsyncResult in <code>Message.obj</code>.
764 * AsyncResult
[all...]
H A DGsmCdmaCallTracker.java23 import android.os.AsyncResult;
216 r.notifyRegistrant(new AsyncResult(null, null, null));
721 new AsyncResult(null, null, null));
724 new AsyncResult(null, null, null));
738 protected synchronized void handlePollCalls(AsyncResult ar) {
1336 mCallWaitingRegistrants.notifyRegistrants(new AsyncResult(null, obj, null));
1368 AsyncResult ar;
1379 handlePollCalls((AsyncResult)msg.obj);
1401 ar = (AsyncResult) msg.obj;
1420 ar = (AsyncResult)ms
[all...]
H A DCallTracker.java20 import android.os.AsyncResult;
97 protected abstract void handlePollCalls(AsyncResult ar);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java20 import android.os.AsyncResult;
282 AsyncResult ar;
290 ar = (AsyncResult) msg.obj;
304 ar = (AsyncResult) msg.obj;
H A DGsmMmiCode.java275 processSsData(AsyncResult data) {
321 onSetComplete(null, new AsyncResult(null, ssData.cfInfo, ex));
326 onGetClirComplete(new AsyncResult(null, ssData.ssInfo, ex));
329 onQueryCfComplete(new AsyncResult(null, ssData.cfInfo, ex));
331 onQueryComplete(new AsyncResult(null, ssData.ssInfo, ex));
1087 AsyncResult ar;
1091 ar = (AsyncResult) (msg.obj);
1097 ar = (AsyncResult) (msg.obj);
1114 ar = (AsyncResult) (msg.obj);
1119 ar = (AsyncResult) (ms
[all...]
H A DUsimPhoneBookManager.java19 import android.os.AsyncResult;
522 AsyncResult ar;
526 ar = (AsyncResult) msg.obj;
536 ar = (AsyncResult) msg.obj;
546 ar = (AsyncResult) msg.obj;
556 ar = (AsyncResult) msg.obj;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccRecords.java20 import android.os.AsyncResult;
179 void onRecordLoaded(AsyncResult ar);
267 r.notifyRegistrant(new AsyncResult(null, null, null));
283 r.notifyRegistrant(new AsyncResult(null, null, null));
374 AsyncResult.forMessage(onComplete).exception =
441 * onComplete.obj will be an AsyncResult
442 * ((AsyncResult)onComplete.obj).exception == null on success
443 * ((AsyncResult)onComplete.obj).exception != null on fail
498 AsyncResult ar;
503 ar = (AsyncResult) ms
[all...]
H A DIccCardProxy.java22 import android.os.AsyncResult;
286 AsyncResult ar = (AsyncResult)msg.obj;
714 AsyncResult.forMessage(onComplete).exception = e;
728 AsyncResult.forMessage(onComplete).exception = e;
742 AsyncResult.forMessage(onComplete).exception = e;
756 AsyncResult.forMessage(onComplete).exception = e;
770 AsyncResult.forMessage(onComplete).exception = e;
820 AsyncResult.forMessage(onComplete).exception = e;
834 AsyncResult
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDcControllerTest.java35 import android.os.AsyncResult;
134 mDcc.sendMessage(EVENT_DATA_STATE_CHANGED, new AsyncResult(null, l, null));
/frameworks/base/core/java/android/os/
H A DRegistrantList.java102 notifyRegistrants(AsyncResult ar)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaMmiCode.java28 import android.os.AsyncResult;
288 AsyncResult ar;
291 ar = (AsyncResult) (msg.obj);
310 onSetComplete(Message msg, AsyncResult ar){
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandlerTest.java22 import android.os.AsyncResult;
186 new AsyncResult(null, mSmsMessage, null));
220 new AsyncResult(null, mSmsMessage, null));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java29 import android.os.AsyncResult;
450 AsyncResult.forMessage(msg, response, null);
464 // msg.obj will be returned in AsyncResult.userObj;
477 * msg.what == EVENT_DEACTIVATE_DONE and msg.obj == AsyncResult with AsyncResult.obj
480 * @param o is the object returned in the AsyncResult.obj.
506 AsyncResult ar = new AsyncResult(o, null, null);
521 AsyncResult.forMessage(msg);
559 AsyncResult
[all...]
H A DDcController.java23 import android.os.AsyncResult;
183 AsyncResult ar;
187 ar = (AsyncResult)msg.obj;
199 ar = (AsyncResult)msg.obj;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhone.java28 import android.os.AsyncResult;
508 AsyncResult ar = new AsyncResult(null, suppSvc, null);
641 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
691 AsyncResult ar = new AsyncResult(null, null, null);
977 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
993 AsyncResult.forMessage(onComplete, null,
1003 AsyncResult.forMessage(onComplete, null, getCommandException(e));
1045 new AsyncResult(nul
[all...]
H A DImsPhoneMmiCode.java21 import android.os.AsyncResult;
1050 AsyncResult ar;
1054 ar = (AsyncResult) (msg.obj);
1060 ar = (AsyncResult) (msg.obj);
1077 ar = (AsyncResult) (msg.obj);
1082 ar = (AsyncResult) (msg.obj);
1087 ar = (AsyncResult) (msg.obj);
1108 ar = (AsyncResult) (msg.obj);
1113 ar = (AsyncResult) (msg.obj);
1118 ar = (AsyncResult) (ms
[all...]
H A DImsExternalCallTracker.java28 import android.os.AsyncResult;
143 handleVideoCapabilitiesChanged((AsyncResult) msg.obj);
435 * @param ar The AsyncResult containing the new video capability of the device.
437 private void handleVideoCapabilitiesChanged(AsyncResult ar) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneTest.java41 import android.os.AsyncResult;
182 ((AsyncResult)messageArgumentCaptor.getValue().obj).result);
209 ((AsyncResult) messageArgumentCaptor.getValue().obj).result);
248 ((AsyncResult) messageArgumentCaptor.getValue().obj).result);
265 ((AsyncResult)messageArgumentCaptor.getValue().obj).result);
372 assertEquals(ssn, ((AsyncResult) message.obj).result);
373 assertEquals(null, ((AsyncResult) message.obj).userObj);
374 assertEquals(null, ((AsyncResult) message.obj).exception);

Completed in 315 milliseconds

1234