Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 142) sorted by relevance

123456

/device/google/cuttlefish_common/guest/hals/hwcomposer/common/
Dhwcomposer.cpp50 int64_t timestamp = int64_t(rt.tv_sec) * 1e9 + rt.tv_nsec; in hwc_vsync_thread() local
52 timestamp += pdev->vsync_period_ns - in hwc_vsync_thread()
53 (timestamp - base_timestamp) % pdev->vsync_period_ns; in hwc_vsync_thread()
55 rt.tv_sec = timestamp / 1e9; in hwc_vsync_thread()
56 rt.tv_nsec = timestamp % static_cast<int32_t>(1e9); in hwc_vsync_thread()
75 vsync_proc(const_cast<hwc_procs_t*>(pdev->procs), 0, timestamp); in hwc_vsync_thread()
/device/generic/goldfish/wifi/ipv6proxy/
Dlog.cpp34 char timestamp[1024]; in vlogf() local
36 strftime(timestamp, sizeof(timestamp), format, &localTime); in vlogf()
37 fprintf(stream, "%s ", timestamp); in vlogf()
/device/generic/goldfish/camera/
DEmulatedQemuCameraDevice.cpp221 int64_t* timestamp) { in getCurrentFrame() argument
241 if (timestamp != nullptr) { in getCurrentFrame()
242 *timestamp = mCameraThread->getPrimaryTimestamp(); in getCurrentFrame()
251 int64_t* timestamp) { in getCurrentPreviewFrame() argument
270 if (timestamp != nullptr) { in getCurrentPreviewFrame()
271 *timestamp = mCameraThread->getPrimaryTimestamp(); in getCurrentPreviewFrame()
293 bool EmulatedQemuCameraDevice::produceFrame(void* buffer, int64_t* timestamp) in produceFrame() argument
306 timestamp); in produceFrame()
DEmulatedQemuCameraDevice.h86 int64_t* timestamp) override;
90 int64_t* timestamp) override;
104 bool produceFrame(void* buffer, int64_t* timestamp) override;
DCallbackNotifier.cpp220 void CallbackNotifier::onNextFrameAvailable(nsecs_t timestamp, in onNextFrameAvailable() argument
224 isNewVideoFrameTime(timestamp)) { in onNextFrameAvailable()
247 mDataCBTimestamp(frame_timestamp != 0L ? frame_timestamp : timestamp, in onNextFrameAvailable()
348 bool CallbackNotifier::isNewVideoFrameTime(nsecs_t timestamp) in isNewVideoFrameTime() argument
351 if ((timestamp - mLastFrameTimestamp) >= mFrameRefreshFreq) { in isNewVideoFrameTime()
352 mLastFrameTimestamp = timestamp; in isNewVideoFrameTime()
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;
650 int64_t* timestamp) { in staticProduceFrame() argument
652 return cameraDevice->produceFrame(buffer, timestamp); in staticProduceFrame()
DExif.cpp42 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime_r(timestamp, tm) argument
46 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime64_r(timestamp, tm) argument
266 static bool convertTimestampToTimeAndDate(int64_t timestamp, in convertTimestampToTimeAndDate() argument
269 Timestamp time = timestamp; in convertTimestampToTimeAndDate()
428 int64_t timestamp = 0; in createExifDataCommon() local
431 timestamp = entry.data.i64[0]; in createExifDataCommon()
433 if (convertTimestampToTimeAndDate(timestamp, &triplet, &date)) { in createExifDataCommon()
DCallbackNotifier.h167 void onNextFrameAvailable(nsecs_t timestamp,
208 bool isNewVideoFrameTime(nsecs_t timestamp);
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.cpp269 int64_t timestamp = 0L; in threadLoop() local
280 captureRGB(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
283 captureRGBA(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
306 captureNV21(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
314 if (timestamp != 0UL) { in threadLoop()
315 mNextCaptureTime = timestamp; in threadLoop()
345 uint32_t stride, int64_t *timestamp) { in captureRGBA() argument
405 exposureCompensation, timestamp); in captureRGBA()
410 …r::captureRGB(uint8_t *img, uint32_t width, uint32_t height, uint32_t stride, int64_t *timestamp) { in captureRGB() argument
414 …::captureNV21(uint8_t *img, uint32_t width, uint32_t height, uint32_t stride, int64_t *timestamp) { in captureNV21() argument
[all …]
DQemuSensor.h107 nsecs_t timestamp) = 0;
190 uint32_t stride, int64_t *timestamp);
192 uint32_t stride, int64_t *timestamp);
194 uint32_t stride, int64_t *timestamp);
/device/google/contexthub/sensorhal/
Dhubconnection.cpp554 sensors_event_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint… in initEv() argument
558 ev->timestamp = timestamp; in initEv()
599 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxi… in processSample() argument
606 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample()
609 initEv(&nev[cnt++], timestamp, type, sensor)->relative_humidity = sample->fdata; in processSample()
612 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample()
615 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample()
618 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample()
621 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample()
627 initEv(&nev[cnt++], timestamp, type, sensor)->u64.step_counter = mLastStepCount; in processSample()
[all …]
Dhubconnection.h264 … sensors_event_t *initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor);
266 …void processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxisSample *sampl…
267 …void processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct RawThreeAxisSample *…
268 …void processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct ThreeAxisSample *sam…
324 bool isSampleIntervalSatisfied(int handle, uint64_t timestamp);
/device/google/cuttlefish_common/guest/hals/camera/
DExif.cpp50 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime_r(timestamp, tm) argument
54 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime64_r(timestamp, tm) argument
257 static bool convertTimestampToTimeAndDate(int64_t timestamp, in convertTimestampToTimeAndDate() argument
260 Timestamp time = timestamp; in convertTimestampToTimeAndDate()
381 int64_t timestamp = 0; in createExifData() local
384 &timestamp)) { in createExifData()
386 if (convertTimestampToTimeAndDate(timestamp, &triplet, &date)) { in createExifData()
DCallbackNotifier.cpp194 nsecs_t timestamp, in onNextFrameAvailable() argument
197 isNewVideoFrameTime(timestamp)) { in onNextFrameAvailable()
202 mDataCBTimestamp(timestamp, CAMERA_MSG_VIDEO_FRAME, cam_buff, 0, in onNextFrameAvailable()
304 bool CallbackNotifier::isNewVideoFrameTime(nsecs_t timestamp) { in isNewVideoFrameTime() argument
306 if ((timestamp - mLastFrameTimestamp) >= mFrameRefreshFreq) { in isNewVideoFrameTime()
307 mLastFrameTimestamp = timestamp; in isNewVideoFrameTime()
DCallbackNotifier.h158 void onNextFrameAvailable(const void* frame, nsecs_t timestamp,
189 bool isNewVideoFrameTime(nsecs_t timestamp);
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_kgsl.h479 unsigned int timestamp; member
488 unsigned int timestamp; member
511 unsigned int timestamp; /*output param */ member
523 unsigned int timestamp; /*output param */ member
540 unsigned int timestamp; member
595 unsigned int timestamp; /*output param */ member
605 unsigned int timestamp; member
753 unsigned int timestamp; /* Timestamp to trigger event on */ member
1043 unsigned int timestamp; member
1097 unsigned int timestamp; member
[all …]
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_kgsl.h479 unsigned int timestamp; member
488 unsigned int timestamp; member
511 unsigned int timestamp; /*output param */ member
523 unsigned int timestamp; /*output param */ member
540 unsigned int timestamp; member
595 unsigned int timestamp; /*output param */ member
605 unsigned int timestamp; member
753 unsigned int timestamp; /* Timestamp to trigger event on */ member
1043 unsigned int timestamp; member
1097 unsigned int timestamp; member
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_kgsl.h302 unsigned int timestamp; member
308 unsigned int timestamp; member
316 unsigned int timestamp; member
322 unsigned int timestamp; member
329 unsigned int timestamp; member
355 unsigned int timestamp; member
362 unsigned int timestamp; member
450 unsigned int timestamp; member
546 unsigned int timestamp; member
565 unsigned int timestamp; member
[all …]
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_kgsl.h302 unsigned int timestamp; member
308 unsigned int timestamp; member
316 unsigned int timestamp; member
322 unsigned int timestamp; member
329 unsigned int timestamp; member
355 unsigned int timestamp; member
362 unsigned int timestamp; member
450 unsigned int timestamp; member
546 unsigned int timestamp; member
565 unsigned int timestamp; member
[all …]
/device/google/contexthub/util/common/
Dring.cpp123 memcpy(reinterpret_cast<char *>(&mData[mWritePos]) + offsetof(sensors_event_t, timestamp), in write()
124 reinterpret_cast<const char *>(ev) + offsetof(sensors_event_t, timestamp), in write()
125 sizeof(sensors_event_t) - offsetof(sensors_event_t, timestamp)); in write()
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc-future/
Dhwcomposer.cpp105 int64_t timestamp = int64_t(rt.tv_sec) * 1e9 + rt.tv_nsec; in vsync_thread() local
107 timestamp += pdev->vsync_period_ns - in vsync_thread()
108 (timestamp - base_timestamp) % pdev->vsync_period_ns; in vsync_thread()
110 rt.tv_sec = timestamp / 1e9; in vsync_thread()
111 rt.tv_nsec = timestamp % static_cast<int32_t>(1e9); in vsync_thread()
130 vsync_proc(const_cast<hwc_procs_t*>(pdev->procs), 0, timestamp); in vsync_thread()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpy_compile.py108 timestamp = long(os.fstat(f.fileno()).st_mtime)
110 timestamp = long(os.stat(file).st_mtime)
125 wr_long(fc, timestamp)
Duuid.py508 timestamp = int(nanoseconds//100) + 0x01b21dd213814000L
509 if _last_timestamp is not None and timestamp <= _last_timestamp:
510 timestamp = _last_timestamp + 1
511 _last_timestamp = timestamp
515 time_low = timestamp & 0xffffffffL
516 time_mid = (timestamp >> 32L) & 0xffffL
517 time_hi_version = (timestamp >> 48L) & 0x0fffL
DBaseHTTPServer.py467 def date_time_string(self, timestamp=None): argument
469 if timestamp is None:
470 timestamp = time.time()
471 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DBaseHTTPServer.py464 def date_time_string(self, timestamp=None): argument
466 if timestamp is None:
467 timestamp = time.time()
468 year, month, day, hh, mm, ss, wd, y, z = time.gmtime(timestamp)

123456