Loading apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java +0 −8 Original line number Diff line number Diff line Loading @@ -316,8 +316,6 @@ public class UserLifecycleTests { mIam.startUserInBackground(userId); }, Intent.ACTION_USER_STARTED, Intent.ACTION_MEDIA_MOUNTED); waitForBroadcastIdle(); mRunner.resumeTiming(); Log.i(TAG, "Starting timer"); Loading Loading @@ -680,8 +678,6 @@ public class UserLifecycleTests { } private void stopUser(int userId, boolean force) throws RemoteException { waitForBroadcastIdle(); final CountDownLatch latch = new CountDownLatch(1); mIam.stopUser(userId, force /* force */, new IStopUserCallback.Stub() { @Override Loading Loading @@ -886,8 +882,4 @@ public class UserLifecycleTests { assertEquals("", ShellHelper.runShellCommand("setprop " + name + " " + value)); return oldValue; } private void waitForBroadcastIdle() { ShellHelper.runShellCommand("am wait-for-broadcast-idle"); } } Loading
apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java +0 −8 Original line number Diff line number Diff line Loading @@ -316,8 +316,6 @@ public class UserLifecycleTests { mIam.startUserInBackground(userId); }, Intent.ACTION_USER_STARTED, Intent.ACTION_MEDIA_MOUNTED); waitForBroadcastIdle(); mRunner.resumeTiming(); Log.i(TAG, "Starting timer"); Loading Loading @@ -680,8 +678,6 @@ public class UserLifecycleTests { } private void stopUser(int userId, boolean force) throws RemoteException { waitForBroadcastIdle(); final CountDownLatch latch = new CountDownLatch(1); mIam.stopUser(userId, force /* force */, new IStopUserCallback.Stub() { @Override Loading Loading @@ -886,8 +882,4 @@ public class UserLifecycleTests { assertEquals("", ShellHelper.runShellCommand("setprop " + name + " " + value)); return oldValue; } private void waitForBroadcastIdle() { ShellHelper.runShellCommand("am wait-for-broadcast-idle"); } }