Searched refs:ar (Results 1 - 25 of 72) sorted by last modified time

123

/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp39 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { argument
65 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) {
69 ar->mRecordSource = newRecordSource;
76 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { argument
79 switch (ar->mRecordSource) {
108 void audioRecorder_handleNewPos_lockRecord(CAudioRecorder* ar) { argument
113 interface_lock_shared(&ar->mRecord);
114 callback = ar->mRecord.mCallback;
115 callbackPContext = ar->mRecord.mContext;
116 interface_unlock_shared(&ar
125 audioRecorder_handleMarker_lockRecord(CAudioRecorder* ar) argument
142 audioRecorder_handleOverrun_lockRecord(CAudioRecorder* ar) argument
160 android_audioRecorder_checkSourceSinkSupport(CAudioRecorder* ar) argument
214 CAudioRecorder *ar = (CAudioRecorder *)user; local
296 android_audioRecorder_create(CAudioRecorder* ar) argument
325 android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument
351 android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument
380 android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async) argument
426 android_audioRecorder_destroy(CAudioRecorder* ar) argument
445 android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) argument
473 android_audioRecorder_useRecordEventMask(CAudioRecorder *ar) argument
526 android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec) argument
[all...]
H A DAudioRecorder_to_android.h20 extern SLresult android_audioRecorder_checkSourceSinkSupport(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_destroy(CAudioRecorder* ar);
54 extern void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state);
56 extern void android_audioRecorder_useRecordEventMask(CAudioRecorder *ar);
58 extern void android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec);
/frameworks/wilhelm/src/
H A Dhandler_bodies.c99 CAudioRecorder* ar = (CAudioRecorder *) thiz; local
100 android_audioRecorder_useRecordEventMask(ar);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAdnRecordCache.java82 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset"));
83 notifyWaiters(waiters, ar);
306 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { argument
315 AsyncResult.forMessage(waiter, ar.result, ar.exception);
324 AsyncResult ar;
330 ar = (AsyncResult) msg.obj;
337 if (ar.exception == null) {
338 adnLikeFiles.put(efid, (ArrayList<AdnRecord>) ar.result);
340 notifyWaiters(waiters, ar);
[all...]
H A DAdnRecordLoader.java132 AsyncResult ar;
139 ar = (AsyncResult)(msg.obj);
140 adn = (AdnRecord)(ar.userObj);
142 if (ar.exception != null) {
144 ar.exception);
147 int[] recordSize = (int[])ar.result;
155 ar.exception);
162 ar.exception);
172 ar = (AsyncResult)(msg.obj);
173 if (ar
[all...]
H A DCallTracker.java92 protected abstract void handlePollCalls(AsyncResult ar); argument
H A DDataConnection.java331 AsyncResult ar = new AsyncResult(o, null, null);
332 sendMessage(obtainMessage(EVENT_DEACTIVATE_DONE, ar));
366 * Send ar.userObj if its a message, which is should be back to originator.
538 * @param ar is the result
541 private DataCallState.SetupResult onSetupConnectionCompleted(AsyncResult ar) { argument
542 DataCallState response = (DataCallState) ar.result;
543 ConnectionParams cp = (ConnectionParams) ar.userObj;
546 if (ar.exception != null) {
548 log("onSetupConnectionCompleted failed, ar.exception=" + ar
580 getSuggestedRetryTime(AsyncResult ar) argument
[all...]
H A DDataConnectionTracker.java384 protected boolean isDataSetupCompleteOk(AsyncResult ar) { argument
385 if (ar.exception != null) {
386 if (DBG) log("isDataSetupCompleteOk return false, ar.result=" + ar.result);
393 ar.result = mFailDataSetupFailCause;
590 protected abstract void onDataSetupComplete(AsyncResult ar); argument
591 protected abstract void onDisconnectDone(int connId, AsyncResult ar); argument
1021 protected void onResetDone(AsyncResult ar) { argument
1024 if (ar.userObj instanceof String) {
1025 reason = (String) ar
[all...]
H A DIccFileHandler.java321 AsyncResult ar;
338 ar = (AsyncResult) msg.obj;
339 lc = (LoadLinearFixedContext) ar.userObj;
340 result = (IccIoResult) ar.result;
343 if (ar.exception != null) {
344 sendResult(response, null, ar.exception);
373 ar = (AsyncResult) msg.obj;
374 lc = (LoadLinearFixedContext) ar.userObj;
375 result = (IccIoResult) ar.result;
380 sendResult(response, result.payload, ar
[all...]
H A DIccPhoneBookInterfaceManager.java54 AsyncResult ar;
58 ar = (AsyncResult) msg.obj;
60 if (ar.exception == null) {
61 recordSize = (int[])ar.result;
69 notifyPending(ar);
73 ar = (AsyncResult) msg.obj;
75 success = (ar.exception == null);
76 notifyPending(ar);
80 ar = (AsyncResult)msg.obj;
82 if (ar
[all...]
H A DIccRecords.java105 void onRecordLoaded(AsyncResult ar); argument
337 AsyncResult ar = (AsyncResult) msg.obj;
338 IccRecordLoaded recordLoaded = (IccRecordLoaded) ar.userObj;
341 if (ar.exception != null) {
342 loge("Record Load Exception: " + ar.exception);
344 recordLoaded.onRecordLoaded(ar);
H A DPhoneBase.java301 AsyncResult ar;
306 ar = (AsyncResult)msg.obj;
307 if (ar.exception == null) {
381 AsyncResult ar = new AsyncResult(null, this, null);
382 mPreciseCallStateRegistrants.notifyRegistrants(ar);
536 AsyncResult ar = new AsyncResult(null, cn, null);
537 mDisconnectRegistrants.notifyRegistrants(ar);
582 AsyncResult ar = new AsyncResult(null, ss, null);
583 mServiceStateRegistrants.notifyRegistrants(ar);
1101 AsyncResult ar
[all...]
H A DPhoneProxy.java93 AsyncResult ar = (AsyncResult) msg.obj;
102 if (ar.exception == null && ar.result != null) {
103 mRilVersion = (Integer) ar.result;
113 if (ar.exception == null) {
114 if ((ar.result != null) && (((int[]) ar.result).length != 0)) {
115 int newVoiceTech = ((int[]) ar.result)[0];
121 loge("Voice Radio Technology event " + msg.what + " exception!" + ar.exception);
H A DSMSDispatcher.java293 AsyncResult ar;
304 ar = (AsyncResult) msg.obj;
306 if (ar.exception != null) {
307 Log.e(TAG, "Exception processing incoming SMS. Exception:" + ar.exception);
311 sms = (SmsMessage) ar.result;
419 * @param ar AsyncResult passed into the message handler. ar.result should
420 * an SmsResponse instance if send was successful. ar.userObj
423 protected void handleSendComplete(AsyncResult ar) { argument
424 SmsTracker tracker = (SmsTracker) ar
[all...]
H A DServiceStateTracker.java355 protected abstract void handlePollStateResult(int what, AsyncResult ar); argument
513 protected boolean onSignalStrengthResult(AsyncResult ar, boolean isGsm) { argument
519 if ((ar.exception == null) && (ar.result != null)) {
520 mSignalStrength = (SignalStrength) ar.result;
524 log("onSignalStrengthResult() Exception from RIL : " + ar.exception);
H A DSmsStorageMonitor.java99 AsyncResult ar;
107 ar = (AsyncResult) msg.obj;
108 if (ar.exception != null) {
H A DUiccCardApplication.java205 * @param ar is asyncResult of Query_Facility_Locked
207 private void onQueryFdnEnabled(AsyncResult ar) { argument
209 if (ar.exception != null) {
210 if (DBG) log("Error in querying facility lock:" + ar.exception);
214 int[] ints = (int[])ar.result;
224 private void onChangeFdnDone(AsyncResult ar) { argument
226 if (ar.exception == null) {
231 loge("Error change facility fdn with exception " + ar.exception);
233 Message response = (Message)ar.userObj;
234 AsyncResult.forMessage(response).exception = ar
250 onQueryFacilityLock(AsyncResult ar) argument
296 onChangeFacilityLock(AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java631 AsyncResult ar = (AsyncResult) msg.obj;
632 if (ar != null && ar.result != null) {
634 data = (String) ar.result;
H A DIconLoader.java132 AsyncResult ar;
137 ar = (AsyncResult) msg.obj;
138 if (handleImageDescriptor((byte[]) ar.result)) {
145 ar = (AsyncResult) msg.obj;
146 byte[] rawData = ((byte[]) ar.result);
157 ar = (AsyncResult) msg.obj;
158 byte [] clut = ((byte[]) ar.result);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java82 AsyncResult ar;
89 ar = (AsyncResult)msg.obj;
90 m3gppSMS.dispatchMessage((SmsMessage)ar.result);
176 private void handleSetSelectNetwork(AsyncResult ar) { argument
179 if (!(ar.userObj instanceof NetworkSelectMessage)) {
184 NetworkSelectMessage nsm = (NetworkSelectMessage) ar.userObj;
190 AsyncResult.forMessage(nsm.message, ar.result, ar.exception);
H A DCDMAPhone.java890 AsyncResult ar = (AsyncResult)msg.obj;
892 Log.d(LOG_TAG, "handleExitEmergencyCallbackMode,ar.exception , mIsPhoneInEcmState "
893 + ar.exception + mIsPhoneInEcmState);
899 mEcmExitRespRegistrant.notifyRegistrant(ar);
902 if (ar.exception == null) {
952 AsyncResult ar;
964 ar = (AsyncResult)msg.obj;
966 if (ar.exception != null) {
970 if (DBG) Log.d(LOG_TAG, "Baseband version: " + ar.result);
971 setSystemProperty(TelephonyProperties.PROPERTY_BASEBAND_VERSION, (String)ar
[all...]
H A DCdmaCallTracker.java477 handlePollCalls(AsyncResult ar) { argument
480 if (ar.exception == null) {
481 polledCalls = (List)ar.result;
482 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
948 AsyncResult ar;
953 ar = (AsyncResult)msg.obj;
977 ar = (AsyncResult)msg.obj;
981 if (ar.exception != null) {
988 causeCode = ((int[])ar.result)[0];
1028 ar
[all...]
H A DCdmaConnection.java732 AsyncResult ar = AsyncResult.forMessage(notifyMessage);
733 ar.result = this;
734 ar.userObj = state;
H A DCdmaDataConnectionTracker.java601 protected void onDataSetupComplete(AsyncResult ar) { argument
603 if (ar.userObj instanceof String) {
604 reason = (String) ar.userObj;
607 if (isDataSetupCompleteOk(ar)) {
611 FailCause cause = (FailCause) (ar.result);
621 if (ar.exception instanceof DataConnection.CallSetupException) {
623 ((DataConnection.CallSetupException)ar.exception).getRetryOverride();
637 protected void onDisconnectDone(int connId, AsyncResult ar) { argument
640 if (ar.userObj instanceof String) {
641 reason = (String) ar
770 onCdmaOtaProvision(AsyncResult ar) argument
808 onDataStateChanged(AsyncResult ar) argument
[all...]
H A DCdmaLteServiceStateTracker.java75 AsyncResult ar;
81 ar = (AsyncResult)msg.obj;
82 handlePollStateResult(msg.what, ar);
118 protected void handlePollStateResultMessage(int what, AsyncResult ar) { argument
120 String states[] = (String[])ar.result;
213 super.handlePollStateResultMessage(what, ar);
543 protected boolean onSignalStrengthResult(AsyncResult ar, boolean isGsm) { argument
547 boolean ssChanged = super.onSignalStrengthResult(ar, isGsm);

Completed in 1267 milliseconds

123