/external/valgrind/perf/ |
ffbench.c | 280 double r, ij, ar, ai; local 283 ar = 0; 289 ar += r; 300 ar / fanum, ai / fanum);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsStorageMonitor.java | 104 AsyncResult ar; local 112 ar = (AsyncResult) msg.obj; 113 if (ar.exception != null) {
|
TelephonyDevController.java | 115 AsyncResult ar = (AsyncResult) sRilHardwareConfig.obj; local 116 if (ar.exception == null) { 117 handleGetHardwareConfigChanged(ar); 132 AsyncResult ar; local 136 ar = (AsyncResult) msg.obj; 137 handleGetHardwareConfigChanged(ar); 167 private static void handleGetHardwareConfigChanged(AsyncResult ar) { 168 if ((ar.exception == null) && (ar.result != null)) { 169 List hwcfg = (List)ar.result [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSubscriptionSourceManager.java | 110 AsyncResult ar; local 116 ar = (AsyncResult) msg.obj; 117 handleGetCdmaSubscriptionSource(ar); 126 ar = (AsyncResult)msg.obj; 127 if (ar.exception == null) { 128 int actStatus = ((int[])ar.result)[0]; 138 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception); 181 * @param ar AsyncResult object that contains the result of get CDMA 184 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { 185 if ((ar.exception == null) && (ar.result != null)) [all...] |
CdmaMmiCode.java | 282 AsyncResult ar; local 285 ar = (AsyncResult) (msg.obj); 286 onSetComplete(msg, ar); 304 onSetComplete(Message msg, AsyncResult ar){ 308 if (ar.exception != null) { 310 if (ar.exception instanceof CommandException) { 311 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
UsimDataDownloadHandler.java | 282 AsyncResult ar; local 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/src/java/com/android/internal/telephony/uicc/ |
AdnRecordCache.java | 81 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset")); local 82 notifyWaiters(waiters, ar); 311 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { 320 AsyncResult.forMessage(waiter, ar.result, ar.exception); 330 AsyncResult ar; local 336 ar = (AsyncResult) msg.obj; 343 if (ar.exception == null) { 344 mAdnLikeFiles.put(efid, (ArrayList<AdnRecord>) ar.result); 346 notifyWaiters(waiters, ar); [all...] |
AdnRecordLoader.java | 145 AsyncResult ar; local 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.exception != null) [all...] |
UiccController.java | 218 AsyncResult ar = (AsyncResult)msg.obj; local 226 onGetIccCardStatusDone(ar, index); 238 onSimRefresh(ar, index); 247 AsyncResult ar; local 259 ar = (AsyncResult)msg.obj; 260 if (ar.userObj != null && ar.userObj instanceof Integer) { 261 index = (Integer)ar.userObj; 281 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) { 282 if (ar.exception != null) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataConnectionTest.java | 171 private long getSuggestedRetryDelay(AsyncResult ar) throws Exception { 176 return (long) method.invoke(mDc, ar); 224 AsyncResult ar = new AsyncResult(null, response, null); local 225 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); 228 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); 231 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); 239 AsyncResult ar = new AsyncResult(null, response, null); local 240 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar)); 243 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar)); 246 assertEquals(RetryManager.NO_SUGGESTED_RETRY_DELAY, getSuggestedRetryDelay(ar)); 254 AsyncResult ar = new AsyncResult(null, response, null); local [all...] |
/frameworks/wilhelm/src/android/ |
AudioRecorder_to_android.cpp | 36 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { 65 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) { 69 ar->mRecordSource = newRecordSource; 77 SLresult audioRecorder_setPerformanceMode(CAudioRecorder* ar, SLuint32 mode) { 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) { 117 switch (ar->mRecordSource) { 150 SLresult audioRecorder_getPerformanceMode(CAudioRecorder* ar, SLuint32 *pMode) 310 CAudioRecorder *ar = (CAudioRecorder *)user; local [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentSkipListMapTest.java | 144 Object[] ar = s.toArray(); local 145 assertTrue(s.containsAll(Arrays.asList(ar))); 146 assertEquals(5, ar.length); 147 ar[0] = m10; 148 assertFalse(s.containsAll(Arrays.asList(ar))); 157 Object[] ar = s.toArray(); local 158 assertEquals(5, ar.length); 159 assertTrue(s.containsAll(Arrays.asList(ar))); 160 ar[0] = m10; 161 assertFalse(s.containsAll(Arrays.asList(ar))); [all...] |
TreeMapTest.java | 143 Object[] ar = s.toArray(); local 144 assertTrue(s.containsAll(Arrays.asList(ar))); 145 assertEquals(5, ar.length); 146 ar[0] = m10; 147 assertFalse(s.containsAll(Arrays.asList(ar))); 156 Object[] ar = s.toArray(); local 157 assertEquals(5, ar.length); 158 assertTrue(s.containsAll(Arrays.asList(ar))); 159 ar[0] = m10; 160 assertFalse(s.containsAll(Arrays.asList(ar))); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 58 final double ar = Math.asin(dr / l); local 60 final double aa = a - (RIGHT_ANGLE + ar); 62 final double ab = a + (RIGHT_ANGLE + ar); 81 final float ar2degree = (float)(ar * 2.0d * RADIAN_TO_DEGREE);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaAudioEffectTest.java | 131 AudioRecord ar = null; local 133 ar = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, 140 assertNotNull("Could not create AudioRecord", ar); 142 AudioRecord.STATE_INITIALIZED, ar.getState()); 146 return ar; 158 AudioRecord ar = null; local 160 ar = getAudioRecord(); 161 sessionId = ar.getAudioSessionId(); 178 if (ar != null) { 179 ar.release() 201 AudioRecord ar = null; local [all...] |
/external/clang/test/SemaCXX/ |
cstyle-cast.cpp | 34 const int ar[100] = {0}; local 36 int *pi = (int*)(ar); 79 int ar[1]; local 80 (void)(const int*)(ar);
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
Test.java | 192 int ar[] = {1, 2, 3}; local 193 JSONArray ja = new JSONArray(ar);
|
/external/icu/icu4c/source/i18n/ |
region.cpp | 368 Region *ar = (Region *)element->value.pointer; local 369 if ( availableRegions[ar->type] == NULL ) { 371 availableRegions[ar->type] = newAr.orphan(); 373 LocalPointer<UnicodeString> arString(new UnicodeString(ar->idStr), status); 377 availableRegions[ar->type]->addElement((void *)arString.orphan(),status);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BasicTimeZone.java | 335 AnnualTimeZoneRule ar = (AnnualTimeZoneRule)toRule; local 336 Date firstStart = ar.getFirstStart(tzt.getFrom().getRawOffset(), 340 filteredRules.add(ar); 346 AnnualTimeZoneRule newar = new AnnualTimeZoneRule(ar.getName(), 347 ar.getRawOffset(), ar.getDSTSavings(), 348 ar.getRule(), dfields[0], ar.getEndYear()); 352 if (ar.getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { 355 if (ar.getDSTSavings() == 0) [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioPolicy.java | 343 AudioRecord ar = new AudioRecord( local 354 return ar;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
IconLoader.java | 131 AsyncResult ar; local 136 ar = (AsyncResult) msg.obj; 137 if (handleImageDescriptor((byte[]) ar.result)) { 145 ar = (AsyncResult) msg.obj; 146 byte[] rawData = ((byte[]) ar.result); 160 ar = (AsyncResult) msg.obj; 161 byte [] clut = ((byte[]) ar.result);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneSwitcherTest.java | 109 AsyncResult ar = (AsyncResult)(msg.obj); local 110 if (objectEquals(ar.userObj, mActivePhoneSwitchObject.get()) == false) {
|
/libcore/ojluni/src/main/java/java/util/ |
ArraysParallelSortHelpers.java | 213 T t, al, ar; local 214 if (c.compare((al = a[lb]), (ar = a[rb])) <= 0) { 218 rb++; t = ar; 326 byte t, al, ar; 327 if ((al = a[lb]) <= (ar = a[rb])) { 331 rb++; t = ar; 437 char t, al, ar; local 438 if ((al = a[lb]) <= (ar = a[rb])) { 442 rb++; t = ar; 548 short t, al, ar; local 659 int t, al, ar; local 770 long t, al, ar; local 881 float t, al, ar; local 992 double t, al, ar; local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallForwardEditPreference.java | 202 AsyncResult ar = (AsyncResult) msg.obj; local 205 if (ar.exception != null) { 206 if (DBG) Log.d(LOG_TAG, "handleGetCFResponse: ar.exception=" + ar.exception); 207 if (ar.exception instanceof CommandException) { 209 (CommandException) ar.exception); 218 if (ar.userObj instanceof Throwable) { 221 CallForwardInfo cfInfoArray[] = (CallForwardInfo[]) ar.result; 272 AsyncResult ar = (AsyncResult) msg.obj; local 274 if (ar.exception != null) [all...] |
/system/media/audio_route/ |
audio_route.c | 81 struct audio_route *ar; member in struct:config_parse_state 120 static inline struct mixer_ctl *index_to_ctl(struct audio_route *ar, 123 return ar->mixer_state[ctl_index].ctl; 127 static void path_print(struct audio_route *ar, struct mixer_path *path) 134 struct mixer_ctl *ctl = index_to_ctl(ar, path->setting[i].ctl_index); 151 static void path_free(struct audio_route *ar) 155 for (i = 0; i < ar->num_mixer_paths; i++) { 156 if (ar->mixer_path[i].name) 157 free(ar->mixer_path[i].name); 158 if (ar->mixer_path[i].setting) 440 struct audio_route *ar = state->ar; local 843 struct audio_route *ar; local [all...] |