HomeSort by relevance Sort by last modified time
    Searched refs:nsecs_t (Results 1 - 25 of 231) sorted by null

1 2 3 4 5 6 7 8 910

  /system/extras/tests/memtest/
memtest.h 20 typedef long long nsecs_t; typedef
23 nsecs_t system_time();
  /system/core/include/utils/
Timers.h 34 typedef int64_t nsecs_t; // nano-seconds typedef
36 static inline nsecs_t seconds_to_nanoseconds(nsecs_t secs)
41 static inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs)
46 static inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs)
51 static inline nsecs_t nanoseconds_to_seconds(nsecs_t secs)
56 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs
    [all...]
StopWatch.h 38 nsecs_t lap();
39 nsecs_t elapsedTime() const;
49 nsecs_t soFar;
50 nsecs_t thisLap;
53 nsecs_t mStartTime;
  /frameworks/base/services/jni/
com_android_server_power_PowerManagerService.h 29 extern void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType);
30 extern void android_server_PowerManagerService_wakeUp(nsecs_t eventTime);
31 extern void android_server_PowerManagerService_goToSleep(nsecs_t eventTime);
  /frameworks/native/opengl/libs/GLES_trace/src/
gltrace_fixup.h 28 void fixupGLMessage(GLTraceContext *curContext, nsecs_t wallStart, nsecs_t wallEnd,
29 nsecs_t threadStart, nsecs_t threadEnd,
gltrace_api.cpp 46 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC);
47 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD);
49 nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD);
50 nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC);
80 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC);
81 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD);
83 nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD);
84 nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC);
120 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC);
121 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD)
    [all...]
  /frameworks/native/services/surfaceflinger/
DispSync.h 52 virtual void onDispSyncEvent(nsecs_t when) = 0;
83 bool addResyncSample(nsecs_t timestamp);
89 void setPeriod(nsecs_t period);
95 status_t addEventListener(nsecs_t phase, const sp<Callback>& callback);
115 nsecs_t mPeriod;
119 nsecs_t mPhase;
124 nsecs_t mError;
129 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES];
137 nsecs_t mPresentTimes[NUM_PRESENT_SAMPLES];
FrameTracker.h 53 void setDesiredPresentTime(nsecs_t desiredPresentTime);
59 void setFrameReadyTime(nsecs_t readyTime);
67 void setActualPresentTime(nsecs_t displayTime);
76 void setDisplayRefreshPeriod(nsecs_t displayPeriod);
97 nsecs_t desiredPresentTime;
98 nsecs_t frameReadyTime;
99 nsecs_t actualPresentTime;
153 nsecs_t mDisplayPeriod;
DispSync.cpp 46 static const nsecs_t errorThreshold = 160000000000;
72 void updateModel(nsecs_t period, nsecs_t phase) {
87 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
88 nsecs_t nextEventTime = 0;
93 nsecs_t targetTime = 0;
155 status_t addEventListener(nsecs_t phase, const sp<DispSync::Callback>& callback) {
206 nsecs_t mPhase;
207 nsecs_t mLastEventTime;
213 nsecs_t mEventTime
    [all...]
SurfaceFlingerConsumer.h 43 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item, nsecs_t presentWhen);
58 nsecs_t computeExpectedPresent();
  /device/generic/goldfish/camera/fake-pipeline2/
Sensor.h 132 bool waitForVSync(nsecs_t reltime);
138 bool waitForNewFrame(nsecs_t reltime,
139 nsecs_t *captureTime);
151 nsecs_t timestamp) = 0;
162 static const nsecs_t kExposureTimeRange[2];
163 static const nsecs_t kFrameDurationRange[2];
164 static const nsecs_t kMinVerticalBlank;
189 static const nsecs_t kRowReadoutTime;
212 nsecs_t mCaptureTime;
217 nsecs_t mStartupTime
    [all...]
  /frameworks/base/services/input/
InputApplication.h 33 nsecs_t dispatchingTimeout;
53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const {
InputListener.h 39 nsecs_t eventTime;
43 NotifyConfigurationChangedArgs(nsecs_t eventTime);
55 nsecs_t eventTime;
64 nsecs_t downTime;
68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags,
70 int32_t metaState, nsecs_t downTime);
82 nsecs_t eventTime;
97 nsecs_t downTime;
101 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags,
105 float xPrecision, float yPrecision, nsecs_t downTime)
    [all...]
  /frameworks/native/include/gui/
ISensorEventConnection.h 39 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
40 nsecs_t maxBatchReportLatencyNs, int reservedFlags) = 0;
41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
  /device/generic/goldfish/camera/
EmulatedFakeCameraDevice.h 136 nsecs_t mLastRedrawn;
173 static const nsecs_t mRedrawAfter = 15000000LL;
177 static const nsecs_t mRotateFreq = 3000000000LL;
180 nsecs_t mLastRotatedAt;
EmulatedFakeCamera2.h 197 static const nsecs_t kWaitPerLoop = 10000000L; // 10 ms
238 bool waitForReady(nsecs_t timeout);
282 nsecs_t mJpegTimestamp;
306 static const nsecs_t kControlCycleDelay;
307 static const nsecs_t kMinAfDuration;
308 static const nsecs_t kMaxAfDuration;
313 static const nsecs_t kMinAeDuration;
314 static const nsecs_t kMaxAeDuration;
315 static const nsecs_t kMinPrecaptureAeDuration;
316 static const nsecs_t kMaxPrecaptureAeDuration
    [all...]
CallbackNotifier.h 161 nsecs_t timestamp,
194 bool isNewVideoFrameTime(nsecs_t timestamp);
218 nsecs_t mLastFrameTimestamp;
221 nsecs_t mFrameRefreshFreq;
  /hardware/qcom/display/msm8960/libqdutils/
profiler.h 85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
  /hardware/qcom/display/msm8974/libqdutils/
profiler.h 85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
  /hardware/qcom/display/msm8x26/libqdutils/
profiler.h 85 nsecs_t ignorethresh_us;
92 nsecs_t framearrivals[MAX_FPS_CALC_PERIOD_IN_FRAMES];
93 nsecs_t accum_framearrivals[MAX_FRAMEARRIVAL_STEPS];
99 void calc_fps(nsecs_t currtime_us);
  /system/core/libutils/
StopWatch.cpp 44 nsecs_t elapsed = elapsedTime();
48 const nsecs_t soFar = mLaps[i].soFar;
49 const nsecs_t thisLap = mLaps[i].thisLap;
59 nsecs_t StopWatch::lap()
61 nsecs_t elapsed = elapsedTime();
73 nsecs_t StopWatch::elapsedTime() const
Timers.cpp 35 nsecs_t systemTime(int clock)
48 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec;
54 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL;
58 int toMillisecondTimeoutDelay(nsecs_t referenceTime, nsecs_t timeoutTime)
  /frameworks/native/include/input/
VelocityTracker.h 41 nsecs_t time;
83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions);
107 nsecs_t mLastEventTime;
130 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits,
162 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits,
170 static const nsecs_t HORIZON = 100 * 1000000; // 100 ms
176 nsecs_t eventTime;
205 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits,
212 nsecs_t updateTime;
223 void initState(State& state, nsecs_t eventTime, float xpos, float ypos) const
    [all...]
VelocityControl.h 91 void move(nsecs_t eventTime, float* deltaX, float* deltaY);
96 static const nsecs_t STOP_TIME = 500 * 1000000; // 500 ms
100 nsecs_t mLastMovementTime;
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3ZslStream.h 57 status_t enqueueInputBufferByTimestamp(nsecs_t timestamp,
58 nsecs_t* actualTimestamp);
95 nsecs_t timestamp,

Completed in 243 milliseconds

1 2 3 4 5 6 7 8 910