Searched refs:AsyncResult (Results 1 - 25 of 80) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DAsyncResult.java22 public class AsyncResult class
35 public static AsyncResult
38 AsyncResult ret;
40 ret = new AsyncResult (m.obj, r, ex);
48 public static AsyncResult
51 AsyncResult ret;
53 ret = new AsyncResult (m.obj, null, null);
62 AsyncResult (Object uo, Object r, Throwable ex) method in class:AsyncResult
H A DRegistrant.java64 notifyRegistrant(AsyncResult ar)
81 msg.obj = new AsyncResult(userObj, result, exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOemHookIndication.java20 import android.os.AsyncResult;
50 mRil.mUnsolOemHookRawRegistrant.notifyRegistrant(new AsyncResult(null, response, null));
H A DRadioIndication.java36 import android.os.AsyncResult;
156 mRil.mGsmSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null));
167 mRil.mSmsStatusRegistrant.notifyRegistrant(new AsyncResult(null, pduArray, null));
177 mRil.mSmsOnSimRegistrant.notifyRegistrant(new AsyncResult(null, recordNumber, null));
191 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null));
212 mRil.mNITZTimeRegistrant.notifyRegistrant(new AsyncResult (null, result, null));
229 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult (null, ss, null));
245 new AsyncResult(null, response, null));
261 mRil.mSsnRegistrant.notifyRegistrant(new AsyncResult (null, notification, null));
271 mRil.mCatSessionEndRegistrant.notifyRegistrant(new AsyncResult (nul
[all...]
H A DSmsStorageMonitor.java23 import android.os.AsyncResult;
104 AsyncResult ar;
112 ar = (AsyncResult) msg.obj;
H A DIccPhoneBookInterfaceManager.java20 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) {
H A DTelephonyDevController.java23 import android.os.AsyncResult;
115 AsyncResult ar = (AsyncResult) sRilHardwareConfig.obj;
132 AsyncResult ar;
136 ar = (AsyncResult) msg.obj;
167 private static void handleGetHardwareConfigChanged(AsyncResult ar) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordCache.java19 import android.os.AsyncResult;
81 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset"));
125 AsyncResult.forMessage(response).exception = e;
264 AsyncResult.forMessage(response).result = result;
295 AsyncResult.forMessage(response).exception
311 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) {
320 AsyncResult.forMessage(waiter, ar.result, ar.exception);
330 AsyncResult ar;
336 ar = (AsyncResult) ms
[all...]
H A DAdnRecordLoader.java21 import android.os.AsyncResult;
145 AsyncResult ar;
152 ar = (AsyncResult)(msg.obj);
186 ar = (AsyncResult)(msg.obj);
195 ar = (AsyncResult)(msg.obj);
226 ar = (AsyncResult)(msg.obj);
254 ar = (AsyncResult)(msg.obj);
285 AsyncResult.forMessage(mUserResponse)
296 AsyncResult.forMessage(mUserResponse).result
H A DUiccController.java20 import android.os.AsyncResult;
222 AsyncResult ar = (AsyncResult)msg.obj;
238 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null));
251 AsyncResult ar;
262 } else if(msg.obj != null && msg.obj instanceof AsyncResult) {
263 ar = (AsyncResult)msg.obj;
285 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) {
308 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null));
312 private void onSimRefresh(AsyncResult a
[all...]
H A DUiccPkcs15.java19 import android.os.AsyncResult;
111 AsyncResult ar = (AsyncResult) msg.obj;
114 AsyncResult.forMessage(mCallback, null, ar.exception);
129 AsyncResult.forMessage(mCallback, result, (result == null) ?
156 AsyncResult ar;
160 ar = (AsyncResult) msg.obj;
164 AsyncResult.forMessage(mCallback, null, null);
167 AsyncResult.forMessage(mCallback, null, ar.exception);
204 AsyncResult a
[all...]
H A DIccFileHandler.java168 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
188 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
201 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
254 * ((AsyncResult)(onLoaded.obj)).result is an ArrayList<byte[]>
272 * ((AsyncResult)(onLoaded.obj)).result is an ArrayList<byte[]>
285 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
304 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
322 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
351 * @param onComplete onComplete.obj will be an AsyncResult
368 * @param onComplete onComplete.obj will be an AsyncResult
[all...]
H A DUiccCardApplication.java20 import android.os.AsyncResult;
225 private void onQueryFdnEnabled(AsyncResult ar) {
250 private void onChangeFdnDone(AsyncResult ar) {
264 AsyncResult.forMessage(response).exception = ar.exception;
280 private void onQueryFacilityLock(AsyncResult ar) {
330 private void onChangeFacilityLock(AsyncResult ar) {
343 AsyncResult.forMessage(response).exception = ar.exception;
352 private int parsePinPukErrorResult(AsyncResult ar) {
370 AsyncResult ar;
386 ar = (AsyncResult)ms
[all...]
H A DSIMRecords.java24 import android.os.AsyncResult;
357 * onComplete.obj will be an AsyncResult
358 * ((AsyncResult)onComplete.obj).exception == null on success
359 * ((AsyncResult)onComplete.obj).exception != null on fail
409 * onComplete.obj will be an AsyncResult
410 * ((AsyncResult)onComplete.obj).exception == null on success
411 * ((AsyncResult)onComplete.obj).exception != null on fail
417 AsyncResult.forMessage((onComplete)).exception =
441 AsyncResult.forMessage((onComplete)).exception =
658 AsyncResult a
[all...]
H A DIsimUiccRecords.java27 import android.os.AsyncResult;
107 AsyncResult ar;
123 ar = (AsyncResult)msg.obj;
134 ar = (AsyncResult)msg.obj;
204 public void onRecordLoaded(AsyncResult ar) {
215 public void onRecordLoaded(AsyncResult ar) {
232 public void onRecordLoaded(AsyncResult ar) {
243 public void onRecordLoaded(AsyncResult ar) {
253 public void onRecordLoaded(AsyncResult ar) {
305 new AsyncResult(nul
[all...]
H A DRuimRecords.java23 import android.os.AsyncResult;
183 AsyncResult.forMessage((onComplete)).exception =
243 public void onRecordLoaded(AsyncResult ar) {
257 public void onRecordLoaded(AsyncResult ar) {
285 public void onRecordLoaded(AsyncResult ar) {
358 public void onRecordLoaded(AsyncResult ar) {
375 public void onRecordLoaded(AsyncResult ar) {
412 public void onRecordLoaded(AsyncResult ar) {
445 public void onRecordLoaded(AsyncResult ar) {
450 private void onGetCSimEprlDone(AsyncResult a
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDataConnectionTest.java37 import android.os.AsyncResult;
177 private long getSuggestedRetryDelay(AsyncResult ar) throws Exception {
179 cArgs[0] = AsyncResult.class;
233 AsyncResult ar = new AsyncResult(null, response, null);
238 ar = new AsyncResult(null, response, null);
243 ar = new AsyncResult(null, response, null);
252 AsyncResult ar = new AsyncResult(null, response, null);
257 ar = new AsyncResult(nul
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSubscriptionSourceManager.java23 import android.os.AsyncResult;
110 AsyncResult ar;
116 ar = (AsyncResult) msg.obj;
126 ar = (AsyncResult)msg.obj;
181 * @param ar AsyncResult object that contains the result of get CDMA
184 private void handleGetCdmaSubscriptionSource(AsyncResult ar) {
194 mCdmaSubscriptionSourceChangedRegistrants.notifyRegistrants(new AsyncResult(null,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java21 import android.os.AsyncResult;
81 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null);
87 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null);
108 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null));
118 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null));
132 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null);
375 AsyncResult
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DIccPhoneBookInterfaceManagerTest.java20 import android.os.AsyncResult;
79 AsyncResult.forMessage(response).result = mAdnList;
106 AsyncResult.forMessage(response).exception = new RuntimeException();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCellBroadcastHandler.java20 import android.os.AsyncResult;
75 if (message.obj instanceof AsyncResult) {
76 SmsCbMessage cbMessage = handleGsmBroadcastSms((AsyncResult) message.obj);
87 * @param ar the AsyncResult containing the received PDUs
89 private SmsCbMessage handleGsmBroadcastSms(AsyncResult ar) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java21 import android.os.AsyncResult;
95 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null);
101 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null);
342 AsyncResult.forMessage(onComplete, null, null);
359 AsyncResult.forMessage(onComplete, null, null);
367 AsyncResult.forMessage(onComplete, null, null);
373 AsyncResult.forMessage(onComplete, null, null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java23 import android.os.AsyncResult;
131 AsyncResult ar;
136 ar = (AsyncResult) msg.obj;
145 ar = (AsyncResult) msg.obj;
160 ar = (AsyncResult) msg.obj;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandlerTest.java42 import android.os.AsyncResult;
235 new AsyncResult(null, mSmsMessage, null));
242 new AsyncResult(null, mSmsMessage, null));
259 new AsyncResult(null, mSmsMessage, null));
305 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, new AsyncResult(null,
312 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, new AsyncResult(null,
445 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null,
458 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null,
473 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(null,
501 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_NEW_SMS, new AsyncResult(nul
[all...]
H A DGSMPhoneTest.java.broken19 import android.os.AsyncResult;
101 state = (ServiceState) ((AsyncResult) msg.obj).result;
140 AsyncResult ar;
311 ar = (AsyncResult) msg.obj;
603 ar = (AsyncResult) msg.obj;
1363 AsyncResult ar;
1370 ar = (AsyncResult) (msg.obj);
1379 ar = (AsyncResult) (msg.obj);
1386 ar = (AsyncResult) (msg.obj);
1393 ar = (AsyncResult) (ms
[all...]

Completed in 528 milliseconds

1234