Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DPublishServiceDescTrackerTest.java93 PublishServiceDescTracker t1 = in testDefaultConfigMatch() local
99 t1.updateImsRegistration(imsReg); in testDefaultConfigMatch()
100 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
107 t1.updateImsRegistration(imsReg); in testDefaultConfigMatch()
108 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
115 t1.updateImsRegistration(imsReg); in testDefaultConfigMatch()
116 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
125 t1.updateImsRegistration(imsReg); in testDefaultConfigMatch()
126 assertEquals(expectedSet, t1.copyRegistrationCapabilities()); in testDefaultConfigMatch()
131 t1.updateImsRegistration(imsReg); in testDefaultConfigMatch()
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/
DCubicEasing.java78 float t1 = 1 - t; in getX() local
80 float f1 = 3 * t1 * t1 * t; in getX()
81 float f2 = 3 * t1 * t * t; in getX()
87 float t1 = 1 - t; in getY() local
89 float f1 = 3 * t1 * t1 * t; in getY()
90 float f2 = 3 * t1 * t * t; in getY()
96 float t1 = 1 - t; in getDiffX() local
97 return 3 * t1 * t1 * mX1 + 6 * t1 * t * (mX2 - mX1) + 3 * t * t * (1 - mX2); in getDiffX()
101 float t1 = 1 - t; in getDiffY() local
102 return 3 * t1 * t1 * mY1 + 6 * t1 * t * (mY2 - mY1) + 3 * t * t * (1 - mY2); in getDiffY()
DMonotonicCurveFit.java129 double t1 = mTangent[i][j]; in getPos() local
131 v[j] = interpolate(h, x, y1, y2, t1, t2); in getPos()
188 double t1 = mTangent[i][j]; in getPos() local
190 v[j] = (float) interpolate(h, x, y1, y2, t1, t2); in getPos()
230 double t1 = mTangent[i][j]; in getPos() local
232 return interpolate(h, x, y1, y2, t1, t2); in getPos()
260 double t1 = mTangent[i][j]; in getSlope() local
262 v[j] = diff(h, x, y1, y2, t1, t2) / h; in getSlope()
290 double t1 = mTangent[i][j]; in getSlope() local
292 return diff(h, x, y1, y2, t1, t2) / h; in getSlope()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp33 TransactionState t1; in TEST() local
34 t1.originPid = 1; in TEST()
35 t1.originUid = 2; in TEST()
36 t1.frameTimelineInfo.vsyncId = 3; in TEST()
37 t1.frameTimelineInfo.inputEventId = 4; in TEST()
38 t1.postTime = 5; in TEST()
47 t1.states.reserve(layerCount); in TEST()
55 t1.states.emplace_back(s); in TEST()
59 t1.displays.reserve(displayCount); in TEST()
69 t1.displays.add(display); in TEST()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java144 MyTarget t1 = new MyTarget(); in testRegisterAndUnregister() local
157 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
160 assertThat(d.linkToDeath(t1, r2)).isEqualTo(2); in testRegisterAndUnregister()
161 assertThat(d.linkToDeath(t1, r3)).isEqualTo(3); in testRegisterAndUnregister()
165 d.unlinkToDeath(t1, r1); in testRegisterAndUnregister()
166 d.unlinkToDeath(t1, r2); in testRegisterAndUnregister()
168 assertThat(t1.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister()
172 d.unlinkToDeath(t1, r3); in testRegisterAndUnregister()
173 assertThat(t1.hasDeathRecipient()).isFalse(); in testRegisterAndUnregister()
177 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc605 const char* t1 = parse_expression(t, last, db); in parse_const_cast_expr() local
606 if (t1 != t) in parse_const_cast_expr()
613 first = t1; in parse_const_cast_expr()
631 const char* t1 = parse_expression(t, last, db); in parse_dynamic_cast_expr() local
632 if (t1 != t) in parse_dynamic_cast_expr()
639 first = t1; in parse_dynamic_cast_expr()
657 const char* t1 = parse_expression(t, last, db); in parse_reinterpret_cast_expr() local
658 if (t1 != t) in parse_reinterpret_cast_expr()
665 first = t1; in parse_reinterpret_cast_expr()
683 const char* t1 = parse_expression(t, last, db); in parse_static_cast_expr() local
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect160 Type t0, t1;
171 t1 = ain2.getType();
172 if ((t0.getCount() != t1.getCount()) ||
173 (t0.getX() != t1.getX()) ||
174 (t0.getY() != t1.getY()) ||
175 (t0.getZ() != t1.getZ()) ||
176 (t0.hasFaces() != t1.hasFaces()) ||
177 (t0.hasMipmaps() != t1.hasMipmaps())) {
224 Type t0, t1;
235 t1 = ain2.getType();
[all …]
/frameworks/av/media/module/codecs/amrwb/dec/src/
Disp_az.cpp145 int32 t1; in Isp_Az() local
190 t1 = f2[i]; in Isp_Az()
192 t1 = fxp_mul32_by_16b(t1, isp[m - 1]) << 1; in Isp_Az()
194 f2[i] -= t1; in Isp_Az()
213 t1 = t0 - (t0 < 0); in Isp_Az()
214 t1 = t1 ^(t1 >> 31); /* t1 = t1 ^sign(t1) */ in Isp_Az()
216 tmax |= t1; in Isp_Az()
225 t1 = t0 - (t0 < 0); in Isp_Az()
226 t1 = t1 ^(t1 >> 31); /* t1 = t1 ^sign(t1) */ in Isp_Az()
228 tmax |= t1; in Isp_Az()
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptC_reflection3264_divergent.java.expect282 Type t0, t1; // Verify dimensions
284 t1 = aout.getType();
285 if ((t0.getCount() != t1.getCount()) ||
286 (t0.getX() != t1.getX()) ||
287 (t0.getY() != t1.getY()) ||
288 (t0.getZ() != t1.getZ()) ||
289 (t0.hasFaces() != t1.hasFaces()) ||
290 (t0.hasMipmaps() != t1.hasMipmaps())) {
325 Type t0, t1; // Verify dimensions
327 t1 = aout.getType();
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptC_reflection3264_divergent.java.expect279 Type t0, t1; // Verify dimensions
281 t1 = aout.getType();
282 if ((t0.getCount() != t1.getCount()) ||
283 (t0.getX() != t1.getX()) ||
284 (t0.getY() != t1.getY()) ||
285 (t0.getZ() != t1.getZ()) ||
286 (t0.hasFaces() != t1.hasFaces()) ||
287 (t0.hasMipmaps() != t1.hasMipmaps())) {
322 Type t0, t1; // Verify dimensions
324 t1 = aout.getType();
[all …]
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dcalc_cor.cpp227 Word32 t1; in comp_corr() local
237 t1 = 0; in comp_corr()
248 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); in comp_corr()
253 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); in comp_corr()
259 *(corr++) = t1 << 1; in comp_corr()
Dhp_max.cpp249 Word32 max, t0, t1; in hp_max() local
282 t1 = 0L; in hp_max()
285 t1 = L_mac(t1, *p, *p1, pOverflow); in hp_max()
290 t1 = L_shl(t1, 1, pOverflow); in hp_max()
291 t0 = L_sub(L_temp, t1, pOverflow); in hp_max()
Dp_ol_wgh.cpp597 Word32 t1; in Lag_max() local
632 t1 = 0; in Lag_max()
637 t1 = L_mac(t1, *p1, *p1, pOverflow); in Lag_max()
646 vadSt->L_R0 = L_add(vadSt->L_R0, t1, pOverflow); in Lag_max()
650 vad_tone_detection(vadSt, t0, t1, pOverflow); in Lag_max()
656 temp = pv_round(t1, pOverflow); in Lag_max()
657 t1 = L_msu(t0, temp, 13107, pOverflow); in Lag_max()
658 *gain_flg = pv_round(t1, pOverflow); in Lag_max()
Dlevinson.cpp655 Word32 t1; /* temporary variable */ in Levinson() local
667 t1 = ((Word32) * (Rh + 1)) << 16; in Levinson()
668 t1 += *(Rl + 1) << 1; in Levinson()
670 t2 = L_abs(t1); /* abs R[1] - required by Div_32 */ in Levinson()
673 if (t1 > 0) in Levinson()
733 t1 = ((Word32) * (Rh + i) << 16) + ((Word32)(*(Rl + i)) << 1); in Levinson()
734 t0 += t1; in Levinson()
738 t1 = L_abs(t0); in Levinson()
739 t2 = Div_32(t1, alp_h, alp_l, pOverflow); /* abs(t0)/Alpha */ in Levinson()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DRecentTasksControllerTest.java191 ActivityManager.RecentTaskInfo t1 = makeTaskInfo(1); in testAddRemoveSplitNotifyChange() local
193 setRawList(t1, t2); in testAddRemoveSplitNotifyChange()
195 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, mock(SplitBounds.class)); in testAddRemoveSplitNotifyChange()
199 mRecentTasksController.removeSplitPair(t1.taskId); in testAddRemoveSplitNotifyChange()
205 ActivityManager.RecentTaskInfo t1 = makeTaskInfo(1); in testAddSameSplitBoundsInfoSkipNotifyChange() local
207 setRawList(t1, t2); in testAddSameSplitBoundsInfoSkipNotifyChange()
211 new Rect(50, 50, 100, 100), t1.taskId, t2.taskId, SNAP_TO_50_50); in testAddSameSplitBoundsInfoSkipNotifyChange()
212 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, bounds1); in testAddSameSplitBoundsInfoSkipNotifyChange()
214 new Rect(50, 50, 100, 100), t1.taskId, t2.taskId, SNAP_TO_50_50); in testAddSameSplitBoundsInfoSkipNotifyChange()
215 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, bounds2); in testAddSameSplitBoundsInfoSkipNotifyChange()
[all …]
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dlevinson.c121 Word32 t0, t1, t2; /* temporary variable */ in Levinson() local
130 t1 = ((Rh[1] << 16) + (Rl[1] << 1)); /* R[1] in Q31 */ in Levinson()
131 t2 = L_abs(t1); /* abs R[1] */ in Levinson()
133 if (t1 > 0) in Levinson()
172 t1 = ((Rh[i] << 16) + (Rl[i] << 1)); in Levinson()
173 t0 = vo_L_add(t0, t1); /* add R[i] in Q31 */ in Levinson()
176 t1 = L_abs(t0); in Levinson()
177 t2 = Div_32(t1, alp_h, alp_l); /* abs(t0)/Alpha */ in Levinson()
/frameworks/rs/toolkit/
Dx86.cpp766 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local
788 t1 = _mm_unpackhi_epi8(out0, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
789 t1 = _mm_mullo_epi16(t1, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K()
790 t1 = _mm_srli_epi16(t1, 8); in rsdIntrinsicBlendSrcOver_K()
791 t1 = _mm_add_epi16(t1, ins); in rsdIntrinsicBlendSrcOver_K()
809 t0 = _mm_packus_epi16(t0, t1); in rsdIntrinsicBlendSrcOver_K()
822 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local
845 t1 = _mm_unpackhi_epi8(in0, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
846 t1 = _mm_mullo_epi16(t1, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K()
847 t1 = _mm_srli_epi16(t1, 8); in rsdIntrinsicBlendDstOver_K()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp763 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local
785 t1 = _mm_unpackhi_epi8(out0, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
786 t1 = _mm_mullo_epi16(t1, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K()
787 t1 = _mm_srli_epi16(t1, 8); in rsdIntrinsicBlendSrcOver_K()
788 t1 = _mm_add_epi16(t1, ins); in rsdIntrinsicBlendSrcOver_K()
806 t0 = _mm_packus_epi16(t0, t1); in rsdIntrinsicBlendSrcOver_K()
819 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local
842 t1 = _mm_unpackhi_epi8(in0, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
843 t1 = _mm_mullo_epi16(t1, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K()
844 t1 = _mm_srli_epi16(t1, 8); in rsdIntrinsicBlendDstOver_K()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DAnrTimerTest.java242 TestArg t1 = new TestArg(1, 1); in testMultipleTimers() local
246 timer.start(t1, 50); in testMultipleTimers()
253 validate(t1, result[1]); in testMultipleTimers()
266 TestArg t1 = new TestArg(1, 1); in testMultipleServices() local
272 x1.start(t1, 50); in testMultipleServices()
279 validate(t1, result[1]); in testMultipleServices()
291 TestArg t1 = new TestArg(1, 1); in testCancelTimer() local
295 timer.start(t1, 50); in testCancelTimer()
300 timer.cancel(t1); in testCancelTimer()
334 TestArg t1 = new TestArg(1, 1); in testDumpOutput() local
[all …]
/frameworks/av/media/module/codecs/amrnb/common/src/
Dlsp_az.cpp520 Word32 t1; in Lsp_Az() local
545 t1 = *(p_f1++) - *(p_f2++); /* f1[i] - f2[i] */ in Lsp_Az()
548 t1 = t1 + ((Word32) 1 << 12); in Lsp_Az()
551 a[j] = (Word16)(t1 >> 13); in Lsp_Az()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dtime_test.cc26 time_t t1 = time(&t); in TEST() local
27 EXPECT_NE(t1, -1); in TEST()
28 EXPECT_NE(t1, 0); in TEST()
29 EXPECT_LE(t1 - t, 1); in TEST()
Dmemory_order_test.cc59 std::thread t1(ReleaseStore<UIntType>, &x, &y, &thread_cnt); in ReleaseAcquireTest()
61 t1.join(); in ReleaseAcquireTest()
124 std::thread t1(WriteX, &x, &thread_cnt); in SequentiallyConsistentTest() local
128 t1.join(); in SequentiallyConsistentTest()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java247 TextView t1 = new TextView(context); in doubleText() local
248 t1.setHeight(desiredHeight); in doubleText()
249 t1.setText(text); in doubleText()
250 t1.setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in doubleText()
254 ll.addView(t1, lp1); in doubleText()
281 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText() local
283 t1.setText(text); in convertDoubleText()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp204 uint64_t t1 = getTimeMillis(); in runMemoryBandwidthTest() local
208 double dt = getTimeMillis() - t1; in runMemoryBandwidthTest()
254 uint64_t t1 = getTimeNanos(); in runMemoryLatencyTest() local
268 double dt = getTimeNanos() - t1; in runMemoryLatencyTest()
360 uint64_t t1 = getTimeNanos(); in runGFlopsTest() local
362 double dt = getTimeNanos() - t1; in runGFlopsTest()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java62 private final TestServiceType t1 = new TestServiceType("t1", "value1"); field in RegisteredServicesCacheTest
83 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesHappyPath()
97 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesReplaceUid()
103 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesReplaceUid()
120 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesServiceRemoved()
129 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesServiceRemoved()
137 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesMultiUser()
157 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testOnRemove()
193 cache.addServiceForQuerying(0, r1, newServiceInfo(t1, 1)); in testMigration()

1234