Home
last modified time | relevance | path

Searched refs:isAtLeastR (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DRouteInfoTest.java67 private static boolean isAtLeastR() { in isAtLeastR() method in RouteInfoTest
69 return Build.VERSION.SDK_INT > Build.VERSION_CODES.Q || BuildCompat.isAtLeastR(); in isAtLeastR()
205 if (isAtLeastR()) { in testHostAndDefaultRoutes()
215 if (isAtLeastR()) { in testHostAndDefaultRoutes()
225 if (isAtLeastR()) { in testHostAndDefaultRoutes()
235 if (isAtLeastR()) { in testHostAndDefaultRoutes()
245 if (isAtLeastR()) { in testHostAndDefaultRoutes()
255 if (isAtLeastR()) { in testHostAndDefaultRoutes()
265 if (isAtLeastR()) { in testHostAndDefaultRoutes()
275 if (isAtLeastR()) { in testHostAndDefaultRoutes()
[all …]
DNetworkCapabilitiesTest.java90 private boolean isAtLeastR() { in isAtLeastR() method in NetworkCapabilitiesTest
94 return BuildCompat.isAtLeastR() || Build.VERSION.SDK_INT > Build.VERSION_CODES.Q; in isAtLeastR()
302 if (isAtLeastR()) { in testParcelNetworkCapabilities()
317 if (isAtLeastR()) { in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()
327 if (isAtLeastR()) { in testParcelSane()
505 if (isAtLeastR()) { in testCombineCapabilities()
670 if (isAtLeastR()) { in testSet()
677 if (isAtLeastR()) { in testSet()
DLinkPropertiesTest.java106 private static boolean isAtLeastR() { in isAtLeastR() method in LinkPropertiesTest
108 return Build.VERSION.SDK_INT > Build.VERSION_CODES.Q || BuildCompat.isAtLeastR(); in isAtLeastR()
131 if (isAtLeastR()) { in checkEmpty()
158 if (isAtLeastR()) { in makeTestObject()
202 if (isAtLeastR()) { in assertLinkPropertiesEqual()
455 if (isAtLeastR()) { in testRouteInterfaces()
463 if (isAtLeastR()) { in testRouteInterfaces()