Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dsyn_filt.cpp262 Word32 s2; in Syn_filt() local
290 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); in Syn_filt()
295 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt()
297 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt()
299 s2 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a), (Word32) * (p_yy1--), s2); in Syn_filt()
317 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); in Syn_filt()
325 if ((UWord32)(s2 - 0xf8000000L) < 0x0fffffffL) in Syn_filt()
327 temp = (Word16)(s2 >> 12); in Syn_filt()
329 else if (s2 > 0x07ffffffL) in Syn_filt()
349 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a++), 0x00000800L); in Syn_filt()
[all …]
Dpred_lt.cpp278 Word32 s2; in Pred_lt_3or6() local
328 s2 = 0x00004000L; in Pred_lt_3or6()
332 s2 += ((Word32) * (pX3--)) * *(pC1); in Pred_lt_3or6()
335 s2 += ((Word32) * (pX2)) * *(pC1++); in Pred_lt_3or6()
336 s2 += ((Word32) * (pX3--)) * *(pC1); in Pred_lt_3or6()
339 s2 += ((Word32) * (pX2)) * *(pC1++); in Pred_lt_3or6()
344 *(p_exc++) = (Word16)(s2 >> 15); in Pred_lt_3or6()
Dresidu.cpp207 Word32 s2; in Residu() local
221 s2 = 0x0000800L; in Residu()
233 s2 += ((Word32) * (p_coef) * *(p_input2++)); in Residu()
237 s2 += ((Word32) * (p_coef) * *(p_input2++)); in Residu()
243 s2 += (((Word32) * (p_coef)) * *(p_input2)); in Residu()
248 *(p_residual_ptr--) = (Word16)(s2 >> 12); in Residu()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dconvolve.cpp216 Word32 s1, s2; in Convolve() local
224 s2 = ((Word32) * (x)) * *(h--); in Convolve()
229 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve()
231 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve()
235 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h), s2); in Convolve()
238 *(y++) = (Word16)(s2 >> 12); in Convolve()
Dcalc_en.cpp278 Word32 s2; /* Intermediate energy accumulator */ in calc_unfilt_energies() local
293 s2 = 0; in calc_unfilt_energies()
310s2 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) tmp2, s2); /* Compute ltp excitation energ… in calc_unfilt_energies()
322 s2 = s2 << 1; in calc_unfilt_energies()
344 if (s2 & MIN_32) in calc_unfilt_energies()
346 s2 = MAX_32; in calc_unfilt_energies()
350 exp = norm_l(s2); in calc_unfilt_energies()
351 frac_en[1] = (Word16)(L_shl(s2, exp, pOverflow) >> 16); in calc_unfilt_energies()
608 Word32 s2; /* Intermediate energy accumulator */ in calc_filt_energies() local
626 s2 = 0L; in calc_filt_energies()
[all …]
Dpitch_fr.cpp329 Word32 s2; in Norm_Corr() local
383 s = s2 = 0; in Norm_Corr()
391 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf))); in Norm_Corr()
394 s2 += ((Word32)(*(p_s_excf)) * (*(p_s_excf))); in Norm_Corr()
398 s2 = s2 << 1; in Norm_Corr()
399 s2 = Inv_sqrt(s2, pOverflow); in Norm_Corr()
400 norm_h = (Word16)(s2 >> 16); in Norm_Corr()
401 norm_l = (Word16)((s2 >> 1) - (norm_h << 15)); in Norm_Corr()
Dcor_h.cpp280 Word32 s2; in cor_h() local
382 s2 = 0; in cor_h()
393 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_h2++), (Word32) * (p_h), s2); in cor_h()
396 tmp11 = (Word16)((s2 + 0x00004000L) >> 15); in cor_h()
/frameworks/base/tests/net/common/java/android/net/
DStaticIpConfigurationTest.java87 StaticIpConfiguration s2 = new StaticIpConfiguration(s1); in testCopyAndClear() local
88 assertEquals(s1, s2); in testCopyAndClear()
89 s2.clear(); in testCopyAndClear()
90 assertEquals(empty, s2); in testCopyAndClear()
123 StaticIpConfiguration s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals() local
124 assertEquals(s, s2); in testHashCodeAndEquals()
127 assertNotEquals(s, s2); in testHashCodeAndEquals()
129 s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals()
131 assertNotEquals(s, s2); in testHashCodeAndEquals()
133 s2 = new StaticIpConfiguration(s); in testHashCodeAndEquals()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java89 Spanned s2 = (Spanned) TextUtils.CHAR_SEQUENCE_CREATOR. in testWrapParcel() local
93 style = s2.getSpans(1, 2, StyleSpan.class); in testWrapParcel()
95 assertEquals(1, s2.getSpanStart(style[0])); in testWrapParcel()
96 assertEquals(2, s2.getSpanEnd(style[0])); in testWrapParcel()
98 style = s2.getSpans(3, 7, StyleSpan.class); in testWrapParcel()
100 assertEquals(3, s2.getSpanStart(style[0])); in testWrapParcel()
101 assertEquals(7, s2.getSpanEnd(style[0])); in testWrapParcel()
103 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel()
106 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel()
107 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel()
[all …]
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp564 bool EqualsTo(const DimensionsValue& s1, const DimensionsValue& s2) { in EqualsTo() argument
565 if (s1.field() != s2.field()) { in EqualsTo()
568 if (s1.value_case() != s2.value_case()) { in EqualsTo()
573 return (s1.value_str() == s2.value_str()); in EqualsTo()
575 return s1.value_int() == s2.value_int(); in EqualsTo()
577 return s1.value_long() == s2.value_long(); in EqualsTo()
579 return s1.value_bool() == s2.value_bool(); in EqualsTo()
581 return s1.value_float() == s2.value_float(); in EqualsTo()
584 s2.value_tuple().dimensions_value_size()) { in EqualsTo()
590 s2.value_tuple().dimensions_value(i)); in EqualsTo()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java111 AnimatorSet s2 = new AnimatorSet(); in testGetChildAnimations() local
112 s2.playSequentially(a1, a2, a3); in testGetChildAnimations()
113 children = s2.getChildAnimations(); in testGetChildAnimations()
120 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations()
128 assertTrue(s3Children.contains(s2)); in testGetChildAnimations()
164 AnimatorSet s2 = new AnimatorSet(); in testTotalDuration() local
165 s2.playTogether(list); in testTotalDuration()
172 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
513 final AnimatorSet s2 = s1.clone(); in testClone() local
515 s2.addListener(l2); in testClone()
[all …]
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp111 AString s2; in TEST_F() local
112 EXPECT_FALSE(splitString(s, delimiter, &s1, &s2)); in TEST_F()
114 EXPECT_TRUE(splitString(s, delimiter, &s1, &s2)); in TEST_F()
116 EXPECT_TRUE(s2 == "123"); in TEST_F()
/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.cpp109 bool LessThan(const vector<FieldValue>& s1, const vector<FieldValue>& s2) { in LessThan() argument
110 if (s1.size() != s2.size()) { in LessThan()
111 return s1.size() < s2.size(); in LessThan()
116 if (s1[i] != s2[i]) { in LessThan()
117 return s1[i] < s2[i]; in LessThan()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java98 private static boolean compare(String s1, String s2) { in compare() argument
99 if (s1 == null) return (s2 == null); in compare()
100 return s1.equals(s2); in compare()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DApduSenderTest.java225 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataLongResponse() local
227 String longData = s1 + s2 + s3; in testSendStoreDataLongDataLongResponse()
243 eq(1), eq(0xFF), eq(s2), any()); in testSendStoreDataLongDataLongResponse()
256 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendStoreDataLongDataMod0() local
257 String longData = s1 + s2; in testSendStoreDataLongDataMod0()
267 eq(1), eq(0xFF), eq(s2), any()); in testSendStoreDataLongDataMod0()
295 String s2 = new String(new char[0xFF]).replace("\0", "BB"); in testSendErrorResponseInMiddle() local
297 String longData = s1 + s2 + s3; in testSendErrorResponseInMiddle()
310 eq(1), eq(0xFF), eq(s2), any()); in testSendErrorResponseInMiddle()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java117 int s2 = mVelocityBasedConnectedScore.generateScore(); in calculateAndReportScore() local
119 score = s2; in calculateAndReportScore()
163 logLinkMetrics(wifiInfo, millis, netId, s1, s2, score); in calculateAndReportScore()
250 int s1, int s2, int score) { in logLinkMetrics() argument
271 s1, s2, score); in logLinkMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java202 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument
203 if (s1 == s2) { in stringCompareNullEqualsEmpty()
209 if (s2 == null) { in stringCompareNullEqualsEmpty()
210 s2 = ""; in stringCompareNullEqualsEmpty()
212 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript39 volatile short2 s2;
184 s2 = rsGetElementAt_short2(aShort2, 0);
185 rsSetElementAt_short2(aShort2, s2, 0);
186 s2 = rsGetElementAt_short2(aShort2, 0, 0);
187 rsSetElementAt_short2(aShort2, s2, 0, 0);
188 s2 = rsGetElementAt_short2(aShort2, 0, 0, 0);
189 rsSetElementAt_short2(aShort2, s2, 0, 0, 0);
418 c2 = convert_char2(s2);
440 uc2 = convert_uchar2(s2);
460 s2 = convert_short2(c2);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript57 volatile short2 s2;
204 s2 = rsGetElementAt_short2(aShort2, 0);
205 rsSetElementAt_short2(aShort2, s2, 0);
206 s2 = rsGetElementAt_short2(aShort2, 0, 0);
207 rsSetElementAt_short2(aShort2, s2, 0, 0);
208 s2 = rsGetElementAt_short2(aShort2, 0, 0, 0);
209 rsSetElementAt_short2(aShort2, s2, 0, 0, 0);
438 c2 = convert_char2(s2);
460 uc2 = convert_uchar2(s2);
480 s2 = convert_short2(c2);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript55 volatile short2 s2;
202 s2 = rsGetElementAt_short2(aShort2, 0);
203 rsSetElementAt_short2(aShort2, s2, 0);
204 s2 = rsGetElementAt_short2(aShort2, 0, 0);
205 rsSetElementAt_short2(aShort2, s2, 0, 0);
206 s2 = rsGetElementAt_short2(aShort2, 0, 0, 0);
207 rsSetElementAt_short2(aShort2, s2, 0, 0, 0);
436 c2 = convert_char2(s2);
458 uc2 = convert_uchar2(s2);
478 s2 = convert_short2(c2);
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_0/
Dconcat_float_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [x + s1 for x in range(s2)])()
Dconcat_quant8_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [(x + s1) % 256 for x in range(s2)])()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dconcat_float16_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [x + s1 for x in range(s2)])()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java76 int s2 = f2.countActions(); in filterEquals() local
77 if (s1 != s2) { in filterEquals()
86 s2 = f2.countCategories(); in filterEquals()
87 if (s1 != s2) { in filterEquals()
96 s2 = f2.countDataTypes(); in filterEquals()
97 if (s1 != s2) { in filterEquals()
106 s2 = f2.countDataSchemes(); in filterEquals()
107 if (s1 != s2) { in filterEquals()
116 s2 = f2.countDataAuthorities(); in filterEquals()
117 if (s1 != s2) { in filterEquals()
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_1/
Dconcat_float_2_relaxed.mod.py34 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
35 [x + s1 for x in range(s2)])()

1234