Home
last modified time | relevance | path

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

/system/chre/apps/audio_stress_test/
Daudio_stress_test.cc34 using chre::Milliseconds;
54 constexpr Milliseconds kStressPlan[] = {
57 Milliseconds(20000), Milliseconds(20000),
58 Milliseconds(30000), Milliseconds(200),
59 Milliseconds(10000), Milliseconds(1000),
60 Milliseconds(10000), Milliseconds(1999),
61 Milliseconds(8000), Milliseconds(60000),
62 Milliseconds(1000), Milliseconds(1000),
63 Milliseconds(1000), Milliseconds(1000),
64 Milliseconds(1000), Milliseconds(1000),
[all …]
/system/chre/core/include/chre/core/
Dgnss_manager.h52 bool addRequest(Nanoapp *nanoapp, Milliseconds minInterval,
53 Milliseconds minTimeToNext, const void *cookie);
140 Milliseconds minInterval;
146 Milliseconds intervalIn, bool startIn) in SessionRequestLog()
153 Milliseconds interval;
173 Milliseconds minInterval;
203 Milliseconds mCurrentInterval = Milliseconds(UINT64_MAX);
241 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval,
242 Milliseconds minTimeToNext, const void *cookie);
268 Milliseconds minInterval, const void *cookie);
[all …]
Dwifi_request_manager.h180 chreWifiScanType scanTypeIn, Milliseconds maxScanAgeMsIn) in WifiScanRequestLog()
189 Milliseconds maxScanAgeMs;
/system/chre/util/include/chre/util/
Dtime_impl.h44 constexpr Milliseconds::Milliseconds() : mMilliseconds(0) {} in Milliseconds() function
46 constexpr Milliseconds::Milliseconds(uint64_t milliseconds) in Milliseconds() function
49 constexpr Milliseconds::Milliseconds(Nanoseconds nanoseconds) in Milliseconds() function
53 constexpr uint64_t Milliseconds::toRawNanoseconds() const { in toRawNanoseconds()
62 constexpr uint64_t Milliseconds::getMicroseconds() const { in getMicroseconds()
71 constexpr uint64_t Milliseconds::getMilliseconds() const { in getMilliseconds()
75 constexpr bool Milliseconds::operator==(const Milliseconds &millis) const {
111 constexpr Nanoseconds::Nanoseconds(Milliseconds milliseconds) in Nanoseconds()
Dtime.h45 class Milliseconds; variable
78 class Milliseconds {
83 constexpr Milliseconds();
88 constexpr explicit Milliseconds(uint64_t milliseconds);
93 constexpr Milliseconds(Nanoseconds nanoseconds);
122 constexpr bool operator==(const Milliseconds &millis) const;
195 constexpr Nanoseconds(Milliseconds milliseconds);
/system/chre/util/tests/
Dtime_test.cc27 using chre::Milliseconds;
62 Milliseconds t; in TEST()
67 Milliseconds t(5); in TEST()
73 Milliseconds tMilli(tNano); in TEST()
78 Milliseconds t(5); in TEST()
83 Milliseconds t(UINT64_MAX / kOneMillisecondInMicroseconds + 1); in TEST()
88 Milliseconds t(5); in TEST()
93 Milliseconds t(UINT64_MAX / kOneMillisecondInNanoseconds + 1); in TEST()
98 Milliseconds t1(5), t2(5), t3(6); in TEST()
121 Milliseconds t(UINT64_MAX / kOneMicrosecondInNanoseconds + 1); in TEST()
[all …]
/system/chre/platform/shared/
Ddram_vote_client.cc43 mVoteCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementDramVoteCount()
79 Milliseconds DramVoteClient::checkDramDuration() const { in checkDramDuration()
80 Milliseconds duration(0); in checkDramDuration()
82 duration = Milliseconds(SystemTime::getMonotonicTime()) - mVoteCountStart; in checkDramDuration()
Dchre_api_gnss.cc26 using chre::Milliseconds;
48 .addRequest(nanoapp, Milliseconds(minIntervalMs), in chreGnssLocationSessionStartAsync()
49 Milliseconds(minTimeToNextFixMs), cookie); in chreGnssLocationSessionStartAsync()
76 .addRequest(nanoapp, Milliseconds(minIntervalMs), in chreGnssMeasurementSessionStartAsync()
77 Milliseconds(0) /* minTimeToNext */, cookie); in chreGnssMeasurementSessionStartAsync()
Dplatform_gnss.cc69 bool PlatformGnss::controlLocationSession(bool enable, Milliseconds minInterval, in controlLocationSession()
70 Milliseconds minTimeToNextFix) { in controlLocationSession()
111 Milliseconds minInterval) { in controlMeasurementSession()
/system/chre/platform/include/chre/platform/
Dplatform_gnss.h58 bool controlLocationSession(bool enable, Milliseconds minInterval,
59 Milliseconds minTimeToNextFix);
78 bool controlMeasurementSession(bool enable, Milliseconds minInterval);
/system/chre/apps/audio_world/
Daudio_world.cc34 using chre::Milliseconds;
50 Milliseconds gFirstAudioEventTimestamp = Milliseconds(0);
111 Milliseconds timestamp = Milliseconds(Nanoseconds(event->timestamp)); in handleAudioDataEvent()
112 if (gFirstAudioEventTimestamp == Milliseconds(0)) { in handleAudioDataEvent()
116 Milliseconds adjustedTimestamp = timestamp - gFirstAudioEventTimestamp; in handleAudioDataEvent()
/system/chre/platform/shared/include/chre/platform/shared/
Ddram_vote_client.h75 Milliseconds mVoteCountStart = Milliseconds(0);
98 Milliseconds checkDramDuration() const;
/system/chre/core/
Dgnss_manager.cc226 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest()
227 Milliseconds minTimeToNext, const void *cookie) { in addRequest()
235 return configure(nanoapp, false /* enable */, Milliseconds(UINT64_MAX), in removeRequest()
236 Milliseconds(UINT64_MAX), cookie); in removeRequest()
309 Milliseconds(0) /* minTimeToNext */)) { in updatePlatformRequest()
371 Milliseconds minInterval, in configure()
372 Milliseconds minTimeToNext, const void *cookie) { in configure()
426 Milliseconds minInterval, in addRequestToQueue()
447 Milliseconds minInterval, in stateTransitionIsRequired()
484 bool GnssSession::updateRequests(bool enable, Milliseconds minInterval, in updateRequests()
[all …]
Devent.cc24 Milliseconds now = SystemTime::getMonotonicTime(); in getTimeMillis()
Daudio_request_manager.cc124 Milliseconds(Nanoseconds(source.minBufferDuration)).getMilliseconds(), in logStateToBuffer()
125 Milliseconds(Nanoseconds(source.maxBufferDuration)).getMilliseconds(), in logStateToBuffer()
126 source.format, Milliseconds(timeSinceLastAudioEvent).getMilliseconds()); in logStateToBuffer()
133 Milliseconds(Nanoseconds(request.deliveryInterval)) in logStateToBuffer()
Dwifi_request_manager.cc657 static_cast<Milliseconds>(params->maxScanAgeMs))); in addWifiScanRequestLog()
/system/chre/apps/sensor_world/
Dsensor_world.cc32 using chre::Milliseconds;
41 constexpr Milliseconds kBreakItPeriod = Milliseconds(2000);
70 .interval = Milliseconds(80).toRawNanoseconds(),
100 .interval = Milliseconds(80).toRawNanoseconds(),
110 .interval = Milliseconds(80).toRawNanoseconds(),
120 .interval = Milliseconds(200).toRawNanoseconds(),
130 .interval = Milliseconds(200).toRawNanoseconds(),
140 .interval = Milliseconds(200).toRawNanoseconds(),
200 .interval = Milliseconds(80).toRawNanoseconds(),
210 .interval = Milliseconds(80).toRawNanoseconds(),
[all …]
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Disland_vote_client.h86 Milliseconds mRefCountStart = Milliseconds(0);
Dsee_helper.h186 Milliseconds retryDelay);
197 Milliseconds(250) /* retryDelay */);
/system/chre/platform/slpi/see/
Disland_vote_client.cc73 mRefCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementBigImageRefCount()
119 duration = Milliseconds(SystemTime::getMonotonicTime()).getMilliseconds() - in checkBigImageDuration()
Dsee_helper.cc1649 Milliseconds retryDelay) { in findSuidSync()
1849 Milliseconds(timeoutResp).getMilliseconds()); in sendSeeReqSync()
1922 Milliseconds(timeoutInd).getMilliseconds()); in waitForInd()
/system/chre/platform/linux/
Dplatform_audio.cc131 Milliseconds(source->minBufferDuration).getMilliseconds(), in addAudioSource()
132 Milliseconds(source->maxBufferDuration).getMilliseconds()); in addAudioSource()
Dinit.cc38 using chre::Milliseconds;
/system/chre/apps/gnss_world/
Dgnss_world.cc40 constexpr chre::Milliseconds kLocationMinTimeToNextFix(0);
/system/timezone/input_tools/android/tzids/src/main/proto/
Dtz_ids_proto.proto68 // When replacementId replaced replacedId. Milliseconds from the start of the Unix epoch.