/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 624 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 …]
|
D | hubconnection.h | 271 … 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);
|
D | activity.cpp | 182 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/ |
D | AudioStreamOut.cpp | 358 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 …]
|
D | AudioStreamOut.h | 41 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);
|
D | AudioOutput.cpp | 251 status_t AudioOutput::getNextWriteTimestamp(int64_t* timestamp, in getNextWriteTimestamp() argument 290 timestamp)) { in getNextWriteTimestamp() 298 mLastNextWriteTime = *timestamp; in getNextWriteTimestamp()
|
/device/generic/goldfish/camera/ |
D | Exif.cpp | 45 #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 ×tamp)) { in createExifData() 381 if (convertTimestampToTimeAndDate(timestamp, &triplet, &date)) { in createExifData()
|
D | CallbackNotifier.cpp | 220 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()
|
D | CallbackNotifier.h | 167 void onNextFrameAvailable(nsecs_t timestamp, 208 bool isNewVideoFrameTime(nsecs_t timestamp);
|
D | PreviewWindow.cpp | 97 void PreviewWindow::onNextFrameAvailable(nsecs_t timestamp, in onNextFrameAvailable() argument 167 mPreviewWindow->set_timestamp(mPreviewWindow, timestamp); in onNextFrameAvailable()
|
D | PreviewWindow.h | 98 void onNextFrameAvailable(nsecs_t timestamp,
|
/device/google/contexthub/util/common/ |
D | ring.cpp | 127 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/ |
D | py_compile.py | 108 timestamp = long(os.fstat(f.fileno()).st_mtime) 110 timestamp = long(os.stat(file).st_mtime) 125 wr_long(fc, timestamp)
|
D | uuid.py | 508 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
|
D | BaseHTTPServer.py | 467 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)
|
D | poplib.py | 269 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/ |
D | BaseHTTPServer.py | 464 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/ |
D | nanohubCommand.c | 126 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/ |
D | cros_ec_sensors.cpp | 294 data->timestamp = 0; in processEvent() 324 data->timestamp = systemTime(SYSTEM_TIME_BOOTTIME); in processEvent() 341 data->timestamp = event->timestamp; in processEvent()
|
D | cros_ec_sensors.h | 69 uint64_t timestamp; member
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 294 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/ |
D | st_lsm6dsm.c | 4178 …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/ |
D | audio_hw.c | 457 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/ |
D | Sensor.h | 153 nsecs_t timestamp) = 0;
|
/device/google/contexthub/firmware/app/chre/common/ |
D | chre_app.c | 47 static void initDataHeader(struct chreSensorDataHeader *header, uint64_t timestamp, uint32_t sensor… in initDataHeader() argument 48 header->baseTimestamp = timestamp; in initDataHeader()
|