/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 36 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { in audioRecorder_setPreset() argument 65 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) { in audioRecorder_setPreset() 69 ar->mRecordSource = newRecordSource; in audioRecorder_setPreset() 77 SLresult audioRecorder_setPerformanceMode(CAudioRecorder* ar, SLuint32 mode) { in audioRecorder_setPerformanceMode() argument 103 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) { in audioRecorder_setPerformanceMode() 107 ar->mPerformanceMode = perfMode; in audioRecorder_setPerformanceMode() 114 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { in audioRecorder_getPreset() argument 117 switch (ar->mRecordSource) { in audioRecorder_getPreset() 150 SLresult audioRecorder_getPerformanceMode(CAudioRecorder* ar, SLuint32 *pMode) { in audioRecorder_getPerformanceMode() argument 153 switch (ar->mPerformanceMode) { in audioRecorder_getPerformanceMode() [all …]
|
D | AudioRecorder_to_android.h | 20 extern SLresult android_audioRecorder_checkSourceSink(CAudioRecorder* ar); 22 extern SLresult android_audioRecorder_create(CAudioRecorder* ar); 31 extern SLresult android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, 43 extern SLresult android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey, 46 extern SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async); 48 extern void android_audioRecorder_preDestroy(CAudioRecorder* ar); 50 extern void android_audioRecorder_destroy(CAudioRecorder* ar); 56 extern void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state); 58 extern void android_audioRecorder_useRecordEventMask(CAudioRecorder *ar); 60 extern void android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SIMRecords.java | 651 AsyncResult ar; in handleMessage() local 677 ar = (AsyncResult)msg.obj; in handleMessage() 679 if (ar.exception != null) { in handleMessage() 680 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage() 684 mImsi = (String) ar.result; in handleMessage() 734 ar = (AsyncResult)msg.obj; in handleMessage() 735 data = (byte[]) ar.result; in handleMessage() 738 if (ar.exception == null) { in handleMessage() 779 ar = (AsyncResult)msg.obj; in handleMessage() 781 if (ar.exception != null) { in handleMessage() [all …]
|
D | AdnRecordLoader.java | 145 AsyncResult ar; in handleMessage() local 152 ar = (AsyncResult)(msg.obj); in handleMessage() 153 adn = (AdnRecord)(ar.userObj); in handleMessage() 155 if (ar.exception != null) { in handleMessage() 157 ar.exception); in handleMessage() 160 int[] recordSize = (int[])ar.result; in handleMessage() 168 ar.exception); in handleMessage() 175 ar.exception); in handleMessage() 186 ar = (AsyncResult)(msg.obj); in handleMessage() 187 if (ar.exception != null) { in handleMessage() [all …]
|
D | UiccPkcs15.java | 111 AsyncResult ar = (AsyncResult) msg.obj; in handleMessage() local 112 if (ar.exception != null || ar.result == null) { in handleMessage() 113 log("Error: " + ar.exception); in handleMessage() 114 AsyncResult.forMessage(mCallback, null, ar.exception); in handleMessage() 125 IccIoResult response = (IccIoResult) ar.result; in handleMessage() 154 AsyncResult ar; in handleMessage() local 158 ar = (AsyncResult) msg.obj; in handleMessage() 159 if (ar.exception == null && ar.result != null) { in handleMessage() 160 mChannelId = ((int[]) ar.result)[0]; in handleMessage() 164 log("error: " + ar.exception); in handleMessage() [all …]
|
D | UiccCardApplication.java | 225 private void onQueryFdnEnabled(AsyncResult ar) { in onQueryFdnEnabled() argument 227 if (ar.exception != null) { in onQueryFdnEnabled() 228 if (DBG) log("Error in querying facility lock:" + ar.exception); in onQueryFdnEnabled() 232 int[] result = (int[])ar.result; in onQueryFdnEnabled() 250 private void onChangeFdnDone(AsyncResult ar) { in onChangeFdnDone() argument 254 if (ar.exception == null) { in onChangeFdnDone() 259 attemptsRemaining = parsePinPukErrorResult(ar); in onChangeFdnDone() 260 loge("Error change facility fdn with exception " + ar.exception); in onChangeFdnDone() 262 Message response = (Message)ar.userObj; in onChangeFdnDone() 264 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFdnDone() [all …]
|
D | RuimRecords.java | 243 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() argument 244 mEFpl = (byte[]) ar.result; in onRecordLoaded() 257 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() argument 258 mEFli = (byte[]) ar.result; in onRecordLoaded() 285 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() argument 286 byte[] data = (byte[]) ar.result; in onRecordLoaded() 358 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() argument 359 byte[] data = (byte[]) ar.result; in onRecordLoaded() 375 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() argument 376 byte[] data = (byte[]) ar.result; in onRecordLoaded() [all …]
|
D | IsimUiccRecords.java | 108 AsyncResult ar; in handleMessage() local 124 ar = (AsyncResult)msg.obj; in handleMessage() 125 loge("ISim REFRESH(EVENT_ISIM_REFRESH) with exception: " + ar.exception); in handleMessage() 126 if (ar.exception == null) { in handleMessage() 130 handleIsimRefresh((IccRefreshResponse)ar.result); in handleMessage() 135 ar = (AsyncResult)msg.obj; in handleMessage() 137 if (ar.exception != null) { in handleMessage() 138 log("Exception ISIM AKA: " + ar.exception); in handleMessage() 141 auth_rsp = (String)ar.result; in handleMessage() 205 public void onRecordLoaded(AsyncResult ar) { in onRecordLoaded() argument [all …]
|
D | AdnRecordCache.java | 81 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset")); in clearWaiters() local 82 notifyWaiters(waiters, ar); in clearWaiters() 311 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { in notifyWaiters() argument 320 AsyncResult.forMessage(waiter, ar.result, ar.exception); in notifyWaiters() 330 AsyncResult ar; in handleMessage() local 336 ar = (AsyncResult) msg.obj; in handleMessage() 343 if (ar.exception == null) { in handleMessage() 344 mAdnLikeFiles.put(efid, (ArrayList<AdnRecord>) ar.result); in handleMessage() 346 notifyWaiters(waiters, ar); in handleMessage() 349 ar = (AsyncResult)msg.obj; in handleMessage() [all …]
|
D | IccFileHandler.java | 405 private boolean processException(Message response, AsyncResult ar) { in processException() argument 408 IccIoResult result = (IccIoResult) ar.result; in processException() 409 if (ar.exception != null) { in processException() 410 sendResult(response, null, ar.exception); in processException() 426 AsyncResult ar; in handleMessage() local 441 ar = (AsyncResult)msg.obj; in handleMessage() 442 lc = (LoadLinearFixedContext) ar.userObj; in handleMessage() 443 result = (IccIoResult) ar.result; in handleMessage() 468 ar = (AsyncResult)msg.obj; in handleMessage() 469 lc = (LoadLinearFixedContext) ar.userObj; in handleMessage() [all …]
|
D | UiccController.java | 218 AsyncResult ar = (AsyncResult)msg.obj; in handleMessage() local 226 onGetIccCardStatusDone(ar, index); in handleMessage() 238 onSimRefresh(ar, index); in handleMessage() 247 AsyncResult ar; in getCiIndex() local 259 ar = (AsyncResult)msg.obj; in getCiIndex() 260 if (ar.userObj != null && ar.userObj instanceof Integer) { in getCiIndex() 261 index = (Integer)ar.userObj; in getCiIndex() 281 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) { in onGetIccCardStatusDone() argument 282 if (ar.exception != null) { in onGetIccCardStatusDone() 285 + "never return an error", ar.exception); in onGetIccCardStatusDone() [all …]
|
D | UiccCarrierPrivilegeRules.java | 267 for (AccessRule ar : mAccessRules) { in getPackageNames() 268 if(!TextUtils.isEmpty(ar.packageName)) { in getPackageNames() 269 pkgNames.add(ar.packageName); in getPackageNames() 294 for (AccessRule ar : mAccessRules) { in getCarrierPrivilegeStatus() 295 if (ar.matches(certHash, packageName) || ar.matches(certHash256, packageName)) { in getCarrierPrivilegeStatus() 420 AsyncResult ar; in handleMessage() local 426 ar = (AsyncResult) msg.obj; in handleMessage() 427 if (ar.exception == null && ar.result != null) { in handleMessage() 428 mChannelId = ((int[]) ar.result)[0]; in handleMessage() 434 if (ar.exception instanceof CommandException && mRetryCount < MAX_RETRY && in handleMessage() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaSubscriptionSourceManager.java | 110 AsyncResult ar; in handleMessage() local 116 ar = (AsyncResult) msg.obj; in handleMessage() 117 handleGetCdmaSubscriptionSource(ar); in handleMessage() 126 ar = (AsyncResult)msg.obj; in handleMessage() 127 if (ar.exception == null) { in handleMessage() 128 int actStatus = ((int[])ar.result)[0]; in handleMessage() 138 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception); in handleMessage() 184 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { in handleGetCdmaSubscriptionSource() argument 185 if ((ar.exception == null) && (ar.result != null)) { in handleGetCdmaSubscriptionSource() 186 int newSubscriptionSource = ((int[]) ar.result)[0]; in handleGetCdmaSubscriptionSource() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | GroupReader.cpp | 78 Archive* ar = new Archive(**input, pBuilder); in readGroup() local 79 ArchiveListEntry* entry = new ArchiveListEntry(*ar, input); in readGroup() 82 m_ArchiveReader.readArchive(pConfig, *ar); in readGroup() 83 cur_obj_cnt += ar->numOfObjectMember(); in readGroup() 119 Archive& ar = (*it)->archive; in readGroup() local 121 if (ar.getARFile().attribute()->isWholeArchive()) in readGroup() 123 m_ArchiveReader.readArchive(pConfig, ar); in readGroup() 124 cur_obj_cnt += ar.numOfObjectMember(); in readGroup() 131 Archive& ar = (*it)->archive; in readGroup() local 132 if (ar.numOfObjectMember() > 0) { in readGroup() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneMmiCode.java | 1035 AsyncResult ar; in handleMessage() local 1039 ar = (AsyncResult) (msg.obj); in handleMessage() 1041 onSetComplete(msg, ar); in handleMessage() 1045 ar = (AsyncResult) (msg.obj); in handleMessage() 1051 if ((ar.exception == null) && (msg.arg1 == 1)) { in handleMessage() 1058 onSetComplete(msg, ar); in handleMessage() 1062 ar = (AsyncResult) (msg.obj); in handleMessage() 1063 onQueryCfComplete(ar); in handleMessage() 1067 ar = (AsyncResult) (msg.obj); in handleMessage() 1068 onQueryComplete(ar); in handleMessage() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccPhoneBookInterfaceManager.java | 64 AsyncResult ar; 68 ar = (AsyncResult) msg.obj; 70 if (ar.exception == null) { 71 mRecordSize = (int[])ar.result; 79 notifyPending(ar); 83 ar = (AsyncResult) msg.obj; 85 mSuccess = (ar.exception == null); 86 notifyPending(ar); 90 ar = (AsyncResult)msg.obj; 92 if (ar.exception == null) { [all …]
|
D | TelephonyDevController.java | 115 AsyncResult ar = (AsyncResult) sRilHardwareConfig.obj; in registerRIL() local 116 if (ar.exception == null) { in registerRIL() 117 handleGetHardwareConfigChanged(ar); in registerRIL() 132 AsyncResult ar; in handleMessage() local 136 ar = (AsyncResult) msg.obj; in handleMessage() 137 handleGetHardwareConfigChanged(ar); in handleMessage() 167 private static void handleGetHardwareConfigChanged(AsyncResult ar) { in handleGetHardwareConfigChanged() argument 168 if ((ar.exception == null) && (ar.result != null)) { in handleGetHardwareConfigChanged() 169 List hwcfg = (List)ar.result; in handleGetHardwareConfigChanged()
|
D | GsmCdmaPhone.java | 2001 AsyncResult ar; in handleMessage() local 2011 ar = (AsyncResult)msg.obj; in handleMessage() 2013 if (ar.exception != null) { in handleMessage() 2016 String[] respId = (String[])ar.result; in handleMessage() 2045 ar = (AsyncResult) msg.obj; in handleMessage() 2046 if (ar.exception == null && ar.result != null) { in handleMessage() 2047 mRilVersion = (Integer) ar.result; in handleMessage() 2058 ar = (AsyncResult) msg.obj; in handleMessage() 2059 if (ar.exception == null) { in handleMessage() 2060 if ((ar.result != null) && (((int[]) ar.result).length != 0)) { in handleMessage() [all …]
|
D | Phone.java | 549 AsyncResult ar; in handleMessage() local 565 ar = (AsyncResult)msg.obj; in handleMessage() 566 if (ar.exception == null) { in handleMessage() 592 ar = (AsyncResult) msg.obj; in handleMessage() 593 if ((ar.exception == null) && (ar.result != null)) { in handleMessage() 594 String dialString = (String) ar.result; in handleMessage() 605 ar = (AsyncResult)msg.obj; in handleMessage() 606 if (ar.exception == null) { in handleMessage() 607 handleSrvccStateChanged((int[]) ar.result); in handleMessage() 609 Rlog.e(LOG_TAG, "Srvcc exception: " + ar.exception); in handleMessage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 173 private long getSuggestedRetryDelay(AsyncResult ar) throws Exception { in getSuggestedRetryDelay() argument 178 return (long) method.invoke(mDc, ar); in getSuggestedRetryDelay() 226 AsyncResult ar = new AsyncResult(null, response, null); in testModemSuggestRetry() local 227 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); in testModemSuggestRetry() 230 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); in testModemSuggestRetry() 233 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); in testModemSuggestRetry() 241 AsyncResult ar = new AsyncResult(null, response, null); in testModemNotSuggestRetry() local 242 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar)); in testModemNotSuggestRetry() 245 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar)); in testModemNotSuggestRetry() 248 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar)); in testModemNotSuggestRetry() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 282 AsyncResult ar; in handleMessage() local 290 ar = (AsyncResult) msg.obj; in handleMessage() 292 if (ar.exception != null) { in handleMessage() 293 Rlog.e(TAG, "UICC Send Envelope failure, exception: " + ar.exception); in handleMessage() 299 int[] dcsPid = (int[]) ar.userObj; in handleMessage() 300 sendSmsAckForEnvelopeResponse((IccIoResult) ar.result, dcsPid[0], dcsPid[1]); in handleMessage() 304 ar = (AsyncResult) msg.obj; in handleMessage() 305 if (ar.exception == null) { in handleMessage() 309 Rlog.d(TAG, "Failed to write SMS-PP message to UICC", ar.exception); in handleMessage()
|
D | GsmMmiCode.java | 1073 AsyncResult ar; in handleMessage() local 1077 ar = (AsyncResult) (msg.obj); in handleMessage() 1079 onSetComplete(msg, ar); in handleMessage() 1083 ar = (AsyncResult) (msg.obj); in handleMessage() 1089 if ((ar.exception == null) && (msg.arg1 == 1)) { in handleMessage() 1096 onSetComplete(msg, ar); in handleMessage() 1100 ar = (AsyncResult) (msg.obj); in handleMessage() 1101 onGetClirComplete(ar); in handleMessage() 1105 ar = (AsyncResult) (msg.obj); in handleMessage() 1106 onQueryCfComplete(ar); in handleMessage() [all …]
|
D | UsimPhoneBookManager.java | 522 AsyncResult ar; in handleMessage() local 526 ar = (AsyncResult) msg.obj; in handleMessage() 527 if (ar.exception == null) { in handleMessage() 528 createPbrFile((ArrayList<byte[]>)ar.result); in handleMessage() 536 ar = (AsyncResult) msg.obj; in handleMessage() 537 if (ar.exception == null) { in handleMessage() 538 mPhoneBookRecords.addAll((ArrayList<AdnRecord>)ar.result); in handleMessage() 546 ar = (AsyncResult) msg.obj; in handleMessage() 547 if (ar.exception == null) { in handleMessage() 548 mIapFileRecord = ((ArrayList<byte[]>)ar.result); in handleMessage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GSMPhoneTest.java.broken | 140 AsyncResult ar; 311 ar = (AsyncResult) msg.obj; 312 cn = (Connection) ar.result; 603 ar = (AsyncResult) msg.obj; 604 cn = (Connection) ar.result; 1363 AsyncResult ar; 1370 ar = (AsyncResult) (msg.obj); 1371 cn = (Connection) (ar.result); 1379 ar = (AsyncResult) (msg.obj); 1380 assertEquals(Connection.PostDialState.STARTED, ar.userObj); [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 418 TypedArray ar = mResources.obtainTypedArray( in preloadResources() local 420 int N = preloadDrawables(ar); in preloadResources() 421 ar.recycle(); in preloadResources() 426 ar = mResources.obtainTypedArray( in preloadResources() 428 N = preloadColorStateLists(ar); in preloadResources() 429 ar.recycle(); in preloadResources() 436 ar = mResources.obtainTypedArray( in preloadResources() 438 N = preloadDrawables(ar); in preloadResources() 439 ar.recycle(); in preloadResources() 450 private static int preloadColorStateLists(TypedArray ar) { in preloadColorStateLists() argument [all …]
|