/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcRequest.java | 83 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnIdForNetworkRequest() 87 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in apnIdForNetworkRequest() 91 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in apnIdForNetworkRequest() 95 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnIdForNetworkRequest() 99 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in apnIdForNetworkRequest() 103 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in apnIdForNetworkRequest() 107 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in apnIdForNetworkRequest() 111 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IA)) { in apnIdForNetworkRequest() 115 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_RCS)) { in apnIdForNetworkRequest() 120 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_XCAP)) { in apnIdForNetworkRequest() [all …]
|
D | ApnContext.java | 549 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnIdForNetworkRequest() 552 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in apnIdForNetworkRequest() 556 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in apnIdForNetworkRequest() 560 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnIdForNetworkRequest() 564 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in apnIdForNetworkRequest() 568 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in apnIdForNetworkRequest() 572 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in apnIdForNetworkRequest() 576 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IA)) { in apnIdForNetworkRequest() 580 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_RCS)) { in apnIdForNetworkRequest() 585 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_XCAP)) { in apnIdForNetworkRequest() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 1235 if (!netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in inferLegacyTypeForNetworkCapabilities() 1245 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in inferLegacyTypeForNetworkCapabilities() 1248 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in inferLegacyTypeForNetworkCapabilities() 1251 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in inferLegacyTypeForNetworkCapabilities() 1254 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in inferLegacyTypeForNetworkCapabilities() 1257 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in inferLegacyTypeForNetworkCapabilities() 1265 } else if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in inferLegacyTypeForNetworkCapabilities() 1280 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in legacyTypeForNetworkCapabilities() 1283 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in legacyTypeForNetworkCapabilities() 1286 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in legacyTypeForNetworkCapabilities() [all …]
|
D | NetworkCapabilities.java | 294 public boolean hasCapability(int capability) { in hasCapability() method in NetworkCapabilities 326 if (hasCapability(NET_CAPABILITY_VALIDATED)) return "NET_CAPABILITY_VALIDATED"; in describeFirstNonRequestableCapability() 327 if (hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) return "NET_CAPABILITY_CAPTIVE_PORTAL"; in describeFirstNonRequestableCapability()
|
D | NetworkIdentity.java | 184 metered = !state.networkCapabilities.hasCapability( in buildNetworkIdentity()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 1065 if (hasCapability(GPS_CAPABILITY_MSB) && (suplMode & AGPS_SUPL_MODE_MSB) != 0) { in getSuplMode() 1072 && hasCapability(GPS_CAPABILITY_MSA) in getSuplMode() 1212 if (mStarted && hasCapability(GPS_CAPABILITY_SCHEDULING)) { in updateRequirements() 1390 int interval = (hasCapability(GPS_CAPABILITY_SCHEDULING) ? mFixInterval : 1000); in startNavigating() 1406 if (!hasCapability(GPS_CAPABILITY_SCHEDULING)) { in startNavigating() 1441 private boolean hasCapability(int capability) { in hasCapability() method in GnssLocationProvider 1510 if (!hasCapability(GPS_CAPABILITY_SCHEDULING) && mFixInterval < NO_FIX_TIMEOUT) { in reportLocation() 1521 if (!hasCapability(GPS_CAPABILITY_SCHEDULING) && mStarted && in reportLocation() 1679 if (hasCapability(GPS_CAPABILITY_ON_DEMAND_TIME)) { in setEngineCapabilities() 2363 if (hasCapability(GPS_CAPABILITY_SCHEDULING)) s.append("SCHEDULING "); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 322 assertFalse(mNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET)); in connect() 335 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { in connect() 361 return caps != null && caps.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL);} }); in connectWithCaptivePortal() 870 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() 878 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() 886 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() 967 assertTrue(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testCellularFallback() 972 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testCellularFallback() 977 assertTrue(mCm.getNetworkCapabilities(mCellNetworkAgent.getNetwork()).hasCapability( in testCellularFallback() 982 assertFalse(mCm.getNetworkCapabilities(mCellNetworkAgent.getNetwork()).hasCapability( in testCellularFallback() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 238 if (!networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED) && !pretendValidated) { in getCurrentScore()
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 120 boolean hasManualControl = hasCapability(capabilities, in resume() 175 private boolean hasCapability(int[] capabilities, int capability) { in hasCapability() method in CameraOps
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 313 bool Device::hasCapability(HWC2::Capability capability) const in hasCapability() function in HWC2::Device 402 if (hasCapability(Capability::SidebandStream)) { in loadFunctionPointers() 1044 if (!mDevice.hasCapability(Capability::SidebandStream)) { in setSidebandStream()
|
D | HWC2.h | 94 bool hasCapability(HWC2::Capability capability) const;
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2034 if (networkCapabilities.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL) || in maybeHandleNetworkAgentMessage() 2035 networkCapabilities.hasCapability(NET_CAPABILITY_VALIDATED)) { in maybeHandleNetworkAgentMessage() 4009 if (networkCapabilities.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) == false) { in enforceNetworkRequestPermissions() 4043 if (networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED) == false) { in enforceMeteredApnPolicy() 4436 if (nai.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) != in updateCapabilities() 4437 networkCapabilities.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)) { in updateCapabilities() 4440 networkCapabilities.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) ? in updateCapabilities() 4923 networkAgent.networkCapabilities.hasCapability( in updateNetworkInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 605 if (nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in updateConnectivity()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 789 if (nc != null && !nc.hasCapability(nc.NET_CAPABILITY_VALIDATED)) { in getSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 3909 if (!networkRequest.networkCapabilities.hasCapability( in needNetworkFor() 3921 if (!networkRequest.networkCapabilities.hasCapability( in releaseNetworkFor()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17112 method public boolean hasCapability(int);
|
/frameworks/base/api/ |
D | current.txt | 23585 method public boolean hasCapability(int);
|
D | test-current.txt | 23654 method public boolean hasCapability(int);
|
D | system-current.txt | 25409 method public boolean hasCapability(int);
|