Home
last modified time | relevance | path

Searched refs:ShimUtils (Results 1 – 14 of 14) sorted by relevance

/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkShimImpl.java25 import com.android.networkstack.apishim.common.ShimUtils;
39 if (!ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) { in newInstance()
DSocketUtilsShimImpl.java24 import com.android.networkstack.apishim.common.ShimUtils;
40 if (!ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) { in newInstance()
DNetworkInformationShimImpl.java31 import com.android.networkstack.apishim.common.ShimUtils;
57 return ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q); in useApiAboveQ()
DCaptivePortalDataShimImpl.java28 import com.android.networkstack.apishim.common.ShimUtils;
77 return ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q); in isSupported()
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/
DInetDiagSocketIntegrationTest.java40 import com.android.networkstack.apishim.common.ShimUtils;
185 assumeTrue(ShimUtils.isAtLeastR()); in testGetConnectionOwnerUid()
200 assumeTrue(ShimUtils.isAtLeastR()); in testB141603906()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java145 import com.android.networkstack.apishim.common.ShimUtils;
992 if (ShimUtils.isAtLeastR()) { in makeCellIdentityGsm()
1007 if (ShimUtils.isAtLeastR()) { in makeCellIdentityLte()
1932 assumeTrue(ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q));
2138 assumeTrue(ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q));
2144 assumeTrue(ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q));
2150 assumeTrue(ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q));
2157 assumeTrue(ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q));
2275 assumeTrue(ShimUtils.isAtLeastR());
2282 assumeTrue(ShimUtils.isAtLeastR());
[all …]
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java63 import com.android.networkstack.apishim.common.ShimUtils;
291 if (ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) { in NetworkStackConnector()
478 if (!ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) { in dumpVersion()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DShimUtils.java24 public final class ShimUtils { class
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java69 import com.android.networkstack.apishim.common.ShimUtils;
581 return ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q); in isTcpInfoParsingSupported()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java82 import com.android.networkstack.apishim.common.ShimUtils;
412 ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q) ? 120 : 0;
876 if (!ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) { in setL2KeyAndCluster()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java137 import com.android.networkstack.apishim.common.ShimUtils;
674 if (ShimUtils.isAtLeastR()) {
1418 final int flag = ShimUtils.isAtLeastR() ? IFA_F_STABLE_PRIVACY : 0;
1969 if (!ShimUtils.isAtLeastR()) return;
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java34 import com.android.networkstack.apishim.common.ShimUtils;
754 && !ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q)) { in getHostname()
DDhcpClient.java103 import com.android.networkstack.apishim.common.ShimUtils;
527 ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q); in isDhcpLeaseCacheEnabled()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java170 import com.android.networkstack.apishim.common.ShimUtils;
1201 ShimUtils.isReleaseOrDevelopmentApiAbove(Build.VERSION_CODES.Q); in useRedirectUrlForPortal()