Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java19 import static android.net.ConnectivityManager.TYPE_NONE;
376 eq(REQUEST.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
392 eq(TRACK_DEFAULT.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
398 eq(TRACK_DEFAULT.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
403 eq(BACKGROUND_REQUEST.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
409 eq(TRACK_SYSTEM_DEFAULT.ordinal()), any(), anyInt(), any(), eq(TYPE_NONE), anyInt(), in testRequestType()
429 return new NetworkRequest(request.networkCapabilities, ConnectivityManager.TYPE_NONE, in makeRequest()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java28 import static com.android.networkstack.tethering.UpstreamNetworkMonitor.TYPE_NONE;
311 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
321 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
326 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
332 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
342 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
372 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
581 if (legacyType == TYPE_NONE) { in assertSatisfiesLegacyType()
DTestConnectivityManager.java237 if (legacyType != ConnectivityManager.TYPE_NONE) { in requestNetwork()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java342 private static final int TYPE_NONE = -1; field in MmsNetworkManager
352 return intent.getIntExtra(ConnectivityManager.EXTRA_NETWORK_TYPE, TYPE_NONE); in getConnectivityChangeNetworkType()
360 return TYPE_NONE; in getConnectivityChangeNetworkType()
/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/framework/src/android/net/
DConnectivityManager.java547 public static final int TYPE_NONE = -1; field in ConnectivityManager
746 TYPE_NONE,
976 case TYPE_NONE: in getNetworkTypeName()
1132 return TYPE_NONE; in getNetworkPreference()
1721 if (netCap == null) return TYPE_NONE; in legacyTypeForNetworkCapabilities()
1746 return TYPE_NONE; in legacyTypeForNetworkCapabilities()
3994 if (legacyType == TYPE_NONE) { in requestNetwork()
4105 sendRequestForNetwork(nc, networkCallback, 0, REQUEST, TYPE_NONE, cbHandler); in requestNetwork()
4139 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, TYPE_NONE, in requestNetwork()
4167 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, TYPE_NONE, cbHandler); in requestNetwork()
[all …]
DNetworkAgentConfig.java167 public int legacyType = ConnectivityManager.TYPE_NONE;
181 public int legacySubType = ConnectivityManager.TYPE_NONE;
DNetworkRequest.java241 return new NetworkRequest(nc, ConnectivityManager.TYPE_NONE, in build()
698 (legacyType != ConnectivityManager.TYPE_NONE ? ", legacyType=" + legacyType : "") + in toString()
DNetworkInfo.java169 && type != ConnectivityManager.TYPE_NONE) { in NetworkInfo()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkStateSnapshotTest.kt19 import android.net.ConnectivityManager.TYPE_NONE
67 LinkProperties(), null, TYPE_NONE) in testParcelUnparcel()
/packages/apps/Settings/src/com/android/settings/biometrics/
DParentalConsentHelper.java21 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_NONE;
95 switch (data.getIntExtra(EXTRA_KEY_MODALITY, TYPE_NONE)) { in launchNext()
/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/tests/unit/src/com/android/settings/biometrics/
DParentalConsentHelperTest.java21 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_NONE;
222 return TYPE_NONE; in getStartedModality()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java373 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
414 mNetworkType = ConnectivityManager.TYPE_NONE; in updateConnectivityStatus()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java97 public static final int TYPE_NONE = -1; field in UpstreamNetworkMonitor
589 public int type = TYPE_NONE;
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java348 public static final int TYPE_NONE = 0; field in ChooseLockPassword.ChooseLockPasswordFragment.Stage
408 case TYPE_NONE: in getMessage()
606 return Stage.TYPE_NONE; in getStageType()
DSetupChooseLockPassword.java156 return Stage.TYPE_NONE; in getStageType()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java49 import static android.net.ConnectivityManager.TYPE_NONE;
1483 new NetworkInfo(TYPE_NONE, 0, "", ""), in ConnectivityService()
1506 TYPE_NONE, NetworkRequest.Type.REQUEST); in createDefaultRequest()
1515 if (transportType > TYPE_NONE) { in createDefaultInternetRequestForTransport()
1523 return new NetworkRequest(netCap, TYPE_NONE, nextNetworkRequestId(), type); in createNetworkRequest()
1532 return new NetworkRequest(netCap, TYPE_NONE, nextNetworkRequestId(), type); in createAlwaysOnRequestForCapability()
4335 if (requestLegacyType != TYPE_NONE) { in removeSatisfiedNetworkRequestFromNetwork()
5521 int id = NetIdManager.MAX_NET_ID + 1 + (networkType - ConnectivityManager.TYPE_NONE); in setProvisioningNotificationVisible()
6030 if (legacyType != TYPE_NONE && !checkNetworkStackPermission()) { in requestNetwork()
6235 NetworkRequest networkRequest = new NetworkRequest(networkCapabilities, TYPE_NONE, in pendingRequestForNetwork()
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java177 report.type = ApplicationErrorReport.TYPE_NONE; in getItemList()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java782 public static final int TYPE_NONE = -1;
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java6158 final int TYPE_NONE = ConnectivityManager.TYPE_NONE; in testDeprecatedAndUnsupportedOperations() local
6159 assertNull(mCm.getNetworkInfo(TYPE_NONE)); in testDeprecatedAndUnsupportedOperations()
6160 assertNull(mCm.getNetworkForType(TYPE_NONE)); in testDeprecatedAndUnsupportedOperations()
6161 assertNull(mCm.getLinkProperties(TYPE_NONE)); in testDeprecatedAndUnsupportedOperations()
6162 assertFalse(mCm.isNetworkSupported(TYPE_NONE)); in testDeprecatedAndUnsupportedOperations()
6165 () -> mCm.networkCapabilitiesForType(TYPE_NONE)); in testDeprecatedAndUnsupportedOperations()
6172 assertThrows(unsupported, () -> mCm.startUsingNetworkFeature(TYPE_NONE, "")); in testDeprecatedAndUnsupportedOperations()
6173 assertThrows(unsupported, () -> mCm.stopUsingNetworkFeature(TYPE_NONE, "")); in testDeprecatedAndUnsupportedOperations()
6174 assertThrows(unsupported, () -> mCm.requestRouteToHostAddress(TYPE_NONE, null)); in testDeprecatedAndUnsupportedOperations()
10797 null, ConnectivityManager.TYPE_NONE, NetworkCallback.FLAG_NONE,
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java732 .setLegacyType(ConnectivityManager.TYPE_NONE) in handleAddressValidation()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt76 field public static final int TYPE_NONE = -1; // 0xffffffff
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt904 Landroid/net/NetworkRequestProto;->TYPE_NONE:I
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3020 values.put(Attendees.ATTENDEE_TYPE, Attendees.TYPE_NONE); in createAttendeeEntry()