Searched refs:DataDisallowedReason (Results 1 – 6 of 6) sorted by relevance
47 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 …]
250 mDataEvaluation.addDataDisallowedReason(DataEvaluation.DataDisallowedReason in testCancelSwitch_onPrimary()478 mDataEvaluation.addDataDisallowedReason(DataEvaluation.DataDisallowedReason.DATA_DISABLED); in testOnNonDdsSwitchBackToPrimary()
115 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()
44 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 …]
100 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 …]
695 .isSubsetOf(DataEvaluation.DataDisallowedReason.NOT_IN_SERVICE)) {