Home
last modified time | relevance | path

Searched refs:DataDisallowedReason (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataEvaluationTest.java47 DataEvaluation.DataDisallowedReason.DATA_DISABLED); in testModifyDataDisallowedReasonSet()
49 DataEvaluation.DataDisallowedReason.ROAMING_DISABLED); in testModifyDataDisallowedReasonSet()
55 DataEvaluation.DataDisallowedReason.DEFAULT_DATA_UNSELECTED); in testModifyDataDisallowedReasonSet()
59 DataEvaluation.DataDisallowedReason.DATA_DISABLED); in testModifyDataDisallowedReasonSet()
63 DataEvaluation.DataDisallowedReason.DATA_LIMIT_REACHED); in testModifyDataDisallowedReasonSet()
67 DataEvaluation.DataDisallowedReason.ROAMING_DISABLED); in testModifyDataDisallowedReasonSet()
76 DataEvaluation.DataDisallowedReason.ROAMING_DISABLED)).isTrue(); in testIsSubsetOf()
78 DataEvaluation.DataDisallowedReason.DATA_DISABLED); in testIsSubsetOf()
80 DataEvaluation.DataDisallowedReason.DATA_DISABLED)).isTrue(); in testIsSubsetOf()
82 DataEvaluation.DataDisallowedReason.ROAMING_DISABLED)).isFalse(); in testIsSubsetOf()
[all …]
DAutoDataSwitchControllerTest.java250 mDataEvaluation.addDataDisallowedReason(DataEvaluation.DataDisallowedReason in testCancelSwitch_onPrimary()
478 mDataEvaluation.addDataDisallowedReason(DataEvaluation.DataDisallowedReason.DATA_DISABLED); in testOnNonDdsSwitchBackToPrimary()
DDataNetworkControllerTest.java115 import com.android.internal.telephony.data.DataEvaluation.DataDisallowedReason;
4311 List<DataDisallowedReason> reasons = mDataNetworkControllerUT in testGetInternetDataDisallowedReasons()
4319 assertThat(reasons).containsExactly(DataDisallowedReason.NOT_IN_SERVICE, in testGetInternetDataDisallowedReasons()
4320 DataDisallowedReason.NO_SUITABLE_DATA_PROFILE); in testGetInternetDataDisallowedReasons()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataEvaluation.java44 private final Set<DataDisallowedReason> mDataDisallowedReasons = new HashSet<>();
72 public void addDataDisallowedReason(DataDisallowedReason reason) { in addDataDisallowedReason()
83 public void removeDataDisallowedReason(DataDisallowedReason reason) { in removeDataDisallowedReason()
109 public List<DataDisallowedReason> getDataDisallowedReasons() { in getDataDisallowedReasons()
151 public boolean contains(DataDisallowedReason reason) { in contains()
161 public boolean containsOnly(DataDisallowedReason reason) { in containsOnly()
172 public boolean isSubsetOf(DataDisallowedReason... reasons) { in isSubsetOf()
174 for (DataDisallowedReason requestedReason : reasons) { in isSubsetOf()
186 public boolean containsAny(DataDisallowedReason... reasons) { in containsAny()
187 for (DataDisallowedReason reason : reasons) { in containsAny()
[all …]
DDataNetworkController.java100 import com.android.internal.telephony.data.DataEvaluation.DataDisallowedReason;
1353 } else if (evaluation.contains(DataDisallowedReason.ONLY_ALLOWED_SINGLE_NETWORK)) { in onSatisfyNetworkRequest()
1517 if (evaluation.containsOnly(DataDisallowedReason.ONLY_ALLOWED_SINGLE_NETWORK) in getInternetEvaluation()
1559 public List<DataDisallowedReason> getInternetDataDisallowedReasons() { in getInternetDataDisallowedReasons()
1588 DataDisallowedReason.DATA_NETWORK_TRANSPORT_NOT_ALLOWED); in evaluateNetworkRequest()
1602 evaluation.addDataDisallowedReason(DataDisallowedReason.DATA_THROTTLED); in evaluateNetworkRequest()
1619 evaluation.addDataDisallowedReason(DataDisallowedReason.NOT_IN_SERVICE); in evaluateNetworkRequest()
1624 evaluation.addDataDisallowedReason(DataDisallowedReason.SIM_NOT_READY); in evaluateNetworkRequest()
1629 evaluation.addDataDisallowedReason(DataDisallowedReason.DATA_CONFIG_NOT_READY); in evaluateNetworkRequest()
1636 DataDisallowedReason.CONCURRENT_VOICE_DATA_NOT_ALLOWED); in evaluateNetworkRequest()
[all …]
DAutoDataSwitchController.java695 .isSubsetOf(DataEvaluation.DataDisallowedReason.NOT_IN_SERVICE)) {