Home
last modified time | relevance | path

Searched refs:clockId (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DClockRegistry.kt181 get() = settings?.clockId ?: fallbackClockId in <lambda>()
183 mutateSetting { it.copy(clockId = value) } in <lambda>()
251 val id = clock.clockId in <lambda>()
285 availableClocks.remove(clock.clockId) in <lambda>()
292 if (currentId == clock.clockId) { in <lambda>()
310 fun getClockThumbnail(clockId: ClockId): Drawable? = in <lambda>()
311 availableClocks[clockId]?.provider?.getClockThumbnail(clockId) in <lambda>()
313 fun createExampleClock(clockId: ClockId): ClockController? = createClock(clockId) in <lambda>()
322 val clockId = currentClockId in <lambda>() constant
323 if (isEnabled && clockId.isNotEmpty()) { in <lambda>()
[all …]
DDefaultClockProvider.kt41 if (settings.clockId != DEFAULT_CLOCK_ID) { in getClocks()
/frameworks/av/media/libaaudio/src/utility/
DAudioClock.h34 static int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
36 int result = clock_gettime(clockId, &time);
53 clockid_t clockId = CLOCK_MONOTONIC) {
59 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr);
82 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_MONOTONIC) {
89 int err = clock_nanosleep(clockId, flags, &time, nullptr);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockProviderPlugin.kt185 val clockId: ClockId, constant in com.android.systemui.plugins.ClockMetadata
192 val clockId: ClockId? = null, constant in com.android.systemui.plugins.ClockSettings
209 .put(KEY_CLOCK_ID, setting.clockId) in serialize()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp228 aaudio_result_t AudioStreamLegacy::getBestTimestamp(clockid_t clockId, in getBestTimestamp() argument
233 switch (clockId) { in getBestTimestamp()
241 ALOGE("getTimestamp() - Unrecognized clock type %d", (int) clockId); in getBestTimestamp()
DAudioStreamRecord.h45 virtual aaudio_result_t getTimestamp(clockid_t clockId,
DAudioStreamTrack.h64 aaudio_result_t getTimestamp(clockid_t clockId,
DAudioStreamLegacy.h92 aaudio_result_t getBestTimestamp(clockid_t clockId,
DAudioStreamRecord.cpp490 aaudio_result_t AudioStreamRecord::getTimestamp(clockid_t clockId, in getTimestamp() argument
503 return getBestTimestamp(clockId, framePosition, timeNanoseconds, &extendedTimestamp); in getTimestamp()
DAudioStreamTrack.cpp520 aaudio_result_t AudioStreamTrack::getTimestamp(clockid_t clockId, in getTimestamp() argument
532 aaudio_result_t result = getBestTimestamp(clockId, &position, in getTimestamp()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h118 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
120 int result = clock_gettime(clockId, &time);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DDefaultClockProviderTest.kt83 assertNotNull(provider.createClock(metadata.clockId)) in providedClocks_matchesFactory()
84 assertNotNull(provider.getClockThumbnail(metadata.clockId)) in providedClocks_matchesFactory()
DClockRegistryTest.kt84 createCallbacks[settings.clockId!!]!!() in getClocks()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h47 aaudio_result_t getTimestamp(clockid_t clockId,
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h98 virtual aaudio_result_t getTimestamp(clockid_t clockId,
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp440 int clockId = CLOCK_MONOTONIC; in configureFd() local
444 clockId = CLOCK_BOOTTIME; in configureFd()
446 bool usingClockIoctl = !ioctl(fd, EVIOCSCLOCKID, &clockId); in configureFd()