Home
last modified time | relevance | path

Searched refs:ConstantsShim (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java63 import com.android.networkstack.apishim.ConstantsShim;
214 nc.addCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in addNotVcnManagedCapability()
366 builder.removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in testSetIncludeOtherUidNetworks()
371 otherUidsBuilder.removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED); in testSetIncludeOtherUidNetworks()
412 assertTrue(emptyRequest.hasCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED)); in testBypassingVcn()
417 .addCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED) in testBypassingVcn()
420 ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED)); in testBypassingVcn()
424 .addCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED) in testBypassingVcn()
428 ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED)); in testBypassingVcn()
432 .removeCapability(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED).build(); in testBypassingVcn()
[all …]
DTestUtils.java22 import com.android.networkstack.apishim.ConstantsShim;
34 return SdkLevel.isAtLeastS() && ConstantsShim.VERSION > Build.VERSION_CODES.R; in shouldTestSApis()
42 return SdkLevel.isAtLeastT() && ConstantsShim.VERSION > Build.VERSION_CODES.S_V2; in shouldTestTApis()
50 return SdkLevel.isAtLeastU() && ConstantsShim.VERSION > Build.VERSION_CODES.TIRAMISU; in shouldTestUApis()
DIkev2VpnTest.java65 import com.android.networkstack.apishim.ConstantsShim;
537 assertEquals(ConstantsShim.VPN_PROFILE_STATE_CONNECTING, profileState.getState()); in checkStartStopVpnProfileBuildsNetworks()
558 assertEquals(ConstantsShim.VPN_PROFILE_STATE_CONNECTED, profileState.getState()); in checkStartStopVpnProfileBuildsNetworks()
DConnectivityManagerTest.java111 import static com.android.networkstack.apishim.ConstantsShim.BLOCKED_REASON_LOCKDOWN_VPN;
112 import static com.android.networkstack.apishim.ConstantsShim.BLOCKED_REASON_NONE;
113 import static com.android.networkstack.apishim.ConstantsShim.RECEIVER_EXPORTED;
205 import com.android.networkstack.apishim.ConstantsShim;
2633 .getCapabilityCarrierName(ConstantsShim.NET_CAPABILITY_ENTERPRISE));
2635 .getCapabilityCarrierName(ConstantsShim.NET_CAPABILITY_NOT_VCN_MANAGED));
/packages/modules/NetworkStack/apishim/35/com/android/networkstack/apishim/
DConstantsShim.java31 public class ConstantsShim extends com.android.networkstack.apishim.api34.ConstantsShim { class
46 : com.android.networkstack.apishim.api34.ConstantsShim.REGISTER_NSD_OFFLOAD_ENGINE;
/packages/modules/Connectivity/service-t/src/com/android/server/
DConnectivityServiceInitializer.java26 import com.android.networkstack.apishim.ConstantsShim;
89 Log.i(TAG, "Registering " + ConstantsShim.NEARBY_SERVICE); in onStart()
90 publishBinderService(ConstantsShim.NEARBY_SERVICE, mNearbyService, in onStart()
153 Log.i(TAG, "Skipping unsupported service " + ConstantsShim.NEARBY_SERVICE); in createNearbyService()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DConstantsShim.java24 public class ConstantsShim extends com.android.networkstack.apishim.api30.ConstantsShim { class
DCaptivePortalDataShimImpl.java81 .setVenueInfoUrl(venueInfoUrl, ConstantsShim.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) in withPasspointInfo()
83 ConstantsShim.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) in withPasspointInfo()
/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/
DConstantsShim.java24 public class ConstantsShim extends com.android.networkstack.apishim.api31.ConstantsShim { class
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConstantsShim.java26 public class ConstantsShim extends com.android.networkstack.apishim.api29.ConstantsShim { class
/packages/modules/NetworkStack/apishim/34/com/android/networkstack/apishim/api34/
DConstantsShim.java29 public class ConstantsShim extends com.android.networkstack.apishim.api33.ConstantsShim { class
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DConstantsShim.java29 public class ConstantsShim { class
DCaptivePortalDataShimImpl.java65 return ConstantsShim.CAPTIVE_PORTAL_DATA_SOURCE_OTHER; in getUserPortalUrlSource()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java36 import static com.android.networkstack.apishim.ConstantsShim.ACTION_TETHER_UNSUPPORTED_CARRIER_UI;
37 import static com.android.networkstack.apishim.ConstantsShim.RECEIVER_NOT_EXPORTED;
DTetheringConfiguration.java26 import static com.android.networkstack.apishim.ConstantsShim.KEY_CARRIER_SUPPORTS_TETHERING_BOOL;
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java71 import static com.android.networkstack.apishim.ConstantsShim.DETECTION_METHOD_DNS_EVENTS;
72 import static com.android.networkstack.apishim.ConstantsShim.DETECTION_METHOD_TCP_METRICS;
73 import static com.android.networkstack.apishim.ConstantsShim.RECEIVER_NOT_EXPORTED;
74 import static com.android.networkstack.apishim.ConstantsShim.TRANSPORT_TEST;
173 import com.android.networkstack.apishim.api29.ConstantsShim;
4149 == ConstantsShim.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT; in isTermsAndConditionsCaptive()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java167 import com.android.networkstack.apishim.ConstantsShim;
1715 assumeTrue(ConstantsShim.VERSION > S_V2);
3856 (p.detectionMethod & ConstantsShim.DETECTION_METHOD_DNS_EVENTS) != 0 in matchDnsAndTcpDataStallParcelable()
3857 && (p.detectionMethod & ConstantsShim.DETECTION_METHOD_TCP_METRICS) != 0 in matchDnsAndTcpDataStallParcelable()
3862 return argThat(p -> (p.detectionMethod & ConstantsShim.DETECTION_METHOD_DNS_EVENTS) != 0 in matchDnsDataStallParcelable()
3867 return argThat(p -> (p.detectionMethod & ConstantsShim.DETECTION_METHOD_TCP_METRICS) != 0); in matchTcpDataStallParcelable()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java49 import static com.android.networkstack.apishim.ConstantsShim.BLOCKED_REASON_LOCKDOWN_VPN;
50 import static com.android.networkstack.apishim.ConstantsShim.BLOCKED_REASON_NONE;
51 import static com.android.networkstack.apishim.ConstantsShim.RECEIVER_EXPORTED;
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java40 import static com.android.networkstack.apishim.ConstantsShim.KEY_CARRIER_SUPPORTS_TETHERING_BOOL;
DTetheringConfigurationTest.java28 import static com.android.networkstack.apishim.ConstantsShim.KEY_CARRIER_SUPPORTS_TETHERING_BOOL;
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java195 import com.android.networkstack.apishim.ConstantsShim;
592 ConstantsShim.DELIVERY_GROUP_POLICY_MOST_RECENT) in handleMessage()
594 ConstantsShim.DEFERRAL_POLICY_UNTIL_ACTIVE) in handleMessage()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java47 import static com.android.networkstack.apishim.ConstantsShim.IFA_F_MANAGETEMPADDR;
48 import static com.android.networkstack.apishim.ConstantsShim.IFA_F_NOPREFIXROUTE;
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java220 import com.android.networkstack.apishim.ConstantsShim;
1822 assumeTrue(ConstantsShim.VERSION > Build.VERSION_CODES.Q);
2305 assumeTrue(ConstantsShim.VERSION > Build.VERSION_CODES.Q);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java407 import com.android.networkstack.apishim.ConstantsShim;
753 && !ConstantsShim.ACTION_VPN_MANAGER_EVENT.equals(action)) { in startService()
916 eq(ConstantsShim.DELIVERY_GROUP_POLICY_MOST_RECENT)); in sendStickyBroadcast()
921 eq(ConstantsShim.DEFERRAL_POLICY_UNTIL_ACTIVE)); in sendStickyBroadcast()
6688 ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES,
6692 ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES,
6699 ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES,
6756 containsString(ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES));
6798 ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES,
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java329 import com.android.networkstack.apishim.ConstantsShim;
3960 optsShim.setDeliveryGroupPolicy(ConstantsShim.DELIVERY_GROUP_POLICY_MOST_RECENT);
3963 optsShim.setDeferralPolicy(ConstantsShim.DEFERRAL_POLICY_UNTIL_ACTIVE);
8125 ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES,
8140 "Cannot find " + ConstantsShim.PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES

12