Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLatencyTrackerTest.java23 import static com.android.internal.util.LatencyTracker.STATSD_ACTION;
34 import com.android.internal.util.LatencyTracker.ActionProperties;
101 final String expectedActionName = LatencyTracker.getNameOfAction(enumKey); in testCujsMapToEnumsCorrectly()
137 LatencyTracker.SETTINGS_ENABLED_KEY, "true", false);
148 LatencyTracker.SETTINGS_ENABLED_KEY, "false", false);
160 int action = LatencyTracker.ACTION_SHOW_VOICE_INTERACTION;
165 LatencyTracker.SETTINGS_ENABLED_KEY, "true", false);
176 int action = LatencyTracker.ACTION_SHOW_VOICE_INTERACTION;
178 LatencyTracker.SETTINGS_ENABLED_KEY, "false", false);
199 int action = LatencyTracker.ACTION_SHOW_VOICE_INTERACTION;
[all …]
DFakeLatencyTrackerTest.java23 import static com.android.internal.util.LatencyTracker.ACTION_SHOW_VOICE_INTERACTION;
79 List<LatencyTracker.FrameworkStatsLogEvent> events = in testForceEnabled()
DOWNERS3 per-file *LatencyTracker* = file:/core/java/com/android/internal/util/LATENCY_TRACKER_OWNERS
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp65 LatencyTracker::LatencyTracker(InputEventTimelineProcessor* processor) in LatencyTracker() function in android::inputdispatcher::LatencyTracker
70 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener()
110 void LatencyTracker::trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, in trackFinishedEvent()
141 void LatencyTracker::trackGraphicsLatency( in trackGraphicsLatency()
173 void LatencyTracker::reportAndPruneMatureRecords(nsecs_t newEventTime) { in reportAndPruneMatureRecords()
193 std::string LatencyTracker::dump(const char* prefix) const { in dump()
199 void LatencyTracker::setInputDevices(const std::vector<InputDeviceInfo>& inputDevices) { in setInputDevices()
DLatencyTracker.h39 class LatencyTracker {
45 LatencyTracker(InputEventTimelineProcessor* processor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DDisplaySwitchNotificationsHiderTracker.kt19 import com.android.internal.util.LatencyTracker in <lambda>()
20 import com.android.internal.util.LatencyTracker.ACTION_NOTIFICATIONS_HIDDEN_FOR_MEASURE in <lambda>()
21 import com.android.internal.util.LatencyTracker.ACTION_NOTIFICATIONS_HIDDEN_FOR_MEASURE_WITH_SHADE_… in <lambda>()
36 private val latencyTracker: LatencyTracker in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldLatencyTracker.kt24 import com.android.internal.util.LatencyTracker
48 private val latencyTracker: LatencyTracker,
133 latencyTracker.onActionStart(LatencyTracker.ACTION_SWITCH_DISPLAY_UNFOLD) in onUnfoldStarted()
140 latencyTracker.onActionEnd(LatencyTracker.ACTION_SWITCH_DISPLAY_UNFOLD) in onUnfoldEnded()
DFoldAodAnimationController.kt25 import com.android.internal.util.LatencyTracker in <lambda>()
57 private val latencyTracker: LatencyTracker, in <lambda>()
272 latencyTracker.onActionStart(LatencyTracker.ACTION_FOLD_TO_AOD) in <lambda>()
281 latencyTracker.onActionEnd(LatencyTracker.ACTION_FOLD_TO_AOD) in <lambda>()
285 latencyTracker.onActionCancel(LatencyTracker.ACTION_FOLD_TO_AOD) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardAbsKeyInputViewController.java19 import static com.android.internal.util.LatencyTracker.ACTION_CHECK_CREDENTIAL;
20 import static com.android.internal.util.LatencyTracker.ACTION_CHECK_CREDENTIAL_UNLOCKED;
30 import com.android.internal.util.LatencyTracker;
50 private final LatencyTracker mLatencyTracker;
82 LatencyTracker latencyTracker, FalsingCollector falsingCollector, in KeyguardAbsKeyInputViewController()
184 mLatencyTracker.onActionStart(LatencyTracker.ACTION_LOCKSCREEN_UNLOCK); in onPasswordChecked()
DKeyguardPatternViewController.java19 import static com.android.internal.util.LatencyTracker.ACTION_CHECK_CREDENTIAL;
20 import static com.android.internal.util.LatencyTracker.ACTION_CHECK_CREDENTIAL_UNLOCKED;
31 import com.android.internal.util.LatencyTracker;
61 private final LatencyTracker mLatencyTracker;
172 mLatencyTracker.onActionStart(LatencyTracker.ACTION_LOCKSCREEN_UNLOCK); in onPatternChecked()
198 LatencyTracker latencyTracker, in KeyguardPatternViewController()
DKeyguardInputViewController.java30 import com.android.internal.util.LatencyTracker;
202 private final LatencyTracker mLatencyTracker;
221 LatencyTracker latencyTracker, in Factory()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordMetricsLogger.java40 import static com.android.internal.util.LatencyTracker.ACTION_SHOW_VOICE_INTERACTION;
46 import com.android.internal.util.LatencyTracker;
144 LatencyTracker.getInstance(context).onActionStart(ACTION_SHOW_VOICE_INTERACTION, tag); in startHotwordTriggerToUiLatencySession()
156 LatencyTracker.getInstance(context).onActionEnd(ACTION_SHOW_VOICE_INTERACTION); in stopHotwordTriggerToUiLatencySession()
172 LatencyTracker.getInstance(context).onActionCancel(ACTION_SHOW_VOICE_INTERACTION); in cancelHotwordTriggerToUiLatencySession()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DDisplaySwitchNotificationsHiderTrackerTest.kt19 import com.android.internal.util.LatencyTracker
20 import com.android.internal.util.LatencyTracker.ACTION_NOTIFICATIONS_HIDDEN_FOR_MEASURE
21 import com.android.internal.util.LatencyTracker.ACTION_NOTIFICATIONS_HIDDEN_FOR_MEASURE_WITH_SHADE_…
44 private val latencyTracker = mock<LatencyTracker>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/internal/logging/
DMetricsLoggerKosmos.kt20 import com.android.internal.util.LatencyTracker
27 val Kosmos.latencyTracker by Fixture { mock<LatencyTracker>() } in <lambda>()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerPerUserService.java21 import static com.android.internal.util.LatencyTracker.ACTION_ROTATE_SCREEN_CAMERA_CHECK;
42 import com.android.internal.util.LatencyTracker;
70 private LatencyTracker mLatencyTracker;
75 mLatencyTracker = LatencyTracker.getInstance(getContext()); in RotationResolverManagerPerUserService()
/frameworks/base/core/tests/coretests/testdoubles/src/com/android/internal/util/
DFakeLatencyTracker.java19 import static com.android.internal.util.LatencyTracker.ActionProperties.ENABLE_SUFFIX;
20 import static com.android.internal.util.LatencyTracker.ActionProperties.SAMPLE_INTERVAL_SUFFIX;
21 import static com.android.internal.util.LatencyTracker.ActionProperties.TRACE_THRESHOLD_SUFFIX;
41 public final class FakeLatencyTracker extends LatencyTracker {
77 properties.put(LatencyTracker.SETTINGS_ENABLED_KEY, "false"); in disableForAllActions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBigPictureStatsManager.kt21 import com.android.internal.util.LatencyTracker in <lambda>()
40 private val latencyTracker: LatencyTracker, in <lambda>()
122 LatencyTracker.ACTION_NOTIFICATION_BIG_PICTURE_LOADED, in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DLatencyTracker.java51 import static com.android.internal.util.LatencyTracker.ActionProperties.ENABLE_SUFFIX;
52 import static com.android.internal.util.LatencyTracker.ActionProperties.LEGACY_TRACE_THRESHOLD_SUFF…
53 import static com.android.internal.util.LatencyTracker.ActionProperties.SAMPLE_INTERVAL_SUFFIX;
54 import static com.android.internal.util.LatencyTracker.ActionProperties.TRACE_THRESHOLD_SUFFIX;
92 public class LatencyTracker { class
362 private static final LatencyTracker sLatencyTracker;
365 sLatencyTracker = new LatencyTracker();
370 public static LatencyTracker getInstance(Context context) { in getInstance()
386 public LatencyTracker() { in LatencyTracker() method in LatencyTracker
DLATENCY_TRACKER_OWNERS1 # TODO(b/274465475): Migrate LatencyTracker testing to its own module
DTEST_MAPPING32 "file_patterns": ["LatencyTracker.java"]
/frameworks/base/core/java/android/view/inputmethod/
DImeTracker.java25 import static com.android.internal.util.LatencyTracker.ACTION_REQUEST_IME_HIDDEN;
26 import static com.android.internal.util.LatencyTracker.ACTION_REQUEST_IME_SHOWN;
49 import com.android.internal.util.LatencyTracker;
925 LatencyTracker.getInstance(latencyContext.getAppContext()) in onRequestShow()
935 LatencyTracker.getInstance(latencyContext.getAppContext()) in onRequestHide()
953 LatencyTracker.getInstance(latencyContext.getAppContext()) in onShowCancelled()
959 LatencyTracker.getInstance(latencyContext.getAppContext()) in onHideCancelled()
965 LatencyTracker.getInstance(latencyContext.getAppContext()) in onShown()
971 LatencyTracker.getInstance(latencyContext.getAppContext()) in onHidden()
/frameworks/base/core/tests/coretests/testdoubles/
DOWNERS1 per-file *LatencyTracker* = file:/core/java/com/android/internal/util/LATENCY_TRACKER_OWNERS
/frameworks/native/services/inputflinger/tests/
DLatencyTracker_test.cpp31 using android::inputdispatcher::LatencyTracker;
50 void setDefaultInputDeviceInfo(LatencyTracker& tracker) { in setDefaultInputDeviceInfo()
82 std::unique_ptr<LatencyTracker> mTracker;
90 mTracker = std::make_unique<LatencyTracker>(this); in SetUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java29 import com.android.internal.util.LatencyTracker;
113 LatencyTracker.SETTINGS_ENABLED_KEY, DEFAULT_ENABLED); in updateEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DUnfoldLatencyTrackerTest.kt24 import com.android.internal.util.LatencyTracker
46 @Mock lateinit var latencyTracker: LatencyTracker

1234