Searched defs:t1 (Results 1 - 14 of 14) sorted by relevance

/system/bt/osi/test/
H A Dtime_test.cc40 uint32_t t1 = time_get_os_boottime_ms();
41 ASSERT_TRUE(t1 > 0);
49 uint64_t t1 = time_get_os_boottime_us(); local
50 ASSERT_TRUE(t1 > 0);
58 uint32_t t1 = time_get_os_boottime_ms(); local
60 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS);
68 uint64_t t1 = time_get_os_boottime_us(); local
70 ASSERT_TRUE((t2 - t1) < TEST_TIME_DELTA_UPPER_BOUND_MS * 1000);
85 uint32_t t1 = time_get_os_boottime_ms(); local
90 ASSERT_TRUE((t2 - t1) >
106 uint64_t t1 = time_get_os_boottime_us(); local
120 uint64_t t1 = time_gettimeofday_us(); local
129 uint64_t t1 = time_gettimeofday_us(); local
146 uint64_t t1 = time_gettimeofday_us(); local
[all...]
/system/core/base/
H A Dproperties_test.cpp147 auto t1 = std::chrono::steady_clock::now(); local
149 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms);
151 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms);
201 auto t1 = std::chrono::steady_clock::now(); local
203 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms);
205 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms);
/system/core/libpixelflinger/tests/codegen/
H A Dcodegen.cpp44 static void ggl_test_codegen(uint32_t n, uint32_t p, uint32_t t0, uint32_t t1) argument
52 needs.t[1] = t1;
92 uint32_t t1; local
93 sscanf(argv[1], "%08x:%08x_%08x_%08x", &p, &n, &t0, &t1);
94 ggl_test_codegen(n, p, t0, t1);
/system/extras/tests/pftest/
H A Dpftest.c101 unsigned long long t1 = stop_watch(); local
105 printf("%d, %f\n", numPages, (float) (t1 - t0) / WORKLOAD);
/system/core/fastboot/
H A Dusbtest.cpp94 long long t0, t1; local
103 t1 = NOW();
104 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0));
112 long long t0, t1; local
121 t1 = NOW();
122 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0));
/system/extras/tests/timetest/
H A Dtimetest.c61 struct timespec t1, dtmin, dtminp, dtmax; local
77 clock_gettime(clock_id, &t1);
82 dt = ts_sub(t, t1);
83 t1 = t;
/system/hwservicemanager/
H A DTokenManager.cpp131 bool TokenManager::constantTimeCompare(const hidl_vec<uint8_t> &t1, const hidl_vec<uint8_t> &t2) { argument
132 if (t1.size() != t2.size()) {
137 for (size_t i = 0; i < t1.size(); i++) {
138 x |= t1[i] ^ t2[i];
/system/bt/stack/smp/
H A Dp_256_ecc_pp.cc42 uint32_t t1[KEY_LENGTH_DWORDS_P256]; local
64 multiprecision_mersenns_squa_mod(t1, z1, keyLength); // t1=z1^2
65 multiprecision_sub_mod(t2, x1, t1, keyLength); // t2=x1-t1
66 multiprecision_add_mod(t1, x1, t1, keyLength); // t1=x1+t1
67 multiprecision_mersenns_mult_mod(t2, t1, t
91 uint32_t t1[KEY_LENGTH_DWORDS_P256]; local
[all...]
H A Daes.cc567 uint_8t tt, t0, t1, t2, t3; local
570 t1 = ctx->ksch[cc - 3];
575 t0 = s_box(t1) ^ rc;
576 t1 = s_box(t2);
582 t1 = s_box(t1);
588 ctx->ksch[cc + 1] = ctx->ksch[tt + 1] ^ t1;
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dasync_manager.cc367 bool operator()(const std::shared_ptr<Task>& t1, argument
369 return *t1 < *t2;
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp73 const int t1 = (parts.reload & 2) ? scratches.obtain() : 0; local
88 parts.argb_dx[i].reg = (parts.reload & 2) ? t1 : obtainReg();
/system/bt/stack/rfcomm/
H A Drfc_int.h96 uint8_t t1; member in struct:__anon1314::__anon1315::__anon1316
/system/netd/tests/
H A Dnetd_test.cpp265 auto t1 = std::chrono::steady_clock::now(); local
267 std::chrono::duration<double>(t1 - t0).count());
/system/update_engine/
H A Domaha_request_action_unittest.cc2152 Time t1, t2; local
2153 ASSERT_TRUE(Time::FromString("1/1/2012", &t1));
2156 fake_prefs_.SetInt64(kPrefsUpdateFirstSeenAt, t1.ToInternalValue()));
2171 // Make sure the timestamp t1 is unchanged showing that it was reused.
2174 ASSERT_TRUE(timestamp == t1.ToInternalValue());

Completed in 815 milliseconds