Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigResponseHidl.java51 RILRequest rr = mRadioConfig.processResponse(info); in getSimSlotsStatusResponse() local
53 if (rr != null) { in getSimSlotsStatusResponse()
57 RadioResponse.sendMessageResponse(rr.mResult, ret); in getSimSlotsStatusResponse()
58 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
60 rr.onError(info.error, ret); in getSimSlotsStatusResponse()
61 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getSimSlotsStatusResponse()
74 RILRequest rr = mRadioConfig.processResponse(info); in setSimSlotsMappingResponse() local
75 if (rr != null) { in setSimSlotsMappingResponse()
78 RadioResponse.sendMessageResponse(rr.mResult, null); in setSimSlotsMappingResponse()
79 logd(rr, RILUtils.requestToString(rr.mRequest)); in setSimSlotsMappingResponse()
[all …]
DRadioConfigResponseAidl.java51 RILRequest rr = mRadioConfig.processResponse(info); in getHalDeviceCapabilitiesResponse() local
52 if (rr != null) { in getHalDeviceCapabilitiesResponse()
56 RadioResponse.sendMessageResponse(rr.mResult, ret); in getHalDeviceCapabilitiesResponse()
57 logd(rr, RILUtils.requestToString(rr.mRequest)); in getHalDeviceCapabilitiesResponse()
59 rr.onError(info.error, ret); in getHalDeviceCapabilitiesResponse()
60 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getHalDeviceCapabilitiesResponse()
74 RILRequest rr = mRadioConfig.processResponse(info); in getNumOfLiveModemsResponse() local
75 if (rr != null) { in getNumOfLiveModemsResponse()
78 RadioResponse.sendMessageResponse(rr.mResult, numOfLiveModems); in getNumOfLiveModemsResponse()
79 logd(rr, RILUtils.requestToString(rr.mRequest)); in getNumOfLiveModemsResponse()
[all …]
DRIL.java290 RILRequest rr; in handleMessage() local
315 rr = mRequestList.valueAt(i); in handleMessage()
316 Rlog.d(RILJ_LOG_TAG, i + ": [" + rr.mSerial + "] " in handleMessage()
317 + RILUtils.requestToString(rr.mRequest)); in handleMessage()
334 rr = findAndRemoveRequestFromList(serial); in handleMessage()
336 if (rr == null) { in handleMessage()
341 if (rr.mResult != null) { in handleMessage()
342 Object timeoutResponse = getResponseForTimedOutRILRequest(rr); in handleMessage()
343 AsyncResult.forMessage(rr.mResult, timeoutResponse, null); in handleMessage()
344 rr.mResult.sendToTarget(); in handleMessage()
[all …]
DRadioResponse.java344 RILRequest rr = mRil.processResponse(responseInfo); in getVoiceRegistrationStateResponse() local
346 if (rr != null) { in getVoiceRegistrationStateResponse()
348 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse()
350 mRil.processResponseDone(rr, responseInfo, voiceRegResponse); in getVoiceRegistrationStateResponse()
361 RILRequest rr = mRil.processResponse(responseInfo); in getVoiceRegistrationStateResponse_1_2() local
363 if (rr != null) { in getVoiceRegistrationStateResponse_1_2()
365 sendMessageResponse(rr.mResult, voiceRegResponse); in getVoiceRegistrationStateResponse_1_2()
367 mRil.processResponseDone(rr, responseInfo, voiceRegResponse); in getVoiceRegistrationStateResponse_1_2()
378 RILRequest rr = mRil.processResponse(responseInfo); in getVoiceRegistrationStateResponse_1_5() local
379 if (rr == null) { in getVoiceRegistrationStateResponse_1_5()
[all …]
DNetworkResponse.java78 RILRequest rr = mRil.processResponse(RIL.NETWORK_SERVICE, responseInfo); in getAvailableNetworksResponse() local
80 if (rr != null) { in getAvailableNetworksResponse()
87 RadioResponse.sendMessageResponse(rr.mResult, ret); in getAvailableNetworksResponse()
89 mRil.processResponseDone(rr, responseInfo, ret); in getAvailableNetworksResponse()
101 RILRequest rr = mRil.processResponse(RIL.NETWORK_SERVICE, responseInfo); in getBarringInfoResponse() local
103 if (rr != null) { in getBarringInfoResponse()
107 RadioResponse.sendMessageResponse(rr.mResult, bi); in getBarringInfoResponse()
112 mRil.processResponseDone(rr, responseInfo, bi); in getBarringInfoResponse()
130 RILRequest rr = mRil.processResponse(RIL.NETWORK_SERVICE, responseInfo); in getCellInfoListResponse() local
132 if (rr != null) { in getCellInfoListResponse()
[all …]
DDataResponse.java54 RILRequest rr = mRil.processResponse(RIL.DATA_SERVICE, responseInfo); in allocatePduSessionIdResponse() local
55 if (rr != null) { in allocatePduSessionIdResponse()
57 RadioResponse.sendMessageResponse(rr.mResult, id); in allocatePduSessionIdResponse()
59 mRil.processResponseDone(rr, responseInfo, id); in allocatePduSessionIdResponse()
83 RILRequest rr = mRil.processResponse(RIL.DATA_SERVICE, responseInfo); in getDataCallListResponse() local
85 if (rr != null) { in getDataCallListResponse()
89 RadioResponse.sendMessageResponse(rr.mResult, response); in getDataCallListResponse()
91 mRil.processResponseDone(rr, responseInfo, response); in getDataCallListResponse()
101 RILRequest rr = mRil.processResponse(RIL.DATA_SERVICE, responseInfo); in getSlicingConfigResponse() local
103 if (rr != null) { in getSlicingConfigResponse()
[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.java161 RILRequest rr; in clearRequestList() local
169 rr = mRequestList.valueAt(i); in clearRequestList()
171 logd(i + ": [" + rr.mSerial + "] " + RILUtils.requestToString(rr.mRequest)); in clearRequestList()
173 rr.onError(error, null); in clearRequestList()
174 rr.release(); in clearRequestList()
344 RILRequest rr = RILRequest.obtain(request, result, workSource); in obtainRequest() local
346 Trace.TRACE_TAG_NETWORK, "RIL", RILUtils.requestToString(rr.mRequest), rr.mSerial); in obtainRequest()
349 mRequestList.append(rr.mSerial, rr); in obtainRequest()
351 return rr; in obtainRequest()
355 RILRequest rr; in findAndRemoveRequestFromList() local
[all …]
DSimResponse.java44 RILRequest rr = mRil.processResponse(RIL.SIM_SERVICE, responseInfo); in responseIccIo() local
46 if (rr != null) { in responseIccIo()
49 RadioResponse.sendMessageResponse(rr.mResult, ret); in responseIccIo()
51 mRil.processResponseDone(rr, responseInfo, ret); in responseIccIo()
71 RILRequest rr = mRil.processResponse(RIL.SIM_SERVICE, responseInfo); in areUiccApplicationsEnabledResponse() local
73 if (rr != null) { in areUiccApplicationsEnabledResponse()
75 RadioResponse.sendMessageResponse(rr.mResult, enabled); in areUiccApplicationsEnabledResponse()
77 mRil.processResponseDone(rr, responseInfo, enabled); in areUiccApplicationsEnabledResponse()
112 RILRequest rr = mRil.processResponse(RIL.SIM_SERVICE, responseInfo); in getAllowedCarriersResponse() local
113 if (rr == null) { in getAllowedCarriersResponse()
[all …]
DModemResponse.java84 RILRequest rr = mRil.processResponse(RIL.MODEM_SERVICE, responseInfo); in getHardwareConfigResponse() local
86 if (rr != null) { in getHardwareConfigResponse()
89 RadioResponse.sendMessageResponse(rr.mResult, ret); in getHardwareConfigResponse()
91 mRil.processResponseDone(rr, responseInfo, ret); in getHardwareConfigResponse()
101 RILRequest rr = mRil.processResponse(RIL.MODEM_SERVICE, responseInfo); in getModemActivityInfoResponse() local
103 if (rr != null) { in getModemActivityInfoResponse()
134 RadioResponse.sendMessageResponse(rr.mResult, ret); in getModemActivityInfoResponse()
135 mRil.processResponseDone(rr, responseInfo, ret); in getModemActivityInfoResponse()
144 RILRequest rr = mRil.processResponse(RIL.MODEM_SERVICE, responseInfo); in getModemStackStatusResponse() local
146 if (rr != null) { in getModemStackStatusResponse()
[all …]
DVoiceResponse.java102 RILRequest rr = mRil.processResponse(RIL.VOICE_SERVICE, responseInfo); in getCallForwardStatusResponse() local
103 if (rr != null) { in getCallForwardStatusResponse()
115 RadioResponse.sendMessageResponse(rr.mResult, ret); in getCallForwardStatusResponse()
117 mRil.processResponseDone(rr, responseInfo, ret); in getCallForwardStatusResponse()
158 RILRequest rr = mRil.processResponse(RIL.VOICE_SERVICE, responseInfo); in getCurrentCallsResponse() local
160 if (rr != null) { in getCurrentCallsResponse()
186 RadioResponse.sendMessageResponse(rr.mResult, dcCalls); in getCurrentCallsResponse()
188 mRil.processResponseDone(rr, responseInfo, dcCalls); in getCurrentCallsResponse()
201 RILRequest rr = mRil.processResponse(RIL.VOICE_SERVICE, responseInfo); in getLastCallFailCauseResponse() local
203 if (rr != null) { in getLastCallFailCauseResponse()
[all …]
DMessagingResponse.java39 RILRequest rr = mRil.processResponse(RIL.MESSAGING_SERVICE, responseInfo); in responseSms() local
41 if (rr != null) { in responseSms()
42 long messageId = RIL.getOutgoingSmsMessageId(rr.mResult); in responseSms()
45 RadioResponse.sendMessageResponse(rr.mResult, ret); in responseSms()
47 mRil.processResponseDone(rr, responseInfo, ret); in responseSms()
102 RILRequest rr = mRil.processResponse(RIL.MESSAGING_SERVICE, responseInfo); in getCdmaBroadcastConfigResponse() local
104 if (rr != null) { in getCdmaBroadcastConfigResponse()
139 RadioResponse.sendMessageResponse(rr.mResult, ret); in getCdmaBroadcastConfigResponse()
141 mRil.processResponseDone(rr, responseInfo, ret); in getCdmaBroadcastConfigResponse()
151 RILRequest rr = mRil.processResponse(RIL.MESSAGING_SERVICE, responseInfo); in getGsmBroadcastConfigResponse() local
[all …]
/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()
/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/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/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/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/libs/modules-utils/java/com/android/modules/utils/
DSynchronousResultReceiver.java159 final ISynchronousResultReceiver rr; in complete() local
161 rr = mReceiver; in complete()
163 if (rr != null) { in complete()
165 rr.send(result); in complete()
/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()

12