Home
last modified time | relevance | path

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

1234

/device/google/contexthub/sensorhal/
Dhubconnection.cpp624 sensors_event_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint… in initEv() argument
628 ev->timestamp = timestamp; in initEv()
669 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxi… in processSample() argument
688 timestamp); in processSample()
692 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample()
695 initEv(&nev[cnt++], timestamp, type, sensor)->relative_humidity = sample->fdata; in processSample()
698 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample()
701 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample()
704 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample()
710 initEv(&nev[cnt++], timestamp, type, sensor)->u64.step_counter = mLastStepCount; in processSample()
[all …]
Dhubconnection.h271 … sensors_event_t *initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor);
273 …void processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxisSample *sampl…
274 …void processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct RawThreeAxisSample *…
275 …void processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct ThreeAxisSample *sam…
334 bool isSampleIntervalSatisfied(int handle, uint64_t timestamp);
Dactivity.cpp182 halEvent.timestamp = mNewestPublishedTimestamp; in PublishEvent()
195 halEvent.activity, halEvent.event_type, halEvent.timestamp); in PublishEvent()
230 halEvent.timestamp = oldestEventTimestamp; in DiscardExpiredUnpublishedEvents()
291 .timestamp = 0ll, in OnFlush()
/device/asus/fugu/libaudio/
DAudioStreamOut.cpp358 struct timespec *timestamp) in getPresentationPosition() argument
371 *timestamp = mLastPresentationTime; in getPresentationPosition()
378 result = getPresentationPosition_l(frames, timestamp); in getPresentationPosition()
389 struct timespec *timestamp) in getPresentationPosition_l() argument
398 if (audioOutput->getHardwareTimestamp(&avail, timestamp) == OK) { in getPresentationPosition_l()
420 uint64_t nanos = (((uint64_t)timestamp->tv_sec) * 1000000000L) in getPresentationPosition_l()
421 + timestamp->tv_nsec; in getPresentationPosition_l()
435 *timestamp = mLastPresentationTime; in getPresentationPosition_l()
444 mLastPresentationTime = *timestamp; in getPresentationPosition_l()
672 struct timespec timestamp; in write() local
[all …]
DAudioStreamOut.h41 status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp);
42 status_t getNextWriteTimestamp(int64_t *timestamp);
139 status_t getNextWriteTimestamp_internal(int64_t *timestamp);
144 status_t getPresentationPosition_l(uint64_t *frames, struct timespec *timestamp);
DAudioOutput.cpp251 status_t AudioOutput::getNextWriteTimestamp(int64_t* timestamp, in getNextWriteTimestamp() argument
290 timestamp)) { in getNextWriteTimestamp()
298 mLastNextWriteTime = *timestamp; in getNextWriteTimestamp()
/device/generic/goldfish/camera/
DExif.cpp45 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime_r(timestamp, tm) argument
49 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime64_r(timestamp, tm) argument
252 static bool convertTimestampToTimeAndDate(int64_t timestamp, in convertTimestampToTimeAndDate() argument
255 Timestamp time = timestamp; in convertTimestampToTimeAndDate()
376 int64_t timestamp = 0; in createExifData() local
379 &timestamp)) { in createExifData()
381 if (convertTimestampToTimeAndDate(timestamp, &triplet, &date)) { in createExifData()
DCallbackNotifier.cpp220 void CallbackNotifier::onNextFrameAvailable(nsecs_t timestamp, in onNextFrameAvailable() argument
224 isNewVideoFrameTime(timestamp)) { in onNextFrameAvailable()
245 mDataCBTimestamp(timestamp, CAMERA_MSG_VIDEO_FRAME, in onNextFrameAvailable()
344 bool CallbackNotifier::isNewVideoFrameTime(nsecs_t timestamp) in isNewVideoFrameTime() argument
347 if ((timestamp - mLastFrameTimestamp) >= mFrameRefreshFreq) { in isNewVideoFrameTime()
348 mLastFrameTimestamp = timestamp; in isNewVideoFrameTime()
DCallbackNotifier.h167 void onNextFrameAvailable(nsecs_t timestamp,
208 bool isNewVideoFrameTime(nsecs_t timestamp);
DPreviewWindow.cpp97 void PreviewWindow::onNextFrameAvailable(nsecs_t timestamp, in onNextFrameAvailable() argument
167 mPreviewWindow->set_timestamp(mPreviewWindow, timestamp); in onNextFrameAvailable()
DPreviewWindow.h98 void onNextFrameAvailable(nsecs_t timestamp,
/device/google/contexthub/util/common/
Dring.cpp127 memcpy(reinterpret_cast<char *>(&mData[mWritePos]) + offsetof(sensors_event_t, timestamp), in write()
128 reinterpret_cast<const char *>(ev) + offsetof(sensors_event_t, timestamp), in write()
129 sizeof(sensors_event_t) - offsetof(sensors_event_t, timestamp)); in write()
/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)
Dpoplib.py269 timestamp = re.compile(r'\+OK.*(<[^>]+>)') variable in POP3
282 m = self.timestamp.match(self.welcome)
/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)
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c126 static uint32_t getOsHwVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getOsHwVersion() argument
138 static uint32_t getAppVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getAppVersion() argument
152 static uint32_t queryAppInfo(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in queryAppInfo() argument
307 static uint32_t startFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in startFirmwareUpload() argument
591 static uint32_t firmwareChunk(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in firmwareChunk() argument
618 static uint32_t finishFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in finishFirmwareUpload() argument
627 static uint32_t getInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getInterrupt() argument
645 static uint32_t maskInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in maskInterrupt() argument
656 static uint32_t unmaskInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in unmaskInterrupt() argument
816 static uint32_t readEventFast(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in readEventFast() argument
[all …]
/device/google/dragon/sensor_hub/
Dcros_ec_sensors.cpp294 data->timestamp = 0; in processEvent()
324 data->timestamp = systemTime(SYSTEM_TIME_BOOTTIME); in processEvent()
341 data->timestamp = event->timestamp; in processEvent()
Dcros_ec_sensors.h69 uint64_t timestamp; member
/device/linaro/hikey/audio/
Daudio_hw.c294 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
301 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()
328 int64_t *timestamp) in out_get_next_write_timestamp() argument
330 *timestamp = 0; in out_get_next_write_timestamp()
331 ALOGV("out_get_next_write_timestamp: %ld", (long int)(*timestamp)); in out_get_next_write_timestamp()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c4178 …reeAxisData(struct LSM6DSMSensor *mSensor, uint8_t *data, uint16_t *sampleNum, uint64_t *timestamp) in lsm6dsm_processSensorThreeAxisData() argument
4185 if (*timestamp == 0) in lsm6dsm_processSensorThreeAxisData()
4189 if (!lsm6dsm_allocateThreeAxisDataEvt(mSensor, *timestamp)) in lsm6dsm_processSensorThreeAxisData()
4205 accelCalRun(&T(accelCal), *timestamp, x_remap, y_remap, z_remap, T(currentTemperature)); in lsm6dsm_processSensorThreeAxisData()
4224 gyroCalUpdateAccel(&T(gyroCal), *timestamp, x_remap, y_remap, z_remap); in lsm6dsm_processSensorThreeAxisData()
4239 … gyroCalUpdateGyro(&T(gyroCal), *timestamp, x_remap, y_remap, z_remap, T(currentTemperature)); in lsm6dsm_processSensorThreeAxisData()
4242 overTempCalSetTemperature(&T(overTempCal), *timestamp, T(currentTemperature)); in lsm6dsm_processSensorThreeAxisData()
4268 … overTempCalUpdateSensorEstimate(&T(overTempCal), *timestamp, gyroOffset, biasTemperature); in lsm6dsm_processSensorThreeAxisData()
4269 …overTempCalRemoveOffset(&T(overTempCal), *timestamp, x_remap, y_remap, z_remap, &x_remap, &y_remap… in lsm6dsm_processSensorThreeAxisData()
4273 …overTempCalRemoveOffset(&T(overTempCal), *timestamp, x_remap, y_remap, z_remap, &x_remap, &y_remap… in lsm6dsm_processSensorThreeAxisData()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c457 struct timespec * timestamp) { in get_current_output_position() argument
461 if (timestamp) { in get_current_output_position()
462 *timestamp = curtime; in get_current_output_position()
562 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
566 if (stream == NULL || frames == NULL || timestamp == NULL) { in out_get_presentation_position()
572 get_current_output_position(out, frames, timestamp); in out_get_presentation_position()
640 int64_t *timestamp) in out_get_next_write_timestamp() argument
883 struct timespec * timestamp) { in get_current_input_position() argument
887 if (timestamp) { in get_current_input_position()
888 *timestamp = t; in get_current_input_position()
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.h153 nsecs_t timestamp) = 0;
/device/google/contexthub/firmware/app/chre/common/
Dchre_app.c47 static void initDataHeader(struct chreSensorDataHeader *header, uint64_t timestamp, uint32_t sensor… in initDataHeader() argument
48 header->baseTimestamp = timestamp; in initDataHeader()

1234