Home
last modified time | relevance | path

Searched refs:internetRequest (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DTelephonyNetworkRequestTest.java128 TelephonyNetworkRequest internetRequest = in testGetNativeRequest() local
130 assertThat(internetRequest.getNativeNetworkRequest()).isEqualTo(nativeRequest); in testGetNativeRequest()
135 TelephonyNetworkRequest internetRequest = new TelephonyNetworkRequest( in testPriority() local
144 assertThat(internetRequest.getPriority()).isEqualTo(20); in testPriority()
153 TelephonyNetworkRequest internetRequest = new TelephonyNetworkRequest( in testGetNetworkSpecifier() local
159 assertThat(internetRequest.getNetworkSpecifier()).isEqualTo(telephonyNetworkSpecifier); in testGetNetworkSpecifier()
164 TelephonyNetworkRequest internetRequest = new TelephonyNetworkRequest( in testGetCapabilities() local
171 assertThat(internetRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED)) in testGetCapabilities()
173 assertThat(internetRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN)) in testGetCapabilities()
175 assertThat(internetRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) in testGetCapabilities()
[all …]
DPhoneSwitcherTest.java636 NetworkRequest internetRequest = addInternetNetworkRequest(null, 50); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall() local
640 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 0)); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
642 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 1)); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
657 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 0)); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
659 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 1)); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
669 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 1)); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
671 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 0)); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
758 NetworkRequest internetRequest = addInternetNetworkRequest(null, 50); in testSetPreferredDataModemCommand() local
763 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 0)); in testSetPreferredDataModemCommand()
767 new TelephonyNetworkRequest(internetRequest, mPhone, mFeatureFlags), 1)); in testSetPreferredDataModemCommand()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java1498 TelephonyNetworkRequest internetRequest = new TelephonyNetworkRequest( in getInternetEvaluation() local
1507 dataNetwork -> internetRequest.canBeSatisfiedBy( in getInternetEvaluation()
1515 DataEvaluation evaluation = evaluateNetworkRequest(internetRequest, in getInternetEvaluation()
1518 && internetRequest.getPriority() > mDataNetworkList.stream() in getInternetEvaluation()
1560 TelephonyNetworkRequest internetRequest = new TelephonyNetworkRequest( in getInternetDataDisallowedReasons() local
1564 DataEvaluation evaluation = evaluateNetworkRequest(internetRequest, in getInternetDataDisallowedReasons()