/frameworks/av/media/codecs/amrnb/common/src/ |
D | syn_filt.cpp | 262 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 …]
|
D | pred_lt.cpp | 278 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()
|
D | residu.cpp | 207 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/codecs/amrnb/enc/src/ |
D | convolve.cpp | 216 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()
|
D | calc_en.cpp | 278 Word32 s2; /* Intermediate energy accumulator */ in calc_unfilt_energies() local 293 s2 = 0; in calc_unfilt_energies() 310 …s2 = 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 …]
|
D | pitch_fr.cpp | 329 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()
|
D | cor_h.cpp | 280 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/core/tests/coretests/src/android/text/ |
D | SpannedTest.java | 89 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/services/tests/servicestests/src/com/android/server/pm/ |
D | WatchedIntentHandlingTest.java | 123 PreferredActivity s2 = a.snapshot(); in testPreferredActivity() local 125 assertTrue(s1 != s2); in testPreferredActivity() 128 assertTrue(a.getPriority() == s2.getPriority()); in testPreferredActivity() 129 assertTrue(s1.getPriority() != s2.getPriority()); in testPreferredActivity() 159 PreferredActivity s2 = a1.snapshot(); in testPreferredIntentResolver() local 161 assertTrue(s1.getPriority() != s2.getPriority()); in testPreferredIntentResolver()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 275 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument 276 if (s1 == s2) { in stringCompareNullEqualsEmpty() 282 if (s2 == null) { in stringCompareNullEqualsEmpty() 283 s2 = ""; in stringCompareNullEqualsEmpty() 285 return (s1.equals(s2)); in stringCompareNullEqualsEmpty() 289 private static boolean arrayCompareNullEqualsEmpty(String s1[], String s2[]) { in arrayCompareNullEqualsEmpty() argument 290 if (s1 == s2) { in arrayCompareNullEqualsEmpty() 295 s2 = ArrayUtils.emptyIfNull(s2, String.class); in arrayCompareNullEqualsEmpty() 298 List<String> dest = Arrays.asList(s2); in arrayCompareNullEqualsEmpty()
|
/frameworks/av/media/libstagefright/tests/ |
D | MediaCodecListOverrides_test.cpp | 111 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/libs/usb/src/com/android/future/usb/ |
D | UsbAccessory.java | 98 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/base/core/tests/coretests/src/android/animation/ |
D | AnimatorSetActivityTest.java | 111 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSenderTest.java | 225 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/rs/tests/lldb/cpp/MultipleRSFiles/ |
D | MultipleRSFiles.cpp | 40 sp<ScriptC_second> s2 = new ScriptC_second(rs); in main() local 47 s2->forEach_second_kernel(a, b); in main()
|
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/ |
D | jnimultiplersfiles.cpp | 49 sp<ScriptC_second> s2 = new ScriptC_second(rs); in Java_com_android_rs_jnimultiplersfiles_MainActivity_nativeRS() local 56 s2->forEach_second_kernel(a, b); in Java_com_android_rs_jnimultiplersfiles_MainActivity_nativeRS()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 57 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/ |
D | apitest.rscript | 55 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/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 39 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/Refocus/src/com/android/rs/test/ |
D | layered_filter_fast_d1new.rscript | 88 x += g_image_size_i4.s2; // margin 89 y += g_image_size_i4.s2; // margin 117 x += g_image_size_i4.s2; // margin 118 y += g_image_size_i4.s2; // margin 242 x += g_image_size_i4.s2; // margin 243 y += g_image_size_i4.s2; // margin 288 x += g_image_size_i4.s2; // margin 289 y += g_image_size_i4.s2; // margin 333 y += g_image_size_i4.s2; // margin 369 y += g_image_size_i4.s2; // margin [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | IntentResolver.java | 78 int s2 = f2.countActions(); in filterEquals() local 79 if (s1 != s2) { in filterEquals() 88 s2 = f2.countCategories(); in filterEquals() 89 if (s1 != s2) { in filterEquals() 98 s2 = f2.countDataTypes(); in filterEquals() 99 if (s1 != s2) { in filterEquals() 108 s2 = f2.countDataSchemes(); in filterEquals() 109 if (s1 != s2) { in filterEquals() 118 s2 = f2.countDataAuthorities(); in filterEquals() 119 if (s1 != s2) { in filterEquals() [all …]
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbAccessory.java | 183 private static boolean compare(String s1, String s2) { in compare() argument 184 if (s1 == null) return (s2 == null); in compare() 185 return s1.equals(s2); in compare()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 385 String[] s2 = new String[]{"s2[0]", "s2[1]", "s2[2]"}; in testArrays() local 386 String[] sr = mRemote.stringArray(s0, s1, s2); in testArrays() 394 assertEquals("s0[0]", s2[0]); in testArrays() 395 assertEquals("s2[1]", s2[1]); in testArrays() 396 assertEquals("s2[2]", s2[2]); in testArrays()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 184 bool splitString(const AString &s, const AString &delimiter, AString *s1, AString *s2) { in splitString() argument 190 *s2 = AString(s, pos + 1, s.size() - pos - 1); in splitString() 195 const AString &s, const AString &delimiter, AString *s1, AString *s2, AString *s3) { in splitString() argument 200 if (!splitString(temp, delimiter, s2, s3)) { in splitString()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 852 uint32_t s2 = 0; in launchForEach() local 857 s2 = targetByteChunk / mtls->aout[0]->mHal.drvState.lod[0].stride; in launchForEach() 859 s2 = targetByteChunk / mtls->ains[0]->mHal.drvState.lod[0].stride; in launchForEach() 863 s2 = s1; in launchForEach() 865 mtls->mSliceSize = rsMin(s1, s2); in launchForEach() 874 uint32_t s2 = 0; in launchForEach() local 879 s2 = targetByteChunk / mtls->aout[0]->getType()->getElementSizeBytes(); in launchForEach() 881 s2 = targetByteChunk / mtls->ains[0]->getType()->getElementSizeBytes(); in launchForEach() 885 s2 = s1; in launchForEach() 887 mtls->mSliceSize = rsMin(s1, s2); in launchForEach()
|