Home
last modified time | relevance | path

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

123

/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/tools/preload2/src/com/android/preload/actions/
DReloadListAction.java56 String s1 = o1.getClientData().getClientDescription(); in compare() local
59 if (s1 == null || s2 == null) { in compare()
61 return (s1 == null) ? -1 : 1; in compare()
64 return s1.compareTo(s2); in compare()
/frameworks/base/core/tests/coretests/src/android/net/
DStaticIpConfigurationTest.java56 private boolean isEqual(StaticIpConfiguration s1, StaticIpConfiguration s2) { in isEqual() argument
57 return s1.equals(s2); in isEqual()
60 private void assertEquals(StaticIpConfiguration s1, StaticIpConfiguration s2) { in assertEquals() argument
61 assertTrue(isEqual(s1, s2)); in assertEquals()
64 private void assertNotEquals(StaticIpConfiguration s1, StaticIpConfiguration s2) { in assertNotEquals() argument
65 assertFalse(isEqual(s1, s2)); in assertNotEquals()
90 StaticIpConfiguration s1 = makeTestObject(); in testCopyAndClear() local
91 StaticIpConfiguration s2 = new StaticIpConfiguration(s1); in testCopyAndClear()
92 assertEquals(s1, s2); in testCopyAndClear()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java77 AnimatorSet s1 = new AnimatorSet(); in testGetChildAnimations() local
78 s1.playTogether(a1, a2, a3); in testGetChildAnimations()
79 ArrayList<Animator> children = s1.getChildAnimations(); in testGetChildAnimations()
94 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations()
101 assertTrue(s3Children.contains(s1)); in testGetChildAnimations()
120 AnimatorSet s1 = new AnimatorSet(); in testTotalDuration() local
121 s1.playSequentially(list); in testTotalDuration()
128 assertEquals(totalDuration, s1.getTotalDuration()); in testTotalDuration()
131 s1.setStartDelay(200); in testTotalDuration()
132 assertEquals(totalDuration + 200, s1.getTotalDuration()); in testTotalDuration()
[all …]
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java74 int s1 = f1.countActions(); in filterEquals() local
76 if (s1 != s2) { in filterEquals()
79 for (int i=0; i<s1; i++) { in filterEquals()
84 s1 = f1.countCategories(); in filterEquals()
86 if (s1 != s2) { in filterEquals()
89 for (int i=0; i<s1; i++) { in filterEquals()
94 s1 = f1.countDataTypes(); in filterEquals()
96 if (s1 != s2) { in filterEquals()
99 for (int i=0; i<s1; i++) { in filterEquals()
104 s1 = f1.countDataSchemes(); in filterEquals()
[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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java122 int s1 = mAggressiveConnectedScore.generateScore(); in calculateAndReportScore() local
127 score = s1; in calculateAndReportScore()
138 logLinkMetrics(wifiInfo, s0, s1); in calculateAndReportScore()
166 private void logLinkMetrics(WifiInfo wifiInfo, int s0, int s1) { in logLinkMetrics() argument
182 s0, s1); in logLinkMetrics()
/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/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java180 private static boolean stringCompareNullEqualsEmpty(String s1, String s2) { in stringCompareNullEqualsEmpty() argument
181 if (s1 == s2) { in stringCompareNullEqualsEmpty()
184 if (s1 == null) { in stringCompareNullEqualsEmpty()
185 s1 = ""; in stringCompareNullEqualsEmpty()
190 return (s1.equals(s2)); in stringCompareNullEqualsEmpty()
/frameworks/ml/nn/runtime/test/specs/
Dconcat_quant8_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [(x + s1) % 256 for x in range(s2)])()
Dconcat_float_2.mod.py33 input2_values = (lambda s1 = row1 * col, s2 = row2 * col:
34 [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()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java154 private static boolean compare(String s1, String s2) { in compare() argument
155 if (s1 == null) return (s2 == null); in compare()
156 return s1.equals(s2); in compare()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java514 spinner s1; field in ImageProcessingActivityJB.DVFSWorkaround
516 s1 = new spinner(); in DVFSWorkaround()
521 s1.go(t); in go()
526 s1.mRun = false; in destroy()
683 float s1 = (float)tw / (float)mScreenWidth; in startProcessor() local
686 if (s1 > s2) { in startProcessor()
687 tw /= s1; in startProcessor()
688 th /= s1; in startProcessor()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayer_info_fast.rsh33 return (layer_info_i2.s1 <= depth && depth <= layer_info_i2.s0);
45 ((depth < layer_info_f2.s1) | (depth > layer_info_f2.s0));
/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java48 short s1 = 1; in testUnsignedShortWideningConversions() local
51 assertEquals(1, uint16(s1)); in testUnsignedShortWideningConversions()

123