Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dsyn_filt.cpp261 Word32 s1; in Syn_filt() local
289 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a), 0x00000800L); in Syn_filt()
291 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt()
296 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt()
298 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt()
300 s1 = amrnb_fxp_msu_16_by_16bb((Word32) * (p_a++), (Word32) * (p_yy1), s1); in Syn_filt()
304 if ((UWord32)(s1 - 0xf8000000L) < 0x0fffffffL) in Syn_filt()
306 temp = (Word16)(s1 >> 12); in Syn_filt()
308 else if (s1 > 0x07ffffffL) in Syn_filt()
348 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_a), 0x00000800L); in Syn_filt()
[all …]
Dpred_lt.cpp277 Word32 s1; in Pred_lt_3or6() local
327 s1 = 0x00004000L; in Pred_lt_3or6()
333 s1 += ((Word32) * (pX3)) * *(pC1++); in Pred_lt_3or6()
334 s1 += ((Word32) * (pX2++)) * *(pC1); in Pred_lt_3or6()
337 s1 += ((Word32) * (pX3)) * *(pC1++); in Pred_lt_3or6()
338 s1 += ((Word32) * (pX2++)) * *(pC1); in Pred_lt_3or6()
343 *(p_exc++) = (Word16)(s1 >> 15); in Pred_lt_3or6()
Dresidu.cpp206 Word32 s1; in Residu() local
220 s1 = 0x0000800L; in Residu()
232 s1 += ((Word32) * (p_coef) * *(p_input1++)); in Residu()
236 s1 += ((Word32) * (p_coef) * *(p_input1++)); in Residu()
242 s1 += (((Word32) * (p_coef)) * *(p_input1)); in Residu()
247 *(p_residual_ptr--) = (Word16)(s1 >> 12); in Residu()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcalc_en.cpp277 Word32 s1; /* Intermediate energy accumulator */ in calc_unfilt_energies() local
292 s1 = 0; in calc_unfilt_energies()
309s1 = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s1); /* Compute residual energy */ in calc_unfilt_energies()
321 s1 = s1 << 1; in calc_unfilt_energies()
325 if (s1 & MIN_32) in calc_unfilt_energies()
327 s1 = MAX_32; in calc_unfilt_energies()
332 if (s1 < 400L) in calc_unfilt_energies()
339 exp = norm_l(s1); in calc_unfilt_energies()
340 frac_en[0] = (Word16)(L_shl(s1, exp, pOverflow) >> 16); in calc_unfilt_energies()
607 Word32 s1; /* Intermediate energy accumulator */ in calc_filt_energies() local
[all …]
Dconvolve.cpp216 Word32 s1, s2; in Convolve() local
225 s1 = ((Word32) * (x++)) * *(h); in Convolve()
230 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve()
232 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve()
237 *(y++) = (Word16)(s1 >> 12); in Convolve()
Dg_pitch.cpp316 Word32 s1; in G_pitch() local
378 s1 = s; in G_pitch()
379 s = s1 + L_temp; in G_pitch()
381 if ((s1 ^ L_temp) > 0) in G_pitch()
383 if ((s1 ^ s) < 0) in G_pitch()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java56 ShortcutInfo s1 = makeShortcut("s1"); in testCreateShortcutResult_noDefaultLauncher()
57 assertNull(mManager.createShortcutResultIntent(s1)); in testCreateShortcutResult_noDefaultLauncher()
65 ShortcutInfo s1 = makeShortcut("s1"); in testCreateShortcutResult_validResult()
66 Intent intent = mManager.createShortcutResultIntent(s1); in testCreateShortcutResult_validResult()
88 ShortcutInfo s1 = makeShortcut("s1"); in testCreateShortcutResult_alreadyPinned()
89 Intent intent = mManager.createShortcutResultIntent(s1); in testCreateShortcutResult_alreadyPinned()
112 ShortcutInfo s1 = makeShortcut("s1"); in testCreateShortcutResult_alreadyPinnedByAnother()
113 Intent intent = mManager.createShortcutResultIntent(s1); in testCreateShortcutResult_alreadyPinnedByAnother()
128 ShortcutInfo s1 = makeShortcut("s1"); in testCreateShortcutResult_defaultLauncherChanges()
129 Intent intent = mManager.createShortcutResultIntent(s1); in testCreateShortcutResult_defaultLauncherChanges()
DShortcutManagerTest8.java177 ShortcutInfo s1 = makeShortcut("s1"); in testRequestPinShortcut_notSupported()
179 assertFalse(mManager.requestPinShortcut(s1, in testRequestPinShortcut_notSupported()
189 ShortcutInfo s1 = makeShortcut("s1"); in testRequestPinShortcut_notSupported()
191 assertFalse(mManager.requestPinShortcut(s1, in testRequestPinShortcut_notSupported()
201 ShortcutInfo s1 = makeShortcut("s1"); in testRequestPinShortcut_notSupported()
203 assertFalse(mManager.requestPinShortcut(s1, in testRequestPinShortcut_notSupported()
339 ShortcutInfo s1 = makeShortcutWithActivity("s1", in testRequestPinShortcut_explicitTargetActivity()
342 assertTrue(mManager.requestPinShortcut(s1, null)); in testRequestPinShortcut_explicitTargetActivity()
395 ShortcutInfo s1 = makeShortcutWithActivity("s1", in testRequestPinShortcut_wrongTargetActivity()
399 assertTrue(mManager.requestPinShortcut(s1, /* resultIntent=*/ null)); in testRequestPinShortcut_wrongTargetActivity()
[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()
571 switch (s1.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()
583 if (s1.value_tuple().dimensions_value_size() != in EqualsTo()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java103 AnimatorSet s1 = new AnimatorSet(); in testGetChildAnimations() local
104 s1.playTogether(a1, a2, a3); in testGetChildAnimations()
105 ArrayList<Animator> children = s1.getChildAnimations(); in testGetChildAnimations()
120 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations()
127 assertTrue(s3Children.contains(s1)); in testGetChildAnimations()
146 AnimatorSet s1 = new AnimatorSet(); in testTotalDuration() local
147 s1.playSequentially(list); in testTotalDuration()
154 assertEquals(totalDuration, s1.getTotalDuration()); in testTotalDuration()
157 s1.setStartDelay(200); in testTotalDuration()
158 assertEquals(totalDuration + 200, s1.getTotalDuration()); in testTotalDuration()
[all …]
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp47 const char* s1 = "Hello MCLinker"; in TEST_F() local
48 llvm::StringRef result1 = m_pTestee->insertString(s1); in TEST_F()
49 EXPECT_NE(s1, result1.data()); in TEST_F()
50 EXPECT_STREQ(s1, result1.data()); in TEST_F()
54 const char* s1 = "Hello MCLinker"; in TEST_F() local
55 std::string s2(s1); in TEST_F()
56 llvm::StringRef result1 = m_pTestee->insertString(s1); in TEST_F()
58 EXPECT_STREQ(s1, result1.data()); in TEST_F()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java75 int s1 = f1.countActions(); in filterEquals() local
77 if (s1 != s2) { in filterEquals()
80 for (int i=0; i<s1; i++) { in filterEquals()
85 s1 = f1.countCategories(); in filterEquals()
87 if (s1 != s2) { in filterEquals()
90 for (int i=0; i<s1; i++) { in filterEquals()
95 s1 = f1.countDataTypes(); in filterEquals()
97 if (s1 != s2) { in filterEquals()
100 for (int i=0; i<s1; i++) { in filterEquals()
105 s1 = f1.countDataSchemes(); in filterEquals()
[all …]
/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()
114 size_t count = s1.size(); in LessThan()
116 if (s1[i] != s2[i]) { in LessThan()
117 return s1[i] < s2[i]; in LessThan()
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp110 AString s1; 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()
115 EXPECT_TRUE(s1 == "abc"); in TEST_F()
/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.java224 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendStoreDataLongDataLongResponse() local
227 String longData = s1 + s2 + s3; in testSendStoreDataLongDataLongResponse()
241 eq(0), eq(0xFF), eq(s1), any()); in testSendStoreDataLongDataLongResponse()
255 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendStoreDataLongDataMod0() local
257 String longData = s1 + s2; in testSendStoreDataLongDataMod0()
265 eq(0), eq(0xFF), eq(s1), any()); in testSendStoreDataLongDataMod0()
294 String s1 = new String(new char[0xFF]).replace("\0", "AA"); in testSendErrorResponseInMiddle() local
297 String longData = s1 + s2 + s3; in testSendErrorResponseInMiddle()
308 eq(0), eq(0xFF), eq(s1), any()); in testSendErrorResponseInMiddle()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dtranspose_conv2d_large.mod.py23 s1 = Int32Vector("shape", [25, 32, 32, 16]) # output shape variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
Dconcat_float16_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [x + s1 for x in range(s2)])()
/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()
206 if (s1 == null) { in stringCompareNullEqualsEmpty()
207 s1 = ""; in stringCompareNullEqualsEmpty()
212 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
/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_3/
Dtranspose_conv2d_quant8_signed.mod.py23 s1 = Int32Vector("shape", [25, 32, 32, 16]) # output shape variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
57 s1 = Int32Vector("shape", [1, 5, 5, 2]) # output shape variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
99 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations(quant8_signed, quant8_signe…
/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)])()
/frameworks/rs/tests/lldb/cpp/MultipleRSFiles/
DMultipleRSFiles.cpp39 sp<ScriptC_first> s1 = new ScriptC_first(rs); in main() local
42 s1->forEach_first_kernel(a, b); in main()
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/
Djnimultiplersfiles.cpp48 sp<ScriptC_first> s1 = new ScriptC_first(rs); in Java_com_android_rs_jnimultiplersfiles_MainActivity_nativeRS() local
51 s1->forEach_first_kernel(a, b); in Java_com_android_rs_jnimultiplersfiles_MainActivity_nativeRS()

1234