Searched refs:ar (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java482 AsyncResult ar;
502 ar = (AsyncResult)msg.obj;
504 if (ar.exception != null) {
505 Log.e(LOG_TAG, "Exception querying IMSI, Exception:" + ar.exception);
509 imsi = (String) ar.result;
555 ar = (AsyncResult)msg.obj;
556 data = (byte[]) ar.result;
559 if (ar.exception == null) {
594 ar = (AsyncResult)msg.obj;
596 if (ar
1382 getSpnFsm(boolean start, AsyncResult ar) argument
[all...]
H A DGsmMmiCode.java816 AsyncResult ar;
820 ar = (AsyncResult) (msg.obj);
822 onSetComplete(ar);
826 ar = (AsyncResult) (msg.obj);
832 if ((ar.exception == null) && (msg.arg1 == 1)) {
837 onSetComplete(ar);
841 ar = (AsyncResult) (msg.obj);
842 onGetClirComplete(ar);
846 ar = (AsyncResult) (msg.obj);
847 onQueryCfComplete(ar);
879 getErrorMessage(AsyncResult ar) argument
915 onSetComplete(AsyncResult ar) argument
990 onGetClirComplete(AsyncResult ar) argument
1160 onQueryCfComplete(AsyncResult ar) argument
1212 onQueryComplete(AsyncResult ar) argument
[all...]
H A DGsmServiceStateTracker.java341 AsyncResult ar;
393 ar = (AsyncResult) msg.obj;
394 onSignalStrengthResult(ar);
400 ar = (AsyncResult) msg.obj;
402 if (ar.exception == null) {
403 String states[] = (String[])ar.result;
431 ar = (AsyncResult) msg.obj;
433 handlePollStateResult(msg.what, ar);
443 ar = (AsyncResult) msg.obj;
445 String nitzString = (String)((Object[])ar
620 handlePollStateResult(int what, AsyncResult ar) argument
1128 onSignalStrengthResult(AsyncResult ar) argument
1169 onRestrictedStateChanged(AsyncResult ar) argument
[all...]
H A DGSMPhone.java1198 AsyncResult ar;
1232 ar = (AsyncResult)msg.obj;
1234 if (ar.exception != null) {
1238 if (LOCAL_DEBUG) Log.d(LOG_TAG, "Baseband version: " + ar.result);
1239 setSystemProperty(PROPERTY_BASEBAND_VERSION, (String)ar.result);
1243 ar = (AsyncResult)msg.obj;
1245 if (ar.exception != null) {
1249 mImei = (String)ar.result;
1253 ar = (AsyncResult)msg.obj;
1255 if (ar
1379 handleSetSelectNetwork(AsyncResult ar) argument
[all...]
H A DSimSmsInterfaceManager.java67 AsyncResult ar;
71 ar = (AsyncResult) msg.obj;
73 mSuccess = (ar.exception == null);
78 ar = (AsyncResult)msg.obj;
80 if (ar.exception == null) {
81 mSms = buildValidRawData((ArrayList<byte[]>) ar.result);
92 ar = (AsyncResult) msg.obj;
94 mSuccess = (ar.exception == null);
H A DUsimPhoneBookManager.java314 AsyncResult ar;
318 ar = (AsyncResult) msg.obj;
319 if (ar.exception == null) {
320 createPbrFile((ArrayList<byte[]>)ar.result);
328 ar = (AsyncResult) msg.obj;
329 if (ar.exception == null) {
330 mPhoneBookRecords.addAll((ArrayList<AdnRecord>)ar.result);
338 ar = (AsyncResult) msg.obj;
339 if (ar.exception == null) {
340 mIapFileRecord = ((ArrayList<byte[]>)ar
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DAdnRecordLoader.java133 AsyncResult ar;
140 ar = (AsyncResult)(msg.obj);
141 adn = (AdnRecord)(ar.userObj);
143 if (ar.exception != null) {
145 ar.exception);
148 int[] recordSize = (int[])ar.result;
156 ar.exception);
163 ar.exception);
173 ar = (AsyncResult)(msg.obj);
174 if (ar
[all...]
H A DIccFileHandler.java289 AsyncResult ar;
305 ar = (AsyncResult) msg.obj;
306 lc = (LoadLinearFixedContext) ar.userObj;
307 result = (IccIoResult) ar.result;
312 sendResult(response, result.payload, ar.exception);
316 ar = (AsyncResult) msg.obj;
317 response = (Message) ar.userObj;
318 result = (IccIoResult) ar.result;
322 sendResult(response, result.payload, ar.exception);
326 ar
[all...]
H A DIccCard.java382 private void getIccCardStatusDone(AsyncResult ar) { argument
383 if (ar.exception != null) {
386 + "never return an error", ar.exception);
389 handleIccCardStatus((IccCardStatus) ar.result);
433 * @param ar is asyncResult of Query_Facility_Locked
435 private void onQueryFdnEnabled(AsyncResult ar) { argument
436 if(ar.exception != null) {
437 if(mDbg) log("Error in querying facility lock:" + ar.exception);
441 int[] ints = (int[])ar.result;
452 * @param ar i
454 onQueryFacilityLock(AsyncResult ar) argument
[all...]
H A DIccPhoneBookInterfaceManager.java51 AsyncResult ar;
55 ar = (AsyncResult) msg.obj;
57 if (ar.exception == null) {
58 recordSize = (int[])ar.result;
70 ar = (AsyncResult) msg.obj;
72 success = (ar.exception == null);
77 ar = (AsyncResult)msg.obj;
79 if (ar.exception == null) {
80 records = (List<AdnRecord>) ar.result;
H A DAdnRecordCache.java82 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset"));
83 notifyWaiters(waiters, ar);
290 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { argument
299 AsyncResult.forMessage(waiter, ar.result, ar.exception);
308 AsyncResult ar;
314 ar = (AsyncResult) msg.obj;
321 if (ar.exception == null) {
322 adnLikeFiles.put(efid, (ArrayList<AdnRecord>) ar.result);
324 notifyWaiters(waiters, ar);
[all...]
H A DDataConnection.java313 AsyncResult ar = new AsyncResult(o, null, null);
314 sendMessage(obtainMessage(EVENT_DEACTIVATE_DONE, ar));
347 * Send ar.userObj if its a message, which is should be back to originator.
390 * @param ar is the result
393 private SetupResult onSetupConnectionCompleted(AsyncResult ar) { argument
395 String[] response = ((String[]) ar.result);
396 ConnectionParams cp = (ConnectionParams) ar.userObj;
398 if (ar.exception != null) {
399 if (DBG) log("DataConnection Init failed " + ar.exception);
401 if (ar
[all...]
H A DPhoneBase.java244 AsyncResult ar;
249 ar = (AsyncResult)msg.obj;
250 if (ar.exception == null) {
316 AsyncResult ar = new AsyncResult(null, this, null);
317 mPreciseCallStateRegistrants.notifyRegistrants(ar);
471 AsyncResult ar = new AsyncResult(null, cn, null);
472 mDisconnectRegistrants.notifyRegistrants(ar);
517 AsyncResult ar = new AsyncResult(null, ss, null);
518 mServiceStateRegistrants.notifyRegistrants(ar);
994 AsyncResult ar
[all...]
H A DSMSDispatcher.java282 AsyncResult ar;
293 ar = (AsyncResult) msg.obj;
295 if (ar.exception != null) {
296 Log.e(TAG, "Exception processing incoming SMS. Exception:" + ar.exception);
300 sms = (SmsMessage) ar.result;
379 ar = (AsyncResult)msg.obj;
380 if (ar.exception != null) {
441 * @param ar AsyncResult passed into the message handler. ar.result should
444 protected abstract void handleStatusReport(AsyncResult ar); argument
455 handleSendComplete(AsyncResult ar) argument
982 handleBroadcastSms(AsyncResult ar) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DRuimRecords.java184 AsyncResult ar;
206 ar = (AsyncResult)msg.obj;
207 String localTemp[] = (String[])ar.result;
208 if (ar.exception != null) {
223 ar = (AsyncResult)msg.obj;
224 data = (byte[])ar.result;
226 if (ar.exception != null) {
237 ar = (AsyncResult)msg.obj;
238 if (ar.exception != null) {
239 Log.i(LOG_TAG, "RuimRecords update failed", ar
[all...]
H A DRuimSmsInterfaceManager.java57 AsyncResult ar;
61 ar = (AsyncResult) msg.obj;
63 mSuccess = (ar.exception == null);
68 ar = (AsyncResult)msg.obj;
70 if (ar.exception == null) {
72 buildValidRawData((ArrayList<byte[]>) ar.result);
H A DCdmaMmiCode.java236 AsyncResult ar;
239 ar = (AsyncResult) (msg.obj);
240 onSetComplete(ar);
258 onSetComplete(AsyncResult ar){ argument
262 if (ar.exception != null) {
264 if (ar.exception instanceof CommandException) {
265 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
H A DCdmaServiceStateTracker.java291 AsyncResult ar;
348 ar = (AsyncResult) msg.obj;
349 onSignalStrengthResult(ar);
355 ar = (AsyncResult) msg.obj;
357 if (ar.exception == null) {
358 String states[] = (String[])ar.result;
404 ar = (AsyncResult) msg.obj;
405 handlePollStateResult(msg.what, ar);
409 ar = (AsyncResult) msg.obj;
411 if (ar
630 handlePollStateResult(int what, AsyncResult ar) argument
1199 onSignalStrengthResult(AsyncResult ar) argument
[all...]
H A DCDMAPhone.java933 AsyncResult ar = (AsyncResult)msg.obj;
935 Log.d(LOG_TAG, "handleExitEmergencyCallbackMode,ar.exception , mIsPhoneInEcmState "
936 + ar.exception + mIsPhoneInEcmState);
942 mEcmExitRespRegistrant.notifyRegistrant(ar);
945 if (ar.exception == null) {
995 AsyncResult ar;
1007 ar = (AsyncResult)msg.obj;
1009 if (ar.exception != null) {
1013 if (DBG) Log.d(LOG_TAG, "Baseband version: " + ar.result);
1014 setSystemProperty(TelephonyProperties.PROPERTY_BASEBAND_VERSION, (String)ar
[all...]
H A DCdmaDataConnectionTracker.java720 protected void onDataSetupComplete(AsyncResult ar) { argument
722 if (ar.userObj instanceof String) {
723 reason = (String) ar.userObj;
726 if (ar.exception == null) {
730 FailCause cause = (FailCause) (ar.result);
745 protected void onDisconnectDone(AsyncResult ar) { argument
748 if (ar.userObj instanceof String) {
749 reason = (String) ar.userObj;
778 protected void onResetDone(AsyncResult ar) { argument
781 if (ar
857 onCdmaOtaProvision(AsyncResult ar) argument
895 onDataStateChanged(AsyncResult ar) argument
[all...]
/frameworks/base/core/java/android/os/
H A DRegistrant.java62 * This makes a copy of @param ar
65 notifyRegistrant(AsyncResult ar) argument
67 internalNotifyRegistrant (ar.result, ar.exception);
H A DRegistrantList.java104 notifyRegistrants(AsyncResult ar) argument
106 internalNotifyRegistrants(ar.result, ar.exception);
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMPhoneTest.java143 AsyncResult ar;
314 ar = (AsyncResult) msg.obj;
315 cn = (Connection) ar.result;
606 ar = (AsyncResult) msg.obj;
607 cn = (Connection) ar.result;
1366 AsyncResult ar;
1373 ar = (AsyncResult) (msg.obj);
1374 cn = (Connection) (ar.result);
1382 ar = (AsyncResult) (msg.obj);
1383 assertEquals(Connection.PostDialState.STARTED, ar
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DIconLoader.java132 AsyncResult ar;
137 ar = (AsyncResult) msg.obj;
138 if (handleImageDescriptor((byte[]) ar.result)) {
145 ar = (AsyncResult) msg.obj;
146 byte[] rawData = ((byte[]) ar.result);
157 ar = (AsyncResult) msg.obj;
158 byte [] clut = ((byte[]) ar.result);
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java398 TypedArray ar = mResources.obtainTypedArray(
400 int N = preloadDrawables(runtime, ar);
405 ar = mResources.obtainTypedArray(
407 N = preloadColorStateLists(runtime, ar);
419 private static int preloadColorStateLists(VMRuntime runtime, TypedArray ar) { argument
420 int N = ar.length();
430 int id = ar.getResourceId(i, 0);
442 private static int preloadDrawables(VMRuntime runtime, TypedArray ar) { argument
443 int N = ar.length();
453 int id = ar
[all...]

Completed in 957 milliseconds

12