Searched refs:ar (Results 26 - 50 of 72) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsStorageMonitor.java99 AsyncResult ar;
107 ar = (AsyncResult) msg.obj;
108 if (ar.exception != null) {
H A DIccRecords.java105 void onRecordLoaded(AsyncResult ar); argument
337 AsyncResult ar = (AsyncResult) msg.obj;
338 IccRecordLoaded recordLoaded = (IccRecordLoaded) ar.userObj;
341 if (ar.exception != null) {
342 loge("Record Load Exception: " + ar.exception);
344 recordLoaded.onRecordLoaded(ar);
H A DServiceStateTracker.java355 protected abstract void handlePollStateResult(int what, AsyncResult ar); argument
513 protected boolean onSignalStrengthResult(AsyncResult ar, boolean isGsm) { argument
519 if ((ar.exception == null) && (ar.result != null)) {
520 mSignalStrength = (SignalStrength) ar.result;
524 log("onSignalStrengthResult() Exception from RIL : " + ar.exception);
H A DPhoneBase.java301 AsyncResult ar;
306 ar = (AsyncResult)msg.obj;
307 if (ar.exception == null) {
381 AsyncResult ar = new AsyncResult(null, this, null);
382 mPreciseCallStateRegistrants.notifyRegistrants(ar);
536 AsyncResult ar = new AsyncResult(null, cn, null);
537 mDisconnectRegistrants.notifyRegistrants(ar);
582 AsyncResult ar = new AsyncResult(null, ss, null);
583 mServiceStateRegistrants.notifyRegistrants(ar);
1101 AsyncResult ar
[all...]
H A DSMSDispatcher.java293 AsyncResult ar;
304 ar = (AsyncResult) msg.obj;
306 if (ar.exception != null) {
307 Log.e(TAG, "Exception processing incoming SMS. Exception:" + ar.exception);
311 sms = (SmsMessage) ar.result;
419 * @param ar AsyncResult passed into the message handler. ar.result should
420 * an SmsResponse instance if send was successful. ar.userObj
423 protected void handleSendComplete(AsyncResult ar) { argument
424 SmsTracker tracker = (SmsTracker) ar
[all...]
H A DCallTracker.java92 protected abstract void handlePollCalls(AsyncResult ar); argument
H A DPhoneProxy.java93 AsyncResult ar = (AsyncResult) msg.obj;
102 if (ar.exception == null && ar.result != null) {
103 mRilVersion = (Integer) ar.result;
113 if (ar.exception == null) {
114 if ((ar.result != null) && (((int[]) ar.result).length != 0)) {
115 int newVoiceTech = ((int[]) ar.result)[0];
121 loge("Voice Radio Technology event " + msg.what + " exception!" + ar.exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java270 AsyncResult ar;
331 ar = (AsyncResult) msg.obj;
332 onSignalStrengthResult(ar, false);
338 ar = (AsyncResult) msg.obj;
340 if (ar.exception == null) {
341 String states[] = (String[])ar.result;
387 ar = (AsyncResult) msg.obj;
388 handlePollStateResult(msg.what, ar);
392 ar = (AsyncResult) msg.obj;
394 if (ar
569 handlePollStateResultMessage(int what, AsyncResult ar) argument
716 handlePollStateResult(int what, AsyncResult ar) argument
[all...]
H A DCdmaDataConnectionTracker.java601 protected void onDataSetupComplete(AsyncResult ar) { argument
603 if (ar.userObj instanceof String) {
604 reason = (String) ar.userObj;
607 if (isDataSetupCompleteOk(ar)) {
611 FailCause cause = (FailCause) (ar.result);
621 if (ar.exception instanceof DataConnection.CallSetupException) {
623 ((DataConnection.CallSetupException)ar.exception).getRetryOverride();
637 protected void onDisconnectDone(int connId, AsyncResult ar) { argument
640 if (ar.userObj instanceof String) {
641 reason = (String) ar
770 onCdmaOtaProvision(AsyncResult ar) argument
808 onDataStateChanged(AsyncResult ar) argument
[all...]
H A DCDMAPhone.java890 AsyncResult ar = (AsyncResult)msg.obj;
892 Log.d(LOG_TAG, "handleExitEmergencyCallbackMode,ar.exception , mIsPhoneInEcmState "
893 + ar.exception + mIsPhoneInEcmState);
899 mEcmExitRespRegistrant.notifyRegistrant(ar);
902 if (ar.exception == null) {
952 AsyncResult ar;
964 ar = (AsyncResult)msg.obj;
966 if (ar.exception != null) {
970 if (DBG) Log.d(LOG_TAG, "Baseband version: " + ar.result);
971 setSystemProperty(TelephonyProperties.PROPERTY_BASEBAND_VERSION, (String)ar
[all...]
H A DCdmaCallTracker.java477 handlePollCalls(AsyncResult ar) { argument
480 if (ar.exception == null) {
481 polledCalls = (List)ar.result;
482 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
948 AsyncResult ar;
953 ar = (AsyncResult)msg.obj;
977 ar = (AsyncResult)msg.obj;
981 if (ar.exception != null) {
988 causeCode = ((int[])ar.result)[0];
1028 ar
[all...]
H A DCdmaLteServiceStateTracker.java75 AsyncResult ar;
81 ar = (AsyncResult)msg.obj;
82 handlePollStateResult(msg.what, ar);
118 protected void handlePollStateResultMessage(int what, AsyncResult ar) { argument
120 String states[] = (String[])ar.result;
213 super.handlePollStateResultMessage(what, ar);
543 protected boolean onSignalStrengthResult(AsyncResult ar, boolean isGsm) { argument
547 boolean ssChanged = super.onSignalStrengthResult(ar, isGsm);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmMmiCode.java890 AsyncResult ar;
894 ar = (AsyncResult) (msg.obj);
896 onSetComplete(ar);
900 ar = (AsyncResult) (msg.obj);
906 if ((ar.exception == null) && (msg.arg1 == 1)) {
913 onSetComplete(ar);
917 ar = (AsyncResult) (msg.obj);
918 onGetClirComplete(ar);
922 ar = (AsyncResult) (msg.obj);
923 onQueryCfComplete(ar);
955 getErrorMessage(AsyncResult ar) argument
991 onSetComplete(AsyncResult ar) argument
1066 onGetClirComplete(AsyncResult ar) argument
1238 onQueryCfComplete(AsyncResult ar) argument
1292 onQueryComplete(AsyncResult ar) argument
[all...]
H A DUsimDataDownloadHandler.java250 AsyncResult ar = (AsyncResult) msg.obj;
252 if (ar.exception != null) {
253 Log.e(TAG, "UICC Send Envelope failure, exception: " + ar.exception);
259 int[] dcsPid = (int[]) ar.userObj;
260 sendSmsAckForEnvelopeResponse((IccIoResult) ar.result, dcsPid[0], dcsPid[1]);
H A DGsmSMSDispatcher.java104 AsyncResult ar = (AsyncResult) msg.obj;
105 if (ar.exception == null) {
109 Log.d(TAG, "Failed to write SMS-PP message to UICC", ar.exception);
124 * @param ar AsyncResult passed into the message handler. ar.result should
127 private void handleStatusReport(AsyncResult ar) { argument
128 String pduString = (String) ar.result;
374 * @param ar the AsyncResult containing the received PDUs
376 private void handleBroadcastSms(AsyncResult ar) { argument
378 byte[] receivedPdu = (byte[])ar
[all...]
H A DGsmCallTracker.java413 handlePollCalls(AsyncResult ar) { argument
416 if (ar.exception == null) {
417 polledCalls = (List)ar.result;
418 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
836 AsyncResult ar;
840 ar = (AsyncResult)msg.obj;
852 ar = (AsyncResult)msg.obj;
860 ar = (AsyncResult)msg.obj;
861 if (ar.exception != null) {
869 ar
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DArchive.cpp124 ArchiveMember& ar = entry->value(); local
125 ar.file = *pLastPos;
126 ar.lastPos = pLastPos;
127 ar.move = pMove;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DIsimUiccRecords.java133 public void onRecordLoaded(AsyncResult ar) { argument
134 byte[] data = (byte[]) ar.result;
144 public void onRecordLoaded(AsyncResult ar) { argument
145 ArrayList<byte[]> impuList = (ArrayList<byte[]>) ar.result;
161 public void onRecordLoaded(AsyncResult ar) { argument
162 byte[] data = (byte[]) ar.result;
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp88 AndroidRuntime* ar = AndroidRuntime::getRuntime(); local
89 ar->callMain(mClassName, mClass, mArgC, mArgV);
/frameworks/wilhelm/src/
H A Dhandler_bodies.c99 CAudioRecorder* ar = (CAudioRecorder *) thiz; local
100 android_audioRecorder_useRecordEventMask(ar);
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp14 JavaInputStreamAdaptor(JNIEnv* env, jobject js, jbyteArray ar) argument
15 : fEnv(env), fJavaInputStream(js), fJavaByteArray(ar) {
16 SkASSERT(ar);
17 fCapacity = env->GetArrayLength(ar);
H A DMovie.cpp110 AutoJavaByteArray ar(env, byteArray);
111 SkMovie* moov = SkMovie::DecodeMemory(ar.ptr() + offset, length);
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp146 AudioRecord* const ar = local
148 return sp<AudioRecord>(ar);
151 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) argument
156 if (ar.get()) {
157 ar->incStrong(thiz);
162 env->SetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (int)ar.get());
/frameworks/compile/libbcc/runtime/make/
H A Doptions.mk28 AR := ar
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java131 AudioRecord ar = null;
133 ar = new AudioRecord(MediaRecorder.AudioSource.DEFAULT,
140 assertNotNull("Could not create AudioRecord", ar);
142 AudioRecord.STATE_INITIALIZED, ar.getState());
146 return ar;
158 AudioRecord ar = null;
160 ar = getAudioRecord();
161 sessionId = ar.getAudioSessionId();
178 if (ar != null) {
179 ar
[all...]

Completed in 411 milliseconds

123