/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | LatencyTrackerTest.java | 23 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 …]
|
D | FakeLatencyTrackerTest.java | 23 import static com.android.internal.util.LatencyTracker.ACTION_SHOW_VOICE_INTERACTION; 79 List<LatencyTracker.FrameworkStatsLogEvent> events = in testForceEnabled()
|
D | OWNERS | 3 per-file *LatencyTracker* = file:/core/java/com/android/internal/util/LATENCY_TRACKER_OWNERS
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 65 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()
|
D | LatencyTracker.h | 39 class LatencyTracker { 45 LatencyTracker(InputEventTimelineProcessor* processor);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | DisplaySwitchNotificationsHiderTracker.kt | 19 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/ |
D | UnfoldLatencyTracker.kt | 24 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()
|
D | FoldAodAnimationController.kt | 25 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/ |
D | KeyguardAbsKeyInputViewController.java | 19 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()
|
D | KeyguardPatternViewController.java | 19 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()
|
D | KeyguardInputViewController.java | 30 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/ |
D | HotwordMetricsLogger.java | 40 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/ |
D | DisplaySwitchNotificationsHiderTrackerTest.kt | 19 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/ |
D | MetricsLoggerKosmos.kt | 20 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/ |
D | RotationResolverManagerPerUserService.java | 21 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/ |
D | FakeLatencyTracker.java | 19 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/ |
D | BigPictureStatsManager.kt | 21 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/ |
D | LatencyTracker.java | 51 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
|
D | LATENCY_TRACKER_OWNERS | 1 # TODO(b/274465475): Migrate LatencyTracker testing to its own module
|
D | TEST_MAPPING | 32 "file_patterns": ["LatencyTracker.java"]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | ImeTracker.java | 25 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/ |
D | OWNERS | 1 per-file *LatencyTracker* = file:/core/java/com/android/internal/util/LATENCY_TRACKER_OWNERS
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 31 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/ |
D | LatencyTester.java | 29 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/ |
D | UnfoldLatencyTrackerTest.kt | 24 import com.android.internal.util.LatencyTracker 46 @Mock lateinit var latencyTracker: LatencyTracker
|