/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkRequestTest.java | 63 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 …]
|
D | TestUtils.java | 22 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()
|
D | Ikev2VpnTest.java | 65 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()
|
D | ConnectivityManagerTest.java | 111 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/ |
D | ConstantsShim.java | 31 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/ |
D | ConnectivityServiceInitializer.java | 26 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/ |
D | ConstantsShim.java | 24 public class ConstantsShim extends com.android.networkstack.apishim.api30.ConstantsShim { class
|
D | CaptivePortalDataShimImpl.java | 81 .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/ |
D | ConstantsShim.java | 24 public class ConstantsShim extends com.android.networkstack.apishim.api31.ConstantsShim { class
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | ConstantsShim.java | 26 public class ConstantsShim extends com.android.networkstack.apishim.api29.ConstantsShim { class
|
/packages/modules/NetworkStack/apishim/34/com/android/networkstack/apishim/api34/ |
D | ConstantsShim.java | 29 public class ConstantsShim extends com.android.networkstack.apishim.api33.ConstantsShim { class
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | ConstantsShim.java | 29 public class ConstantsShim { class
|
D | CaptivePortalDataShimImpl.java | 65 return ConstantsShim.CAPTIVE_PORTAL_DATA_SOURCE_OTHER; in getUserPortalUrlSource()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | EntitlementManager.java | 36 import static com.android.networkstack.apishim.ConstantsShim.ACTION_TETHER_UNSUPPORTED_CARRIER_UI; 37 import static com.android.networkstack.apishim.ConstantsShim.RECEIVER_NOT_EXPORTED;
|
D | TetheringConfiguration.java | 26 import static com.android.networkstack.apishim.ConstantsShim.KEY_CARRIER_SUPPORTS_TETHERING_BOOL;
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 71 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/ |
D | NetworkMonitorTest.java | 167 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/ |
D | VpnTest.java | 49 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/ |
D | EntitlementManagerTest.java | 40 import static com.android.networkstack.apishim.ConstantsShim.KEY_CARRIER_SUPPORTS_TETHERING_BOOL;
|
D | TetheringConfigurationTest.java | 28 import static com.android.networkstack.apishim.ConstantsShim.KEY_CARRIER_SUPPORTS_TETHERING_BOOL;
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 195 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/ |
D | IpClient.java | 47 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/ |
D | IpClientIntegrationTestCommon.java | 220 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/ |
D | ConnectivityServiceTest.java | 407 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/ |
D | ConnectivityService.java | 329 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
|