/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.h | 20 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);
|
H A D | AudioRecorder_to_android.cpp | 39 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 427 android_audioRecorder_destroy(CAudioRecorder* ar) argument 446 android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state) argument 474 android_audioRecorder_useRecordEventMask(CAudioRecorder *ar) argument 527 android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec) argument [all...] |
/frameworks/compile/libbcc/tests/data/src/ |
H A D | brackets.c | 1 void testBrackets(int* ar, int len) { argument 5 ar[i] = i; 8 if (ar[i] != i) { 9 printf("error: [%d] %d != %d\n", i, ar[i], i); 38 int* ar = (int*) malloc(100); local 39 testBrackets(ar, 25); 40 free(ar); 46 int* ar = (int*) malloc(lenX * lenY * 4); local 50 ar2D[i] = ar + lenY * i; 53 free(ar); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SIMRecords.java | 517 AsyncResult ar; 539 ar = (AsyncResult)msg.obj; 541 if (ar.exception != null) { 542 loge("Exception querying IMSI, Exception:" + ar.exception); 546 imsi = (String) ar.result; 592 ar = (AsyncResult)msg.obj; 593 data = (byte[]) ar.result; 596 if (ar.exception == null) { 637 ar = (AsyncResult)msg.obj; 639 if (ar 1472 getSpnFsm(boolean start, AsyncResult ar) argument [all...] |
H A D | GSMPhone.java | 1150 AsyncResult ar; 1185 ar = (AsyncResult)msg.obj; 1187 if (ar.exception != null) { 1191 if (LOCAL_DEBUG) Log.d(LOG_TAG, "Baseband version: " + ar.result); 1192 setSystemProperty(PROPERTY_BASEBAND_VERSION, (String)ar.result); 1196 ar = (AsyncResult)msg.obj; 1198 if (ar.exception != null) { 1202 mImei = (String)ar.result; 1206 ar = (AsyncResult)msg.obj; 1208 if (ar 1358 handleSetSelectNetwork(AsyncResult ar) argument [all...] |
H A D | GsmServiceStateTracker.java | 269 AsyncResult ar; 329 ar = (AsyncResult) msg.obj; 330 onSignalStrengthResult(ar); 336 ar = (AsyncResult) msg.obj; 338 if (ar.exception == null) { 339 String states[] = (String[])ar.result; 367 ar = (AsyncResult) msg.obj; 369 handlePollStateResult(msg.what, ar); 379 ar = (AsyncResult) msg.obj; 381 String nitzString = (String)((Object[])ar 540 handlePollStateResult(int what, AsyncResult ar) argument 1088 onSignalStrengthResult(AsyncResult ar) argument 1139 onRestrictedStateChanged(AsyncResult ar) argument [all...] |
H A D | SimSmsInterfaceManager.java | 70 AsyncResult ar; 74 ar = (AsyncResult) msg.obj; 76 mSuccess = (ar.exception == null); 81 ar = (AsyncResult)msg.obj; 83 if (ar.exception == null) { 84 mSms = buildValidRawData((ArrayList<byte[]>) ar.result); 95 ar = (AsyncResult) msg.obj; 97 mSuccess = (ar.exception == null);
|
H A D | UsimPhoneBookManager.java | 336 AsyncResult ar; 340 ar = (AsyncResult) msg.obj; 341 if (ar.exception == null) { 342 createPbrFile((ArrayList<byte[]>)ar.result); 350 ar = (AsyncResult) msg.obj; 351 if (ar.exception == null) { 352 mPhoneBookRecords.addAll((ArrayList<AdnRecord>)ar.result); 360 ar = (AsyncResult) msg.obj; 361 if (ar.exception == null) { 362 mIapFileRecord = ((ArrayList<byte[]>)ar [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | AdnRecordLoader.java | 132 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 D | IccFileHandler.java | 292 AsyncResult ar; 308 ar = (AsyncResult) msg.obj; 309 lc = (LoadLinearFixedContext) ar.userObj; 310 result = (IccIoResult) ar.result; 315 sendResult(response, result.payload, ar.exception); 319 ar = (AsyncResult) msg.obj; 320 response = (Message) ar.userObj; 321 result = (IccIoResult) ar.result; 325 sendResult(response, result.payload, ar.exception); 329 ar [all...] |
H A D | IccPhoneBookInterfaceManager.java | 52 AsyncResult ar; 56 ar = (AsyncResult) msg.obj; 58 if (ar.exception == null) { 59 recordSize = (int[])ar.result; 67 notifyPending(ar); 71 ar = (AsyncResult) msg.obj; 73 success = (ar.exception == null); 74 notifyPending(ar); 78 ar = (AsyncResult)msg.obj; 80 if (ar [all...] |
H A D | AdnRecordCache.java | 82 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 D | IccCard.java | 503 private void getIccCardStatusDone(AsyncResult ar) { argument 504 if (ar.exception != null) { 507 + "never return an error", ar.exception); 510 handleIccCardStatus((IccCardStatus) ar.result); 637 * @param ar is asyncResult of Query_Facility_Locked 639 private void onQueryFdnEnabled(AsyncResult ar) { argument 640 if(ar.exception != null) { 641 if(mDbg) log("Error in querying facility lock:" + ar.exception); 645 int[] ints = (int[])ar.result; 656 * @param ar i 658 onQueryFacilityLock(AsyncResult ar) argument [all...] |
H A D | DataConnection.java | 311 AsyncResult ar = new AsyncResult(o, null, null); 312 sendMessage(obtainMessage(EVENT_DEACTIVATE_DONE, ar)); 346 * Send ar.userObj if its a message, which is should be back to originator. 518 * @param ar is the result 521 private DataCallState.SetupResult onSetupConnectionCompleted(AsyncResult ar) { argument 522 DataCallState response = (DataCallState) ar.result; 523 ConnectionParams cp = (ConnectionParams) ar.userObj; 526 if (ar.exception != null) { 528 log("onSetupConnectionCompleted failed, ar.exception=" + ar 560 getSuggestedRetryTime(AsyncResult ar) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSubscriptionSourceManager.java | 107 AsyncResult ar; 113 ar = (AsyncResult) msg.obj; 114 handleGetCdmaSubscriptionSource(ar); 158 * @param ar AsyncResult object that contains the result of get CDMA 161 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { argument 162 if ((ar.exception == null) && (ar.result != null)) { 163 int newSubscriptionSource = ((int[]) ar.result)[0]; 179 logw("Unable to get CDMA Subscription Source, Exception: " + ar.exception 180 + ", result: " + ar [all...] |
H A D | RuimRecords.java | 196 AsyncResult ar; 221 ar = (AsyncResult)msg.obj; 222 if (ar.exception != null) { 223 loge("Exception querying IMSI, Exception:" + ar.exception); 227 mImsi = (String) ar.result; 247 ar = (AsyncResult)msg.obj; 248 String localTemp[] = (String[])ar.result; 249 if (ar.exception != null) { 264 ar = (AsyncResult)msg.obj; 265 data = (byte[])ar [all...] |
H A D | RuimSmsInterfaceManager.java | 57 AsyncResult ar; 61 ar = (AsyncResult) msg.obj; 63 mSuccess = (ar.exception == null); 68 ar = (AsyncResult)msg.obj; 70 if (ar.exception == null) { 71 mSms = buildValidRawData((ArrayList<byte[]>) ar.result);
|
H A D | CdmaLteUiccRecords.java | 70 public void onRecordLoaded(AsyncResult ar) { argument 71 mEFpl = (byte[]) ar.result; 82 public void onRecordLoaded(AsyncResult ar) { argument 83 mEFli = (byte[]) ar.result; 108 public void onRecordLoaded(AsyncResult ar) { argument 109 byte[] data = (byte[]) ar.result; 161 public void onRecordLoaded(AsyncResult ar) { argument 162 byte[] data = (byte[]) ar.result; 175 public void onRecordLoaded(AsyncResult ar) { argument 176 byte[] data = (byte[]) ar 210 onRecordLoaded(AsyncResult ar) argument 241 onRecordLoaded(AsyncResult ar) argument 327 onGetCSimEprlDone(AsyncResult ar) argument [all...] |
H A D | CDMALTEPhone.java | 74 AsyncResult ar; 81 ar = (AsyncResult)msg.obj; 82 m3gppSMS.dispatchMessage((SmsMessage)ar.result); 172 private void handleSetSelectNetwork(AsyncResult ar) { argument 175 if (!(ar.userObj instanceof NetworkSelectMessage)) { 180 NetworkSelectMessage nsm = (NetworkSelectMessage) ar.userObj; 186 AsyncResult.forMessage(nsm.message, ar.result, ar.exception);
|
H A D | CdmaServiceStateTracker.java | 270 AsyncResult ar; 339 ar = (AsyncResult) msg.obj; 340 onSignalStrengthResult(ar); 346 ar = (AsyncResult) msg.obj; 348 if (ar.exception == null) { 349 String states[] = (String[])ar.result; 395 ar = (AsyncResult) msg.obj; 396 handlePollStateResult(msg.what, ar); 400 ar = (AsyncResult) msg.obj; 402 if (ar 570 handlePollStateResultMessage(int what, AsyncResult ar) argument 717 handlePollStateResult(int what, AsyncResult ar) argument 1142 onSignalStrengthResult(AsyncResult ar) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ims/ |
H A D | IsimUiccRecords.java | 54 public void onRecordLoaded(AsyncResult ar) { argument 55 byte[] data = (byte[]) ar.result; 65 public void onRecordLoaded(AsyncResult ar) { argument 66 ArrayList<byte[]> impuList = (ArrayList<byte[]>) ar.result; 82 public void onRecordLoaded(AsyncResult ar) { argument 83 byte[] data = (byte[]) ar.result;
|
/frameworks/base/core/java/android/os/ |
H A D | Registrant.java | 62 * This makes a copy of @param ar 65 notifyRegistrant(AsyncResult ar) argument 67 internalNotifyRegistrant (ar.result, ar.exception);
|
H A D | RegistrantList.java | 104 notifyRegistrants(AsyncResult ar) argument 106 internalNotifyRegistrants(ar.result, ar.exception);
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMPhoneTest.java | 137 AsyncResult ar; 308 ar = (AsyncResult) msg.obj; 309 cn = (Connection) ar.result; 600 ar = (AsyncResult) msg.obj; 601 cn = (Connection) ar.result; 1360 AsyncResult ar; 1367 ar = (AsyncResult) (msg.obj); 1368 cn = (Connection) (ar.result); 1376 ar = (AsyncResult) (msg.obj); 1377 assertEquals(Connection.PostDialState.STARTED, ar [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 348 TypedArray ar = mResources.obtainTypedArray( 350 int N = preloadDrawables(runtime, ar); 351 ar.recycle(); 356 ar = mResources.obtainTypedArray( 358 N = preloadColorStateLists(runtime, ar); 359 ar.recycle(); 371 private static int preloadColorStateLists(VMRuntime runtime, TypedArray ar) { argument 372 int N = ar.length(); 382 int id = ar.getResourceId(i, 0); 394 private static int preloadDrawables(VMRuntime runtime, TypedArray ar) { argument [all...] |