/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | ConnectivityServiceTestUtils.kt | 24 import android.net.ConnectivityManager.TYPE_NONE 42 else -> TYPE_NONE in transportToLegacyType()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | ConnectivityManagerTest.java | 19 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()
|
D | NetworkIdentityTest.kt | 23 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/ |
D | UpstreamNetworkMonitorTest.java | 28 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()
|
D | TestConnectivityManager.java | 248 if (legacyType != ConnectivityManager.TYPE_NONE) { in requestNetwork()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkStateSnapshotTest.kt | 19 import android.net.ConnectivityManager.TYPE_NONE 69 LinkProperties(), null, TYPE_NONE) in testParcelUnparcel()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 343 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/ |
D | PendingRequestArgs.java | 34 private static final int TYPE_NONE = 0; field in PendingRequestArgs 46 mObjectType = TYPE_NONE; in PendingRequestArgs()
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | ParentalConsentHelper.java | 21 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/ |
D | ParentalConsentHelperTest.java | 21 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_NONE; 222 return TYPE_NONE; in getStartedModality()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 574 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 …]
|
D | NetworkAgentConfig.java | 171 public int legacyType = ConnectivityManager.TYPE_NONE; 185 public int legacySubType = ConnectivityManager.TYPE_NONE;
|
D | NetworkRequest.java | 333 return new NetworkRequest(nc, ConnectivityManager.TYPE_NONE, in build() 793 (legacyType != ConnectivityManager.TYPE_NONE ? ", legacyType=" + legacyType : "") + in toString()
|
D | NetworkInfo.java | 170 && type != ConnectivityManager.TYPE_NONE) { in NetworkInfo()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/ |
D | EthernetNetworkFactoryTest.java | 399 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/ |
D | EthernetNetworkFactory.java | 304 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/ |
D | NetworkIdentity.java | 371 mType = ConnectivityManager.TYPE_NONE; in Builder() 446 && type != ConnectivityManager.TYPE_NONE) { in setType()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 394 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus() 435 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | ConnectivityListener.java | 424 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus() 465 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 385 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()
|
D | SetupChooseLockPassword.java | 163 return Stage.TYPE_NONE; in getStageType()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 95 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/ |
D | SettingsFragment.java | 178 report.type = ApplicationErrorReport.TYPE_NONE; in getItemList()
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStatsManager.java | 955 if (networkType != ConnectivityManager.TYPE_NONE) { in onThresholdReached() 987 return ConnectivityManager.TYPE_NONE; in networkTypeForTemplate()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 61 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 …]
|