Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java550 return ApnSetting.TYPE_NONE; in getApnTypeFromNetworkRequest()
555 int apnType = ApnSetting.TYPE_NONE; in getApnTypeFromNetworkRequest()
562 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
566 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
570 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
574 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
578 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
582 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
586 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
590 if (apnType != ApnSetting.TYPE_NONE) error = true; in getApnTypeFromNetworkRequest()
[all …]
DDataEnabledOverride.java102 if (mApnType == ApnSetting.TYPE_NONE) { in OverrideRule()
/frameworks/av/media/libstagefright/
DMediaTrack.cpp164 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
168 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
172 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
176 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
180 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
184 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
188 MetaDataBase::Type::TYPE_NONE, valbuf->data(), valbuf->size()); in read()
/frameworks/base/tests/net/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt22 import android.net.ConnectivityManager.TYPE_NONE
40 else -> TYPE_NONE in transportToLegacyType()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java27 import static com.android.networkstack.tethering.UpstreamNetworkMonitor.TYPE_NONE;
293 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
301 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
305 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
311 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
326 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
362 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
544 if (legacyType == TYPE_NONE) { in assertSatisfiesLegacyType()
659 if (legacyType != ConnectivityManager.TYPE_NONE) { in requestNetwork()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcRequestTest.java89 when(mApnConfigTypeRepo.getByType(ApnSetting.TYPE_NONE)) in whenNetworkRequestNotCellularThenDcRequestIsNull()
121 when(mApnConfigTypeRepo.getByType(ApnSetting.TYPE_NONE)) in whenNetworkRequestNotCellularWithTelephonySpecifierThenDcRequestIsNull()
/frameworks/base/core/java/android/net/
DNetworkRequest.java170 return new NetworkRequest(nc, ConnectivityManager.TYPE_NONE, in build()
523 (legacyType != ConnectivityManager.TYPE_NONE ? ", legacyType=" + legacyType : "") + in toString()
530 return NetworkRequestProto.TYPE_NONE; in typeToProtoEnum()
DConnectivityManager.java517 public static final int TYPE_NONE = -1; field in ConnectivityManager
716 TYPE_NONE,
858 case TYPE_NONE: in getNetworkTypeName()
975 return TYPE_NONE; in getNetworkPreference()
1542 if (netCap == null) return TYPE_NONE; in legacyTypeForNetworkCapabilities()
1567 return TYPE_NONE; in legacyTypeForNetworkCapabilities()
3727 if (legacyType == TYPE_NONE) { in requestNetwork()
3838 sendRequestForNetwork(nc, networkCallback, 0, REQUEST, TYPE_NONE, cbHandler); in requestNetwork()
3872 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, TYPE_NONE, in requestNetwork()
3900 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, TYPE_NONE, cbHandler); in requestNetwork()
[all …]
DLinkQualityInfo.java52 private int mNetworkType = ConnectivityManager.TYPE_NONE;
DNetworkAgentConfig.java153 public int legacyType = ConnectivityManager.TYPE_NONE;
DNetworkInfo.java169 && type != ConnectivityManager.TYPE_NONE) { in NetworkInfo()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java23 import static android.hardware.biometrics.BiometricAuthenticator.TYPE_NONE;
1111 return new Pair<>(TYPE_NONE, BIOMETRIC_DISABLED_BY_DEVICE_POLICY); in getStatusForBiometricAuthenticator()
1124 return new Pair<>(TYPE_NONE, BIOMETRIC_INSUFFICIENT_STRENGTH); in getStatusForBiometricAuthenticator()
1140 return new Pair<>(TYPE_NONE, BIOMETRIC_NOT_ENABLED_FOR_APPS); in getStatusForBiometricAuthenticator()
1179 int firstBiometricModality = TYPE_NONE; in checkAndGetAuthenticators()
1182 int biometricModality = TYPE_NONE; in checkAndGetAuthenticators()
1199 if (firstBiometricModality == TYPE_NONE) { in checkAndGetAuthenticators()
1233 return new Pair<>(TYPE_NONE, BiometricConstants.BIOMETRIC_SUCCESS); in checkAndGetAuthenticators()
1235 return new Pair<>(TYPE_NONE, in checkAndGetAuthenticators()
1242 return new Pair<>(TYPE_NONE, BiometricConstants.BIOMETRIC_ERROR_HW_NOT_PRESENT); in checkAndGetAuthenticators()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java288 new TransportInfo(ConnectivityManager.TYPE_NONE, 30)); in sTransports.put() argument
291 new TransportInfo(ConnectivityManager.TYPE_NONE, 1)); in sTransports.put() argument
363 int legacyType = ConnectivityManager.TYPE_NONE; in NetworkInterfaceState()
406 return ConnectivityManager.TYPE_NONE; in getLegacyType()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java89 public static final int TYPE_NONE = -1; field in UpstreamNetworkMonitor
284 case TYPE_NONE: in selectPreferredUpstreamType()
507 public int type = TYPE_NONE;
/frameworks/base/media/java/android/media/
DAudioPort.java59 public static final int TYPE_NONE = 0; field in AudioPort
DMediaMetrics.java160 private static final int TYPE_NONE = 0; field in MediaMetrics
705 case TYPE_NONE: in toBundle()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java39 int TYPE_NONE = 0; field
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp383 case TYPE_NONE: in asString()
478 if (type == TYPE_NONE) { in writeToParcel()
516 if (type == TYPE_NONE) { in updateFromParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java231 eq(BiometricAuthenticator.TYPE_NONE), in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
273 eq(BiometricAuthenticator.TYPE_NONE), in testAuthenticate_withoutHardware_returnsErrorHardwareNotPresent()
305 eq(BiometricAuthenticator.TYPE_NONE), in testAuthenticate_notStrongEnough_returnsHardwareNotPresent()
379 eq(BiometricAuthenticator.TYPE_NONE), in testAuthenticateFace_respectsUserSetting()
613 eq(BiometricAuthenticator.TYPE_NONE), in testRejectFace_whenAuthenticating_notifiesSystemUIAndClient_thenPaused()
632 eq(BiometricAuthenticator.TYPE_NONE), in testRejectFingerprint_whenAuthenticating_notifiesAndKeepsAuthenticating()
1303 eq(BiometricAuthenticator.TYPE_NONE /* biometricModality */), in testWithDowngradedAuthenticator()
1444 verify(mReceiver1).onError(eq(BiometricAuthenticator.TYPE_NONE), in testWorkAuthentication_fingerprintFailsIfDisabledByDevicePolicyManager()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataBase.h278 TYPE_NONE = 'none', enumerator
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java60 private @ApnType int mApnTypes = ApnSetting.TYPE_NONE;
/frameworks/base/core/proto/android/net/
Dnetworkrequest.proto38 TYPE_NONE = 1; enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthControllerTest.java205 mAuthController.onBiometricError(BiometricAuthenticator.TYPE_NONE, in testOnAuthenticationFailedInvoked_whenBiometricRejected()
327 showDialog(Authenticators.DEVICE_CREDENTIAL, BiometricPrompt.TYPE_NONE); in testCancelAuthentication_whenCredentialConfirmed_doesntCrash()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java673 public static final int TYPE_NONE = 0; field in LockSettingsStorage.PersistentData
677 public static final PersistentData NONE = new PersistentData(TYPE_NONE,
719 if (persistentType == PersistentData.TYPE_NONE) { in toBytes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java249 return ConnectivityManager.TYPE_NONE; in getNetworkType()

12