/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
TCKClockSerialization.java | 64 import java.time.Clock; 91 assertSerializable(Clock.systemUTC()); 92 assertSerializable(Clock.systemDefaultZone()); 93 assertSerializable(Clock.system(PARIS)); 98 assertSerializable(Clock.offset(Clock.system(PARIS), AMOUNT)); 103 assertSerializable(Clock.tickSeconds(PARIS)); 104 assertSerializable(Clock.tickMinutes(MOSCOW)); 105 assertSerializable(Clock.tick(Clock.fixed(INSTANT, PARIS), AMOUNT)) [all...] |
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
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); 24 typedef std::chrono::system_clock Clock; 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 29 std::chrono::time_point<Clock, Duration1> t1 = t2; 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 35 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
Clock.java | 3 interface Clock {
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cons/ |
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); 24 typedef std::chrono::system_clock Clock; 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 29 std::chrono::time_point<Clock, Duration1> t1 = t2; 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 35 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;
|
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/ |
sleep_until.pass.cpp | 14 // template <class Clock, class Duration> 15 // void sleep_until(const chrono::time_point<Clock, Duration>& abs_time); 23 typedef std::chrono::system_clock Clock; 24 typedef Clock::time_point time_point; 26 time_point t0 = Clock::now(); 28 time_point t1 = Clock::now();
|
/external/libcxx/test/std/utilities/time/ |
clock.h | 15 class Clock 20 typedef std::chrono::time_point<Clock, duration> time_point;
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
ceil.pass.cpp | 15 // template <class ToDuration, class Clock, class Duration> 16 // time_point<Clock, ToDuration> 17 // ceil(const time_point<Clock, Duration>& t); 27 typedef std::chrono::system_clock Clock; 28 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 42 typedef std::chrono::system_clock Clock; 43 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint;
|
floor.pass.cpp | 15 // template <class ToDuration, class Clock, class Duration> 16 // time_point<Clock, ToDuration> 17 // floor(const time_point<Clock, Duration>& t); 27 typedef std::chrono::system_clock Clock; 28 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 42 typedef std::chrono::system_clock Clock; 43 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint;
|
round.pass.cpp | 15 // template <class ToDuration, class Clock, class Duration> 16 // time_point<Clock, ToDuration> 17 // round(const time_point<Clock, Duration>& t); 27 typedef std::chrono::system_clock Clock; 28 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 42 typedef std::chrono::system_clock Clock; 43 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint;
|
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
op_equal.pass.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); 29 typedef std::chrono::system_clock Clock; 32 typedef std::chrono::time_point<Clock, Duration1> T1; 33 typedef std::chrono::time_point<Clock, Duration2> T2;
|
op_less.pass.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/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); 29 typedef std::chrono::system_clock Clock; 33 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); 41 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)) [all...] |
/packages/apps/Dialer/java/com/android/dialer/time/ |
Clock.java | 20 public interface 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() {
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.threads/thread.thread.this/ |
sleep_until.pass.cpp | 14 // template <class Clock, class Duration> 15 // void sleep_until(const chrono::time_point<Clock, Duration>& abs_time); 23 typedef std::chrono::system_clock Clock; 24 typedef Clock::time_point time_point; 26 time_point t0 = Clock::now(); 28 time_point t1 = Clock::now();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/ |
clock.h | 15 class Clock 20 typedef std::chrono::time_point<Clock, duration> time_point;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cast/ |
ceil.pass.cpp | 15 // template <class ToDuration, class Clock, class Duration> 16 // time_point<Clock, ToDuration> 17 // ceil(const time_point<Clock, Duration>& t); 27 typedef std::chrono::system_clock Clock; 28 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 42 typedef std::chrono::system_clock Clock; 43 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint;
|
floor.pass.cpp | 15 // template <class ToDuration, class Clock, class Duration> 16 // time_point<Clock, ToDuration> 17 // floor(const time_point<Clock, Duration>& t); 27 typedef std::chrono::system_clock Clock; 28 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 42 typedef std::chrono::system_clock Clock; 43 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint;
|
round.pass.cpp | 15 // template <class ToDuration, class Clock, class Duration> 16 // time_point<Clock, ToDuration> 17 // round(const time_point<Clock, Duration>& t); 27 typedef std::chrono::system_clock Clock; 28 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 29 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 42 typedef std::chrono::system_clock Clock; 43 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 44 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.comparisons/ |
op_equal.pass.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); 29 typedef std::chrono::system_clock Clock; 32 typedef std::chrono::time_point<Clock, Duration1> T1; 33 typedef std::chrono::time_point<Clock, Duration2> T2;
|
op_less.pass.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...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/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); 29 typedef std::chrono::system_clock Clock; 33 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); 41 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)) [all...] |
/external/webrtc/webrtc/system_wrappers/include/ |
clock.h | 26 // A clock interface that allows reading of absolute and relative timestamps. 27 class Clock { 29 virtual ~Clock() {} 32 // source is fixed for this clock. 36 // source is fixed for this clock. 48 // Returns an instance of the real-time system clock implementation. 49 static Clock* GetRealTimeClock(); 52 class SimulatedClock : public Clock { 59 // source is fixed for this clock. 63 // source is fixed for this clock [all...] |