Searched refs:ScreenSize (Results 1 – 7 of 7) sorted by relevance
19 import com.android.adservices.shared.testing.ScreenSize;32 expectScreenSizeMatch(ScreenSize.LARGE_SCREEN, /*isLargeScreen=*/ true); in testMatchScreenSize()33 expectScreenSizeNotMatch(ScreenSize.LARGE_SCREEN, /*isLargeScreen=*/ false); in testMatchScreenSize()35 expectScreenSizeNotMatch(ScreenSize.SMALL_SCREEN, /*isLargeScreen=*/ true); in testMatchScreenSize()36 expectScreenSizeMatch(ScreenSize.SMALL_SCREEN, /*isLargeScreen=*/ false); in testMatchScreenSize()39 private void expectScreenSizeMatch(ScreenSize screenSize, boolean isLargeScreen) { in expectScreenSizeMatch()47 private void expectScreenSizeNotMatch(ScreenSize screenSize, boolean isLargeScreen) { in expectScreenSizeNotMatch()
29 import com.android.adservices.shared.testing.ScreenSize;155 createTestMethod(TestAnnotations.requiresScreenSizeDevice(ScreenSize.LARGE_SCREEN)); in testAnnotatedWithLargeScreen_deviceSmallScreen()162 ScreenSize.LARGE_SCREEN)); in testAnnotatedWithLargeScreen_deviceSmallScreen()169 createTestMethod(TestAnnotations.requiresScreenSizeDevice(ScreenSize.LARGE_SCREEN)); in testAnnotatedWithLargeScreen_deviceLargeScreen()180 createTestMethod(TestAnnotations.requiresScreenSizeDevice(ScreenSize.SMALL_SCREEN)); in testAnnotatedWithSmallScreen_deviceLargeScreen()187 ScreenSize.SMALL_SCREEN)); in testAnnotatedWithSmallScreen_deviceLargeScreen()194 createTestMethod(TestAnnotations.requiresScreenSizeDevice(ScreenSize.SMALL_SCREEN)); in testAnnotatedWithSmallScreen_deviceSmallScreen()
18 import static com.android.adservices.shared.testing.ScreenSize.LARGE_SCREEN;24 public static boolean matchScreenSize(ScreenSize screenSize, boolean isLargeScreenDevice) { in matchScreenSize()
19 public enum ScreenSize { enum
22 import com.android.adservices.shared.testing.ScreenSize;35 ScreenSize value(); in value()
24 import com.android.adservices.shared.testing.ScreenSize;172 ScreenSize requiresScreenDevice = getRequiresScreenDevice(description); in apply()236 private ScreenSize getRequiresScreenDevice(Description description) {
21 import com.android.adservices.shared.testing.ScreenSize;111 public static RequiresScreenSizeDevice requiresScreenSizeDevice(ScreenSize value) { in requiresScreenSizeDevice()