Home
last modified time | relevance | path

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

12

/system/bt/common/
Dtime_util_unittest.cc31 uint64_t t1 = bluetooth::common::time_get_os_boottime_ms(); in TEST() local
32 ASSERT_GT(t1, uint64_t(0)); in TEST()
40 uint64_t t1 = bluetooth::common::time_get_os_boottime_us(); in TEST() local
41 ASSERT_GT(t1, uint64_t(0)); in TEST()
49 uint64_t t1 = bluetooth::common::time_get_os_boottime_ms(); in TEST() local
51 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS); in TEST()
59 uint64_t t1 = bluetooth::common::time_get_os_boottime_us(); in TEST() local
61 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS * 1000); in TEST()
76 uint64_t t1 = bluetooth::common::time_get_os_boottime_ms(); in TEST() local
81 ASSERT_TRUE((t2 - t1) >= TEST_TIME_SLEEP_MS); in TEST()
[all …]
/system/chre/util/tests/
Dtime_test.cc98 Milliseconds t1(5), t2(5), t3(6); in TEST() local
99 EXPECT_TRUE(t1 == t2); in TEST()
100 EXPECT_FALSE(t1 == t3); in TEST()
160 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
161 EXPECT_TRUE(t1 == t2); in TEST()
162 EXPECT_FALSE(t1 == t3); in TEST()
166 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
167 EXPECT_FALSE(t1 != t2); in TEST()
168 EXPECT_TRUE(t1 != t3); in TEST()
202 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
[all …]
/system/bt/stack/smp/
Dp_256_ecc_pp.cc42 uint32_t t1[KEY_LENGTH_DWORDS_P256]; in ECC_Double() local
64 multiprecision_mersenns_squa_mod(t1, z1); // t1=z1^2 in ECC_Double()
65 multiprecision_sub_mod(t2, x1, t1); // t2=x1-t1 in ECC_Double()
66 multiprecision_add_mod(t1, x1, t1); // t1=x1+t1 in ECC_Double()
67 multiprecision_mersenns_mult_mod(t2, t1, t2); // t2=t2*t1 in ECC_Double()
82 multiprecision_lshift_mod(t1, t3); // t1=2t3 in ECC_Double()
83 multiprecision_sub_mod(x3, x3, t1); // x3=x3-t1 in ECC_Double()
84 multiprecision_sub_mod(t1, t3, x3); // t1=t3-x3 in ECC_Double()
85 multiprecision_mersenns_mult_mod(t1, t1, t2); // t1=t1*t2 in ECC_Double()
86 multiprecision_sub_mod(y3, t1, y3); // y3=t1-y3 in ECC_Double()
[all …]
/system/bt/gd/security/ecc/
Dp_256_ecc_pp.cc47 uint32_t t1[KEY_LENGTH_DWORDS_P256]; in ECC_Double() local
69 multiprecision_mersenns_squa_mod(t1, z1, modp); // t1=z1^2 in ECC_Double()
70 multiprecision_sub_mod(t2, x1, t1, modp); // t2=x1-t1 in ECC_Double()
71 multiprecision_add_mod(t1, x1, t1, modp); // t1=x1+t1 in ECC_Double()
72 multiprecision_mersenns_mult_mod(t2, t1, t2, modp); // t2=t2*t1 in ECC_Double()
87 multiprecision_lshift_mod(t1, t3, modp); // t1=2t3 in ECC_Double()
88 multiprecision_sub_mod(x3, x3, t1, modp); // x3=x3-t1 in ECC_Double()
89 multiprecision_sub_mod(t1, t3, x3, modp); // t1=t3-x3 in ECC_Double()
90 multiprecision_mersenns_mult_mod(t1, t1, t2, modp); // t1=t1*t2 in ECC_Double()
91 multiprecision_sub_mod(y3, t1, y3, modp); // y3=t1-y3 in ECC_Double()
[all …]
/system/media/audio_utils/include/audio_utils/
Dvariadic_utils.h89 constexpr auto OPERATOR_NAME##_VS(const T1& t1, const T2& t2, std::index_sequence<I...>); \
91 constexpr auto OPERATOR_NAME##_VV(const T1& t1, const T2& t2, std::index_sequence<I...>); \
94 constexpr auto operator OPERATOR(const T1& t1, const T2& t2) { \
95 return OPERATOR_NAME##_VS(t1, t2, std::make_index_sequence<std::tuple_size<T1>::value>{}); \
99 constexpr auto operator OPERATOR(const T1& t1, const T2& t2) { \
101 t2, t1, std::make_index_sequence<std::tuple_size<T2>::value>{}); \
105 constexpr auto operator OPERATOR(const T1& t1, const T2& t2) { \
108 return OPERATOR_NAME##_VV(t1, t2, std::make_index_sequence<std::tuple_size<T1>::value>{}); \
112 constexpr auto operator OPERATOR##=(T1& t1, const T2& t2) { \
113 t1 = OPERATOR_NAME##_VS(t1, t2, std::make_index_sequence<std::tuple_size<T1>::value>{}); \
[all …]
/system/sepolicy/prebuilts/api/29.0/private/
Dmls11 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
15 (l1 dom l2 or t1 == mlstrustedsubject);
19 (l1 eq l2 or t1 == mlstrustedsubject);
28 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
48 (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
58 ( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
60 …ile and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject…
63 ( (t2 != app_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
[all …]
/system/sepolicy/private/
Dmls11 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
15 (l1 dom l2 or t1 == mlstrustedsubject);
19 (l1 eq l2 or t1 == mlstrustedsubject);
28 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
48 (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
58 ( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
60 …ile and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject…
63 ( (t2 != app_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
[all …]
/system/sepolicy/prebuilts/api/30.0/private/
Dmls11 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
15 (l1 dom l2 or t1 == mlstrustedsubject);
19 (l1 eq l2 or t1 == mlstrustedsubject);
28 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
48 (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
58 ( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
60 …ile and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject…
63 ( (t2 != app_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
[all …]
/system/sepolicy/prebuilts/api/26.0/private/
Dmls11 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
15 (l1 dom l2 or t1 == mlstrustedsubject);
19 (l1 eq l2 or t1 == mlstrustedsubject);
28 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
48 (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
58 (t2 != app_data_file or l1 eq l2 or t1 == mlstrustedsubject);
60 (t2 != app_data_file or l1 eq l2 or t1 == mlstrustedsubject);
69 (t2 == app_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
[all …]
/system/sepolicy/prebuilts/api/27.0/private/
Dmls11 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
15 (l1 dom l2 or t1 == mlstrustedsubject);
19 (l1 eq l2 or t1 == mlstrustedsubject);
28 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
48 (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
58 (t2 != app_data_file or l1 eq l2 or t1 == mlstrustedsubject);
60 (t2 != app_data_file or l1 eq l2 or t1 == mlstrustedsubject);
69 (t2 == app_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
[all …]
/system/sepolicy/prebuilts/api/28.0/private/
Dmls11 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
15 (l1 dom l2 or t1 == mlstrustedsubject);
19 (l1 eq l2 or t1 == mlstrustedsubject);
28 ((h1 eq h2 and l1 eq l2) or t1 == mlstrustedsubject);
33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
48 (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
58 (t2 != app_data_file or l1 dom l2 or t1 == mlstrustedsubject);
60 (t2 != app_data_file or l1 dom l2 or t1 == mlstrustedsubject);
69 (t2 == app_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
[all …]
/system/core/libpixelflinger/tests/codegen/
Dcodegen.cpp44 static void ggl_test_codegen(uint32_t n, uint32_t p, uint32_t t0, uint32_t t1) in ggl_test_codegen() argument
52 needs.t[1] = t1; in ggl_test_codegen()
92 uint32_t t1; in main() local
93 sscanf(argv[1], "%08x:%08x_%08x_%08x", &p, &n, &t0, &t1); in main()
94 ggl_test_codegen(n, p, t0, t1); in main()
/system/extras/tests/timetest/
Dtimetest.c61 struct timespec t1, dtmin, dtminp, dtmax; in main() local
77 clock_gettime(clock_id, &t1); in main()
82 dt = ts_sub(t, t1); in main()
83 t1 = t; in main()
/system/hwservicemanager/
DTokenManager.cpp154 bool TokenManager::constantTimeCompare(const hidl_vec<uint8_t> &t1, const hidl_vec<uint8_t> &t2) { in constantTimeCompare() argument
155 if (t1.size() != t2.size()) { in constantTimeCompare()
160 for (size_t i = 0; i < t1.size(); i++) { in constantTimeCompare()
161 x |= t1[i] ^ t2[i]; in constantTimeCompare()
DTokenManager.h54 static bool constantTimeCompare(const hidl_vec<uint8_t> &t1, const hidl_vec<uint8_t> &t2);
/system/extras/tests/pftest/
Dpftest.c101 unsigned long long t1 = stop_watch(); in main() local
105 printf("%d, %f\n", numPages, (float) (t1 - t0) / WORKLOAD); in main()
/system/libbase/
Dproperties_test.cpp181 auto t1 = std::chrono::steady_clock::now(); in TEST() local
183 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST()
185 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST()
251 auto t1 = std::chrono::steady_clock::now(); in TEST() local
253 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST()
255 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST()
/system/update_engine/
Dunittest_key.pem5 HoNy5A6EKQLfLBuJoU/QoCufldmwlFaFDKl+Koos6R1QYJfCNZfgocrW1PIh+8t1
/system/bt/gd/cert/
Dcert_self_test.py635 t1 = Timer(0.5, closure1)
636 t1.start()
650 t1 = Timer(0.5, closure1)
651 t1.start()
665 t1 = Timer(1, closure1)
666 t1.start()
/system/bt/stack/crypto_toolbox/
Daes.cc564 uint_8t tt, t0, t1, t2, t3; local
567 t1 = ctx->ksch[cc - 3];
572 t0 = s_box(t1) ^ rc;
573 t1 = s_box(t2);
579 t1 = s_box(t1);
585 ctx->ksch[cc + 1] = ctx->ksch[tt + 1] ^ t1;
/system/bt/gd/crypto_toolbox/
Daes.cc512 uint_8t tt, t0, t1, t2, t3; local
515 t1 = ctx->ksch[cc - 3];
520 t0 = s_box(t1) ^ rc;
521 t1 = s_box(t2);
527 t1 = s_box(t1);
533 ctx->ksch[cc + 1] = ctx->ksch[tt + 1] ^ t1;
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc380 bool operator()(const std::shared_ptr<Task>& t1, const std::shared_ptr<Task>& t2) const { in operator ()()
381 return *t1 < *t2; in operator ()()
/system/extras/simpleperf/
Dcmd_trace_sched.cpp310 auto sort_thread = [](const ThreadInfo* t1, const ThreadInfo* t2) { in BuildProcessInfo() argument
311 return t1->total_runtime_in_ns > t2->total_runtime_in_ns; in BuildProcessInfo()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java994 IBaz.T t1 = new IBaz.T(); in client() local
998 t1.matrix5x3[i][j] = t2.matrix5x3[i][j] = (i + 1) * (j + 1); in client()
1001 ExpectTrue(t1.equals(t2)); in client()
1002 ExpectTrue(t1.hashCode() == t2.hashCode()); in client()
1004 ExpectTrue(!t1.equals(t2)); in client()
/system/tools/aidl/
Daidl_const_expressions.cpp159 bool AidlBinaryConstExpression::AreCompatibleTypes(Type t1, Type t2) { in AreCompatibleTypes() argument
160 switch (t1) { in AreCompatibleTypes()

12