Home
last modified time | relevance | path

Searched refs:TYPE_NONE (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Connectivity/tests/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt24 import android.net.ConnectivityManager.TYPE_NONE
42 else -> TYPE_NONE in transportToLegacyType()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java19 import static android.net.ConnectivityManager.TYPE_NONE;
405 eq(REQUEST.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
421 eq(TRACK_DEFAULT.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
427 eq(TRACK_DEFAULT.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
432 eq(BACKGROUND_REQUEST.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
438 eq(TRACK_SYSTEM_DEFAULT.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
458 return new NetworkRequest(request.networkCapabilities, ConnectivityManager.TYPE_NONE, in makeRequest()
DNetworkIdentityTest.kt23 import android.net.ConnectivityManager.TYPE_NONE in <lambda>()
165 listOf(Integer.MIN_VALUE, TYPE_NONE - 1, MAX_NETWORK_TYPE + 1, Integer.MAX_VALUE) in <lambda>()
173 for (type in TYPE_NONE..MAX_NETWORK_TYPE) { in <lambda>()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java28 import static com.android.networkstack.tethering.UpstreamNetworkMonitor.TYPE_NONE;
306 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
316 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
321 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
327 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
337 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
367 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
663 if (legacyType == TYPE_NONE) { in assertSatisfiesLegacyType()
DTestConnectivityManager.java248 if (legacyType != ConnectivityManager.TYPE_NONE) { in requestNetwork()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkStateSnapshotTest.kt19 import android.net.ConnectivityManager.TYPE_NONE
69 LinkProperties(), null, TYPE_NONE) in testParcelUnparcel()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java343 private static final int TYPE_NONE = -1; field in MmsNetworkManager
353 return intent.getIntExtra(ConnectivityManager.EXTRA_NETWORK_TYPE, TYPE_NONE); in getConnectivityChangeNetworkType()
361 return TYPE_NONE; in getConnectivityChangeNetworkType()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPendingRequestArgs.java34 private static final int TYPE_NONE = 0; field in PendingRequestArgs
46 mObjectType = TYPE_NONE; in PendingRequestArgs()
/packages/apps/Settings/src/com/android/settings/biometrics/
DParentalConsentHelper.java21 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_NONE;
103 switch (data.getIntExtra(EXTRA_KEY_MODALITY, TYPE_NONE)) { in launchNext()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
DParentalConsentHelperTest.java21 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_NONE;
222 return TYPE_NONE; in getStartedModality()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java574 public static final int TYPE_NONE = -1; field in ConnectivityManager
773 TYPE_NONE,
1276 case TYPE_NONE: in getNetworkTypeName()
1473 return TYPE_NONE; in getNetworkPreference()
2185 if (netCap == null) return TYPE_NONE; in legacyTypeForNetworkCapabilities()
2210 return TYPE_NONE; in legacyTypeForNetworkCapabilities()
4594 if (legacyType == TYPE_NONE) { in requestNetwork()
4705 sendRequestForNetwork(nc, networkCallback, 0, REQUEST, TYPE_NONE, cbHandler); in requestNetwork()
4739 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, TYPE_NONE, in requestNetwork()
4767 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, TYPE_NONE, cbHandler); in requestNetwork()
[all …]
DNetworkAgentConfig.java171 public int legacyType = ConnectivityManager.TYPE_NONE;
185 public int legacySubType = ConnectivityManager.TYPE_NONE;
DNetworkRequest.java333 return new NetworkRequest(nc, ConnectivityManager.TYPE_NONE, in build()
793 (legacyType != ConnectivityManager.TYPE_NONE ? ", legacyType=" + legacyType : "") + in toString()
DNetworkInfo.java170 && type != ConnectivityManager.TYPE_NONE) { in NetworkInfo()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java399 ConnectivityManager.TYPE_NONE); in testTransportOverrideIsCorrectlySet()
401 ConnectivityManager.TYPE_NONE); in testTransportOverrideIsCorrectlySet()
403 ConnectivityManager.TYPE_NONE); in testTransportOverrideIsCorrectlySet()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetNetworkFactory.java304 sTransports.put(NetworkCapabilities.TRANSPORT_LOWPAN, ConnectivityManager.TYPE_NONE); in sTransports.put() argument
306 ConnectivityManager.TYPE_NONE); in sTransports.put() argument
431 return sTransports.get(transport, ConnectivityManager.TYPE_NONE); in getLegacyType()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java371 mType = ConnectivityManager.TYPE_NONE; in Builder()
446 && type != ConnectivityManager.TYPE_NONE) { in setType()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java394 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
435 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DConnectivityListener.java424 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
465 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java385 public static final int TYPE_NONE = 0; field in ChooseLockPassword.ChooseLockPasswordFragment.Stage
463 case TYPE_NONE: in getMessage()
659 return Stage.TYPE_NONE; in getStageType()
977 if (getStageType() != Stage.TYPE_NONE) { in updateUi()
DSetupChooseLockPassword.java163 return Stage.TYPE_NONE; in getStageType()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java95 public static final int TYPE_NONE = -1; field in UpstreamNetworkMonitor
572 public int type = TYPE_NONE;
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java178 report.type = ApplicationErrorReport.TYPE_NONE; in getItemList()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStatsManager.java955 if (networkType != ConnectivityManager.TYPE_NONE) { in onThresholdReached()
987 return ConnectivityManager.TYPE_NONE; in networkTypeForTemplate()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java61 import static android.net.ConnectivityManager.TYPE_NONE;
2016 new NetworkInfo(TYPE_NONE, 0, "", ""),
2107 TYPE_NONE, NetworkRequest.Type.REQUEST);
2127 if (transportType > TYPE_NONE) {
2135 return new NetworkRequest(netCap, TYPE_NONE, nextNetworkRequestId(), type);
2144 return new NetworkRequest(netCap, TYPE_NONE, nextNetworkRequestId(), type);
6046 if (requestLegacyType != TYPE_NONE) {
7382 int id = NetIdManager.MAX_NET_ID + 1 + (networkType - ConnectivityManager.TYPE_NONE);
7960 if (legacyType != TYPE_NONE && !hasNetworkStackPermission()) {
8257 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, TYPE_NONE,
[all …]

12