HomeSort by relevance Sort by last modified time
    Searched full:clock (Results 1 - 25 of 3633) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/location/src/android/location/cts/
GnssClockTest.java 24 GnssClock clock = new GnssClock(); local
25 clock.describeContents();
29 GnssClock clock = new GnssClock(); local
30 clock.reset();
33 private static void setTestValues(GnssClock clock) {
34 clock.setBiasNanos(1.0);
35 clock.setBiasUncertaintyNanos(2.0);
36 clock.setDriftNanosPerSecond(3.0);
37 clock.setDriftUncertaintyNanosPerSecond(4.0);
38 clock.setFullBiasNanos(5)
58 GnssClock clock = new GnssClock(); local
68 GnssClock clock = new GnssClock(); local
76 GnssClock clock = new GnssClock(); local
    [all...]
  /external/google-benchmark/cmake/
steady_clock.cpp 4 typedef std::chrono::steady_clock Clock;
5 Clock::time_point tp = Clock::now();
  /external/webrtc/webrtc/system_wrappers/source/
clock_unittest.cc 11 #include "webrtc/system_wrappers/include/clock.h"
18 Clock* clock = Clock::GetRealTimeClock(); local
21 clock->CurrentNtp(seconds, fractions);
22 int64_t milliseconds = clock->CurrentNtpInMilliseconds();
24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions));
25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100);
ntp_time_unittest.cc 50 SimulatedClock clock(0x0123456789abcdef);
52 NtpTime ntp1(clock);
56 ntp2.SetCurrent(clock);
61 SimulatedClock clock(0x123456789abc);
63 NtpTime ntp(clock);
64 EXPECT_EQ(ntp.ToMs(), Clock::NtpToMs(ntp.seconds(), ntp.fractions()));
65 EXPECT_EQ(ntp.ToMs(), clock.CurrentNtpInMilliseconds());
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
Clock.java 19 public class Clock {
20 private static final Clock INSTANCE = new Clock();
22 private static Clock sInstance = INSTANCE;
24 public static final Clock getInstance() {
29 static void injectInstance(Clock clock) {
30 sInstance = clock;
  /external/libchrome/base/time/
clock.cc 5 #include "base/time/clock.h"
9 Clock::~Clock() {}
default_clock.h 10 #include "base/time/clock.h"
14 // DefaultClock is a Clock implementation that uses Time::Now().
15 class BASE_EXPORT DefaultClock : public Clock {
  /external/libweave/third_party/chromium/base/time/
clock.cc 5 #include "base/time/clock.h"
9 Clock::~Clock() {}
default_clock.h 10 #include "base/time/clock.h"
14 // DefaultClock is a Clock implementation that uses Time::Now().
15 class DefaultClock : public Clock {
  /external/tlsdate/src/compat/
include.am 5 noinst_HEADERS+= src/compat/clock.h
12 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-darwin.c
16 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
20 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
24 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
28 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
32 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
38 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.c
44 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-hurd.c
48 src_compat_libtlsdate_compat_la_SOURCES+= src/compat/clock-linux.
    [all...]
  /external/libcxx/test/std/thread/futures/futures.async/
async.pass.cpp 27 typedef std::chrono::high_resolution_clock Clock;
72 Clock::time_point t0 = Clock::now();
74 Clock::time_point t1 = Clock::now();
80 Clock::time_point t0 = Clock::now();
82 Clock::time_point t1 = Clock::now();
88 Clock::time_point t0 = Clock::now()
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/
async.pass.cpp 24 typedef std::chrono::high_resolution_clock Clock;
69 Clock::time_point t0 = Clock::now();
71 Clock::time_point t1 = Clock::now();
77 Clock::time_point t0 = Clock::now();
79 Clock::time_point t1 = Clock::now();
85 Clock::time_point t0 = Clock::now()
    [all...]
  /external/libchrome/base/test/
simple_test_clock.h 10 #include "base/time/clock.h"
15 // SimpleTestClock is a Clock implementation that gives control over
18 class SimpleTestClock : public Clock {
20 // Starts off with a clock set to Time().
26 // Advances the clock by |delta|.
29 // Sets the clock to the given time.
  /external/webrtc/webrtc/modules/video_coding/
timing_unittest.cc 21 #include "webrtc/system_wrappers/include/clock.h"
28 SimulatedClock clock(0);
29 VCMTiming timing(&clock);
41 timing.IncomingTimestamp(timeStamp, clock.TimeInMilliseconds());
47 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()),
48 clock.TimeInMilliseconds());
55 clock.AdvanceTimeMilliseconds(1000);
59 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()),
60 clock.TimeInMilliseconds());
65 clock.AdvanceTimeMilliseconds(1000)
    [all...]
  /hardware/bsp/intel/peripheral/libupm/src/maxds3231m/
CMakeLists.txt 2 set (libdescription "realtime clock sensor from MAX family")
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/
wait_until.pass.cpp 14 // template <class Clock, class Duration>
16 // wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
46 typedef std::chrono::high_resolution_clock Clock;
53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout);
55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready);
57 Clock::time_point t0 = Clock::now();
59 Clock::time_point t1 = Clock::now();
69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
wait_until.pass.cpp 14 // template <class Clock, class Duration>
16 // wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
46 typedef std::chrono::high_resolution_clock Clock;
53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout);
55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready);
57 Clock::time_point t0 = Clock::now();
59 Clock::time_point t1 = Clock::now();
69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout)
    [all...]
  /external/autotest/client/site_tests/platform_TraceClockMonotonic/src/
Makefile 1 EXEC=ftrace-clock-monotonic
8 $(EXEC): ftrace-clock-monotonic.c
  /external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/
op_less.fail.cpp 14 // template <class Clock, class Duration1, class Duration2>
16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
18 // template <class Clock, class Duration1, class Duration2>
20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
22 // template <class Clock, class Duration1, class Duration2>
24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
26 // template <class Clock, class Duration1, class Duration2
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/
op_less.fail.cpp 14 // template <class Clock, class Duration1, class Duration2>
16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
18 // template <class Clock, class Duration1, class Duration2>
20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
22 // template <class Clock, class Duration1, class Duration2>
24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
26 // template <class Clock, class Duration1, class Duration2
    [all...]
  /external/webrtc/webrtc/test/
frame_generator_capturer.h 36 Clock* clock);
43 Clock* clock);
52 FrameGeneratorCapturer(Clock* clock,
62 Clock* const clock_;
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
AudioClock.java 24 * A simple clock for tracking the progression of media time. The clock can be started, stopped and
25 * its time can be set and retrieved. When started, this clock is based on
32 * The media time when the clock was last set or stopped.
38 * when the clock was last set or mStarted.
43 * Starts the clock. Does nothing if the clock is already started.
53 * Stops the clock. Does nothing if the clock is already stopped.
  /external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/
op_+.pass.cpp 14 // template <class Clock, class Duration1, class Rep2, class Period2>
15 // time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type>
16 // operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs);
18 // template <class Rep1, class Period1, class Clock, class Duration2>
19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type>
20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs);
27 typedef std::chrono::system_clock Clock;
31 std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
32 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);
39 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/
op_+.pass.cpp 14 // template <class Clock, class Duration1, class Rep2, class Period2>
15 // time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type>
16 // operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs);
18 // template <class Rep1, class Period1, class Clock, class Duration2>
19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type>
20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs);
27 typedef std::chrono::system_clock Clock;
31 std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
32 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);
39 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3))
    [all...]
  /external/autotest/client/tests/kvm/autotest_control/
monotonic_time.control 24 # clock source:
27 # TSC - CPU clock cycles
33 job.run_test('monotonic_time', tag='clock', test_type='clock',

Completed in 1219 milliseconds

1 2 3 4 5 6 7 8 91011>>