Home
last modified time | relevance | path

Searched refs:ticks (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/androidfw/
DResourceTimer.cpp94 const unsigned int ticks = diffInNs(end, start_); in record() local
96 t->record(ticks); in record()
165 void ResourceTimer::Timer::record(int ticks) { in record() argument
169 total += ticks; in record()
170 if (mintime == 0 || ticks < mintime) mintime = ticks; in record()
171 if (ticks > maxtime) maxtime = ticks; in record()
174 if (ticks != UINT_MAX) { in record()
176 if (ticks < range[d]) { in record()
181 if (ticks < width[d]) { in record()
187 buckets[d][ticks / width[d]]++; in record()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackProviderTest.kt152 val ticks = VibrationEffect.startComposition() in playHapticAtProgress_onQuickSuccession_playsLowTicksOnce() constant
154 ticks.addPrimitive(VibrationEffect.Composition.PRIMITIVE_LOW_TICK, expectedScale) in playHapticAtProgress_onQuickSuccession_playsLowTicksOnce()
165 assertEquals(/* expected=*/ 1, vibratorHelper.timesVibratedWithEffect(ticks.compose())) in playHapticAtProgress_onQuickSuccession_playsLowTicksOnce()
228 val ticks = VibrationEffect.startComposition() in playHapticAtLowerBookend_afterPlayingAtProgress_playsTwice() constant
230 ticks.addPrimitive(VibrationEffect.Composition.PRIMITIVE_LOW_TICK, expectedScale) in playHapticAtLowerBookend_afterPlayingAtProgress_playsTwice()
266 val ticks = VibrationEffect.startComposition() in playHapticAtUpperBookend_afterPlayingAtProgress_playsTwice() constant
268 ticks.addPrimitive(VibrationEffect.Composition.PRIMITIVE_LOW_TICK, expectedScale) in playHapticAtUpperBookend_afterPlayingAtProgress_playsTwice()
329 val ticks = VibrationEffect.startComposition() in generateTicksComposition() constant
331 ticks.addPrimitive( in generateTicksComposition()
336 return ticks.compose() in generateTicksComposition()
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DTime.h79 constexpr Rep ticks(Duration d) { in ticks() function
85 return base::StringPrintf("%.3f ms", ticks<std::milli, float>(d)); in to_string()
/frameworks/base/media/java/android/media/tv/
DTimelineResponse.java58 int unitsPerSecond, long wallClock, long ticks) { in TimelineResponse() argument
64 mTicks = ticks; in TimelineResponse()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp239 int64_t toNodeTimestamp(OMX_TICKS ticks) { in toNodeTimestamp() argument
242 timestamp = ticks; in toNodeTimestamp()
244 timestamp = ((ticks.nHighPart << 32) | ticks.nLowPart); in toNodeTimestamp()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DFrameTargeter.cpp94 ticks<std::milli, float>(mExpectedPresentTime - TimePoint::now()), in beginFrame()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp901 ticks<std::milli, float>(expectedPresentTime - TimePoint::now()), in notifyExpectedPresent()
902 ticks<std::milli, float>(Duration::fromNs(frameInterval.getPeriodNsecs()))); in notifyExpectedPresent()
DPowerAdvisor.cpp751 ticks<std::micro>(PowerAdvisor::kDefaultTargetSafetyMargin)));
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp737 return ticks<std::milli, float>(TimePoint::fromNs(timePoint) - now); in isVSyncInPhase()
DEventThread.cpp747 ticks<std::milli, float>(mLastVsyncCallbackTime - TimePoint::now()); in dump()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp447 ticks<std::milli, float>(expectedPresentTime - in present()
/frameworks/proto_logging/stats/
Datoms.proto19002 // It is in absolute time (e.g. always ticks even if the playback is paused).
19014 // It is in absolute time (e.g. always ticks even if the playback is paused).
19029 // It is in absolute time (e.g. always ticks even if the playback is paused).
19053 // It is in absolute time (e.g. always ticks even if the playback is paused).
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...