Searched defs:ar (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/os/
H A DRegistrant.java61 * This makes a copy of @param ar
64 notifyRegistrant(AsyncResult ar) argument
66 internalNotifyRegistrant (ar.result, ar.exception);
H A DRegistrantList.java102 notifyRegistrants(AsyncResult ar) argument
104 internalNotifyRegistrants(ar.result, ar.exception);
/frameworks/wilhelm/src/
H A Dhandler_bodies.cpp99 CAudioRecorder* ar = (CAudioRecorder *) thiz; local
100 android_audioRecorder_useRecordEventMask(ar);
/frameworks/compile/mclinker/lib/LD/
H A DGroupReader.cpp78 Archive* ar = new Archive(**input, pBuilder); local
79 ArchiveListEntry* entry = new ArchiveListEntry(*ar, input);
82 m_ArchiveReader.readArchive(pConfig, *ar);
83 cur_obj_cnt += ar->numOfObjectMember();
119 Archive& ar = (*it)->archive; local
121 if (ar.getARFile().attribute()->isWholeArchive())
123 m_ArchiveReader.readArchive(pConfig, ar);
124 cur_obj_cnt += ar.numOfObjectMember();
131 Archive& ar = (*it)->archive; local
132 if (ar
[all...]
H A DArchive.cpp116 ArchiveMember& ar = entry->value(); local
118 ar.file = &m_ArchiveFile;
120 ar.file = *pLastPos;
121 ar.lastPos = pLastPos;
122 ar.move = pMove;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCellBroadcastHandler.java87 * @param ar the AsyncResult containing the received PDUs
89 private SmsCbMessage handleGsmBroadcastSms(AsyncResult ar) { argument
91 byte[] receivedPdu = (byte[]) ar.result;
H A DGsmSMSDispatcher.java116 * @param ar AsyncResult passed into the message handler. ar.result should
119 private void handleStatusReport(AsyncResult ar) { argument
120 byte[] pdu = (byte[]) ar.result;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyDevController.java115 AsyncResult ar = (AsyncResult) sRilHardwareConfig.obj;
116 if (ar.exception == null) {
117 handleGetHardwareConfigChanged(ar);
132 AsyncResult ar;
136 ar = (AsyncResult) msg.obj;
137 handleGetHardwareConfigChanged(ar);
167 private static void handleGetHardwareConfigChanged(AsyncResult ar) { argument
168 if ((ar.exception == null) && (ar.result != null)) {
169 List hwcfg = (List)ar
[all...]
H A DImsSMSDispatcher.java101 AsyncResult ar;
110 ar = (AsyncResult) msg.obj;
112 if (ar.exception == null) {
113 updateImsInfo(ar);
116 + ar.exception);
140 private void updateImsInfo(AsyncResult ar) { argument
141 int[] responseArray = (int[])ar.result;
235 AsyncResult ar = new AsyncResult(receivedIntent, msg, null);
240 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, ar);
244 mCdmaInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, ar);
[all...]
H A DCallTracker.java97 protected abstract void handlePollCalls(AsyncResult ar); argument
H A DGsmCdmaCallTracker.java738 protected synchronized void handlePollCalls(AsyncResult ar) { argument
742 if (ar.exception == null) {
743 polledCalls = (List)ar.result;
744 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
1368 AsyncResult ar;
1401 ar = (AsyncResult) msg.obj;
1402 if (ar.exception != null) {
1420 ar = (AsyncResult)msg.obj;
1424 if (ar.exception != null) {
1431 LastCallFailCause failCause = (LastCallFailCause)ar
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSubscriptionSourceManager.java110 AsyncResult ar;
116 ar = (AsyncResult) msg.obj;
117 handleGetCdmaSubscriptionSource(ar);
126 ar = (AsyncResult)msg.obj;
127 if (ar.exception == null) {
128 int actStatus = ((int[])ar.result)[0];
138 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception);
181 * @param ar AsyncResult object that contains the result of get CDMA
184 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { argument
185 if ((ar
[all...]
H A DCdmaMmiCode.java288 AsyncResult ar;
291 ar = (AsyncResult) (msg.obj);
292 onSetComplete(msg, ar);
310 onSetComplete(Message msg, AsyncResult ar){ argument
314 if (ar.exception != null) {
316 if (ar.exception instanceof CommandException) {
317 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordCache.java81 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset"));
82 notifyWaiters(waiters, ar);
311 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { argument
320 AsyncResult.forMessage(waiter, ar.result, ar.exception);
330 AsyncResult ar;
336 ar = (AsyncResult) msg.obj;
343 if (ar.exception == null) {
344 mAdnLikeFiles.put(efid, (ArrayList<AdnRecord>) ar.result);
346 notifyWaiters(waiters, ar);
[all...]
H A DUiccController.java222 AsyncResult ar = (AsyncResult)msg.obj;
230 onGetIccCardStatusDone(ar, index);
242 onSimRefresh(ar, index);
251 AsyncResult ar;
263 ar = (AsyncResult)msg.obj;
264 if (ar.userObj != null && ar.userObj instanceof Integer) {
265 index = (Integer)ar.userObj;
285 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) { argument
286 if (ar
312 onSimRefresh(AsyncResult ar, Integer index) argument
[all...]
H A DIsimUiccRecords.java107 AsyncResult ar;
123 ar = (AsyncResult)msg.obj;
124 loge("ISim REFRESH(EVENT_ISIM_REFRESH) with exception: " + ar.exception);
125 if (ar.exception == null) {
129 handleIsimRefresh((IccRefreshResponse)ar.result);
134 ar = (AsyncResult)msg.obj;
136 if (ar.exception != null) {
137 log("Exception ISIM AKA: " + ar.exception);
140 auth_rsp = (String)ar.result;
204 public void onRecordLoaded(AsyncResult ar) { argument
215 onRecordLoaded(AsyncResult ar) argument
232 onRecordLoaded(AsyncResult ar) argument
243 onRecordLoaded(AsyncResult ar) argument
253 onRecordLoaded(AsyncResult ar) argument
[all...]
H A DIccFileHandler.java405 private boolean processException(Message response, AsyncResult ar) { argument
408 IccIoResult result = (IccIoResult) ar.result;
409 if (ar.exception != null) {
410 sendResult(response, null, ar.exception);
426 AsyncResult ar;
441 ar = (AsyncResult)msg.obj;
442 lc = (LoadLinearFixedContext) ar.userObj;
443 result = (IccIoResult) ar.result;
468 ar = (AsyncResult)msg.obj;
469 lc = (LoadLinearFixedContext) ar
[all...]
H A DRuimRecords.java243 public void onRecordLoaded(AsyncResult ar) { argument
244 mEFpl = (byte[]) ar.result;
257 public void onRecordLoaded(AsyncResult ar) { argument
258 mEFli = (byte[]) ar.result;
285 public void onRecordLoaded(AsyncResult ar) { argument
286 byte[] data = (byte[]) ar.result;
358 public void onRecordLoaded(AsyncResult ar) { argument
359 byte[] data = (byte[]) ar.result;
375 public void onRecordLoaded(AsyncResult ar) { argument
376 byte[] data = (byte[]) ar
412 onRecordLoaded(AsyncResult ar) argument
445 onRecordLoaded(AsyncResult ar) argument
450 onGetCSimEprlDone(AsyncResult ar) argument
481 onRecordLoaded(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDataConnectionTest.java177 private long getSuggestedRetryDelay(AsyncResult ar) throws Exception { argument
182 return (long) method.invoke(mDc, ar);
233 AsyncResult ar = new AsyncResult(null, response, null);
234 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar));
238 ar = new AsyncResult(null, response, null);
239 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar));
243 ar = new AsyncResult(null, response, null);
244 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar));
252 AsyncResult ar = new AsyncResult(null, response, null);
253 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar));
[all...]
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp84 AndroidRuntime* ar = AndroidRuntime::getRuntime(); local
85 ar->callMain(mClassName, mClass, mArgs);
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java359 TypedArray ar = mResources.obtainTypedArray(
361 int N = preloadDrawables(ar);
362 ar.recycle();
367 ar = mResources.obtainTypedArray(
369 N = preloadColorStateLists(ar);
370 ar.recycle();
377 ar = mResources.obtainTypedArray(
379 N = preloadDrawables(ar);
380 ar.recycle();
391 private static int preloadColorStateLists(TypedArray ar) { argument
411 preloadDrawables(TypedArray ar) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp19 JavaInputStreamAdaptor(JNIEnv* env, jobject js, jbyteArray ar) argument
20 : fEnv(env), fJavaInputStream(js), fJavaByteArray(ar) {
21 SkASSERT(ar);
22 fCapacity = env->GetArrayLength(ar);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsExternalCallTracker.java435 * @param ar The AsyncResult containing the new video capability of the device.
437 private void handleVideoCapabilitiesChanged(AsyncResult ar) { argument
438 mIsVideoCapable = (Boolean) ar.result;
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp36 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { argument
65 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) {
69 ar->mRecordSource = newRecordSource;
77 SLresult audioRecorder_setPerformanceMode(CAudioRecorder* ar, SLuint32 mode) { argument
102 // (ar->mAudioRecord is supposed to be NULL until then)
103 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) {
107 ar->mPerformanceMode = perfMode;
114 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { argument
117 switch (ar->mRecordSource) {
150 SLresult audioRecorder_getPerformanceMode(CAudioRecorder* ar, SLuint3 argument
176 audioRecorder_handleNewPos_lockRecord(CAudioRecorder* ar) argument
193 audioRecorder_handleMarker_lockRecord(CAudioRecorder* ar) argument
210 audioRecorder_handleOverrun_lockRecord(CAudioRecorder* ar) argument
228 android_audioRecorder_checkSourceSink(CAudioRecorder* ar) argument
310 CAudioRecorder *ar = (CAudioRecorder *)user; local
401 android_audioRecorder_create(CAudioRecorder* ar) argument
432 android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument
467 android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument
509 checkAndSetPerformanceModePre(CAudioRecorder* ar) argument
611 checkAndSetPerformanceModePost(CAudioRecorder* ar) argument
633 android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async) argument
782 android_audioRecorder_preDestroy(CAudioRecorder* ar) argument
792 android_audioRecorder_destroy(CAudioRecorder* ar) argument
806 android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) argument
834 android_audioRecorder_useRecordEventMask(CAudioRecorder *ar) argument
887 android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp187 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)data, 0); local
188 if (ar) {
189 memcpy(dest, ar + offset, length);
190 env->ReleasePrimitiveArrayCritical((jarray)data, ar, 0);
222 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)data, 0); local
223 if (ar == NULL) {
226 memcpy(blob.data(), ar + offset, length);
227 env->ReleasePrimitiveArrayCritical((jarray)data, ar, 0);

Completed in 352 milliseconds

12