/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 32 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { argument 58 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) { 62 ar->mRecordSource = newRecordSource; 69 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { argument 72 switch (ar->mRecordSource) { 101 void audioRecorder_handleNewPos_lockRecord(CAudioRecorder* ar) { argument 106 interface_lock_shared(&ar->mRecord); 107 callback = ar->mRecord.mCallback; 108 callbackPContext = ar->mRecord.mContext; 109 interface_unlock_shared(&ar 118 audioRecorder_handleMarker_lockRecord(CAudioRecorder* ar) argument 135 audioRecorder_handleOverrun_lockRecord(CAudioRecorder* ar) argument 153 android_audioRecorder_checkSourceSink(CAudioRecorder* ar) argument 238 CAudioRecorder *ar = (CAudioRecorder *)user; local 329 android_audioRecorder_create(CAudioRecorder* ar) argument 359 android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, const void *pConfigValue, SLuint32 valueSize) argument 385 android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey, SLuint32* pValueSize, void *pConfigValue) argument 414 android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async) argument 470 android_audioRecorder_preDestroy(CAudioRecorder* ar) argument 480 android_audioRecorder_destroy(CAudioRecorder* ar) argument 494 android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) argument 522 android_audioRecorder_useRecordEventMask(CAudioRecorder *ar) argument 575 android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | handler_bodies.c | 99 CAudioRecorder* ar = (CAudioRecorder *) thiz; local 100 android_audioRecorder_useRecordEventMask(ar);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallTracker.java | 95 protected abstract void handlePollCalls(AsyncResult ar); argument
|
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; 229 AsyncResult ar = new AsyncResult(receivedIntent, msg, null); 234 mGsmInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, ar); 238 mCdmaInboundSmsHandler.sendMessage(InboundSmsHandler.EVENT_INJECT_SMS, ar); [all...] |
H A D | InboundSmsHandler.java | 489 void handleNewSms(AsyncResult ar) { argument 490 if (ar.exception != null) { 491 loge("Exception processing incoming SMS: " + ar.exception); 497 SmsMessage sms = (SmsMessage) ar.result; 514 * @param ar is the AsyncResult that has the SMS PDU to be injected. 516 void handleInjectSms(AsyncResult ar) { argument 520 receivedIntent = (PendingIntent) ar.userObj; 521 SmsMessage sms = (SmsMessage) ar.result;
|
H A D | PhoneBase.java | 565 AsyncResult ar; 588 ar = (AsyncResult)msg.obj; 589 if (ar.exception == null) { 615 ar = (AsyncResult) msg.obj; 616 if ((ar.exception == null) && (ar.result != null)) { 617 String dialString = (String) ar.result; 628 ar = (AsyncResult)msg.obj; 629 if (ar.exception == null) { 630 handleSrvccStateChanged((int[]) ar 1116 handleSetSelectNetwork(AsyncResult ar) argument [all...] |
H A D | SMSDispatcher.java | 621 * @param ar AsyncResult passed into the message handler. ar.result should 622 * an SmsResponse instance if send was successful. ar.userObj 625 protected void handleSendComplete(AsyncResult ar) { argument 626 SmsTracker tracker = (SmsTracker) ar.userObj; 629 if (ar.result != null) { 630 tracker.mMessageRef = ((SmsResponse)ar.result).mMessageRef; 635 if (ar.exception == null) { 665 } else if ((((CommandException)(ar.exception)).getCommandError() 681 if (ar [all...] |
H A D | ServiceStateTracker.java | 584 AsyncResult ar = (AsyncResult) msg.obj; 585 CellInfoResult result = (CellInfoResult) ar.userObj; 587 if (ar.exception != null) { 588 log("EVENT_GET_CELL_INFO_LIST: error ret null, e=" + ar.exception); 591 result.list = (List<CellInfo>) ar.result; 606 AsyncResult ar = (AsyncResult) msg.obj; 607 if (ar.exception != null) { 608 log("EVENT_UNSOL_CELL_INFO_LIST: error ignoring, e=" + ar.exception); 610 List<CellInfo> list = (List<CellInfo>) ar.result; 627 AsyncResult ar 641 handlePollStateResult(int what, AsyncResult ar) argument 839 onSignalStrengthResult(AsyncResult ar, boolean isGsm) argument [all...] |
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...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCallTracker.java | 508 handlePollCalls(AsyncResult ar) { argument 511 if (ar.exception == null) { 512 polledCalls = (List)ar.result; 513 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) { 1013 AsyncResult ar; 1022 ar = (AsyncResult)msg.obj; 1047 ar = (AsyncResult)msg.obj; 1051 if (ar.exception != null) { 1058 LastCallFailCause failCause = (LastCallFailCause)ar.result; 1100 ar [all...] |
H A D | CdmaLteServiceStateTracker.java | 91 AsyncResult ar; 105 ar = (AsyncResult)msg.obj; 106 handlePollStateResult(msg.what, ar); 154 protected void handlePollStateResultMessage(int what, AsyncResult ar) { argument 156 String states[] = (String[])ar.result; 274 super.handlePollStateResultMessage(what, ar); 611 protected boolean onSignalStrengthResult(AsyncResult ar, boolean isGsm) { argument 615 boolean ssChanged = super.onSignalStrengthResult(ar, isGsm);
|
H A D | CdmaMmiCode.java | 281 AsyncResult ar; 284 ar = (AsyncResult) (msg.obj); 285 onSetComplete(msg, ar); 303 onSetComplete(Message msg, AsyncResult ar){ argument 307 if (ar.exception != null) { 309 if (ar.exception instanceof CommandException) { 310 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
|
H A D | CdmaServiceStateTracker.java | 291 AsyncResult ar; 358 ar = (AsyncResult) msg.obj; 359 onSignalStrengthResult(ar, false); 365 ar = (AsyncResult) msg.obj; 367 if (ar.exception == null) { 368 String states[] = (String[])ar.result; 415 ar = (AsyncResult) msg.obj; 416 handlePollStateResult(msg.what, ar); 420 ar = (AsyncResult) msg.obj; 422 if (ar 628 handlePollStateResultMessage(int what, AsyncResult ar) argument 819 handlePollStateResult(int what, AsyncResult ar) argument [all...] |
H A D | CdmaSubscriptionSourceManager.java | 112 AsyncResult ar; 118 ar = (AsyncResult) msg.obj; 119 handleGetCdmaSubscriptionSource(ar); 128 ar = (AsyncResult)msg.obj; 129 if (ar.exception == null) { 130 int actStatus = ((int[])ar.result)[0]; 140 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception); 183 * @param ar AsyncResult object that contains the result of get CDMA 186 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { argument 187 if ((ar [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataConnection.java | 613 AsyncResult ar = new AsyncResult(o, null, null); 614 sendMessage(obtainMessage(EVENT_DEACTIVATE_DONE, mTag, 0, ar)); 692 * Send ar.userObj if its a message, which is should be back to originator. 773 * @param ar is the result 776 private DataCallResponse.SetupResult onSetupConnectionCompleted(AsyncResult ar) { argument 777 DataCallResponse response = (DataCallResponse) ar.result; 778 ConnectionParams cp = (ConnectionParams) ar.userObj; 786 } else if (ar.exception != null) { 788 log("onSetupConnectionCompleted failed, ar.exception=" + ar [all...] |
H A D | DcRetryAlarmController.java | 109 * @param ar is the result from SETUP_DATA_CALL 112 int getSuggestedRetryTime(DataConnection dc, AsyncResult ar) { argument 115 DataCallResponse response = (DataCallResponse) ar.result;
|
H A D | DcTracker.java | 1829 protected void onDataSetupComplete(AsyncResult ar) { argument 1833 ApnContext apnContext = getValidApnContext(ar, "onDataSetupComplete"); 1837 if (ar.exception == null) { 1964 cause = (DcFailCause) (ar.result); 1994 onDataSetupCompleteError(ar); 2021 private ApnContext getValidApnContext(AsyncResult ar, String logString) { argument 2022 if (ar != null && ar.userObj instanceof Pair) { 2023 Pair<ApnContext, Integer>pair = (Pair<ApnContext, Integer>)ar.userObj; 2051 protected void onDataSetupCompleteError(AsyncResult ar) { argument 2089 onDisconnectDone(AsyncResult ar) argument 2162 onDisconnectDcRetrying(AsyncResult ar) argument [all...] |
H A D | DcTrackerBase.java | 878 protected abstract void onDataSetupComplete(AsyncResult ar); argument 879 protected abstract void onDataSetupCompleteError(AsyncResult ar); argument 880 protected abstract void onDisconnectDone(AsyncResult ar); argument 881 protected abstract void onDisconnectDcRetrying(AsyncResult ar); argument 1324 protected void onResetDone(AsyncResult ar) { argument 1327 if (ar.userObj instanceof String) { 1328 reason = (String) ar.userObj;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmCallTracker.java | 442 handlePollCalls(AsyncResult ar) { argument 445 if (ar.exception == null) { 446 polledCalls = (List)ar.result; 447 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) { 908 AsyncResult ar; 917 ar = (AsyncResult)msg.obj; 929 ar = (AsyncResult)msg.obj; 937 ar = (AsyncResult)msg.obj; 938 if (ar.exception != null) { 947 ar [all...] |
H A D | GsmCellBroadcastHandler.java | 89 * @param ar the AsyncResult containing the received PDUs 91 private SmsCbMessage handleGsmBroadcastSms(AsyncResult ar) { argument 93 byte[] receivedPdu = (byte[]) ar.result;
|
H A D | GsmMmiCode.java | 1074 AsyncResult ar; 1078 ar = (AsyncResult) (msg.obj); 1080 onSetComplete(msg, ar); 1084 ar = (AsyncResult) (msg.obj); 1090 if ((ar.exception == null) && (msg.arg1 == 1)) { 1097 onSetComplete(msg, ar); 1101 ar = (AsyncResult) (msg.obj); 1102 onGetClirComplete(ar); 1106 ar = (AsyncResult) (msg.obj); 1107 onQueryCfComplete(ar); 1139 getErrorMessage(AsyncResult ar) argument 1193 onSetComplete(Message msg, AsyncResult ar) argument 1288 onGetClirComplete(AsyncResult ar) argument 1468 onQueryCfComplete(AsyncResult ar) argument 1522 onQueryComplete(AsyncResult ar) argument [all...] |
H A D | GsmSMSDispatcher.java | 115 * @param ar AsyncResult passed into the message handler. ar.result should 118 private void handleStatusReport(AsyncResult ar) { argument 119 String pduString = (String) ar.result;
|
H A D | GsmServiceStateTracker.java | 289 AsyncResult ar; 333 ar = (AsyncResult) msg.obj; 334 onSignalStrengthResult(ar, true); 340 ar = (AsyncResult) msg.obj; 342 if (ar.exception == null) { 343 String states[] = (String[])ar.result; 371 ar = (AsyncResult) msg.obj; 373 handlePollStateResult(msg.what, ar); 383 ar = (AsyncResult) msg.obj; 385 String nitzString = (String)((Object[])ar 701 handlePollStateResult(int what, AsyncResult ar) argument 1421 onRestrictedStateChanged(AsyncResult ar) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCallTracker.java | 1686 AsyncResult ar; 1781 protected void handlePollCalls(AsyncResult ar) { argument
|
H A D | ImsPhoneMmiCode.java | 1033 AsyncResult ar; 1037 ar = (AsyncResult) (msg.obj); 1039 onSetComplete(msg, ar); 1043 ar = (AsyncResult) (msg.obj); 1049 if ((ar.exception == null) && (msg.arg1 == 1)) { 1056 onSetComplete(msg, ar); 1060 ar = (AsyncResult) (msg.obj); 1061 onQueryCfComplete(ar); 1065 ar = (AsyncResult) (msg.obj); 1066 onQueryComplete(ar); 1133 getErrorMessage(AsyncResult ar) argument 1166 onSetComplete(Message msg, AsyncResult ar) argument 1312 onQueryCfComplete(AsyncResult ar) argument 1376 onSuppSvcQueryComplete(AsyncResult ar) argument 1434 onIcbQueryComplete(AsyncResult ar) argument 1476 onQueryClirComplete(AsyncResult ar) argument 1571 onQueryComplete(AsyncResult ar) argument [all...] |