Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 233) sorted by relevance

12345678910

/device/google/cuttlefish/host/libs/location/
DGpxParser.cpp89 struct tm time = {}; in parseLocation() local
90 time.tm_isdst = -1; in parseLocation()
92 &time.tm_year, &time.tm_mon, &time.tm_mday, in parseLocation()
93 &time.tm_hour, &time.tm_min, &time.tm_sec); in parseLocation()
103 time.tm_year -= 1900; // Years since 1900 in parseLocation()
104 time.tm_mon -= 1; // Months since January, 0-11 in parseLocation()
106 result->time = mktime(&time); in parseLocation()
DGpsFix.h31 time_t time = 0; member
33 bool operator<(const GpsFix &other) const { return time < other.time; }
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c880 struct LSM6DSMTimeCalibration time; member
1431 if (T(time).status != TIME_SYNC_TIMER) in lsm6dsm_timeSyncTask()
1440 T(time).timeSyncRtcTime = sensorGetTime(); in lsm6dsm_timeSyncTask()
2281 …T(time).theoreticalDeltaTimeLSB = cpuMathU64DivByU16((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).tr… in lsm6dsm_calculateFifoDecimators()
2282 T(time).deltaTimeMarginLSB = ((T(time).theoreticalDeltaTimeLSB) * 10) / 100; in lsm6dsm_calculateFifoDecimators()
2348 T(time).sampleTimestampFromFifoLSB = 0; in lsm6dsm_resetTimestampSync()
2349 T(time).timestampIsValid = false; in lsm6dsm_resetTimestampSync()
2350 T(time).lastSampleTimestamp = 0; in lsm6dsm_resetTimestampSync()
2351 T(time).noTimer.lastTimestampDataAvlRtcTime = 0; in lsm6dsm_resetTimestampSync()
2352 T(time).noTimer.newTimestampDataAvl = false; in lsm6dsm_resetTimestampSync()
[all …]
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c91 uint64_t time; member
253 mTask.samples[index][w].time = curr_time + counter; in fillSamples()
281 static bool allocateDataEvt(struct FusionSensor *mSensor, uint64_t time) in allocateDataEvt() argument
292 mSensor->ev->referenceTime = time; in allocateDataEvt()
293 mSensor->prev_time = time; in allocateDataEvt()
299 static bool addSample(struct FusionSensor *mSensor, uint64_t time, float x, float y, float z) in addSample() argument
305 if (mSensor->prev_time == time) { in addSample()
312 if (!allocateDataEvt(mSensor, time)) in addSample()
324 sample->deltaTime = time > mSensor->prev_time ? (time - mSensor->prev_time) : 0; in addSample()
325 mSensor->prev_time = time; in addSample()
[all …]
/device/google/cuttlefish/host/commands/secure_env/rust/
Dclock.rs26 let mut time = libc::timespec { tv_sec: 0, tv_nsec: 0 }; in now() localVariable
29 unsafe { libc::clock_gettime(libc::CLOCK_BOOTTIME, &mut time as *mut libc::timespec) }; in now()
34 crypto::MillisecondsSinceEpoch((time.tv_sec * 1000) + (time.tv_nsec / 1000 / 1000)) in now()
/device/generic/goldfish/dhcp/client/
Dtimer.cpp22 struct timespec time = { 0, 0 }; in now() local
23 clock_gettime(CLOCK_MONOTONIC, &time); in now()
24 return static_cast<uint64_t>(time.tv_sec) * 1000u + in now()
25 static_cast<uint64_t>(time.tv_nsec / 1000000u); in now()
/device/google/sunfish/
Dinit.hardware.rc196 mkdir /mnt/vendor/persist/time 0770 system system
197 chown system system /mnt/vendor/persist/time/ats_1
198 chown system system /mnt/vendor/persist/time/ats_2
199 chown system system /mnt/vendor/persist/time/ats_3
200 chown system system /mnt/vendor/persist/time/ats_4
201 chown system system /mnt/vendor/persist/time/ats_5
202 chown system system /mnt/vendor/persist/time/ats_6
203 chown system system /mnt/vendor/persist/time/ats_7
204 chown system system /mnt/vendor/persist/time/ats_8
205 chown system system /mnt/vendor/persist/time/ats_9
[all …]
/device/google/cuttlefish/host/commands/secure_env/
Dsoft_gatekeeper.h95 struct timespec time; in GetMillisecondsSinceBoot()
97 int res = clock_gettime(CLOCK_BOOTTIME, &time); in GetMillisecondsSinceBoot()
99 int res = clock_gettime(CLOCK_MONOTONIC, &time); in GetMillisecondsSinceBoot()
102 return (time.tv_sec * 1000) + (time.tv_nsec / 1000 / 1000); in GetMillisecondsSinceBoot()
Dtpm_gatekeeper.cpp118 struct timespec time; in GetMillisecondsSinceBoot()
120 int res = clock_gettime(CLOCK_BOOTTIME, &time); in GetMillisecondsSinceBoot()
122 int res = clock_gettime(CLOCK_MONOTONIC, &time); in GetMillisecondsSinceBoot()
127 return (time.tv_sec * 1000) + (time.tv_nsec / 1000 / 1000); in GetMillisecondsSinceBoot()
/device/google/redbull/
Dinit.hardware.rc65 # Boot time cpuset and stune
81 # Boot time fs tuning
238 mkdir /mnt/vendor/persist/time 0770 system system
239 chown system system /mnt/vendor/persist/time/ats_1
240 chown system system /mnt/vendor/persist/time/ats_2
241 chown system system /mnt/vendor/persist/time/ats_3
242 chown system system /mnt/vendor/persist/time/ats_4
243 chown system system /mnt/vendor/persist/time/ats_5
244 chown system system /mnt/vendor/persist/time/ats_6
245 chown system system /mnt/vendor/persist/time/ats_7
[all …]
/device/google/cuttlefish/host/commands/metrics/proto/
Dcf_metrics_event.proto36 // The event type is the time the VM instance is instantiated.
39 // The event type is the time the device boot process is started.
42 // The event type is the time the device lock screen is available.
45 // The event type is the time the virtual device was stopped.
103 // Elapsed time for the event in milliseconds.
/device/google/akita/location/gnssd/release/
Dgps.cfg51 ### temporarily disable precise time aiding ###
137 # Enables RTC time aiding from Host
141 # Min number of prior fixes needed for RTC time aiding
183 # force engine to use entire response time for emergency session; default 0
185 # force engine to engage high accuracy if entire response time used; default 0
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DNotificationCenter.java39 import java.time.Instant;
40 import java.time.ZonedDateTime;
41 import java.time.ZoneId;
42 import java.time.temporal.ChronoUnit;
/device/google/caimito/location/ripcurrent24/userdebug/
Dgps.cfg62 ### temporarily disable precise time aiding ###
151 # Enables RTC time aiding from Host
215 # force engine to use entire response time for emergency session; default 0
217 # force engine to engage high accuracy if entire response time used; default 0
/device/google/comet/location/userdebug/
Dgps.cfg62 ### temporarily disable precise time aiding ###
151 # Enables RTC time aiding from Host
219 # force engine to use entire response time for emergency session; default 0
221 # force engine to engage high accuracy if entire response time used; default 0
/device/google/caimito/location/tokay/userdebug/
Dgps.cfg62 ### temporarily disable precise time aiding ###
151 # Enables RTC time aiding from Host
219 # force engine to use entire response time for emergency session; default 0
221 # force engine to engage high accuracy if entire response time used; default 0
/device/google/caimito/location/komodo/userdebug/
Dgps.cfg62 ### temporarily disable precise time aiding ###
151 # Enables RTC time aiding from Host
219 # force engine to use entire response time for emergency session; default 0
221 # force engine to engage high accuracy if entire response time used; default 0
/device/google/caimito/location/caiman/userdebug/
Dgps.cfg62 ### temporarily disable precise time aiding ###
151 # Enables RTC time aiding from Host
219 # force engine to use entire response time for emergency session; default 0
221 # force engine to engage high accuracy if entire response time used; default 0
/device/google/caimito/location/ripcurrentpro/userdebug/
Dgps.cfg62 ### temporarily disable precise time aiding ###
151 # Enables RTC time aiding from Host
215 # force engine to use entire response time for emergency session; default 0
217 # force engine to engage high accuracy if entire response time used; default 0
/device/generic/goldfish/audio/
Dstream_in.cpp207 status.reply.capturePosition.time); in doGetCapturePosition()
413 uint64_t time; in getCapturePosition() local
414 const Result r = s->getCapturePosition(frames, time); in getCapturePosition()
415 _hidl_cb(r, frames, time); in getCapturePosition()
/device/google/cuttlefish/tools/
Dcreate_base_image.go201 time.Sleep(5 * time.Second)
369 time.Sleep(50 * time.Second)
/device/google/gs201-sepolicy/whitechapel_pro/
Dbootanim.te1 # TODO(b/62954877). On Android Wear, bootanim reads the time
2 # during boot to display. It currently gets that time from a file
/device/google/gs101-sepolicy/whitechapel/vendor/google/
Dbootanim.te1 # TODO(b/62954877). On Android Wear, bootanim reads the time
2 # during boot to display. It currently gets that time from a file
/device/google/coral-sepolicy/vendor/qcom/common/
Dbootanim.te3 # TODO(b/62954877). On Android Wear, bootanim reads the time
4 # during boot to display. It currently gets that time from a file
/device/google/redbull-sepolicy/vendor/qcom/common/
Dbootanim.te3 # TODO(b/62954877). On Android Wear, bootanim reads the time
4 # during boot to display. It currently gets that time from a file

12345678910