Searched defs:ar (Results 26 - 43 of 43) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java289 AsyncResult ar;
333 ar = (AsyncResult) msg.obj;
334 onSignalStrengthResult(ar, true);
340 ar = (AsyncResult) msg.obj;
342 if (ar.exception == null) {
343 String states[] = (String[])ar.result;
371 ar = (AsyncResult) msg.obj;
373 handlePollStateResult(msg.what, ar);
383 ar = (AsyncResult) msg.obj;
385 String nitzString = (String)((Object[])ar
701 handlePollStateResult(int what, AsyncResult ar) argument
1421 onRestrictedStateChanged(AsyncResult ar) argument
[all...]
H A DGsmMmiCode.java1074 AsyncResult ar;
1078 ar = (AsyncResult) (msg.obj);
1080 onSetComplete(msg, ar);
1084 ar = (AsyncResult) (msg.obj);
1090 if ((ar.exception == null) && (msg.arg1 == 1)) {
1097 onSetComplete(msg, ar);
1101 ar = (AsyncResult) (msg.obj);
1102 onGetClirComplete(ar);
1106 ar = (AsyncResult) (msg.obj);
1107 onQueryCfComplete(ar);
1139 getErrorMessage(AsyncResult ar) argument
1193 onSetComplete(Message msg, AsyncResult ar) argument
1288 onGetClirComplete(AsyncResult ar) argument
1468 onQueryCfComplete(AsyncResult ar) argument
1522 onQueryComplete(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccFileHandler.java403 private boolean processException(Message response, AsyncResult ar) { argument
406 IccIoResult result = (IccIoResult) ar.result;
407 if (ar.exception != null) {
408 sendResult(response, null, ar.exception);
424 AsyncResult ar;
439 ar = (AsyncResult)msg.obj;
440 lc = (LoadLinearFixedContext) ar.userObj;
441 result = (IccIoResult) ar.result;
466 ar = (AsyncResult)msg.obj;
467 lc = (LoadLinearFixedContext) ar
[all...]
H A DRuimRecords.java241 public void onRecordLoaded(AsyncResult ar) { argument
242 mEFpl = (byte[]) ar.result;
255 public void onRecordLoaded(AsyncResult ar) { argument
256 mEFli = (byte[]) ar.result;
283 public void onRecordLoaded(AsyncResult ar) { argument
284 byte[] data = (byte[]) ar.result;
356 public void onRecordLoaded(AsyncResult ar) { argument
357 byte[] data = (byte[]) ar.result;
373 public void onRecordLoaded(AsyncResult ar) { argument
374 byte[] data = (byte[]) ar
410 onRecordLoaded(AsyncResult ar) argument
443 onRecordLoaded(AsyncResult ar) argument
448 onGetCSimEprlDone(AsyncResult ar) argument
479 onRecordLoaded(AsyncResult ar) argument
[all...]
H A DIccRecords.java161 void onRecordLoaded(AsyncResult ar); argument
458 AsyncResult ar;
463 ar = (AsyncResult) msg.obj;
464 IccRecordLoaded recordLoaded = (IccRecordLoaded) ar.userObj;
467 if (ar.exception != null) {
468 loge("Record Load Exception: " + ar.exception);
470 recordLoaded.onRecordLoaded(ar);
482 ar = (AsyncResult)msg.obj;
485 if (ar.exception != null) {
486 loge("Exception ICC SIM AKA: " + ar
[all...]
H A DSIMRecords.java612 AsyncResult ar;
638 ar = (AsyncResult)msg.obj;
640 if (ar.exception != null) {
641 loge("Exception querying IMSI, Exception:" + ar.exception);
645 mImsi = (String) ar.result;
695 ar = (AsyncResult)msg.obj;
696 data = (byte[]) ar.result;
699 if (ar.exception == null) {
740 ar = (AsyncResult)msg.obj;
742 if (ar
1240 onRecordLoaded(AsyncResult ar) argument
1251 onRecordLoaded(AsyncResult ar) argument
1702 getSpnFsm(boolean start, AsyncResult ar) argument
[all...]
H A DUiccCardApplication.java223 * @param ar is asyncResult of Query_Facility_Locked
225 private void onQueryFdnEnabled(AsyncResult ar) { argument
227 if (ar.exception != null) {
228 if (DBG) log("Error in querying facility lock:" + ar.exception);
232 int[] result = (int[])ar.result;
250 private void onChangeFdnDone(AsyncResult ar) { argument
254 if (ar.exception == null) {
259 attemptsRemaining = parsePinPukErrorResult(ar);
260 loge("Error change facility fdn with exception " + ar.exception);
262 Message response = (Message)ar
280 onQueryFacilityLock(AsyncResult ar) argument
330 onChangeFacilityLock(AsyncResult ar) argument
352 parsePinPukErrorResult(AsyncResult ar) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp156 AudioRecord* const ar = local
158 return sp<AudioRecord>(ar);
161 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) argument
166 if (ar.get()) {
167 ar->incStrong((void*)setAudioRecord);
172 env->SetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (jlong)ar.get());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java489 void handleNewSms(AsyncResult ar) { argument
490 if (ar.exception != null) {
491 loge("Exception processing incoming SMS: " + ar.exception);
497 SmsMessage sms = (SmsMessage) ar.result;
514 * @param ar is the AsyncResult that has the SMS PDU to be injected.
516 void handleInjectSms(AsyncResult ar) { argument
520 receivedIntent = (PendingIntent) ar.userObj;
521 SmsMessage sms = (SmsMessage) ar.result;
H A DSMSDispatcher.java621 * @param ar AsyncResult passed into the message handler. ar.result should
622 * an SmsResponse instance if send was successful. ar.userObj
625 protected void handleSendComplete(AsyncResult ar) { argument
626 SmsTracker tracker = (SmsTracker) ar.userObj;
629 if (ar.result != null) {
630 tracker.mMessageRef = ((SmsResponse)ar.result).mMessageRef;
635 if (ar.exception == null) {
665 } else if ((((CommandException)(ar.exception)).getCommandError()
681 if (ar
[all...]
H A DServiceStateTracker.java584 AsyncResult ar = (AsyncResult) msg.obj;
585 CellInfoResult result = (CellInfoResult) ar.userObj;
587 if (ar.exception != null) {
588 log("EVENT_GET_CELL_INFO_LIST: error ret null, e=" + ar.exception);
591 result.list = (List<CellInfo>) ar.result;
606 AsyncResult ar = (AsyncResult) msg.obj;
607 if (ar.exception != null) {
608 log("EVENT_UNSOL_CELL_INFO_LIST: error ignoring, e=" + ar.exception);
610 List<CellInfo> list = (List<CellInfo>) ar.result;
627 AsyncResult ar
641 handlePollStateResult(int what, AsyncResult ar) argument
839 onSignalStrengthResult(AsyncResult ar, boolean isGsm) argument
[all...]
H A DPhoneBase.java565 AsyncResult ar;
588 ar = (AsyncResult)msg.obj;
589 if (ar.exception == null) {
615 ar = (AsyncResult) msg.obj;
616 if ((ar.exception == null) && (ar.result != null)) {
617 String dialString = (String) ar.result;
628 ar = (AsyncResult)msg.obj;
629 if (ar.exception == null) {
630 handleSrvccStateChanged((int[]) ar
1116 handleSetSelectNetwork(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java291 AsyncResult ar;
358 ar = (AsyncResult) msg.obj;
359 onSignalStrengthResult(ar, false);
365 ar = (AsyncResult) msg.obj;
367 if (ar.exception == null) {
368 String states[] = (String[])ar.result;
415 ar = (AsyncResult) msg.obj;
416 handlePollStateResult(msg.what, ar);
420 ar = (AsyncResult) msg.obj;
422 if (ar
628 handlePollStateResultMessage(int what, AsyncResult ar) argument
819 handlePollStateResult(int what, AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java1686 AsyncResult ar;
1781 protected void handlePollCalls(AsyncResult ar) { argument
H A DImsPhoneMmiCode.java1033 AsyncResult ar;
1037 ar = (AsyncResult) (msg.obj);
1039 onSetComplete(msg, ar);
1043 ar = (AsyncResult) (msg.obj);
1049 if ((ar.exception == null) && (msg.arg1 == 1)) {
1056 onSetComplete(msg, ar);
1060 ar = (AsyncResult) (msg.obj);
1061 onQueryCfComplete(ar);
1065 ar = (AsyncResult) (msg.obj);
1066 onQueryComplete(ar);
1133 getErrorMessage(AsyncResult ar) argument
1166 onSetComplete(Message msg, AsyncResult ar) argument
1312 onQueryCfComplete(AsyncResult ar) argument
1376 onSuppSvcQueryComplete(AsyncResult ar) argument
1434 onIcbQueryComplete(AsyncResult ar) argument
1476 onQueryClirComplete(AsyncResult ar) argument
1571 onQueryComplete(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java613 AsyncResult ar = new AsyncResult(o, null, null);
614 sendMessage(obtainMessage(EVENT_DEACTIVATE_DONE, mTag, 0, ar));
692 * Send ar.userObj if its a message, which is should be back to originator.
773 * @param ar is the result
776 private DataCallResponse.SetupResult onSetupConnectionCompleted(AsyncResult ar) { argument
777 DataCallResponse response = (DataCallResponse) ar.result;
778 ConnectionParams cp = (ConnectionParams) ar.userObj;
786 } else if (ar.exception != null) {
788 log("onSetupConnectionCompleted failed, ar.exception=" + ar
[all...]
H A DDcTracker.java1829 protected void onDataSetupComplete(AsyncResult ar) { argument
1833 ApnContext apnContext = getValidApnContext(ar, "onDataSetupComplete");
1837 if (ar.exception == null) {
1964 cause = (DcFailCause) (ar.result);
1994 onDataSetupCompleteError(ar);
2021 private ApnContext getValidApnContext(AsyncResult ar, String logString) { argument
2022 if (ar != null && ar.userObj instanceof Pair) {
2023 Pair<ApnContext, Integer>pair = (Pair<ApnContext, Integer>)ar.userObj;
2051 protected void onDataSetupCompleteError(AsyncResult ar) { argument
2089 onDisconnectDone(AsyncResult ar) argument
2162 onDisconnectDcRetrying(AsyncResult ar) argument
[all...]
H A DDcTrackerBase.java878 protected abstract void onDataSetupComplete(AsyncResult ar); argument
879 protected abstract void onDataSetupCompleteError(AsyncResult ar); argument
880 protected abstract void onDisconnectDone(AsyncResult ar); argument
881 protected abstract void onDisconnectDcRetrying(AsyncResult ar); argument
1324 protected void onResetDone(AsyncResult ar) { argument
1327 if (ar.userObj instanceof String) {
1328 reason = (String) ar.userObj;

Completed in 231 milliseconds

12