Home
last modified time | relevance | path

Searched refs:int64_t (Results 1 – 25 of 47) sorted by relevance

12

/device/htc/flounder/sensor_hub/libsensors/
DSensorBase.h40 static int64_t getTimestamp();
43 static int64_t timevalToNano(timeval const& t) { in timevalToNano()
64 virtual int setDelay(int32_t handle, int64_t ns);
65 virtual int64_t getDelay(int32_t handle);
71 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout) = 0;
DSensorBase.cpp98 int SensorBase::setDelay(int32_t, int64_t) { in setDelay() argument
102 int64_t SensorBase::getDelay(int32_t) { in getDelay()
110 int64_t SensorBase::getTimestamp() { in getTimestamp()
114 return int64_t(t.tv_sec)*NS_PER_SEC + t.tv_nsec; in getTimestamp()
DCwMcuSensor.h102 int64_t time_offset;
120 virtual int setDelay(int32_t handle, int64_t ns);
123 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
Dsensors.cpp593 int setDelay(int handle, int64_t ns);
595 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
690 int sensors_poll_context_t::setDelay(int handle, int64_t ns) { in setDelay()
741 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch()
784 int handle, int64_t ns) { in poll__setDelay()
796 int handle, int flags, int64_t period_ns, int64_t timeout) in poll__batch()
DCwMcuSensor.cpp841 int CwMcuSensor::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch()
996 int CwMcuSensor::setDelay(int32_t handle, int64_t delay_ns) { in setDelay()
1101 int64_t event_mcu_diff = (event_mcu_time - last_mcu_timestamp[id]); in readEvents()
1102 int64_t event_cpu_diff = event_mcu_diff * time_slope; in readEvents()
1106 int64_t event_mcu_diff = (event_mcu_time - last_mcu_timestamp[id]); in readEvents()
1107 int64_t event_cpu_diff = event_mcu_diff * time_slope; in readEvents()
1157 int64_t time; in processEvent()
/device/asus/fugu/libaudio/
DAudioStreamOut.cpp229 int64_t now = mLocalClock.getLocalTime(); in finishedWriteOp()
242 int64_t deltaLT; in finishedWriteOp()
247 int64_t deltaUSec; in finishedWriteOp()
393int64_t framesInDriverBuffer = (int64_t)audioOutput->getKernelBufferSize() - (int64_t)avail; in getPresentationPosition_l()
403 int64_t pendingFrames = framesInDriverBuffer + fudgeFrames; in getPresentationPosition_l()
405 int64_t signedFrames = mFramesPresented - pendingFrames; in getPresentationPosition_l()
425 (int64_t)(unsignedFrames - mLastPresentationPosition)); in getPresentationPosition_l()
547 void AudioStreamOut::adjustOutputs(int64_t maxTime) in adjustOutputs()
549 int64_t a_zero_original = mLocalTimeToFrames.a_zero; in adjustOutputs()
550 int64_t b_zero_original = mLocalTimeToFrames.b_zero; in adjustOutputs()
[all …]
DAudioOutput.h76 status_t getNextWriteTimestamp(int64_t* timestamp,
79 int64_t getLastNextWriteTS() const;
115 virtual status_t getDMAStartData(int64_t* dma_start_time,
116 int64_t* frames_queued_to_driver);
142 int64_t mLastNextWriteTime;
143 int64_t mLastDMAStartTime;
DAudioStreamOut.h42 status_t getNextWriteTimestamp(int64_t *timestamp);
111 int64_t mWriteStartLT;
112 int64_t mFramesWritten; // application rate frames, not device rate frames
139 status_t getNextWriteTimestamp_internal(int64_t *timestamp);
140 void adjustOutputs(int64_t maxTime);
DAudioOutput.cpp251 status_t AudioOutput::getNextWriteTimestamp(int64_t* timestamp, in getNextWriteTimestamp()
253 int64_t dma_start_time; in getNextWriteTimestamp()
254 int64_t frames_queued_to_driver; in getNextWriteTimestamp()
321 int64_t AudioOutput::getLastNextWriteTS() const { in getLastNextWriteTS()
353 int64_t* dma_start_time, in getDMAStartData()
354 int64_t* frames_queued_to_driver) { in getDMAStartData()
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dcam_intf.h118 int64_t picture_min_duration[MAX_SIZES_CNT];
157 int64_t raw_min_duration[MAX_SIZES_CNT];
218 int64_t exposure_time_range[2];
221 int64_t max_frame_duration;
243 int64_t flash_charge_duration;
250 int64_t flash_firing_time;
297 int64_t jpeg_stall_durations[MAX_SIZES_CNT];
298 int64_t raw16_stall_durations[MAX_SIZES_CNT];
501 INCLUDE(CAM_INTF_META_FLASH_FIRING_TIME, int64_t, 1);
507 INCLUDE(CAM_INTF_META_JPEG_GPS_TIMESTAMP, int64_t, 1);
[all …]
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HALHeader.h51 int64_t sensor_exposure_time;
56 int64_t* gps_timestamp;
75 int64_t exposure_time;
/device/moto/shamu/camera/QCamera2/stack/common/
Dcam_intf.h117 int64_t picture_min_duration[MAX_SIZES_CNT];
158 int64_t raw_min_duration[MAX_SIZES_CNT];
224 int64_t exposure_time_range[2];
227 int64_t max_frame_duration;
249 int64_t flash_charge_duration;
256 int64_t flash_firing_time;
316 int64_t stall_durations[MAX_SIZES_CNT];
321 int64_t jpeg_stall_durations[MAX_SIZES_CNT];
322 int64_t raw16_stall_durations[MAX_SIZES_CNT];
514 INCLUDE(CAM_INTF_META_FLASH_FIRING_TIME, int64_t, 1);
[all …]
/device/asus/flo/camera/QCamera2/stack/common/
Dcam_intf.h209 int64_t exposure_time_range[2];
212 int64_t max_frame_duration;
233 int64_t flash_charge_duration;
240 int64_t flash_firing_time;
258 int64_t raw_min_duration;
267 int64_t min_duration[MAX_SIZES_CNT];
287 int64_t jpeg_min_duration[MAX_SIZES_CNT];
455 INCLUDE(CAM_INTF_META_FLASH_FIRING_TIME, int64_t, 1);
468 INCLUDE(CAM_INTF_META_SENSOR_EXPOSURE_TIME, int64_t, 1);
469 INCLUDE(CAM_INTF_META_SENSOR_FRAME_DURATION, int64_t, 1);
[all …]
/device/lge/hammerhead/libsensors/
Dsensors.cpp113 int setDelay(int handle, int64_t ns);
115 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
266 int sensors_poll_context_t::setDelay(int handle, int64_t ns) in setDelay()
373 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, int64_t timeout) in batch()
405 int handle, int64_t ns) in poll__setDelay()
420 int handle, int flags, int64_t period_ns, int64_t timeout) in poll__batch()
DLightSensor.h51 virtual int setDelay(int32_t handle, int64_t ns);
DLightSensor.cpp52 int LightSensor::setDelay(int32_t handle, int64_t ns) in setDelay()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HALHeader.h55 int64_t gps_timestamp;
63 int64_t exposure_time;
DQCamera3HWI.h73 typedef int64_t nsecs_t;
213 int64_t getMinFrameDuration(const camera3_capture_request_t *request);
333 int64_t mMinProcessedFrameDuration;
334 int64_t mMinJpegFrameDuration;
335 int64_t mMinRawFrameDuration;
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.h61 typedef int64_t nsecs_t;
180 int64_t getMinFrameDuration(const camera3_capture_request_t *request);
285 int64_t mMinProcessedFrameDuration;
286 int64_t mMinJpegFrameDuration;
287 int64_t mMinRawFrameDuration;
DQCamera3HALHeader.h55 int64_t gps_timestamp;
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI_Metatags.cpp224 static const int64_t flashChargeDuration = 0; in getStaticInfo()
408 static const int64_t USEC = 1000LL; in constructDefaultRequest()
409 static const int64_t MSEC = USEC * 1000LL; in constructDefaultRequest()
410 static const int64_t SEC = MSEC * 1000LL; in constructDefaultRequest()
450 static const int64_t exposureTime = 10 * MSEC; in constructDefaultRequest()
453 static const int64_t frameDuration = 33333333L; // 1/30 s in constructDefaultRequest()
469 static const int64_t firingTime = 0; in constructDefaultRequest()
603 static const int64_t gpsTimestamp = 0; in constructDefaultRequest()
/device/generic/goldfish/sensors/
Dsensors_qemu.c114 static int64_t now_ns(void) { in now_ns()
117 return (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec; in now_ns()
131 int64_t timeStart;
132 int64_t timeOffset;
252 int64_t event_time = -1; in sensor_device_poll_event_locked()
356 int64_t t = (event_time < 0) ? 0 : event_time * 1000LL; in sensor_device_poll_event_locked()
498 int64_t ns) in sensor_device_set_delay()
/device/htc/flounder/health/
Dhealthd-flounder.cpp97 static int64_t get_int64_field(const char *path) { in get_int64_field()
101 int64_t value = 0; in get_int64_field()
263 static int flounder_energy_counter(int64_t *energy) in flounder_energy_counter()
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp55 const int64_t USEC = 1000LL;
56 const int64_t MSEC = USEC * 1000LL;
57 const int64_t SEC = MSEC * 1000LL;
437 static const int64_t exposureTime = 10 * MSEC; in constructDefaultRequestSettings()
440 static const int64_t frameDuration = 33333333L; // 1/30 s in constructDefaultRequestSettings()
458 static const int64_t firingTime = 0; in constructDefaultRequestSettings()
565 static const int64_t gpsTimestamp = 0; in constructDefaultRequestSettings()
1291 const std::vector<int64_t> availableMinFrameDurationsBasic = { in constructStaticInfo()
1297 const std::vector<int64_t> availableMinFrameDurationsRaw = { in constructStaticInfo()
1300 const std::vector<int64_t> availableMinFrameDurationsBurst = { in constructStaticInfo()
[all …]
DEmulatedFakeCamera2.h218 int64_t mNextExposureTime;
219 int64_t mNextFrameDuration;

12