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

1 2 3 4 5 6

  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsTimerTest.java 28 import com.android.internal.os.BatteryStatsImpl.TimeBase;
43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) {
44 super(clocks, type, timeBase, in);
47 TestTimer(Clocks clocks, int type, TimeBase timeBase) {
48 super(clocks, type, timeBase);
134 * Tests that the flow through TimeBase.setRunning propagates through
139 TimeBase timeBase = new TimeBase()
    [all...]
BatteryStatsDurationTimerTest.java 39 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase();
40 timeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime());
43 null, BatteryStats.WAKE_TYPE_PARTIAL, null, timeBase);
45 // TimeBase running, timer not running: current and max are 0
46 timeBase.setRunning(true, /* uptimeUs */ 0, /* realtimeUs */ 100*1000);
82 // Stop the TimeBase. The values should be frozen.
83 timeBase.setRunning(false, /* uptimeUs */ 10, /* realtimeUs */ 55000*1000);
88 // Start the TimeBase. The values should be the old value plus the delt
    [all...]
BatteryStatsSamplingTimerTest.java 32 Mockito.mock(BatteryStatsImpl.TimeBase.class));
58 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class);
60 timeBase);
101 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class);
103 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase);
112 timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase);
    [all...]
  /external/webrtc/webrtc/system_wrappers/source/
tick_util.cc 34 mach_timebase_info_data_t timebase;
35 (void)mach_timebase_info(&timebase);
36 timebase_from_millisecond_fract = (timebase.denom * 1e6) / timebase.numer;
53 mach_timebase_info_data_t timebase;
54 (void)mach_timebase_info(&timebase);
55 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e6);
72 mach_timebase_info_data_t timebase;
73 (void)mach_timebase_info(&timebase);
    [all...]
  /external/libvpx/libvpx/test/
vp9_lossless_test.cc 73 const vpx_rational timebase = { 33333333, 1000000000 }; local
74 cfg_.g_timebase = timebase;
84 timebase.den, timebase.num, 0, 10);
94 cfg_.g_timebase = video.timebase();
108 const vpx_rational timebase = { 33333333, 1000000000 }; local
109 cfg_.g_timebase = timebase;
120 timebase.den, timebase.num, 0, 10);
altref_test.cc 55 const vpx_rational timebase = { 33333333, 1000000000 }; local
56 cfg_.g_timebase = timebase;
61 timebase.den, timebase.num, 0, 30);
cq_test.cc 108 const vpx_rational timebase = { 33333333, 1000000000 }; local
109 cfg_.g_timebase = timebase;
115 timebase.den, timebase.num, 0, 30);
tile_independence_test.cc 86 const vpx_rational timebase = { 33333333, 1000000000 }; local
87 cfg_.g_timebase = timebase;
93 timebase.den, timebase.num, 0, 30);
y4m_video_source.h 75 // Models a stream where Timebase = 1/FPS, so pts == frame.
80 virtual vpx_rational_t timebase() const { function in class:libvpx_test::Y4mVideoSource
  /cts/tests/tests/media/src/android/media/cts/
IvfWriter.java 41 * Timebase fraction is in format scale/rate, e.g. 1/1000
43 * with this timebase value.
48 * @param scale timebase scale (or numerator of the timebase fraction)
49 * @param rate timebase rate (or denominator of the timebase fraction)
65 * Initializes the IVF file writer with a microsecond timebase.
67 * Microsecond timebase is default for OMX thus stagefright.
91 * @param timeStamp timestamp of the frame (in accordance to specified timebase)
102 * Timebase fraction is in format scale/rate, e.g. 1/100
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
altref_test.cc 55 const vpx_rational timebase = { 33333333, 1000000000 }; local
56 cfg_.g_timebase = timebase;
61 timebase.den, timebase.num, 0, 30);
vp9_lossless_test.cc 60 const vpx_rational timebase = { 33333333, 1000000000 }; local
61 cfg_.g_timebase = timebase;
71 timebase.den, timebase.num, 0, 10);
81 cfg_.g_timebase = video.timebase();
cq_test.cc 81 const vpx_rational timebase = { 33333333, 1000000000 }; local
82 cfg_.g_timebase = timebase;
88 timebase.den, timebase.num, 0, 30);
error_resilience_test.cc 149 const vpx_rational timebase = { 33333333, 1000000000 }; local
150 cfg_.g_timebase = timebase;
157 timebase.den, timebase.num, 0, 30);
184 const vpx_rational timebase = { 33333333, 1000000000 }; local
185 cfg_.g_timebase = timebase;
194 timebase.den, timebase.num, 0, 40);
tile_independence_test.cc 86 const vpx_rational timebase = { 33333333, 1000000000 }; local
87 cfg_.g_timebase = timebase;
93 timebase.den, timebase.num, 0, 30);
i420_video_source.h 69 // Models a stream where Timebase = 1/FPS, so pts == frame.
74 virtual vpx_rational_t timebase() const { function in class:libvpx_test::I420VideoSource
  /frameworks/base/media/java/android/media/
AudioTimestamp.java 40 * in the same units and timebase as {@link java.lang.System#nanoTime}.
46 * in the same units and timebase as {@link android.os.SystemClock#elapsedRealtimeNanos}.
56 public @interface Timebase {}
78 * {@link #framePosition} was captured. The timebase is either
80 * on the timebase parameter used in
86 * with a timebase of {@link #TIMEBASE_MONOTONIC}.
  /external/webrtc/webrtc/modules/rtp_rtcp/include/
remote_ntp_time_estimator.h 23 // time in local timebase.
37 // Estimates the NTP timestamp in local timebase from |rtp_timestamp|.
  /external/v8/src/base/platform/
time.h 36 class TimeBase;
157 template<class TimeClass> friend class time_internal::TimeBase;
170 // TimeBase--------------------------------------------------------------------
177 class TimeBase {
265 explicit TimeBase(int64_t us) : us_(us) {}
267 // Time value in a microsecond timebase.
280 class Time final : public time_internal::TimeBase<Time> {
283 Time() : TimeBase(0) {}
321 friend class time_internal::TimeBase<Time>;
322 explicit Time(int64_t us) : TimeBase(us) {
    [all...]
  /external/libvpx/libvpx/
ivfdec.c 22 // Some versions of vpxenc used 1/(2*fps) for the timebase, so
23 // we can guess the framerate using only the timebase in this
25 // timebase, like we do for webm.
27 // Correct for the factor of 2 applied to the timebase in the encoder.
  /external/skia/src/core/
SkTime.cpp 87 mach_timebase_info_data_t timebase;
88 (void)mach_timebase_info(&timebase);
89 return new double(timebase.numer * 1.0 / timebase.denom);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
ivfdec.c 22 // Some versions of vpxenc used 1/(2*fps) for the timebase, so
23 // we can guess the framerate using only the timebase in this
25 // timebase, like we do for webm.
27 // Correct for the factor of 2 applied to the timebase in the encoder.
  /frameworks/av/include/media/
AudioTimestamp.h 54 enum Timebase {
70 // mTimeNs is in nanoseconds for the default timebase, monotonic.
103 int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const {
105 || timebase < 0 || timebase >= TIMEBASE_MAX) {
114 *time = mTimeNs[i] + mTimebaseOffset[timebase];
  /external/webrtc/webrtc/base/
timeutils.cc 40 static mach_timebase_info_data_t timebase; local
41 if (timebase.denom == 0) {
42 // Get the timebase if this is the first time we run.
44 if (mach_timebase_info(&timebase) != KERN_SUCCESS) {
48 // Use timebase to convert absolute time tick units into nanoseconds.
49 ticks = mach_absolute_time() * timebase.numer / timebase.denom;
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
trace_time.py 58 """System timebase info. Defined in <mach/mach_time.h>."""
65 timebase = MachTimebaseInfoData()
66 libc.mach_timebase_info(ctypes.byref(timebase))
67 ticks_per_second = timebase.numer / timebase.denom * 1.0e9

Completed in 583 milliseconds

1 2 3 4 5 6