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

1234

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneBase.java460 AsyncResult ar;
470 ar = (AsyncResult)msg.obj;
471 if (ar.exception == null) {
503 ar = (AsyncResult) msg.obj;
504 if ((ar.exception == null) && (ar.result != null)) {
505 String dialString = (String) ar.result;
516 ar = (AsyncResult)msg.obj;
517 if (ar.exception == null) {
518 handleSrvccStateChanged((int[]) ar
843 handleSetSelectNetwork(AsyncResult ar) argument
[all...]
H A DServiceStateTracker.java426 AsyncResult ar = (AsyncResult) msg.obj;
427 CellInfoResult result = (CellInfoResult) ar.userObj;
429 if (ar.exception != null) {
430 log("EVENT_GET_CELL_INFO_LIST: error ret null, e=" + ar.exception);
433 result.list = (List<CellInfo>) ar.result;
448 AsyncResult ar = (AsyncResult) msg.obj;
449 if (ar.exception != null) {
450 log("EVENT_UNSOL_CELL_INFO_LIST: error ignoring, e=" + ar.exception);
452 List<CellInfo> list = (List<CellInfo>) ar.result;
471 protected abstract void handlePollStateResult(int what, AsyncResult ar); argument
668 onSignalStrengthResult(AsyncResult ar, boolean isGsm) argument
[all...]
H A DImsSMSDispatcher.java102 AsyncResult ar;
111 ar = (AsyncResult) msg.obj;
113 if (ar.exception == null) {
114 updateImsInfo(ar);
117 + ar.exception);
141 private void updateImsInfo(AsyncResult ar) { argument
142 int[] responseArray = (int[])ar.result;
282 AsyncResult ar = new AsyncResult(receivedIntent, msg, null);
287 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, ar);
291 mCdmaInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, ar);
[all...]
H A DIccSmsInterfaceManager.java89 AsyncResult ar;
93 ar = (AsyncResult) msg.obj;
95 mSuccess = (ar.exception == null);
100 ar = (AsyncResult)msg.obj;
102 if (ar.exception == null) {
103 mSms = buildValidRawData((ArrayList<byte[]>) ar.result);
105 markMessagesAsRead((ArrayList<byte[]>) ar.result);
118 ar = (AsyncResult) msg.obj;
120 mSuccess = (ar.exception == null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java1379 AsyncResult ar;
1421 ar = (AsyncResult)msg.obj;
1423 if (ar.exception != null) {
1427 if (LOCAL_DEBUG) Rlog.d(LOG_TAG, "Baseband version: " + ar.result);
1428 setSystemProperty(PROPERTY_BASEBAND_VERSION, (String)ar.result);
1432 ar = (AsyncResult)msg.obj;
1434 if (ar.exception != null) {
1438 mImei = (String)ar.result;
1442 ar = (AsyncResult)msg.obj;
1444 if (ar
[all...]
H A DGsmServiceStateTracker.java286 AsyncResult ar;
338 ar = (AsyncResult) msg.obj;
339 onSignalStrengthResult(ar, true);
345 ar = (AsyncResult) msg.obj;
347 if (ar.exception == null) {
348 String states[] = (String[])ar.result;
376 ar = (AsyncResult) msg.obj;
378 handlePollStateResult(msg.what, ar);
388 ar = (AsyncResult) msg.obj;
390 String nitzString = (String)((Object[])ar
660 handlePollStateResult(int what, AsyncResult ar) argument
1268 onRestrictedStateChanged(AsyncResult ar) argument
[all...]
H A DGsmCellBroadcastHandler.java88 * @param ar the AsyncResult containing the received PDUs
90 private SmsCbMessage handleGsmBroadcastSms(AsyncResult ar) { argument
92 byte[] receivedPdu = (byte[]) ar.result;
H A DGsmCallTracker.java420 handlePollCalls(AsyncResult ar) { argument
423 if (ar.exception == null) {
424 polledCalls = (List)ar.result;
425 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
858 AsyncResult ar;
867 ar = (AsyncResult)msg.obj;
879 ar = (AsyncResult)msg.obj;
887 ar = (AsyncResult)msg.obj;
888 if (ar.exception != null) {
896 ar
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java394 TypedArray ar = mResources.obtainTypedArray(
396 int N = preloadDrawables(runtime, ar);
397 ar.recycle();
402 ar = mResources.obtainTypedArray(
404 N = preloadColorStateLists(runtime, ar);
405 ar.recycle();
417 private static int preloadColorStateLists(VMRuntime runtime, TypedArray ar) { argument
418 int N = ar.length();
428 int id = ar.getResourceId(i, 0);
437 + " (" + ar
445 preloadDrawables(VMRuntime runtime, TypedArray ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaMmiCode.java281 AsyncResult ar;
284 ar = (AsyncResult) (msg.obj);
285 onSetComplete(msg, ar);
303 onSetComplete(Message msg, AsyncResult ar){ argument
307 if (ar.exception != null) {
309 if (ar.exception instanceof CommandException) {
310 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
H A DCdmaServiceStateTracker.java283 AsyncResult ar;
353 ar = (AsyncResult) msg.obj;
354 onSignalStrengthResult(ar, false);
360 ar = (AsyncResult) msg.obj;
362 if (ar.exception == null) {
363 String states[] = (String[])ar.result;
410 ar = (AsyncResult) msg.obj;
411 handlePollStateResult(msg.what, ar);
415 ar = (AsyncResult) msg.obj;
417 if (ar
594 handlePollStateResultMessage(int what, AsyncResult ar) argument
784 handlePollStateResult(int what, AsyncResult ar) argument
[all...]
H A DCdmaCallTracker.java491 handlePollCalls(AsyncResult ar) { argument
494 if (ar.exception == null) {
495 polledCalls = (List)ar.result;
496 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
959 AsyncResult ar;
968 ar = (AsyncResult)msg.obj;
992 ar = (AsyncResult)msg.obj;
996 if (ar.exception != null) {
1003 causeCode = ((int[])ar.result)[0];
1043 ar
[all...]
H A DCdmaLteServiceStateTracker.java79 AsyncResult ar;
93 ar = (AsyncResult)msg.obj;
94 handlePollStateResult(msg.what, ar);
139 protected void handlePollStateResultMessage(int what, AsyncResult ar) { argument
141 String states[] = (String[])ar.result;
240 super.handlePollStateResultMessage(what, ar);
537 protected boolean onSignalStrengthResult(AsyncResult ar, boolean isGsm) { argument
541 boolean ssChanged = super.onSignalStrengthResult(ar, isGsm);
H A DCDMAPhone.java1104 AsyncResult ar = (AsyncResult)msg.obj;
1106 Rlog.d(LOG_TAG, "handleExitEmergencyCallbackMode,ar.exception , mIsPhoneInEcmState "
1107 + ar.exception + mIsPhoneInEcmState);
1113 mEcmExitRespRegistrant.notifyRegistrant(ar);
1116 if (ar.exception == null) {
1172 AsyncResult ar;
1189 ar = (AsyncResult)msg.obj;
1191 if (ar.exception != null) {
1195 if (DBG) Rlog.d(LOG_TAG, "Baseband version: " + ar.result);
1196 setSystemProperty(TelephonyProperties.PROPERTY_BASEBAND_VERSION, (String)ar
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java156 AsyncResult ar;
160 ar = (AsyncResult)msg.obj;
161 if (ar.exception == null) {
164 ar.result);
172 ar = (AsyncResult)msg.obj;
173 if (ar.exception == null) {
174 onDataStateChanged((ArrayList<DataCallResponse>)ar.result);
H A DDataConnection.java587 AsyncResult ar = new AsyncResult(o, null, null);
588 sendMessage(obtainMessage(EVENT_DEACTIVATE_DONE, mTag, 0, ar));
663 * Send ar.userObj if its a message, which is should be back to originator.
744 * @param ar is the result
747 private DataCallResponse.SetupResult onSetupConnectionCompleted(AsyncResult ar) { argument
748 DataCallResponse response = (DataCallResponse) ar.result;
749 ConnectionParams cp = (ConnectionParams) ar.userObj;
757 } else if (ar.exception != null) {
759 log("onSetupConnectionCompleted failed, ar.exception=" + ar
[all...]
H A DDcRetryAlarmController.java109 * @param ar is the result from SETUP_DATA_CALL
112 int getSuggestedRetryTime(DataConnection dc, AsyncResult ar) { argument
115 DataCallResponse response = (DataCallResponse) ar.result;
/frameworks/compile/mclinker/lib/LD/
H A DArchive.cpp129 ArchiveMember& ar = entry->value(); local
131 ar.file = &m_ArchiveFile;
133 ar.file = *pLastPos;
134 ar.lastPos = pLastPos;
135 ar.move = pMove;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhone.java548 AsyncResult ar = new AsyncResult(null, null, null);
549 sendMessage(obtainMessage(EVENT_CALL_RING, ar));
940 AsyncResult ar = new AsyncResult(null, result, null);
941 if (ar != null) {
942 mSilentRedialRegistrants.notifyRegistrants(ar);
1050 AsyncResult ar = (AsyncResult) msg.obj;
1057 Cf cf = (Cf) ar.userObj;
1058 if (cf.mIsCfu && ar.exception == null && r != null) {
1061 sendResponse(cf.mOnComplete, null, ar.exception);
1066 if (ar
[all...]
/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.cpp17 JavaInputStreamAdaptor(JNIEnv* env, jobject js, jbyteArray ar) argument
18 : fEnv(env), fJavaInputStream(js), fJavaByteArray(ar) {
19 SkASSERT(ar);
20 fCapacity = env->GetArrayLength(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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java375 AsyncResult ar = (AsyncResult)msg.obj;
376 if (ar.exception != null) {
378 log("Error in SIM access with exception" + ar.exception);
380 AsyncResult.forMessage((Message)ar.userObj, ar.result, ar.exception);
381 ((Message)ar.userObj).sendToTarget();
/frameworks/base/core/java/android/app/
H A DActivity.java3736 Instrumentation.ActivityResult ar =
3740 if (ar != null) {
3742 mToken, mEmbeddedID, requestCode, ar.getResultCode(),
3743 ar.getResultData());
3793 Instrumentation.ActivityResult ar = mInstrumentation.execStartActivity(
3796 if (ar != null) {
3798 mToken, mEmbeddedID, requestCode, ar.getResultCode(), ar.getResultData());
3831 Instrumentation.ActivityResult ar =
3835 if (ar !
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp125 AudioRecord* const ar = local
127 return sp<AudioRecord>(ar);
130 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) argument
135 if (ar.get()) {
136 ar->incStrong((void*)setAudioRecord);
141 env->SetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (jlong)ar.get());

Completed in 374 milliseconds

1234