Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 24 of 24) 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);
65 (t2 != app_data_file_type or l1 dom l2 or t1 == mlstrustedsubject);
67 … ( (t2 != app_data_file_type and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
71 … ( (t2 != app_data_file_type or t2 == privapp_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
75 … ( (t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
84 (t2 == app_data_file_type or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject
85 or (t1 == mlsvendorcompat and (t2 == system_data_file or t2 == user_profile_root_file) ) );
88 …(t2 == app_data_file_type or t2 == appdomain_tmpfs or l1 dom l2 or t1 == mlstrustedsubject or t2 =…
93 (t2 == app_data_file_type or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
[all …]
/system/sepolicy/prebuilts/api/31.0/private/
Dmls33 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
38 (l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedsubject);
65 (t2 != app_data_file_type or l1 dom l2 or t1 == mlstrustedsubject);
67 … ( (t2 != app_data_file_type and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
71 … ( (t2 != app_data_file_type or t2 == privapp_data_file) or l1 eq l2 or t1 == mlstrustedsubject);
75 … ( (t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);
84 (t2 == app_data_file_type or l1 dom l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject
85 or (t1 == mlsvendorcompat and (t2 == system_data_file or t2 == user_profile_root_file) ) );
88 …(t2 == app_data_file_type or t2 == appdomain_tmpfs or l1 dom l2 or t1 == mlstrustedsubject or t2 =…
93 (t2 == app_data_file_type or l1 eq l2 or t1 == mlstrustedsubject or t2 == mlstrustedobject);
[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/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/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/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/chre/chpp/include/chpp/
Dmacros.h124 #define check_types_match(t1, t2) ((__typeof__(t1) *)0 != (__typeof__(t2) *)0) argument
126 #define check_types_match(t1, t2) 0
/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()
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/bt/gd/cert/
Dcert_self_test_lib.py570 t2 = Timer(0.5, closure2)
571 t2.start()
586 t2 = Timer(1, closure2)
587 t2.start()
602 t2 = Timer(3, closure2)
603 t2.start()
/system/bt/gd/crypto_toolbox/
Daes.cc512 uint_8t tt, t0, t1, t2, t3; local
516 t2 = ctx->ksch[cc - 2];
521 t1 = s_box(t2);
522 t2 = s_box(t3);
528 t2 = s_box(t2);
534 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/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc374 bool operator()(const std::shared_ptr<Task>& t1, const std::shared_ptr<Task>& t2) const { in operator ()()
375 return *t1 < *t2; in operator ()()
/system/extras/simpleperf/
Dcmd_trace_sched.cpp313 auto sort_thread = [](const ThreadInfo* t1, const ThreadInfo* t2) { in BuildProcessInfo() argument
314 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.java996 IBaz.T t2 = new IBaz.T(); in client() local
999 t1.matrix5x3[i][j] = t2.matrix5x3[i][j] = (i + 1) * (j + 1); in client()
1002 ExpectTrue(t1.equals(t2)); in client()
1003 ExpectTrue(t1.hashCode() == t2.hashCode()); in client()
1004 t2.matrix5x3[4][2] = -60; in client()
1005 ExpectTrue(!t1.equals(t2)); in client()
/system/tools/aidl/
Daidl_const_expressions.cpp280 bool AidlBinaryConstExpression::AreCompatibleTypes(Type t1, Type t2) { in AreCompatibleTypes() argument
283 if (t2 == Type::STRING) { in AreCompatibleTypes()
291 switch (t2) { in AreCompatibleTypes()
Daidl_language.h743 static bool AreCompatibleTypes(Type t1, Type t2);
/system/update_engine/cros/
Domaha_request_action_unittest.cc2243 Time t1, t2; in TEST_F() local
2245 ASSERT_TRUE(Time::FromString("1/3/2012", &t2)); in TEST_F()
2248 FakeSystemState::Get()->fake_clock()->SetWallclockTime(t2); in TEST_F()