Home
last modified time | relevance | path

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

123456

/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.cpp152 batchEventRef.timestamp = in activate()
226 event.timestamp = ::android::elapsedRealtimeNano(); in activationOnChangeSensorEvent()
379 .timestamp = android::elapsedRealtimeNano(), in sendAdditionalInfoReport()
445 m_batchQueue.top().timestamp - ::android::elapsedRealtimeNano(); in batchThread()
450 while (!m_batchQueue.empty() && (nowNs >= m_batchQueue.top().timestamp)) { in batchThread()
465 batchInfo.event.timestamp = evRef.timestamp; in batchThread()
475 evRef.timestamp += samplingPeriodNs; in batchThread()
/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/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/redbull-kernel/sm7250/kernel-headers/linux/
Dmsm_kgsl.h265 __u32 timestamp; member
331 unsigned int timestamp; member
337 unsigned int timestamp; member
345 unsigned int timestamp; member
351 unsigned int timestamp; member
358 unsigned int timestamp; member
384 unsigned int timestamp; member
391 unsigned int timestamp; member
479 unsigned int timestamp; member
575 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/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/generic/vulkan-cereal/scripts/print_gfx_logs/
Dprint_gfx_logs.py58 timestamp: int # Unix timestamp when command was recorded, in microseconds
67 timestamp: int # Unix timestamp of last command received, in microseconds
76 pos_in_file=pos_in_file, timestamp=0, thread_id=0, capture_id=0, commands=[],
79 def timestampToUnixUs(timestamp: int) -> int:
82 timestamp_us = int(timestamp / 10 - 11644473600000000)
195 streams.sort(key=lambda s: s.timestamp)
206 datetime.fromtimestamp(stream.timestamp / 1000000.0),
217 cmd.opcode, cmd.original_size, cmd.data, cmd.timestamp, stream_idx, cmd_idx)
Dprint_gfx_logs_test.py57 header.last_written_time = (stream.timestamp + 11644473600000) * 10_000
70 stream = Stream(pos_in_file=0, timestamp=123456, thread_id=4726,
82 self.assertEqual(streams[0].timestamp, stream.timestamp)
96 stream = Stream(pos_in_file=0, timestamp=123456, thread_id=4726,
119 stream = Stream(pos_in_file=0, timestamp=i, thread_id=i,
134 self.assertEqual(actual_stream.timestamp, expected_stream.timestamp)
/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/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/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/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_enforcement.cpp112 return (be64toh(token.timestamp) + timeout_ms) < get_current_time_ms(); in auth_token_timed_out()
152 sizeof(token.timestamp); in ValidateTokenSignature()
233 uint64_t timestamp; in VerifyAuthorization() member
239 response.token.timestamp = get_current_time_ms(); in VerifyAuthorization()
244 .timestamp = response.token.timestamp, in VerifyAuthorization()
266 token->timestamp = get_current_time_ms(); in GenerateTimestampToken()
/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/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/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.cpp133 char timestamp[32]; in StderrOutputGenerator() local
134 strftime(timestamp, sizeof(timestamp), "%m-%d %H:%M:%S", &now); in StderrOutputGenerator()
143 severity_char, timestamp, pid, tid, file, line); in StderrOutputGenerator()
146 timestamp, pid, tid); in StderrOutputGenerator()

123456