Home
last modified time | relevance | path

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

12345

/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/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp133 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 …]
Dmultihal_sensors.cpp163 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/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_kgsl.h392 __u32 timestamp; member
502 unsigned int timestamp; member
511 unsigned int timestamp; member
534 unsigned int timestamp; /*output param */ member
546 unsigned int timestamp; /*output param */ member
563 unsigned int timestamp; member
618 unsigned int timestamp; /*output param */ member
628 unsigned int timestamp; member
776 unsigned int timestamp; /* Timestamp to trigger event on */ member
1066 unsigned int timestamp; member
[all …]
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dmsm_kgsl.h392 __u32 timestamp; member
502 unsigned int timestamp; member
511 unsigned int timestamp; member
534 unsigned int timestamp; /*output param */ member
546 unsigned int timestamp; /*output param */ member
563 unsigned int timestamp; member
618 unsigned int timestamp; /*output param */ member
628 unsigned int timestamp; member
776 unsigned int timestamp; /* Timestamp to trigger event on */ member
1066 unsigned int timestamp; member
[all …]
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dmsm_kgsl.h257 __u32 timestamp; member
320 unsigned int timestamp; member
326 unsigned int timestamp; member
334 unsigned int timestamp; member
340 unsigned int timestamp; member
347 unsigned int timestamp; member
373 unsigned int timestamp; member
380 unsigned int timestamp; member
468 unsigned int timestamp; member
564 unsigned int timestamp; member
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_kgsl.h257 __u32 timestamp; member
320 unsigned int timestamp; member
326 unsigned int timestamp; member
334 unsigned int timestamp; member
340 unsigned int timestamp; member
347 unsigned int timestamp; member
373 unsigned int timestamp; member
380 unsigned int timestamp; member
468 unsigned int timestamp; member
564 unsigned int timestamp; member
[all …]
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dmsm_kgsl.h422 __u32 timestamp; member
535 unsigned int timestamp; member
544 unsigned int timestamp; member
567 unsigned int timestamp; /*output param */ member
579 unsigned int timestamp; /*output param */ member
596 unsigned int timestamp; member
651 unsigned int timestamp; /*output param */ member
661 unsigned int timestamp; member
809 unsigned int timestamp; /* Timestamp to trigger event on */ member
1099 unsigned int timestamp; member
[all …]
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dmsm_kgsl.h253 __u32 timestamp; member
319 unsigned int timestamp; member
325 unsigned int timestamp; member
333 unsigned int timestamp; member
339 unsigned int timestamp; member
346 unsigned int timestamp; member
372 unsigned int timestamp; member
379 unsigned int timestamp; member
467 unsigned int timestamp; member
563 unsigned int timestamp; member
[all …]
/device/google/atv/audio_proxy/service/
DStreamOutImpl.cpp53 uint64_t estimatePlayedFramesSince(const TimeSpec& timestamp, in estimatePlayedFramesSince() argument
59 if (now.tv_nsec >= timestamp.tvNSec) { in estimatePlayedFramesSince()
60 deltaSec = now.tv_sec - timestamp.tvSec; in estimatePlayedFramesSince()
61 deltaNSec = now.tv_nsec - timestamp.tvNSec; in estimatePlayedFramesSince()
63 deltaSec = now.tv_sec - timestamp.tvSec - 1; in estimatePlayedFramesSince()
64 deltaNSec = kOneSecInNs + now.tv_nsec - timestamp.tvNSec; in estimatePlayedFramesSince()
437 auto [frames, timestamp] = mWriteThread->getPresentationPosition(); in getPresentationPosition()
438 _hidl_cb(Result::OK, frames, timestamp); in getPresentationPosition()
478 if (position.timestamp.tvSec == 0 && position.timestamp.tvNSec == 0) { in getMmapPosition()
484 position.timestamp.tvSec * kOneSecInNs + position.timestamp.tvNSec; in getMmapPosition()
[all …]
/device/google/trout/hal/vehicle/2.0/
DDefaultVehicleHalServer.cpp107 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/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp82 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/google/sunfish/powerstats/
DRailDataProvider.cpp141 uint64_t timestamp = 0; in parseIioEnergyNode() local
147 timestamp = strtoull(words[0].c_str(), NULL, 10); in parseIioEnergyNode()
148 if (timestamp == 0 || timestamp == ULLONG_MAX) { in parseIioEnergyNode()
149 ALOGW("Potentially wrong timestamp: %" PRIu64, timestamp); in parseIioEnergyNode()
158 mOdpm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
/device/google/redbull/powerstats/
DRailDataProvider.cpp131 uint64_t timestamp = 0; in parseIioEnergyNode() local
137 timestamp = strtoull(words[0].c_str(), NULL, 10); in parseIioEnergyNode()
138 if (timestamp == 0 || timestamp == ULLONG_MAX) { in parseIioEnergyNode()
139 ALOGW("Potentially wrong timestamp: %" PRIu64, timestamp); in parseIioEnergyNode()
148 mOdpm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
/device/google/coral/powerstats/
DRailDataProvider.cpp141 uint64_t timestamp = 0; in parseIioEnergyNode() local
147 timestamp = strtoull(words[0].c_str(), NULL, 10); in parseIioEnergyNode()
148 if (timestamp == 0 || timestamp == ULLONG_MAX) { in parseIioEnergyNode()
149 ALOGW("Potentially wrong timestamp: %" PRIu64, timestamp); in parseIioEnergyNode()
158 mOdpm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_enforcement.cpp116 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/cuttlefish/guest/hals/camera/
Dvsock_camera_device_session_3_4.cpp353 .timestamp = 0, in processOneCaptureRequest()
388 common::V1_0::helper::CameraMetadata& md, nsecs_t timestamp) { in fillCaptureResult() argument
414 md.update(ANDROID_SENSOR_TIMESTAMP, &timestamp, 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()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c139 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 …]
/device/linaro/dragonboard/audio/
Daudio_hw.c112 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 …]
/device/google/gs201/storage/
Dufs_firmware_update.sh21 timestamp=$(date -d "$atime" +%s)
22 (( $timestamp < $min_timestamp )) && timestamp=$min_timestamp
25 if [ -n "$file" ] && (( $lifec < 0x0a )) && (( $timestamp + $epoch_1y >= $now )); then
/device/google/atv/audio_proxy/
DAudioProxyStreamOut.cpp32 TimeSpec* timestamp) const { in getPresentationPosition()
37 timestamp->tvSec = ts.tv_sec; in getPresentationPosition()
38 timestamp->tvNSec = ts.tv_nsec; in getPresentationPosition()
103 position.timestamp = {ts.tv_sec, ts.tv_nsec}; in getMmapPosition()
/device/google/cuttlefish/common/libs/utils/
Dtee_logging.cpp173 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/commands/sensor_injection/
Dmain.cpp99 event.timestamp = android::elapsedRealtimeNano(); in InjectOrientation()
123 event.timestamp = android::elapsedRealtimeNano(); in InjectAccelerometer()
143 event.timestamp = android::elapsedRealtimeNano(); in InjectMagnetometer()
163 event.timestamp = android::elapsedRealtimeNano(); in InjectGyroscope()
179 event.timestamp = android::elapsedRealtimeNano(); in InjectHingeAngle()
/device/generic/car/emulator/vhal_v2_0/
DEmulatedVehicleHalServer.cpp60 updatedPropValue->timestamp = elapsedRealtimeNano(); in setPropertyFromVehicle()
91 v->timestamp = elapsedRealtimeNano(); in get()
130 hidlPropValue.timestamp = aidlPropValue.timestamp; in makeHidlVehiclePropValue()

12345