Home
last modified time | relevance | path

Searched refs:rr (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigResponse.java64 RILRequest rr = mRadioConfig.processResponse(responseInfo); in getSimSlotsStatusResponse() local
66 if (rr != null) { in getSimSlotsStatusResponse()
70 RadioResponse.sendMessageResponse(rr.mResult, ret); in getSimSlotsStatusResponse()
71 Rlog.d(TAG, rr.serialString() + "< " in getSimSlotsStatusResponse()
72 + mRadioConfig.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
74 rr.onError(responseInfo.error, ret); in getSimSlotsStatusResponse()
75 Rlog.e(TAG, rr.serialString() + "< " in getSimSlotsStatusResponse()
76 + mRadioConfig.requestToString(rr.mRequest) + " error " in getSimSlotsStatusResponse()
90 RILRequest rr = mRadioConfig.processResponse(responseInfo); in getSimSlotsStatusResponse_1_2() local
92 if (rr != null) { in getSimSlotsStatusResponse_1_2()
[all …]
DRIL.java324 RILRequest rr; in handleMessage() local
349 rr = mRequestList.valueAt(i); in handleMessage()
350 Rlog.d(RILJ_LOG_TAG, i + ": [" + rr.mSerial + "] " in handleMessage()
351 + requestToString(rr.mRequest)); in handleMessage()
368 rr = findAndRemoveRequestFromList(serial); in handleMessage()
370 if(rr == null) { in handleMessage()
375 if (rr.mResult != null) { in handleMessage()
376 Object timeoutResponse = getResponseForTimedOutRILRequest(rr); in handleMessage()
377 AsyncResult.forMessage( rr.mResult, timeoutResponse, null); in handleMessage()
378 rr.mResult.sendToTarget(); in handleMessage()
[all …]
DRadioResponse.java363 RILRequest rr = mRil.processResponse(responseInfo); in getVoiceRegistrationStateResponse() local
365 if (rr != null) { in getVoiceRegistrationStateResponse()
367 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse()
369 mRil.processResponseDone(rr, responseInfo, voiceRegResponse); in getVoiceRegistrationStateResponse()
380 RILRequest rr = mRil.processResponse(responseInfo); in getVoiceRegistrationStateResponse_1_2() local
382 if (rr != null) { in getVoiceRegistrationStateResponse_1_2()
384 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_2()
386 mRil.processResponseDone(rr, responseInfo, voiceRegResponse); in getVoiceRegistrationStateResponse_1_2()
397 RILRequest rr = mRil.processResponse(responseInfo); in getVoiceRegistrationStateResponse_1_5() local
398 if (rr == null) { in getVoiceRegistrationStateResponse_1_5()
[all …]
DRILRequest.java84 RILRequest rr = null; in obtain() local
88 rr = sPool; in obtain()
89 sPool = rr.mNext; in obtain()
90 rr.mNext = null; in obtain()
95 if (rr == null) { in obtain()
96 rr = new RILRequest(); in obtain()
100 rr.mSerial = sNextSerial.getAndUpdate(n -> ((n + 1) % Integer.MAX_VALUE)); in obtain()
102 rr.mRequest = request; in obtain()
103 rr.mResult = result; in obtain()
105 rr.mWakeLockType = RIL.INVALID_WAKELOCK; in obtain()
[all …]
DRadioConfig.java181 RILRequest rr; in clearRequestList() local
189 rr = mRequestList.valueAt(i); in clearRequestList()
191 logd(i + ": [" + rr.mSerial + "] " + requestToString(rr.mRequest)); in clearRequestList()
193 rr.onError(error, null); in clearRequestList()
194 rr.release(); in clearRequestList()
292 RILRequest rr = RILRequest.obtain(request, result, workSource); in obtainRequest() local
294 mRequestList.append(rr.mSerial, rr); in obtainRequest()
296 return rr; in obtainRequest()
300 RILRequest rr; in findAndRemoveRequestFromList() local
302 rr = mRequestList.get(serial); in findAndRemoveRequestFromList()
[all …]
DRetryManager.java312 RetryRec rr = new RetryRec(0, 0); in configure() local
315 rr.mDelayTime = value.second; in configure()
323 rr.mRandomizationTime = value.second; in configure()
325 rr.mRandomizationTime = defaultRandomization; in configure()
327 mRetryArray.add(rr); in configure()
/frameworks/av/media/codecs/amrnb/enc/src/
Ds10_8pf.cpp561 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */ in search_10and8i40()
624 alp0 = (Word32) rr[i0][i0] << 12; in search_10and8i40()
627 alp0 += (Word32) rr[i1][i1] << 12; in search_10and8i40()
630 alp0 += (Word32) rr[i0][i1] << 13; in search_10and8i40()
640 p_temp2 = &rr[i3][0]; in search_10and8i40()
660 p_temp2 = &rr[j][0]; in search_10and8i40()
706 p_temp2 = &rr[i5][0]; in search_10and8i40()
727 p_temp2 = &rr[j][0]; in search_10and8i40()
782 s = (Word32) rr[i7][i7] >> 1; in search_10and8i40()
783 s += (Word32) rr[i0][i7]; in search_10and8i40()
[all …]
Dc4_17pf.cpp103 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */
229 Word16 rr[L_CODE][L_CODE]; in code_4i40_17bits() local
271 rr, in code_4i40_17bits()
277 rr, in code_4i40_17bits()
389 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */ in search_4i40()
457 alp0 = (Word32) rr[i0][i0] << 14; in search_4i40()
485 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_4i40()
488 alp1 += (Word32) rr[i0][i1] << 15; in search_4i40()
538 alp1 = alp0 + ((Word32) rr[i2][i2] << 12); in search_4i40()
542 alp1 += (Word32) rr[i1][i2] << 13; in search_4i40()
[all …]
Dc3_14pf.cpp94 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */
218 Word16 rr[L_CODE][L_CODE]; in code_3i40_14bits() local
261 rr, in code_3i40_14bits()
267 rr, in code_3i40_14bits()
376 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */ in search_3i40()
445 alp0 = (Word32) rr[i0][i0] << 14; in search_3i40()
474 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_3i40()
478 alp1 += (Word32) rr[i0][i1] << 15; in search_3i40()
528 alp1 = alp0 + ((Word32) rr[i2][i2] << 12); in search_3i40()
532 alp1 += (Word32) rr[i1][i2] << 13; in search_3i40()
[all …]
Dc2_9pf.cpp123 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */
319 Word16 rr[L_CODE][L_CODE]; in code_2i40_9bits() local
377 rr, in code_2i40_9bits()
383 rr, in code_2i40_9bits()
590 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */ in search_2i40()
648 alp0 = (Word32) rr[i0][i0] << 14; in search_2i40()
678 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_2i40()
684 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40()
807 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */ in Test_search_2i40()
823 rr, in Test_search_2i40()
Dc2_11pf.cpp123 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */
244 Word16 rr[L_CODE][L_CODE]; in code_2i40_11bits() local
288 rr, in code_2i40_11bits()
293 rr, in code_2i40_11bits()
406 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */ in search_2i40()
463 alp0 = (Word32) rr[i0][i0] << 14; in search_2i40()
489 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_2i40()
493 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40()
Dcor_h.cpp271 Word16 rr[][L_CODE], /* (o) : matrix of autocorrelation */ in cor_h()
357 rr1 = &rr[L_CODE-1][L_CODE-1]; in cor_h()
372 p_rr_ref1 = rr[L_CODE-1]; in cor_h()
378 rr2 = &rr[L_CODE-1-dec][L_CODE-1]; in cor_h()
379 rr3 = &rr[L_CODE-1-(dec+1)][L_CODE-1]; in cor_h()
Dc1035pf.cpp660 Word16 rr[L_CODE][L_CODE], i; in code_10i40_35bits() local
664 cor_h(h, sign, rr, pOverflow); in code_10i40_35bits()
667 dn, rr, ipos, pos_max, codvec, pOverflow); in code_10i40_35bits()
Dcor_h.h84 Word16 rr[][L_CODE], /* (o) : matrix of autocorrelation */
Ds10_8pf.h115 Word16 rr[][L_CODE], /* i : matrix of autocorrelation */
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rscript107 int rr=0;
121 rb = ( rg = ( rr =( cv >> ABITS) ));
138 rr = cv;
143 rr = X;
148 rr = m;
153 rr = m;
158 rr = X;
163 rr = cv;
172 rgb.r = rr;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rscript107 int rr=0;
121 rb = ( rg = ( rr =( cv >> ABITS) ));
138 rr = cv;
143 rr = X;
148 rr = m;
153 rr = m;
158 rr = X;
163 rr = cv;
172 rgb.r = rr;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rscript107 int rr=0;
121 rb = ( rg = ( rr =( cv >> ABITS) ));
138 rr = cv;
143 rr = X;
148 rr = m;
153 rr = m;
158 rr = X;
163 rr = cv;
172 rgb.r = rr;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rscript107 int rr=0;
121 rb = ( rg = ( rr =( cv >> ABITS) ));
138 rr = cv;
143 rr = X;
148 rr = m;
153 rr = m;
158 rr = X;
163 rr = cv;
172 rgb.r = rr;
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceConfig.java663 final RefreshRateRange rr = hbm.getRefreshRate_all(); in loadHighBrightnessModeData() local
664 if (rr != null) { in loadHighBrightnessModeData()
665 final float min = rr.getMinimum().floatValue(); in loadHighBrightnessModeData()
666 final float max = rr.getMaximum().floatValue(); in loadHighBrightnessModeData()
719 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadAmbientLightSensorFromDdc() local
720 if (rr != null) { in loadAmbientLightSensorFromDdc()
721 mAmbientLightSensor.minRefreshRate = rr.getMinimum().floatValue(); in loadAmbientLightSensorFromDdc()
722 mAmbientLightSensor.maxRefreshRate = rr.getMaximum().floatValue(); in loadAmbientLightSensorFromDdc()
739 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadProxSensorFromDdc() local
740 if (rr != null) { in loadProxSensorFromDdc()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp824 int i, j, rr, gg, bb, aa; in dump_image() local
842 rr = row[0]; in dump_image()
853 printf(" (%d)", rr); in dump_image()
856 printf(" (%d %d", rr, gg); in dump_image()
859 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
862 printf(" (%d %d %d %d)", rr, gg, bb, aa); in dump_image()
882 int i, j, rr, gg, bb, aa, idx;; in analyze_image() local
922 rr = 0; in analyze_image()
933 rr = *(row); in analyze_image()
940 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
[all …]
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp649 int rr = *in_row++; in WritePng() local
655 rr = gg = bb = 0; in WritePng()
658 const uint32_t color = rr << 24 | gg << 16 | bb << 8 | aa; in WritePng()
674 int rr = in_row[x * 4]; in WritePng() local
680 rr = gg = bb = 0; in WritePng()
691 (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in WritePng()
711 int rr = *in_row++; in WritePng() local
717 rr = gg = bb = 0; in WritePng()
719 out_row[x * bpp] = rr; in WritePng()
DPng.cpp255 int i, j, rr, gg, bb, aa, idx; in analyze_image() local
278 rr = *row++; in analyze_image()
284 maxGrayDeviation = MAX(ABS(rr - gg), maxGrayDeviation); in analyze_image()
286 maxGrayDeviation = MAX(ABS(bb - rr), maxGrayDeviation); in analyze_image()
290 maxGrayDeviation, i, j, rr, gg, bb, aa); in analyze_image()
296 if (rr != gg || rr != bb) { in analyze_image()
299 rr, gg, bb, aa); in analyze_image()
310 rr, gg, bb, aa); in analyze_image()
318 col = (uint32_t)((rr << 24) | (gg << 16) | (bb << 8) | aa); in analyze_image()
416 rr = *row++; in analyze_image()
[all …]
/frameworks/base/core/java/android/os/
DShellCommand.java53 ResultReceiver rr = mResultReceiver; in adoptResultReceiver() local
55 return rr; in adoptResultReceiver()
/frameworks/libs/net/common/tests/unit/src/com/android/module/util/
DDnsPacketTest.java46 int dtype, int dclass, int ttl, byte[] rr) { in assertRecordParses() argument
51 assertTrue(Arrays.equals(record.getRR(), rr)); in assertRecordParses() local

12