From 1ea6afa8699f9bf822c02688016ac6641471f801 Mon Sep 17 00:00:00 2001 From: Yi Yang Date: Wed, 30 Mar 2022 16:49:07 -0700 Subject: Remove unused and obsolete methods in FeatureTracker Bug: n/a Test: n/a Change-Id: If95d8df94423786919d80abfad0a907bb73f8999 --- .../tools/profilers/analytics/FeatureTracker.java | 25 ---------------------- .../tools/profilers/FakeFeatureTracker.java | 25 ---------------------- 2 files changed, 50 deletions(-) (limited to 'profilers') diff --git a/profilers/src/com/android/tools/profilers/analytics/FeatureTracker.java b/profilers/src/com/android/tools/profilers/analytics/FeatureTracker.java index 159d308bede..4803d45878a 100644 --- a/profilers/src/com/android/tools/profilers/analytics/FeatureTracker.java +++ b/profilers/src/com/android/tools/profilers/analytics/FeatureTracker.java @@ -227,11 +227,6 @@ public interface FeatureTracker { */ void trackSelectCaptureFlameChart(); - /** - * Track the user opening up the "Call Chart" tab in the CPU capture view - */ - void trackSelectCaptureCallChart(); - /** * Track when the user requests memory be garbage collected. */ @@ -290,11 +285,6 @@ public interface FeatureTracker { */ void trackSelectNetworkDetailsOverview(); - /** - * Track the user opening up the "Headers" tab in the network details view. - */ - void trackSelectNetworkDetailsHeaders(); - /** * Track the user opening up the "Response" tab in the network details view. */ @@ -310,11 +300,6 @@ public interface FeatureTracker { */ void trackSelectNetworkDetailsStack(); - /** - * Track the user opening up the "Error" tab in the network details view. - */ - void trackSelectNetworkDetailsError(); - /** * Track the user selecting the "Connections View" tab. */ @@ -340,16 +325,6 @@ public interface FeatureTracker { */ void trackFilterMetadata(@NotNull FilterMetadata filterMetadata); - /** - * Track when the user selects a thread via the cpu kernel list. - */ - void trackSelectCpuKernelElement(); - - /** - * Track when a user expands or collapses the cpu kernel view. - */ - void trackToggleCpuKernelHideablePanel(); - /** * Track when a user expands or collapses the cpu threads view. */ diff --git a/profilers/testSrc/com/android/tools/profilers/FakeFeatureTracker.java b/profilers/testSrc/com/android/tools/profilers/FakeFeatureTracker.java index 6661fcd5478..9f0565d3206 100644 --- a/profilers/testSrc/com/android/tools/profilers/FakeFeatureTracker.java +++ b/profilers/testSrc/com/android/tools/profilers/FakeFeatureTracker.java @@ -321,11 +321,6 @@ public final class FakeFeatureTracker implements FeatureTracker { myLastCaptureDetailsType = CaptureDetails.Type.FLAME_CHART; } - @Override - public void trackSelectCaptureCallChart() { - myLastCaptureDetailsType = CaptureDetails.Type.CALL_CHART; - } - public void resetLastCaptureDetailsType() { myLastCaptureDetailsType = null; } @@ -389,11 +384,6 @@ public final class FakeFeatureTracker implements FeatureTracker { } - @Override - public void trackSelectNetworkDetailsHeaders() { - - } - @Override public void trackSelectNetworkDetailsResponse() { @@ -409,11 +399,6 @@ public final class FakeFeatureTracker implements FeatureTracker { } - @Override - public void trackSelectNetworkDetailsError() { - - } - @Override public void trackSelectNetworkConnectionsView() { @@ -434,16 +419,6 @@ public final class FakeFeatureTracker implements FeatureTracker { } - @Override - public void trackSelectCpuKernelElement() { - - } - - @Override - public void trackToggleCpuKernelHideablePanel() { - - } - @Override public void trackToggleCpuThreadsHideablePanel() { -- cgit v1.2.3