summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-11-13 09:42:42 -0800
committerRoshan Pius <rpius@google.com>2019-11-13 12:16:51 -0800
commitb214366c26509413424ac924787227855dee1c53 (patch)
tree6ef517600061cd51069cb806bca09b5b4dcc7720 /tests
parent77f8ce94b89bae2a15ee1e7aab6d8c4fac19fcbd (diff)
WifiInjector: Remove unused getActivityManagerService method
Bug: 143494985 Test: Compiles Change-Id: Id4bcc6d4ef47b7a2aeae604f1c05b6212f2a48f8
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java b/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java
index b85e540c5..82b62afef 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java
@@ -41,7 +41,6 @@ import android.os.UserHandle;
import androidx.test.filters.SmallTest;
-import com.android.server.am.ActivityManagerService;
import com.android.wifi.R;
import org.junit.Before;
@@ -70,7 +69,6 @@ public class WifiDiagnosticsTest extends WifiBaseTest {
@Mock LastMileLogger mLastMileLogger;
@Mock Runtime mJavaRuntime;
@Mock Process mExternalProcess;
- @Mock ActivityManagerService mActivityManagerService;
@Mock WifiMetrics mWifiMetrics;
@Mock Clock mClock;
MockResources mResources;
@@ -132,7 +130,6 @@ public class WifiDiagnosticsTest extends WifiBaseTest {
when(mContext.getResources()).thenReturn(mResources);
when(mWifiInjector.makeLog(anyString())).thenReturn(mLog);
when(mWifiInjector.getJavaRuntime()).thenReturn(mJavaRuntime);
- when(mWifiInjector.getActivityManagerService()).thenReturn(mActivityManagerService);
when(mWifiInjector.getWifiMetrics()).thenReturn(mWifiMetrics);
mWifiDiagnostics = new WifiDiagnostics(