Searched refs:ar (Results 1 - 25 of 88) sorted by relevance

1234

/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.h20 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, SLmillisecon
[all...]
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
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/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
H A DOpenLogicalChannelInvocation.java52 protected IccOpenLogicalChannelResponse parseResult(AsyncResult ar) { argument
56 if (ar.exception == null && ar.result != null) {
57 int[] result = (int[]) ar.result;
69 if (ar.result == null) {
72 if (ar.exception != null) {
73 Rlog.e(LOG_TAG, "Exception", ar.exception);
77 if (ar.exception instanceof CommandException) {
79 ((CommandException) (ar.exception)).getCommandError();
H A DTransmitApduLogicalChannelInvocation.java55 protected IccIoResult parseResult(AsyncResult ar) { argument
57 if (ar.exception == null && ar.result != null) {
58 response = (IccIoResult) ar.result;
60 if (ar.result == null) {
62 } else if (ar.exception instanceof CommandException) {
63 Rlog.e(LOG_TAG, "CommandException", ar.exception);
65 Rlog.e(LOG_TAG, "CommandException", ar.exception);
H A DCloseLogicalChannelInvocation.java50 protected Boolean parseResult(AsyncResult ar) { argument
51 if (ar.exception == null) {
54 if (ar.exception instanceof CommandException) {
55 Rlog.e(LOG_TAG, "CommandException", ar.exception);
57 Rlog.e(LOG_TAG, "Unknown exception", ar.exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordLoader.java145 AsyncResult ar;
152 ar = (AsyncResult)(msg.obj);
153 adn = (AdnRecord)(ar.userObj);
155 if (ar.exception != null) {
157 ar.exception);
160 int[] recordSize = (int[])ar.result;
168 ar.exception);
175 ar.exception);
186 ar = (AsyncResult)(msg.obj);
187 if (ar
[all...]
H A DUiccPkcs15.java102 AsyncResult ar = (AsyncResult) msg.obj;
103 if (ar.exception != null || ar.result == null) {
104 log("Error: " + ar.exception);
105 AsyncResult.forMessage(mCallback, null, ar.exception);
116 IccIoResult response = (IccIoResult) ar.result;
147 AsyncResult ar;
151 ar = (AsyncResult) msg.obj;
152 if (ar.exception == null && ar
[all...]
H A DSIMRecords.java632 AsyncResult ar;
660 ar = (AsyncResult) msg.obj;
662 if (ar.exception != null) {
663 loge("Exception querying IMSI, Exception:" + ar.exception);
667 mImsi = (String) ar.result;
725 ar = (AsyncResult) msg.obj;
726 data = (byte[]) ar.result;
729 if (ar.exception == null) {
770 ar = (AsyncResult) msg.obj;
772 if (ar
1368 onRecordLoaded(AsyncResult ar) argument
1379 onRecordLoaded(AsyncResult ar) argument
1850 getSpnFsm(boolean start, AsyncResult ar) argument
[all...]
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 DUiccCardApplication.java226 * @param ar is asyncResult of Query_Facility_Locked
228 private void onQueryFdnEnabled(AsyncResult ar) { argument
230 if (ar.exception != null) {
231 if (DBG) log("Error in querying facility lock:" + ar.exception);
235 int[] result = (int[])ar.result;
253 private void onChangeFdnDone(AsyncResult ar) { argument
257 if (ar.exception == null) {
262 attemptsRemaining = parsePinPukErrorResult(ar);
263 loge("Error change facility fdn with exception " + ar.exception);
265 Message response = (Message)ar
283 onQueryFacilityLock(AsyncResult ar) argument
333 onChangeFacilityLock(AsyncResult ar) argument
355 parsePinPukErrorResult(AsyncResult ar) argument
[all...]
H A DIsimUiccRecords.java102 AsyncResult ar;
123 ar = (AsyncResult)msg.obj;
125 if (ar.exception != null) {
126 log("Exception ISIM AKA: " + ar.exception);
129 auth_rsp = (String)ar.result;
195 public void onRecordLoaded(AsyncResult ar) { argument
196 byte[] data = (byte[]) ar.result;
206 public void onRecordLoaded(AsyncResult ar) { argument
207 ArrayList<byte[]> impuList = (ArrayList<byte[]>) ar.result;
223 public void onRecordLoaded(AsyncResult ar) { argument
234 onRecordLoaded(AsyncResult ar) argument
244 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 DUiccController.java378 AsyncResult ar = (AsyncResult)msg.obj;
405 onGetIccCardStatusDone(ar, phoneId);
412 onGetSlotStatusDone(ar);
424 onSimRefresh(ar, phoneId);
434 AsyncResult ar;
446 ar = (AsyncResult)msg.obj;
447 if (ar.userObj != null && ar.userObj instanceof Integer) {
448 index = (Integer)ar.userObj;
475 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Intege argument
514 onGetSlotStatusDone(AsyncResult ar) argument
617 onSimRefresh(AsyncResult ar, Integer index) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSubscriptionSourceManager.java111 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...]
/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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccPhoneBookInterfaceManager.java64 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
[all...]
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);
168 private static void handleGetHardwareConfigChanged(AsyncResult ar) { argument
169 if ((ar.exception == null) && (ar.result != null)) {
170 List hwcfg = (List)ar
[all...]
H A DNetworkScanRequestTracker.java101 private void logEmptyResultOrException(AsyncResult ar) { argument
102 if (ar.result == null) {
105 Log.e(TAG, "NetworkScanResult: Exception: " + ar.exception);
343 private synchronized void startScanDone(AsyncResult ar) { argument
344 NetworkScanRequestInfo nsri = (NetworkScanRequestInfo) ar.userObj;
353 if (ar.exception == null && ar.result != null) {
358 logEmptyResultOrException(ar);
359 if (ar.exception != null) {
361 ((CommandException) (ar
369 receiveResult(AsyncResult ar) argument
418 stopScanDone(AsyncResult ar) argument
449 interruptScanDone(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRulesTest.java108 AsyncResult ar = new AsyncResult(null, new int[]{0}, null);
109 message.obj = ar;
120 AsyncResult ar = new AsyncResult(null, iir, null);
121 message.obj = ar;
318 AsyncResult ar = new AsyncResult(null, new int[]{0}, null);
319 message.obj = ar;
323 AsyncResult ar = new AsyncResult(null, null, null);
324 message.obj = ar;
336 AsyncResult ar = new AsyncResult(null, iir, null);
337 message.obj = ar;
[all...]
/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/base/services/core/java/com/android/server/am/
H A DAppWarnings.java236 * @param ar record for the activity that triggered the warning
239 private void showUnsupportedDisplaySizeDialogUiThread(ActivityRecord ar) { argument
244 if (ar != null && !hasPackageFlag(
245 ar.packageName, FLAG_HIDE_DISPLAY_SIZE)) {
247 AppWarnings.this, mUiContext, ar.info.applicationInfo);
257 * @param ar record for the activity that triggered the warning
260 private void showUnsupportedCompileSdkDialogUiThread(ActivityRecord ar) { argument
265 if (ar != null && !hasPackageFlag(
266 ar.packageName, FLAG_HIDE_COMPILE_SDK)) {
268 AppWarnings.this, mUiContext, ar
281 showDeprecatedTargetSdkDialogUiThread(ActivityRecord ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneMmiCode.java1080 AsyncResult ar;
1084 ar = (AsyncResult) (msg.obj);
1086 onSetComplete(msg, ar);
1090 ar = (AsyncResult) (msg.obj);
1096 if ((ar.exception == null) && (msg.arg1 == 1)) {
1103 onSetComplete(msg, ar);
1107 ar = (AsyncResult) (msg.obj);
1108 onQueryCfComplete(ar);
1112 ar = (AsyncResult) (msg.obj);
1113 onQueryComplete(ar);
1180 getErrorMessage(AsyncResult ar) argument
1186 getMmiErrorMessage(AsyncResult ar) argument
1248 onSetComplete(Message msg, AsyncResult ar) argument
1402 onQueryCfComplete(AsyncResult ar) argument
1462 onSuppSvcQueryComplete(AsyncResult ar) argument
1515 onIcbQueryComplete(AsyncResult ar) argument
1552 onQueryClirComplete(AsyncResult ar) argument
1642 onQueryComplete(AsyncResult ar) argument
1698 getImsErrorMessage(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java282 AsyncResult ar;
290 ar = (AsyncResult) msg.obj;
292 if (ar.exception != null) {
293 Rlog.e(TAG, "UICC Send Envelope failure, exception: " + ar.exception);
299 int[] dcsPid = (int[]) ar.userObj;
300 sendSmsAckForEnvelopeResponse((IccIoResult) ar.result, dcsPid[0], dcsPid[1]);
304 ar = (AsyncResult) msg.obj;
305 if (ar.exception == null) {
309 Rlog.d(TAG, "Failed to write SMS-PP message to UICC", ar.exception);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMPhoneTest.java.broken140 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
[all...]

Completed in 301 milliseconds

1234