/device/generic/goldfish/hals/sensors/ |
D | multihal_sensors_qemu.cpp | 133 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 146 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 156 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 173 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 183 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 193 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 206 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 216 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 228 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() 240 event.timestamp = nowNs + state->timeBiasNs; in parseQemuSensorEventLocked() [all …]
|
D | multihal_sensors.cpp | 160 batchEventRef.timestamp = in activate() 237 event.timestamp = ::android::elapsedRealtimeNano(); in activationOnChangeSensorEvent() 390 .timestamp = android::elapsedRealtimeNano(), in sendAdditionalInfoReport() 456 m_batchQueue.top().timestamp - ::android::elapsedRealtimeNano(); in batchThread() 461 while (!m_batchQueue.empty() && (nowNs >= m_batchQueue.top().timestamp)) { in batchThread() 476 batchInfo.event.timestamp = evRef.timestamp; in batchThread() 486 evRef.timestamp += samplingPeriodNs; in batchThread()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 554 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 …]
|
D | hubconnection.h | 264 … 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/trout/hal/vehicle/2.0/ |
D | DefaultVehicleHalServer.cpp | 107 updatedPropValue->timestamp = value.timestamp; in onFakeValueGenerated() 208 req->timestamp = elapsedRealtimeNano(); in createApPowerStateReq() 220 keyEvent->timestamp = elapsedRealtimeNano(); in createHwInputKeyProp() 242 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty() 251 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty() 260 updatedPropValue->timestamp = value.value.int64Values[0]; in onSetProperty() 311 updatedPropValue->timestamp = elapsedRealtimeNano(); in onSetProperty() 325 updatedPropValue->timestamp = elapsedRealtimeNano(); in onSetProperty()
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_keymaster_enforcement.cpp | 116 return (be64toh(token.timestamp) + timeout_ms) < get_current_time_ms(); in auth_token_timed_out() 160 sizeof(token.timestamp); in ValidateTokenSignature() 243 uint64_t timestamp; in VerifyAuthorization() member 249 response.token.timestamp = get_current_time_ms(); in VerifyAuthorization() 254 .timestamp = response.token.timestamp, in VerifyAuthorization() 276 token->timestamp = get_current_time_ms(); in GenerateTimestampToken()
|
/device/google/trout/hal/audiocontrol/aidl/1.0/ |
D | AudioControlServer.cpp | 82 std::chrono::steady_clock::time_point timestamp); 85 std::chrono::steady_clock::time_point timestamp); 230 std::chrono::steady_clock::time_point timestamp) { in HandleHeartbeat() argument 237 session_info.mLastHeartbeat = timestamp; in HandleHeartbeat() 242 std::chrono::steady_clock::time_point timestamp) { in HandleAcquiring() argument 245 session_id, AudioFocusSession{std::move(acquire_request), timestamp}); in HandleAcquiring() 334 const auto timestamp_to_sec = [](auto&& timestamp) { in CheckSessionHeartbeats() argument 336 timestamp.time_since_epoch()) in CheckSessionHeartbeats()
|
/device/generic/car/emulator/usbpt/protocan/protocanbus/ |
D | VehicleBus.cpp | 79 uint64_t timestamp) { in updateTimestamps() argument 81 pv.timestamp = timestamp; in updateTimestamps()
|
/device/generic/car/emulator/vhal_v2_0/ |
D | EmulatedVehicleHalServer.cpp | 60 updatedPropValue->timestamp = elapsedRealtimeNano(); in setPropertyFromVehicle() 91 v->timestamp = elapsedRealtimeNano(); in get() 130 hidlPropValue.timestamp = aidlPropValue.timestamp; in makeHidlVehiclePropValue()
|
/device/google/contexthub/util/common/ |
D | ring.cpp | 123 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/libs/utils/ |
D | tee_logging.cpp | 173 char timestamp[32]; in StderrOutputGenerator() local 174 strftime(timestamp, sizeof(timestamp), "%m-%d %H:%M:%S", &now); in StderrOutputGenerator() 183 severity_char, timestamp, pid, tid, file, line); in StderrOutputGenerator() 186 timestamp, pid, tid); in StderrOutputGenerator()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | vsock_camera_device_session_3_4.cpp | 353 .timestamp = 0, in processOneCaptureRequest() 388 common::V1_0::helper::CameraMetadata& md, nsecs_t timestamp) { in fillCaptureResult() argument 414 md.update(ANDROID_SENSOR_TIMESTAMP, ×tamp, 1); in fillCaptureResult() 427 nsecs_t timestamp) { in notifyShutter() argument 431 msg.msg.shutter.timestamp = timestamp; in notifyShutter() 471 if (request.timestamp == 0) { in processRequestLoop() 472 request.timestamp = now; in processRequestLoop() 473 notifyShutter(request.frame_number, request.timestamp); in processRequestLoop() 501 auto time_elapsed = now - request.timestamp; in processRequestLoop() 548 fillCaptureResult(request.settings, request.timestamp); in processRequestLoop()
|
D | vsock_camera_device_session_3_4.h | 90 nsecs_t timestamp; member 114 nsecs_t timestamp); 115 void notifyShutter(uint32_t frame_number, nsecs_t timestamp);
|
/device/google/cuttlefish/guest/hals/keymint/remote/ |
D | remote_secure_clock.cpp | 48 token->timestamp.milliSeconds = in generateTimeStamp() 49 static_cast<int64_t>(response.token.timestamp); in generateTimeStamp()
|
/device/google/cuttlefish/guest/commands/sensor_injection/ |
D | main.cpp | 100 event.timestamp = android::elapsedRealtimeNano(); in InjectOrientation() 124 event.timestamp = android::elapsedRealtimeNano(); in InjectAccelerometer() 144 event.timestamp = android::elapsedRealtimeNano(); in InjectMagnetometer() 164 event.timestamp = android::elapsedRealtimeNano(); in InjectGyroscope() 180 event.timestamp = android::elapsedRealtimeNano(); in InjectHingeAngle()
|
/device/amlogic/yukawa/hal/audio/ |
D | audio_hw.c | 139 if (pcm_get_htimestamp(pcm, &info->available, &info->timestamp) < 0) { in get_pcm_timestamp() 141 info->timestamp.tv_sec = 0; in get_pcm_timestamp() 142 info->timestamp.tv_nsec = 0; in get_pcm_timestamp() 151 timestamp_adjust(&info->timestamp, frames, sample_rate); in get_pcm_timestamp() 408 out->timestamp = info.timestamp; in out_write() 435 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument 437 if (stream == NULL || frames == NULL || timestamp == NULL) { in out_get_presentation_position() 443 *timestamp = out->timestamp; in out_get_presentation_position() 445 audio_utils_ns_from_timespec(timestamp)); in out_get_presentation_position() 464 int64_t *timestamp) in out_get_next_write_timestamp() argument [all …]
|
D | audio_hw.h | 113 struct timespec timestamp; member 123 struct timespec timestamp; member
|
D | audio_aec.c | 317 ALOGV("Speaker timestamp: %ld s, %ld nsec", info->timestamp.tv_sec, info->timestamp.tv_nsec); in write_to_reference_fifo() 349 *spk_time = timespec_to_usec(aec->last_spk_info.timestamp) + spk_time_offset; in get_spk_timestamp() 365 spk_info.bytes, aec->read_write_diff_bytes, timespec_to_usec(spk_info.timestamp)); in get_spk_timestamp() 596 uint64_t mic_time = timespec_to_usec(info->timestamp); in process_aec()
|
/device/linaro/dragonboard/audio/ |
D | audio_hw.c | 112 if (pcm_get_htimestamp(pcm, &info->available, &info->timestamp) < 0) { in get_pcm_timestamp() 114 info->timestamp.tv_sec = 0; in get_pcm_timestamp() 115 info->timestamp.tv_nsec = 0; in get_pcm_timestamp() 124 timestamp_adjust(&info->timestamp, frames, sample_rate); in get_pcm_timestamp() 382 out->timestamp = info.timestamp; in out_write() 409 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument 411 if (stream == NULL || frames == NULL || timestamp == NULL) { in out_get_presentation_position() 417 *timestamp = out->timestamp; in out_get_presentation_position() 419 audio_utils_ns_from_timespec(timestamp)); in out_get_presentation_position() 438 int64_t *timestamp) in out_get_next_write_timestamp() argument [all …]
|
D | audio_hw.h | 111 struct timespec timestamp; member 121 struct timespec timestamp; member
|
D | audio_aec.c | 311 ALOGV("Speaker timestamp: %ld s, %ld nsec", info->timestamp.tv_sec, info->timestamp.tv_nsec); in write_to_reference_fifo() 343 *spk_time = timespec_to_usec(aec->last_spk_info.timestamp) + spk_time_offset; in get_spk_timestamp() 359 spk_info.bytes, aec->read_write_diff_bytes, timespec_to_usec(spk_info.timestamp)); in get_spk_timestamp() 588 uint64_t mic_time = timespec_to_usec(info->timestamp); in process_aec()
|
/device/generic/goldfish/hals/sensors/include/ |
D | multihal_sensors.h | 143 int64_t timestamp = -1; member 149 return timestamp > rhs.timestamp;
|
/device/google/cuttlefish/host/commands/metrics/ |
D | events.cc | 57 Timestamp* timestamp = cfEvent->mutable_timestamp_ms(); in BuildCfLogEvent() local 58 timestamp->set_seconds(now_s); in BuildCfLogEvent() 59 timestamp->set_nanos(now_ns); in BuildCfLogEvent()
|
/device/generic/goldfish/hals/camera/ |
D | exif.cpp | 24 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime_r(timestamp, tm) argument 28 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime64_r(timestamp, tm) argument
|
/device/google/contexthub/firmware/os/core/ |
D | nanohubCommand.c | 135 static uint32_t getOsHwVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getOsHwVersion() argument 147 static uint32_t getAppVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getAppVersion() argument 161 static uint32_t queryAppInfo(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in queryAppInfo() argument 319 static uint32_t startFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in startFirmwareUpload() argument 632 static uint32_t firmwareChunk(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in firmwareChunk() argument 671 static uint32_t finishFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in finishFirmwareUpload() argument 680 static uint32_t getInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getInterrupt() argument 698 static uint32_t maskInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in maskInterrupt() argument 709 static uint32_t unmaskInterrupt(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in unmaskInterrupt() argument 869 static uint32_t readEventFast(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in readEventFast() argument [all …]
|