/frameworks/base/core/java/android/os/ |
H A D | Registrant.java | 61 * This makes a copy of @param ar 64 notifyRegistrant(AsyncResult ar) argument 66 internalNotifyRegistrant (ar.result, ar.exception);
|
H A D | RegistrantList.java | 102 notifyRegistrants(AsyncResult ar) argument 104 internalNotifyRegistrants(ar.result, ar.exception);
|
/frameworks/wilhelm/src/ |
H A D | handler_bodies.cpp | 99 CAudioRecorder* ar = (CAudioRecorder *) thiz; local 100 android_audioRecorder_useRecordEventMask(ar);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | GroupReader.cpp | 78 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 D | Archive.cpp | 116 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 D | GsmCellBroadcastHandler.java | 87 * @param ar the AsyncResult containing the received PDUs 89 private SmsCbMessage handleGsmBroadcastSms(AsyncResult ar) { argument 91 byte[] receivedPdu = (byte[]) ar.result;
|
H A D | GsmSMSDispatcher.java | 116 * @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 D | TelephonyDevController.java | 115 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 D | ImsSMSDispatcher.java | 101 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 D | CallTracker.java | 97 protected abstract void handlePollCalls(AsyncResult ar); argument
|
H A D | NetworkScanRequestTracker.java | 101 private void logEmptyResultOrException(AsyncResult ar) { argument 102 if (ar.result == null) { 105 Log.e(TAG, "NetworkScanResult: Exception: " + ar.exception); 313 private synchronized void startScanDone(AsyncResult ar) { argument 314 NetworkScanRequestInfo nsri = (NetworkScanRequestInfo) ar.userObj; 323 if (ar.exception == null && ar.result != null) { 328 logEmptyResultOrException(ar); 329 if (ar.exception != null) { 331 ((CommandException) (ar 339 receiveResult(AsyncResult ar) argument 388 stopScanDone(AsyncResult ar) argument 419 interruptScanDone(AsyncResult ar) argument [all...] |
H A D | GsmCdmaCallTracker.java | 744 protected synchronized void handlePollCalls(AsyncResult ar) { argument 748 if (ar.exception == null) { 749 polledCalls = (List)ar.result; 750 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) { 1374 AsyncResult ar; 1407 ar = (AsyncResult) msg.obj; 1408 if (ar.exception != null) { 1426 ar = (AsyncResult)msg.obj; 1430 if (ar.exception != null) { 1437 LastCallFailCause failCause = (LastCallFailCause)ar [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSubscriptionSourceManager.java | 111 AsyncResult ar; 117 ar = (AsyncResult) msg.obj; 118 handleGetCdmaSubscriptionSource(ar); 127 ar = (AsyncResult)msg.obj; 128 if (ar.exception == null) { 129 int actStatus = ((int[])ar.result)[0]; 139 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception); 182 * @param ar AsyncResult object that contains the result of get CDMA 185 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { argument 186 if ((ar [all...] |
H A D | CdmaMmiCode.java | 288 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 D | AdnRecordCache.java | 81 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 D | UiccController.java | 219 AsyncResult ar = (AsyncResult)msg.obj; 227 onGetIccCardStatusDone(ar, index); 239 onSimRefresh(ar, index); 248 AsyncResult ar; 260 ar = (AsyncResult)msg.obj; 261 if (ar.userObj != null && ar.userObj instanceof Integer) { 262 index = (Integer)ar.userObj; 282 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) { argument 283 if (ar 309 onSimRefresh(AsyncResult ar, Integer index) argument [all...] |
H A D | IsimUiccRecords.java | 107 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 D | IccFileHandler.java | 405 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...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DataConnectionTest.java | 177 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 D | app_main.cpp | 84 AndroidRuntime* ar = AndroidRuntime::getRuntime(); local 85 ar->callMain(mClassName, mClass, mArgs);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 362 TypedArray ar = mResources.obtainTypedArray( 364 int N = preloadDrawables(ar); 365 ar.recycle(); 370 ar = mResources.obtainTypedArray( 372 N = preloadColorStateLists(ar); 373 ar.recycle(); 380 ar = mResources.obtainTypedArray( 382 N = preloadDrawables(ar); 383 ar.recycle(); 394 private static int preloadColorStateLists(TypedArray ar) { argument 414 preloadDrawables(TypedArray ar) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 19 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 D | ImsExternalCallTracker.java | 435 * @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 D | AudioRecorder_to_android.cpp | 36 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 783 android_audioRecorder_preDestroy(CAudioRecorder* ar) argument 793 android_audioRecorder_destroy(CAudioRecorder* ar) argument 807 android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) argument 835 android_audioRecorder_useRecordEventMask(CAudioRecorder *ar) argument 888 android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 187 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); 360 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)dest, 0); local 361 if (ar) { [all...] |