Home
last modified time | relevance | path

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

123

/frameworks/base/tests/net/common/java/android/net/apf/
DApfCapabilitiesTest.java51 final ApfCapabilities caps = new ApfCapabilities(123, 456, 789); in testConstructAndParcel() local
52 assertEquals(123, caps.apfVersionSupported); in testConstructAndParcel()
53 assertEquals(456, caps.maximumApfProgramSize); in testConstructAndParcel()
54 assertEquals(789, caps.apfPacketFormat); in testConstructAndParcel()
56 assertParcelSane(caps, 3); in testConstructAndParcel()
70 ApfCapabilities caps = new ApfCapabilities(1 /* apfVersionSupported */, 2, 3); in testHasDataAccess() local
71 assertFalse(caps.hasDataAccess()); in testHasDataAccess()
73 caps = new ApfCapabilities(4 /* apfVersionSupported */, 5, 6); in testHasDataAccess()
74 assertTrue(caps.hasDataAccess()); in testHasDataAccess()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoredNetworkNominatorTest.java124 String[] caps = {"[WPA2-PSK][ESS]"}; in testUpdate_recommendationsDisabled() local
130 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_recommendationsDisabled()
148 String[] caps = {"[WPA2-PSK][ESS]"}; in testUpdate_emptyScanList() local
154 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_emptyScanList()
166 String[] caps = {"[WPA2-PSK][ESS]", "[ESS]"}; in testUpdate_allNetworksUnscored() local
172 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_allNetworksUnscored()
193 String[] caps = {"[WPA2-PSK][ESS]", "[ESS]"}; in testUpdate_oneScored_oneUnscored() local
199 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_oneScored_oneUnscored()
238 String[] caps = {"[WPA2-PSK][ESS]", "[ESS]"}; in testUpdate_externalScorerNotPermittedToSeeScanResults() local
247 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_externalScorerNotPermittedToSeeScanResults()
[all …]
DWifiNetworkSelectorTest.java327 String[] caps = new String[0]; in emptyScanResults() local
333 freqs, caps, levels, securities, mWifiConfigManager, mClock); in emptyScanResults()
358 String[] caps = {"[WPA2-PSK][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in verifyMinimumRssiThreshold() local
364 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumRssiThreshold()
389 String[] caps = {"[WPA2-PSK][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in verifyMinimumTimeGapWhenConnected() local
396 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumTimeGapWhenConnected()
432 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in verifyNoMinimumTimeGapWhenDisconnected() local
439 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyNoMinimumTimeGapWhenDisconnected()
477 String[] caps = {"[WPA2-PSK][ESS]"}; in lowRssi5GNetworkIsNotSufficient() local
483 freqs, caps, levels, securities, mWifiConfigManager, mClock); in lowRssi5GNetworkIsNotSufficient()
[all …]
DNetworkSuggestionNominatorTest.java98 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in testSelectNetworkSuggestionForNoMatch() local
111 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForNoMatch()
137 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in testSelectNetworkSuggestionForOneMatch() local
150 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForOneMatch()
175 String[] caps = {"[WPA2-EAP-CCMP][ESS]"}; in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() local
188 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
219 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in testSelectNetworkSuggestionForMultipleMatch() local
232 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatch()
265 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]"}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins() local
278 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
[all …]
DSavedNetworkNominatorTest.java101 String[] caps = {"[WPA2-PSK][ESS]", "[WPA2-PSK][ESS]"}; in ignoreNetworksIfUseExternalScores() local
107 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfUseExternalScores()
154 String[] caps = {"[ESS]", "[ESS]"}; in ignoreEphemeralNetworks() local
160 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreEphemeralNetworks()
182 String[] caps = {"[ESS]", "[ESS]"}; in ignoreNetworksIfAutojoinNotAllowed() local
188 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfAutojoinNotAllowed()
214 String[] caps = {"[ESS]", "[ESS]"}; in returnNoCandidateIfNoNetworksAllowAutojoin() local
220 freqs, caps, levels, securities, mWifiConfigManager, mClock); in returnNoCandidateIfNoNetworksAllowAutojoin()
325 String[] caps = {"[ESS]"}; in testIgnoreOpenNetworkWithSameNetworkSuggestionHasSecureNetworkFromSameCarrier() local
331 freqs, caps, levels, securities, mWifiConfigManager, mClock); in testIgnoreOpenNetworkWithSameNetworkSuggestionHasSecureNetworkFromSameCarrier()
DWifiNetworkSelectorTestUtil.java91 String[] bssids, int[] freqs, String[] caps, int[] levels, int[] securities, in setupScanDetailsAndConfigStore() argument
93 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigStore()
103 String[] bssids, int[] freqs, String[] caps, int[] levels, in setupScanDetailsAndConfigStore() argument
112 caps, levels, iesByteStream, clock); in setupScanDetailsAndConfigStore()
138 String[] caps = new String[ssids.length]; in setupScanDetailsAndConfigForEapSimNetwork() local
140 caps[i] = "[EAP][ESS]"; in setupScanDetailsAndConfigForEapSimNetwork()
142 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigForEapSimNetwork()
206 String[] caps, int[] levels, Clock clock) { in buildScanDetails() argument
213 bssids[index], caps[index], levels[index], freqs[index], timeStamp, 0); in buildScanDetails()
233 String[] caps, int[] levels, byte[][] iesByteStream, Clock clock) { in buildScanDetailsWithNetworkDetails() argument
[all …]
DWifiConfigurationTestUtil.java540 String caps; in getScanResultCapsForNetwork() local
542 caps = "[RSN-PSK-CCMP]"; in getScanResultCapsForNetwork()
545 caps = "[RSN-EAP-CCMP]"; in getScanResultCapsForNetwork()
548 caps = "[WEP]"; in getScanResultCapsForNetwork()
550 caps = "[RSN-SAE-CCMP]"; in getScanResultCapsForNetwork()
552 caps = "[RSN-OWE-CCMP]"; in getScanResultCapsForNetwork()
554 caps = "[RSN-SUITE-B-192-CCMP]"; in getScanResultCapsForNetwork()
556 caps = "[WAPI-WAPI-PSK-SMS4]"; in getScanResultCapsForNetwork()
558 caps = "[WAPI-WAPI-CERT-SMS4]"; in getScanResultCapsForNetwork()
560 caps = "[]"; in getScanResultCapsForNetwork()
[all …]
DWifiLastResortWatchdogTest.java98 String[] bssids, int[] frequencies, String[] caps, int[] levels, in createFilteredQnsCandidates() argument
105 bssids[index], caps[index], levels[index], frequencies[index], timeStamp, in createFilteredQnsCandidates()
121 String[] bssids, int[] frequencies, String[] caps, int[] levels, in createFilteredQnsCandidates() argument
129 bssids[index], caps[index], levels[index], frequencies[index], timeStamp, in createFilteredQnsCandidates()
868 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]", in testFailureCounting_countFailuresAcrossSsids() local
879 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testFailureCounting_countFailuresAcrossSsids()
1479 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS]", in testMetricsCollection() local
1486 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testMetricsCollection()
1589 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testMetricsCollection()
1787 String[] caps = {"[WPA2-EAP-CCMP][ESS]"}; in testIncrementingWatchdogConnectionFailuresAfterTrigger() local
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java616 final NetworkCapabilities caps = new NetworkCapabilities(); in testCapabilities() local
619 mConnectivityManager, new Network[] {}, caps, false /* isAlwaysMetered */); in testCapabilities()
620 assertTrue(caps.hasTransport(TRANSPORT_VPN)); in testCapabilities()
621 assertFalse(caps.hasTransport(TRANSPORT_CELLULAR)); in testCapabilities()
622 assertFalse(caps.hasTransport(TRANSPORT_WIFI)); in testCapabilities()
623 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities()
624 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities()
625 assertFalse(caps.hasCapability(NET_CAPABILITY_NOT_METERED)); in testCapabilities()
626 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in testCapabilities()
627 assertTrue(caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED)); in testCapabilities()
[all …]
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp50 static bool getMeasureSize(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *width, int32_t *h… in getMeasureSize() argument
52 if (!caps->getDetails()->findString("size-range", &sizeRange)) { in getMeasureSize()
73 static void getMeasureBitrate(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *bitrate) { in getMeasureBitrate() argument
78 if (!caps->getDetails()->findString("bitrate-range", &bitrateRange)) { in getMeasureBitrate()
91 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in getMeasureFormat() argument
97 getMeasureBitrate(caps, &bitrate); in getMeasureFormat()
105 if (!getMeasureSize(caps, &width, &height)) { in getMeasureFormat()
112 caps->getSupportedColorFormats(&colorFormats); in getMeasureFormat()
129 …sEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in doProfileCodecs() argument
130 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps); in doProfileCodecs()
[all …]
DOmxInfoBuilder.cpp61 MediaCodecInfo::CapabilitiesWriter* caps) { in queryCapabilities() argument
70 caps->addDetail( in queryCapabilities()
75 caps->addDetail( in queryCapabilities()
81 node.owner.c_str(), node.name.c_str(), mediaType, isEncoder, caps); in queryCapabilities()
213 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> caps = in buildMediaCodecList() local
216 node, typeName.c_str(), isEncoder, caps.get()) != OK) { in buildMediaCodecList()
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp63 sp<MediaCodecInfo::Capabilities> caps = new Capabilities(); in FromParcel() local
69 if (caps != NULL) { in FromParcel()
70 caps->mProfileLevels.push_back(profileLevel); in FromParcel()
76 if (caps != NULL) { in FromParcel()
77 caps->mColorFormats.push_back(color); in FromParcel()
83 if (caps != NULL) { in FromParcel()
84 caps->mDetails = details; in FromParcel()
86 return caps; in FromParcel()
200 sp<Capabilities> caps = Capabilities::FromParcel(parcel); in FromParcel() local
201 if (caps == NULL) in FromParcel()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp72 MediaCodecInfo::CapabilitiesWriter *caps, in addSupportedProfileLevels() argument
145 caps->addProfileLevel((uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
150 caps->addProfileLevel((uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
156 caps->addProfileLevel((uint32_t)sdkProfile, (uint32_t)sdkLevel); in addSupportedProfileLevels()
161 caps->addProfileLevel(pl.profile, pl.level); in addSupportedProfileLevels()
181 caps->addProfileLevel( in addSupportedProfileLevels()
190 MediaCodecInfo::CapabilitiesWriter *caps, in addSupportedColorFormats() argument
201 caps->addColorFormat(COLOR_FormatSurface); in addSupportedColorFormats()
203 caps->addColorFormat(COLOR_FormatYUV420Flexible); in addSupportedColorFormats()
204 caps->addColorFormat(COLOR_FormatYUV420Planar); in addSupportedColorFormats()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java138 String caps = "[WPA2-FT/PSK-CCMP][RSN-FT/PSK+PSK-SHA256+SAE+FT/SAE-CCMP][ESS][WPS]"; in testPskSha256SaeTransitionModeCheck() local
141 "ab:cd:01:ef:45:89", 1245, 0, caps, -78, 2450, 1025, 22, 33, 20, 0, in testPskSha256SaeTransitionModeCheck()
157 String caps = "[WPA2-FT/PSK+PSK+SAE+FT/SAE-CCMP][ESS][WPS]"; in testPskSaeTransitionModeCheck() local
160 "ab:cd:01:ef:45:89", 1245, 0, caps, -78, 2450, 1025, 22, 33, 20, 0, in testPskSaeTransitionModeCheck()
176 String caps = "[WPA2-FT/PSK+PSK][ESS][WPS]"; in testPskNotInTransitionModeCheck() local
179 "ab:cd:01:ef:45:89", 1245, 0, caps, -78, 2450, 1025, 22, 33, 20, 0, in testPskNotInTransitionModeCheck()
195 String caps = "[WPA2-FT/SAE+SAE][ESS][WPS]"; in testSaeNotInTransitionModeCheck() local
198 "ab:cd:01:ef:45:89", 1245, 0, caps, -78, 2450, 1025, 22, 33, 20, 0, in testSaeNotInTransitionModeCheck()
214 String caps = "[WPA2-EAP+EAP-SHA256+FILS-SHA256-CCMP]" in testFilsSha256AkmSupportedNetwork() local
218 "ab:cd:01:ef:45:89", 1245, 0, caps, -78, 2450, 1025, 22, 33, 20, 0, in testFilsSha256AkmSupportedNetwork()
[all …]
/frameworks/base/media/java/android/media/
DMediaCodecList.java107 MediaCodecInfo.CodecCapabilities[] caps = in getNewCodecInfoAt() local
111 caps[typeIx++] = getCodecCapabilities(index, type); in getNewCodecInfoAt()
114 getCodecName(index), getCanonicalName(index), getAttributes(index), caps); in getNewCodecInfoAt()
250 MediaCodecInfo.CodecCapabilities caps = info.getCapabilitiesForType(mime); in findCodecForFormat() local
251 if (caps != null && caps.isFormatSupported(format)) { in findCodecForFormat()
DMediaCodecInfo.java83 String name, String canonicalName, int flags, CodecCapabilities[] caps) { in MediaCodecInfo() argument
89 for (CodecCapabilities c: caps) { in MediaCodecInfo()
966 CodecCapabilities caps = new CodecCapabilities(); in dup() local
969 caps.profileLevels = Arrays.copyOf(profileLevels, profileLevels.length); in dup()
970 caps.colorFormats = Arrays.copyOf(colorFormats, colorFormats.length); in dup()
972 caps.mMime = mMime; in dup()
973 caps.mMaxSupportedInstances = mMaxSupportedInstances; in dup()
974 caps.mFlagsRequired = mFlagsRequired; in dup()
975 caps.mFlagsSupported = mFlagsSupported; in dup()
976 caps.mFlagsVerified = mFlagsVerified; in dup()
[all …]
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.h238 static jobject getAnalogFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
239 static jobject getAtsc3FrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
240 static jobject getAtscFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
241 static jobject getDvbcFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
242 static jobject getDvbsFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
243 static jobject getDvbtFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
244 static jobject getIsdbs3FrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
245 static jobject getIsdbsFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
246 static jobject getIsdbtFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps);
Dandroid_media_tv_Tuner.cpp1000 jobject JTuner::getAnalogFrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps) { in getAnalogFrontendCaps() argument
1004 jint typeCap = caps.analogCaps().typeCap; in getAnalogFrontendCaps()
1005 jint sifStandardCap = caps.analogCaps().sifStandardCap; in getAnalogFrontendCaps()
1009 jobject JTuner::getAtsc3FrontendCaps(JNIEnv *env, FrontendInfo::FrontendCapabilities& caps) { in getAtsc3FrontendCaps() argument
1013 jint bandwidthCap = caps.atsc3Caps().bandwidthCap; in getAtsc3FrontendCaps()
1014 jint modulationCap = caps.atsc3Caps().modulationCap; in getAtsc3FrontendCaps()
1015 jint timeInterleaveModeCap = caps.atsc3Caps().timeInterleaveModeCap; in getAtsc3FrontendCaps()
1016 jint codeRateCap = caps.atsc3Caps().codeRateCap; in getAtsc3FrontendCaps()
1017 jint fecCap = caps.atsc3Caps().fecCap; in getAtsc3FrontendCaps()
1018 jint demodOutputFormatCap = caps.atsc3Caps().demodOutputFormatCap; in getAtsc3FrontendCaps()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java210 final NetworkCapabilities caps = createCapabilities() in testCongestion() local
212 assertTrue(controller.isSatisfied(early, net, caps, mConstants)); in testCongestion()
213 assertTrue(controller.isSatisfied(late, net, caps, mConstants)); in testCongestion()
219 final NetworkCapabilities caps = createCapabilities(); in testCongestion() local
220 assertFalse(controller.isSatisfied(early, net, caps, mConstants)); in testCongestion()
221 assertTrue(controller.isSatisfied(late, net, caps, mConstants)); in testCongestion()
244 final NetworkCapabilities caps = createCapabilities() in testRelaxed() local
247 assertTrue(controller.isSatisfied(early, net, caps, mConstants)); in testRelaxed()
248 assertTrue(controller.isSatisfied(late, net, caps, mConstants)); in testRelaxed()
249 assertTrue(controller.isSatisfied(earlyPrefetch, net, caps, mConstants)); in testRelaxed()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java44 String caps, int level, int frequency, long tsf, in ScanDetail() argument
50 caps, level, frequency, tsf); in ScanDetail()
67 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, in ScanDetail() argument
70 mScanResult = new ScanResult(wifiSsid, bssid, 0L, -1, null, caps, level, frequency, tsf); in ScanDetail()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp255 const sp<MediaCodecInfo::Capabilities> caps = in getCodecDetails() local
257 if (caps == nullptr) { in getCodecDetails()
261 const sp<AMessage> details = caps->getDetails(); in getCodecDetails()
290 const sp<MediaCodecInfo::Capabilities> caps = in getHevcCodecDetails() local
292 if (caps == nullptr) { in getHevcCodecDetails()
297 const sp<AMessage> details = caps->getDetails(); in getHevcCodecDetails()
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp85 sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(kVideoMimeTypes[m]); in android_videoCodec_expose() local
86 if (caps == NULL) { in android_videoCodec_expose()
93 caps->getSupportedProfileLevels(&profileLevels); in android_videoCodec_expose()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java832 byte[] osuProviders, String caps, int level, int frequency, long tsf) { in ScanResult() argument
844 this.capabilities = caps; in ScanResult()
859 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
864 this.capabilities = caps; in ScanResult()
879 public ScanResult(String Ssid, String BSSID, long hessid, int anqpDomainId, String caps, in ScanResult() argument
887 this.capabilities = caps; in ScanResult()
907 String caps, int level, in ScanResult() argument
910 this(Ssid, BSSID, hessid, anqpDomainId, caps, level, frequency, tsf, distCm, in ScanResult()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3011 (caps) -> caps.getNetworkSpecifier().equals(nsFoo)); in testNetworkSpecifier()
3014 (caps) -> caps.getNetworkSpecifier().equals(nsFoo)); in testNetworkSpecifier()
3024 (caps) -> caps.getNetworkSpecifier().equals(nsBar)); in testNetworkSpecifier()
3027 (caps) -> caps.getNetworkSpecifier().equals(nsBar)); in testNetworkSpecifier()
3036 (caps) -> caps.getNetworkSpecifier() == null); in testNetworkSpecifier()
3039 (caps) -> caps.getNetworkSpecifier() == null); in testNetworkSpecifier()
3041 (caps) -> caps.getNetworkSpecifier() == null); in testNetworkSpecifier()
5504 (caps) -> caps.hasTransport(TRANSPORT_VPN) in testVpnSetUnderlyingNetworks()
5505 && caps.hasTransport(TRANSPORT_CELLULAR) && !caps.hasTransport(TRANSPORT_WIFI) in testVpnSetUnderlyingNetworks()
5506 && !caps.hasCapability(NET_CAPABILITY_NOT_METERED) in testVpnSetUnderlyingNetworks()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/feature/
DImsFeature.java490 protected final void notifyCapabilitiesStatusChanged(Capabilities caps) { in notifyCapabilitiesStatusChanged() argument
492 mCapabilityStatus = caps.copy(); in notifyCapabilitiesStatusChanged()
496 callback.onCapabilitiesStatusChanged(caps.mCapabilities); in notifyCapabilitiesStatusChanged()

123