/system/chre/apps/audio_stress_test/ |
D | audio_stress_test.cc | 34 using chre::Milliseconds; 54 constexpr Milliseconds kStressPlan[] = { 56 Milliseconds(20000), Milliseconds(20000), 57 Milliseconds(30000), Milliseconds(200), 58 Milliseconds(10000), Milliseconds(1000), 59 Milliseconds(10000), Milliseconds(1999), 60 Milliseconds(8000), Milliseconds(60000), 61 Milliseconds(1000), Milliseconds(1000), 62 Milliseconds(1000), Milliseconds(1000), 63 Milliseconds(1000), Milliseconds(1000), [all …]
|
/system/chre/core/include/chre/core/ |
D | gnss_manager.h | 50 bool addRequest(Nanoapp *nanoapp, Milliseconds minInterval, 51 Milliseconds minTimeToNext, const void *cookie); 104 Milliseconds minInterval; 123 Milliseconds minInterval; 149 Milliseconds mCurrentInterval = Milliseconds(UINT64_MAX); 175 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval, 176 Milliseconds minTimeToNext, const void *cookie); 202 Milliseconds minInterval, const void *cookie); 222 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest, 234 bool updateRequests(bool enable, Milliseconds minInterval, [all …]
|
/system/chre/util/include/chre/util/ |
D | time_impl.h | 43 constexpr Milliseconds::Milliseconds() 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() 61 constexpr uint64_t Milliseconds::getMicroseconds() const { in getMicroseconds() 69 constexpr uint64_t Milliseconds::getMilliseconds() const { in getMilliseconds() 73 constexpr bool Milliseconds::operator==(const Milliseconds& millis) const { 109 constexpr Nanoseconds::Nanoseconds(Milliseconds milliseconds) in Nanoseconds()
|
D | time.h | 43 class Milliseconds; variable 77 class Milliseconds { 82 constexpr Milliseconds(); 87 constexpr explicit Milliseconds(uint64_t milliseconds); 92 constexpr Milliseconds(Nanoseconds nanoseconds); 121 constexpr bool operator==(const Milliseconds& millis) const; 194 constexpr Nanoseconds(Milliseconds milliseconds);
|
/system/chre/platform/shared/ |
D | chre_api_gnss.cc | 25 using chre::Milliseconds; 43 nanoapp, Milliseconds(minIntervalMs), in chreGnssLocationSessionStartAsync() 44 Milliseconds(minTimeToNextFixMs), cookie); in chreGnssLocationSessionStartAsync() 66 nanoapp, Milliseconds(minIntervalMs), in chreGnssMeasurementSessionStartAsync() 67 Milliseconds(0) /* minTimeToNext */, cookie); in chreGnssMeasurementSessionStartAsync()
|
D | platform_gnss.cc | 69 bool PlatformGnss::controlLocationSession(bool enable, Milliseconds minInterval, in controlLocationSession() 70 Milliseconds minTimeToNextFix) { in controlLocationSession() 105 Milliseconds minInterval) { in controlMeasurementSession()
|
/system/chre/apps/audio_world/ |
D | audio_world.cc | 34 using chre::Milliseconds; 44 Milliseconds gFirstAudioEventTimestamp = Milliseconds(0); 105 Milliseconds timestamp = Milliseconds(Nanoseconds(event->timestamp)); in handleAudioDataEvent() 106 if (gFirstAudioEventTimestamp == Milliseconds(0)) { in handleAudioDataEvent() 110 Milliseconds adjustedTimestamp = timestamp - gFirstAudioEventTimestamp; in handleAudioDataEvent()
|
/system/chre/util/tests/ |
D | time_test.cc | 22 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/core/ |
D | gnss_manager.cc | 70 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest() 71 Milliseconds minTimeToNext, const void *cookie) { in addRequest() 79 return configure(nanoapp, false /* enable */, Milliseconds(UINT64_MAX), in removeRequest() 80 Milliseconds(UINT64_MAX), cookie); in removeRequest() 139 Nanoapp *nanoapp, bool enable, Milliseconds minInterval, in configure() 140 Milliseconds minTimeToNext, const void *cookie) { in configure() 185 uint32_t instanceId, bool enable, Milliseconds minInterval, in addRequestToQueue() 206 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest, in stateTransitionIsRequired() 242 bool enable, Milliseconds minInterval, uint32_t instanceId) { in updateRequests() 282 uint32_t instanceId, bool success, bool enable, Milliseconds minInterval, in postAsyncResultEvent() [all …]
|
D | audio_request_manager.cc | 131 Milliseconds(Nanoseconds(source.minBufferDuration)).getMilliseconds(), in logStateToBuffer() 132 Milliseconds(Nanoseconds(source.maxBufferDuration)).getMilliseconds(), in logStateToBuffer() 133 source.format, Milliseconds(timeSinceLastAudioEvent).getMilliseconds()); in logStateToBuffer() 140 Milliseconds(Nanoseconds(request.deliveryInterval)) in logStateToBuffer()
|
D | event_loop.cc | 343 Milliseconds receivedTime = Nanoseconds(SystemTime::getMonotonicTime()); in allocateAndPostEvent()
|
/system/chre/platform/include/chre/platform/ |
D | platform_gnss.h | 58 bool controlLocationSession(bool enable, Milliseconds minInterval, 59 Milliseconds minTimeToNextFix); 78 bool controlMeasurementSession(bool enable, Milliseconds minInterval);
|
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 32 using chre::Milliseconds; 43 constexpr Milliseconds kBreakItPeriod = Milliseconds(2000); 69 .interval = Milliseconds(80).toRawNanoseconds(), 93 .interval = Milliseconds(80).toRawNanoseconds(), 101 .interval = Milliseconds(80).toRawNanoseconds(), 109 .interval = Milliseconds(200).toRawNanoseconds(), 117 .interval = Milliseconds(200).toRawNanoseconds(), 125 .interval = Milliseconds(200).toRawNanoseconds(), 157 .interval = Milliseconds(80).toRawNanoseconds(), 165 .interval = Milliseconds(80).toRawNanoseconds(), [all …]
|
/system/chre/platform/slpi/smgr/tests/ |
D | platform_sensor_util_test.cc | 23 using chre::Milliseconds; 33 constexpr Nanoseconds kFiftyHertzInterval = Milliseconds(20); in TEST() 62 constexpr Nanoseconds kTenHertzInterval = Milliseconds(20); in TEST()
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | island_vote_client.h | 84 Milliseconds mRefCountStart = Milliseconds(0);
|
D | see_helper.h | 187 Milliseconds retryDelay); 198 Milliseconds(250) /* retryDelay */);
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor_util.cc | 34 Milliseconds millis = Milliseconds(interval); in intervalToSmgrSamplingRate()
|
D | smr_helper.cc | 160 msg_id, Milliseconds(timeout).getMilliseconds()); in sendReqSyncUntyped()
|
D | platform_sensor.cc | 107 constexpr Nanoseconds kStatusDelayIntervalNanos = Milliseconds(20);
|
/system/chre/platform/slpi/see/ |
D | island_vote_client.cc | 73 mRefCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementBigImageRefCount() 119 duration = Milliseconds(SystemTime::getMonotonicTime()).getMilliseconds() in checkBigImageDuration()
|
D | see_helper.cc | 1623 Milliseconds retryDelay) { in findSuidSync() 1817 Milliseconds(timeoutResp).getMilliseconds()); in sendSeeReqSync() 1890 Milliseconds(timeoutInd).getMilliseconds()); in waitForInd()
|
/system/chre/platform/linux/ |
D | platform_audio.cc | 132 Milliseconds(source->minBufferDuration).getMilliseconds(), in addAudioSource() 133 Milliseconds(source->maxBufferDuration).getMilliseconds()); in addAudioSource()
|
D | init.cc | 38 using chre::Milliseconds;
|
/system/chre/apps/gnss_world/ |
D | gnss_world.cc | 40 constexpr chre::Milliseconds kLocationMinTimeToNextFix(0);
|