Loading services/tests/uiservicestests/src/com/android/server/UiModeManagerServiceTest.java +3 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import com.android.server.twilight.TwilightManager; import com.android.server.twilight.TwilightState; import com.android.server.wm.WindowManagerInternal; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; Loading Loading @@ -158,6 +159,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase { LocalServices.addService(clazz, service); } @Ignore // b/152719290 - Fails on stage-aosp-master @Test public void setAutoMode_screenOffRegistered() throws RemoteException { try { Loading @@ -167,6 +169,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase { verify(mContext, atLeastOnce()).registerReceiver(any(BroadcastReceiver.class), any()); } @Ignore // b/152719290 - Fails on stage-aosp-master @Test public void setAutoMode_screenOffUnRegistered() throws RemoteException { try { Loading Loading
services/tests/uiservicestests/src/com/android/server/UiModeManagerServiceTest.java +3 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import com.android.server.twilight.TwilightManager; import com.android.server.twilight.TwilightState; import com.android.server.wm.WindowManagerInternal; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; Loading Loading @@ -158,6 +159,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase { LocalServices.addService(clazz, service); } @Ignore // b/152719290 - Fails on stage-aosp-master @Test public void setAutoMode_screenOffRegistered() throws RemoteException { try { Loading @@ -167,6 +169,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase { verify(mContext, atLeastOnce()).registerReceiver(any(BroadcastReceiver.class), any()); } @Ignore // b/152719290 - Fails on stage-aosp-master @Test public void setAutoMode_screenOffUnRegistered() throws RemoteException { try { Loading