/external/chromium_org/base/time/ |
clock.cc | 5 #include "base/time/clock.h" 9 Clock::~Clock() {}
|
clock.h | 13 // A Clock is an interface for objects that vend Times. It is 28 class BASE_EXPORT Clock { 30 virtual ~Clock(); 34 // example, the system clock may change to an earlier time.
|
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 {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Clock.java | 23 public class Clock { 24 public static final Clock INSTANCE = new Clock(); 26 protected Clock() {
|
/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/chromium_org/third_party/WebKit/Source/core/platform/ |
Clock.cpp | 27 #include "core/platform/Clock.h" 33 Clock::Clock() 41 void Clock::setCurrentTime(double time) 47 double Clock::currentTime() const 54 void Clock::setPlayRate(double rate) 61 void Clock::start() 70 void Clock::stop() 80 double Clock::now() const 85 PassRefPtr<Clock> Clock::create( [all...] |
Clock.h | 34 class Clock : public RefCounted<Clock> { 36 static PassRefPtr<Clock> create(); 49 Clock();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/ |
async.pass.cpp | 24 typedef std::chrono::high_resolution_clock Clock; 63 Clock::time_point t0 = Clock::now(); 65 Clock::time_point t1 = Clock::now(); 71 Clock::time_point t0 = Clock::now(); 73 Clock::time_point t1 = Clock::now(); 79 Clock::time_point t0 = Clock::now() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 22 typedef std::chrono::system_clock Clock; 24 std::chrono::time_point<Clock, Duration> t = Duration(3);
|
convert.fail.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 23 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 28 std::chrono::time_point<Clock, Duration1> t1 = t2;
|
convert.pass.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 22 typedef std::chrono::system_clock Clock; 26 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 27 std::chrono::time_point<Clock, Duration1> t1 = t2;
|
duration.pass.cpp | 21 typedef std::chrono::system_clock Clock; 24 std::chrono::time_point<Clock, Duration> t(Duration(3)); 28 std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 14 // template <class ToDuration, class Clock, class Duration> 15 // time_point<Clock, ToDuration> 16 // time_point_cast(const time_point<Clock, Duration>& t); 24 typedef std::chrono::system_clock Clock; 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
MockClock.java | 19 public class MockClock extends Clock { 24 Clock.injectInstance(this); 30 Clock.resetInstance();
|
/external/chromium_org/media/base/ |
clock.cc | 5 #include "media/base/clock.h" 15 Clock::Clock(base::TickClock* clock) : clock_(clock) { 20 Clock::~Clock() {} 22 bool Clock::IsPlaying() const { 26 base::TimeDelta Clock::Play() { 33 base::TimeDelta Clock::Pause() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/ |
sleep_for.pass.cpp | 21 typedef std::chrono::system_clock Clock; 22 typedef Clock::time_point time_point; 23 typedef Clock::duration duration; 25 time_point t0 = Clock::now(); 27 time_point t1 = Clock::now();
|
sleep_until.pass.cpp | 12 // template <class Clock, class Duration> 13 // void sleep_until(const chrono::time_point<Clock, Duration>& abs_time); 21 typedef std::chrono::system_clock Clock; 22 typedef Clock::time_point time_point; 23 typedef Clock::duration duration; 25 time_point t0 = Clock::now(); 27 time_point t1 = Clock::now();
|
/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; 30 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 31 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);
|
op_-duration.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); 23 typedef std::chrono::system_clock Clock; 26 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 27 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5);
|
op_-time_point.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 23 typedef std::chrono::system_clock Clock; 26 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(5));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
mutex_time_point.pass.cpp | 14 // template <class Clock, class Duration> 15 // unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 24 typedef std::chrono::steady_clock Clock; 25 typedef Clock::time_point time_point; 26 typedef Clock::duration duration; 32 time_point t0 = Clock::now(); 33 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); 35 time_point t1 = Clock::now(); 42 time_point t0 = Clock::now(); 43 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
try_lock_until.pass.cpp | 14 // template <class Clock, class Duration> 15 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 24 typedef std::chrono::steady_clock Clock; 25 typedef Clock::time_point time_point; 26 typedef Clock::duration duration; 32 time_point t0 = Clock::now(); 33 assert(m.try_lock_until(Clock::now() + ms(300)) == true); 34 time_point t1 = Clock::now(); 42 time_point t0 = Clock::now(); 43 assert(m.try_lock_until(Clock::now() + ms(250)) == false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
try_lock_until.pass.cpp | 14 // template <class Clock, class Duration> 15 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 24 typedef std::chrono::steady_clock Clock; 25 typedef Clock::time_point time_point; 26 typedef Clock::duration duration; 32 time_point t0 = Clock::now(); 33 assert(m.try_lock_until(Clock::now() + ms(300)) == true); 34 time_point t1 = Clock::now(); 44 time_point t0 = Clock::now(); 45 assert(m.try_lock_until(Clock::now() + ms(250)) == false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait_until.pass.cpp | 14 // template <class Clock, class Duration> 17 // const chrono::time_point<Clock, Duration>& abs_time); 25 struct Clock 30 typedef std::chrono::time_point<Clock> time_point; 56 Clock::time_point t0 = Clock::now(); 57 Clock::time_point t = t0 + Clock::duration(250); 60 Clock::time_point t1 = Clock::now() [all...] |
wait_until_pred.pass.cpp | 14 // template <class Clock, class Duration, class Predicate> 17 // const chrono::time_point<Clock, Duration>& abs_time, 26 struct Clock 31 typedef std::chrono::time_point<Clock> time_point; 66 Clock::time_point t0 = Clock::now(); 67 Clock::time_point t = t0 + Clock::duration(250); 69 Clock::time_point t1 = Clock::now() [all...] |