Home
last modified time | relevance | path

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

1234567

/device/google/contexthub/sensorhal/
Dsensors.h62 int setDelay(int handle, int64_t delayNs);
65 int batch(int handle, int64_t sampling_period_ns,
66 int64_t max_report_latency_ns);
87 struct sensors_poll_device_t *dev, int handle, int64_t delayNs);
96 int64_t sampling_period_ns,
97 int64_t max_report_latency_ns);
111 virtual int setDelay(int handle, int64_t delayNs) = 0;
113 int handle, int64_t sampling_period_ns,
114 int64_t max_report_latency_ns) = 0;
124 virtual int setDelay(int handle, int64_t delayNs) override;
[all …]
Dsensors.cpp91 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay()
113 int64_t sampling_period_ns, in batch()
114 int64_t max_report_latency_ns) { in batch()
167 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper()
182 int64_t sampling_period_ns, in BatchWrapper()
183 int64_t max_report_latency_ns) { in BatchWrapper()
262 int SensorContext::HubConnectionOperation::setDelay(int handle, int64_t delayNs) { in setDelay()
264 int64_t delayNsClamped = delayNs; in setDelay()
287 int handle, int64_t sampling_period_ns, in batch()
288 int64_t max_report_latency_ns) { in batch()
[all …]
/device/google/cuttlefish/common/libs/time/
Dmonotonic_time_test.cpp41 int64_t scale = 1000; in TEST_F()
48 int64_t scale = 1; in TEST_F()
55 int64_t scale1 = 1, scale2 = 1000; in TEST_F()
62 int64_t scale1 = 1000, scale2 = 1000; in TEST_F()
69 int64_t scale = 1; in TEST_F()
76 int64_t scale = 1; in TEST_F()
83 int64_t scale1 = 1, scale2 = 1000; in TEST_F()
90 int64_t scale1 = 1000, scale2 = 1000; in TEST_F()
97 int64_t scale = 1; in TEST_F()
105 int64_t scale = 1; in TEST_F()
Dmonotonic_time.h24 static const int64_t kNanosecondsPerSecond = 1000000000;
28 TimeDifference(time_t seconds, long nanoseconds, int64_t scale) : in TimeDifference()
38 TimeDifference(const TimeDifference& in, int64_t scale) : in TimeDifference()
50 TimeDifference(const struct timespec& in, int64_t scale) : in TimeDifference()
61 int64_t tv_nsec = static_cast<int64_t>(ts_.tv_nsec) * factor;
90 int64_t count() const { in count()
114 int64_t scale_;
245 Seconds(int64_t seconds) : in Seconds()
254 Milliseconds(int64_t ms) : TimeDifference( in Milliseconds()
266 Microseconds(int64_t micros) : TimeDifference( in Microseconds()
[all …]
/device/google/contexthub/firmware/os/inc/
DfloatRt.h28 int64_t floatToInt64(float f);
30 float floatFromInt64(int64_t v);
40 static inline int64_t floatToInt64(float f) in floatToInt64()
50 static inline float floatFromInt64(int64_t v) in floatFromInt64()
/device/generic/goldfish/camera/
DEmulatedCameraDevice.h205 int64_t* timestamp);
223 virtual status_t getCurrentPreviewFrame(void* buffer, int64_t* timestamp);
458 virtual bool produceFrame(void* buffer, int64_t* timestamp) = 0;
478 int64_t* destinationTimestamp);
489 int64_t getPrimaryTimestamp() const;
523 int64_t getPrimaryTimestamp() const;
535 int64_t mPrimaryTimestamp;
536 int64_t mSecondaryTimestamp;
650 int64_t* timestamp) { in staticProduceFrame()
DEmulatedQemuCameraDevice.h86 int64_t* timestamp) override;
90 int64_t* timestamp) override;
104 bool produceFrame(void* buffer, int64_t* timestamp) override;
/device/google/bonito/json-c/
Djson_inttypes.h13 typedef __int64 int64_t; typedef
14 #define INT64_MIN ((int64_t)_I64_MIN)
15 #define INT64_MAX ((int64_t)_I64_MAX)
/device/google/crosshatch/json-c/
Djson_inttypes.h13 typedef __int64 int64_t; typedef
14 #define INT64_MIN ((int64_t)_I64_MIN)
15 #define INT64_MAX ((int64_t)_I64_MAX)
/device/google/coral/json-c/
Djson_inttypes.h13 typedef __int64 int64_t; typedef
14 #define INT64_MIN ((int64_t)_I64_MIN)
15 #define INT64_MAX ((int64_t)_I64_MAX)
/device/google/contexthub/firmware/os/inc/algos/
Dap_hub_sync.h43 int64_t deltaEstimation; // the estimated delta between two clocks, filtered.
45 int64_t windowMax; // track the maximum timestamp difference in a window
57 int64_t apHubSyncGetDelta(struct ApHubSync* sync, uint64_t hubTime);
/device/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp49 int64_t weigthedAverage(const int64_t a, int64_t aw, int64_t b, int64_t bw) { in weigthedAverage()
92 const int64_t nowNs = ::android::elapsedRealtimeNano(); in parseQemuSensorEvent()
225 const int64_t guestTimeNs = static_cast<int64_t>(value * 1000ll); in parseQemuSensorEvent()
226 const int64_t timeBiasNs = guestTimeNs - nowNs; in parseQemuSensorEvent()
228 std::min(int64_t(0), in parseQemuSensorEvent()
Dmultihal_sensors.h56 int64_t samplingPeriodNs,
57 int64_t maxReportLatencyNs) override;
75 int64_t timeBiasNs = -500000000;
117 int64_t timestamp = -1;
129 int64_t samplingPeriodNs = 0;
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dstats_keeper.h83 StatsKeeper(cuttlefish::time::TimeDifference timespan, int64_t vsync_base,
109 int64_t vsync_base_;
132 std::multiset<int64_t> set_call_times_per_hwcomposited_layer_ns_
141 std::deque<std::pair<int64_t, int64_t> > composition_areas GUARDED_BY(mutex_);
142 int64_t total_layers_area GUARDED_BY(mutex_);
143 int64_t total_invisible_area GUARDED_BY(mutex_);
187 StatsKeepingComposer(int64_t vsync_base_timestamp, in StatsKeepingComposer()
Dhwcomposer.cpp70 int64_t vsync_base_timestamp;
95 int64_t base_timestamp = pdev->vsync_base_timestamp; in hwc_vsync_thread()
96 int64_t last_logged = base_timestamp / 1e9; in hwc_vsync_thread()
100 void (*vsync_proc)(const struct hwc_procs*, int, int64_t) = nullptr; in hwc_vsync_thread()
109 int64_t timestamp = int64_t(rt.tv_sec) * 1e9 + rt.tv_nsec; in hwc_vsync_thread()
532 dev->vsync_data.vsync_base_timestamp = int64_t(rt.tv_sec) * 1e9 + rt.tv_nsec; in cvd_hwc_open()
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.h198 int64_t *timestamp, buffer_handle_t* handle);
200 int64_t *timestamp, buffer_handle_t* handle);
202 uint32_t stride, int64_t *timestamp);
204 uint32_t stride, int64_t *timestamp);
206 uint32_t stride, int64_t *timestamp);
/device/generic/goldfish-opengl/system/include/KHR/
Dkhrplatform.h146 typedef int64_t khronos_int64_t;
159 typedef int64_t khronos_int64_t;
211 typedef int64_t khronos_int64_t;
/device/google/contexthub/firmware/os/algos/
Dap_hub_sync.c47 int64_t delta = apTime - hubTime; in apHubSyncAddDelta()
85 int64_t apHubSyncGetDelta(struct ApHubSync* sync, uint64_t hubTime) { in apHubSyncGetDelta()
86 int64_t ret; in apHubSyncGetDelta()
/device/google/bonito/health/
DBatteryRechargingControl.h66 int64_t start_time_;
73 int64_t getTime();
/device/google/crosshatch/health/
DBatteryRechargingControl.h68 int64_t start_time_;
75 int64_t getTime();
/device/generic/goldfish-opengl/android-emu/android/base/files/
DStream.h107 void putPackedSignedNum(int64_t num);
108 int64_t getPackedSignedNum();
DStream.cpp170 void Stream::putPackedSignedNum(int64_t num) { in putPackedSignedNum()
180 int64_t Stream::getPackedSignedNum() { in getPackedSignedNum()
183 return sign ? -int64_t(num >> 1) : (num >> 1); in getPackedSignedNum()
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dvideo_track_source_impl.h31 void OnFrame(std::shared_ptr<VideoFrameBuffer> frame, int64_t timestamp_us);
69 int64_t timestamp_us) override { in OnFrame()
/device/generic/car/emulator/audio/driver/
Daudio_hw.h88 int64_t standby_position; // Protected by this->lock
90 int64_t standby_frames_read; // Protected by this->lock
/device/generic/goldfish/gnss/
Dgnss_measurement.cpp118 const int64_t nowNs = util::nowNanos(); in update()
119 const int64_t fullBiasNs = (nowNs % 15331) * ((nowNs & 1) ? -1 : 1); in update()
120 const int64_t hwTimeNs = nowNs + fullBiasNs; // local hardware clock in update()

1234567