/frameworks/native/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/ |
FrameTracker.h | 51 void setDesiredPresentTime(nsecs_t desiredPresentTime); 57 void setFrameReadyTime(nsecs_t readyTime); 65 void setActualPresentTime(nsecs_t displayTime); 86 nsecs_t desiredPresentTime; 87 nsecs_t frameReadyTime; 88 nsecs_t actualPresentTime;
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Sensor.h | 130 bool waitForVSync(nsecs_t reltime); 136 bool waitForNewFrame(nsecs_t reltime, 137 nsecs_t *captureTime); 149 nsecs_t timestamp) = 0; 160 static const nsecs_t kExposureTimeRange[2]; 161 static const nsecs_t kFrameDurationRange[2]; 162 static const nsecs_t kMinVerticalBlank; 187 static const nsecs_t kRowReadoutTime; 210 nsecs_t mCaptureTime; 215 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...] |
InputReader.h | 147 nsecs_t virtualKeyQuietTime; 165 nsecs_t pointerGestureQuietInterval; 174 nsecs_t pointerGestureTapInterval; 183 nsecs_t pointerGestureTapDragInterval; 192 nsecs_t pointerGestureMultitouchSettleInterval; 337 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, 354 virtual void disableVirtualKeysUntil(nsecs_t time) = 0; 355 virtual bool shouldDropVirtualKey(nsecs_t now, 360 virtual void requestTimeoutAtTime(nsecs_t when) = 0; 406 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize [all...] |
InputDispatcher.h | 173 nsecs_t keyRepeatTimeout; 176 nsecs_t keyRepeatDelay; 200 virtual void notifyConfigurationChanged(nsecs_t when) = 0; 204 virtual nsecs_t notifyANR(const sp<InputApplicationHandle>& inputApplicationHandle, 239 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0; 242 virtual nsecs_t interceptKeyBeforeDispatching(const sp<InputWindowHandle>& inputWindowHandle, 252 virtual void notifySwitch(nsecs_t when, 256 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) = 0; 435 nsecs_t eventTime; 448 EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) [all...] |
/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/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);
|
/frameworks/native/libs/utils/ |
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/base/include/androidfw/ |
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;
|
InputTransport.h | 58 nsecs_t eventTime; 67 nsecs_t downTime; 76 nsecs_t eventTime; 84 nsecs_t downTime; 211 nsecs_t downTime, 212 nsecs_t eventTime); 235 nsecs_t downTime, 236 nsecs_t eventTime, 296 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 355 nsecs_t eventTime [all...] |
/frameworks/av/services/camera/libcameraservice/camera3/ |
Camera3ZslStream.h | 57 status_t enqueueInputBufferByTimestamp(nsecs_t timestamp, 58 nsecs_t* actualTimestamp); 95 nsecs_t timestamp,
|
Camera3IOStreamBase.h | 46 virtual status_t waitUntilIdle(nsecs_t timeout); 56 nsecs_t mLastTimestamp; 63 nsecs_t timestamp, 68 nsecs_t timestamp,
|
Camera3StreamInterface.h | 100 nsecs_t timestamp) = 0; 137 virtual status_t waitUntilIdle(nsecs_t timeout) = 0;
|
/frameworks/native/services/sensorservice/ |
SensorDevice.h | 34 static const nsecs_t DEFAULT_EVENTS_PERIOD = 200000000; // 5 Hz 44 KeyedVector<void*, nsecs_t> rates; 45 nsecs_t delay; 47 nsecs_t selectDelay();
|
/external/quake/quake/src/WinQuake/ |
main.cpp | 36 static nsecs_t baseTime; 37 static nsecs_t lastTime; 39 static nsecs_t startTimes[kStartTimeStackSize]; 51 nsecs_t time = systemTime(SYSTEM_TIME_THREAD) / 1000; 75 nsecs_t elapsed = 0;
|