Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 23 of 23) sorted by relevance

/system/bt/common/
Dtime_util_unittest.cc50 uint64_t t2 = bluetooth::common::time_get_os_boottime_ms(); in TEST() local
51 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS); in TEST()
60 uint64_t t2 = bluetooth::common::time_get_os_boottime_us(); in TEST() local
61 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS * 1000); in TEST()
78 uint64_t t2 = bluetooth::common::time_get_os_boottime_ms(); in TEST() local
81 ASSERT_TRUE((t2 - t1) >= TEST_TIME_SLEEP_MS); in TEST()
82 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS); in TEST()
99 uint64_t t2 = bluetooth::common::time_get_os_boottime_us(); in TEST() local
102 ASSERT_GT(t2, t1); in TEST()
103 ASSERT_TRUE((t2 - t1) >= TEST_TIME_SLEEP_US); in TEST()
[all …]
/system/sepolicy/prebuilts/api/29.0/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
58 ( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
60 …( (t2 != app_data_file and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 =…
63 ( (t2 != app_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
67 … ( (t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
76 …(t2 == app_data_file or t2 == privapp_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == m…
79 …(t2 == app_data_file or t2 == privapp_data_file or t2 == appdomain_tmpfs or l1 dom l2 or t1 == mls…
84 …(t2 == app_data_file or t2 == privapp_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == ml…
87 …(t2 == app_data_file or t2 == privapp_data_file or t2 == appdomain_tmpfs or l1 eq l2 or t1 == mlst…
[all …]
/system/sepolicy/prebuilts/api/30.0/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
58 ( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
60 …( (t2 != app_data_file and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 =…
63 ( (t2 != app_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
67 … ( (t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
76 …(t2 == app_data_file or t2 == privapp_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == m…
79 …(t2 == app_data_file or t2 == privapp_data_file or t2 == appdomain_tmpfs or l1 dom l2 or t1 == mls…
84 …(t2 == app_data_file or t2 == privapp_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == ml…
87 …(t2 == app_data_file or t2 == privapp_data_file or t2 == appdomain_tmpfs or l1 eq l2 or t1 == mlst…
[all …]
/system/sepolicy/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
58 ( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
60 …( (t2 != app_data_file and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 =…
63 ( (t2 != app_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
67 … ( (t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
76 …(t2 == app_data_file or t2 == privapp_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == m…
79 …(t2 == app_data_file or t2 == privapp_data_file or t2 == appdomain_tmpfs or l1 dom l2 or t1 == mls…
84 …(t2 == app_data_file or t2 == privapp_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == ml…
87 …(t2 == app_data_file or t2 == privapp_data_file or t2 == appdomain_tmpfs or l1 eq l2 or t1 == mlst…
[all …]
/system/bt/stack/smp/
Dp_256_ecc_pp.cc43 uint32_t t2[KEY_LENGTH_DWORDS_P256]; in ECC_Double() local
65 multiprecision_sub_mod(t2, x1, t1); // t2=x1-t1 in ECC_Double()
67 multiprecision_mersenns_mult_mod(t2, t1, t2); // t2=t2*t1 in ECC_Double()
68 multiprecision_lshift_mod(t3, t2); in ECC_Double()
69 multiprecision_add_mod(t2, t3, t2); // t2=3t2 in ECC_Double()
81 multiprecision_mersenns_squa_mod(x3, t2); // x3=t2^2 in ECC_Double()
85 multiprecision_mersenns_mult_mod(t1, t1, t2); // t1=t1*t2 in ECC_Double()
92 uint32_t t2[KEY_LENGTH_DWORDS_P256]; in ECC_Add() local
126 multiprecision_mersenns_mult_mod(t2, z1, t1); // t2=t1*z1 in ECC_Add()
128 multiprecision_mersenns_mult_mod(t2, y2, t2); // t2=t2*y2 in ECC_Add()
[all …]
/system/bt/gd/security/ecc/
Dp_256_ecc_pp.cc48 uint32_t t2[KEY_LENGTH_DWORDS_P256]; in ECC_Double() local
70 multiprecision_sub_mod(t2, x1, t1, modp); // t2=x1-t1 in ECC_Double()
72 multiprecision_mersenns_mult_mod(t2, t1, t2, modp); // t2=t2*t1 in ECC_Double()
73 multiprecision_lshift_mod(t3, t2, modp); in ECC_Double()
74 multiprecision_add_mod(t2, t3, t2, modp); // t2=3t2 in ECC_Double()
86 multiprecision_mersenns_squa_mod(x3, t2, modp); // x3=t2^2 in ECC_Double()
90 multiprecision_mersenns_mult_mod(t1, t1, t2, modp); // t1=t1*t2 in ECC_Double()
97 uint32_t t2[KEY_LENGTH_DWORDS_P256]; in ECC_Add() local
131 multiprecision_mersenns_mult_mod(t2, z1, t1, modp); // t2=t1*z1 in ECC_Add()
133 multiprecision_mersenns_mult_mod(t2, y2, t2, modp); // t2=t2*y2 in ECC_Add()
[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/chre/util/tests/
Dtime_test.cc98 Milliseconds t1(5), t2(5), t3(6); in TEST() local
99 EXPECT_TRUE(t1 == t2); in TEST()
160 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
161 EXPECT_TRUE(t1 == t2); in TEST()
166 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
167 EXPECT_FALSE(t1 != t2); in TEST()
202 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
203 EXPECT_TRUE(t2 >= t1); in TEST()
209 Nanoseconds t1(5), t2(5), t3(6); in TEST() local
210 EXPECT_TRUE(t2 <= t1); in TEST()
[all …]
/system/sepolicy/prebuilts/api/26.0/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == 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);
72 (t2 == app_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
77 (t2 == app_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
80 (t2 == app_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
88 (l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject or t2 == domain);
91 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject or t2 == domain);
[all …]
/system/sepolicy/prebuilts/api/27.0/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == 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);
72 (t2 == app_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
77 (t2 == app_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
80 (t2 == app_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
88 (l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject or t2 == domain);
91 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject or t2 == domain);
[all …]
/system/sepolicy/prebuilts/api/28.0/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == 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);
72 (t2 == app_data_file or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
77 (t2 == app_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
80 (t2 == app_data_file or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
88 (l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject or t2 == domain);
91 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject or t2 == domain);
[all …]
/system/hwservicemanager/
DTokenManager.cpp152 bool TokenManager::constantTimeCompare(const hidl_vec<uint8_t> &t1, const hidl_vec<uint8_t> &t2) { in constantTimeCompare() argument
153 if (t1.size() != t2.size()) { in constantTimeCompare()
159 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/core/libunwindstack/
DAsmGetRegsMips.S52 sw $t2, 40($a0)
DAsmGetRegsMips64.S56 sd $t2, 112($a0)
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc345 bool operator()(const std::shared_ptr<Task>& t1, const std::shared_ptr<Task>& t2) const { in operator ()()
346 return *t1 < *t2; in operator ()()
/system/bt/gd/crypto_toolbox/
Daes.cc564 uint_8t tt, t0, t1, t2, t3; local
568 t2 = ctx->ksch[cc - 2];
573 t1 = s_box(t2);
574 t2 = s_box(t3);
580 t2 = s_box(t2);
586 ctx->ksch[cc + 2] = ctx->ksch[tt + 2] ^ t2;
/system/bt/stack/crypto_toolbox/
Daes.cc564 uint_8t tt, t0, t1, t2, t3; local
568 t2 = ctx->ksch[cc - 2];
573 t1 = s_box(t2);
574 t2 = s_box(t3);
580 t2 = s_box(t2);
586 ctx->ksch[cc + 2] = ctx->ksch[tt + 2] ^ t2;
/system/extras/simpleperf/
Dcmd_trace_sched.cpp309 auto sort_thread = [](const ThreadInfo* t1, const ThreadInfo* t2) { in BuildProcessInfo() argument
310 return t1->total_runtime_in_ns > t2->total_runtime_in_ns; in BuildProcessInfo()
/system/tools/aidl/
Daidl_const_expressions.cpp136 bool AidlBinaryConstExpression::AreCompatibleTypes(Type t1, Type t2) { in AreCompatibleTypes() argument
139 if (t2 == Type::STRING) { in AreCompatibleTypes()
147 switch (t2) { in AreCompatibleTypes()
Daidl_language.h499 static bool AreCompatibleTypes(Type t1, Type t2);
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java981 IBaz.T t2 = new IBaz.T(); in client() local
984 t1.matrix5x3[i][j] = t2.matrix5x3[i][j] = (i + 1) * (j + 1); in client()
987 ExpectTrue(t1.equals(t2)); in client()
988 ExpectTrue(t1.hashCode() == t2.hashCode()); in client()
989 t2.matrix5x3[4][2] = -60; in client()
990 ExpectTrue(!t1.equals(t2)); in client()
/system/update_engine/
Domaha_request_action_unittest.cc2457 Time t1, t2; in TEST_F() local
2459 ASSERT_TRUE(Time::FromString("1/3/2012", &t2)); in TEST_F()
2462 fake_system_state_.fake_clock()->SetWallclockTime(t2); in TEST_F()