Searched refs:DataAllowedReason (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataEvaluation.java | 48 private DataAllowedReason mDataAllowedReason = DataAllowedReason.NONE; 73 mDataAllowedReason = DataAllowedReason.NONE; in addDataDisallowedReason() 94 public void addDataAllowedReason(DataAllowedReason reason) { in addDataAllowedReason() 117 public DataAllowedReason getDataAllowedReason() { in getDataAllowedReason() 199 public boolean contains(DataAllowedReason reason) { in contains() 385 public enum DataAllowedReason { enum in DataEvaluation
|
D | DataNetworkController.java | 99 import com.android.internal.telephony.data.DataEvaluation.DataAllowedReason; 1524 evaluation.addDataAllowedReason(DataAllowedReason.NORMAL); in getInternetEvaluation() 1608 evaluation.addDataAllowedReason(DataAllowedReason.EMERGENCY_REQUEST); in evaluateNetworkRequest() 1723 evaluation.addDataAllowedReason(DataAllowedReason.NORMAL); in evaluateNetworkRequest() 1732 evaluation.addDataAllowedReason(DataAllowedReason.MMS_REQUEST); in evaluateNetworkRequest() 1738 evaluation.addDataAllowedReason(DataAllowedReason.EMERGENCY_SUPL); in evaluateNetworkRequest() 1744 evaluation.addDataAllowedReason(DataAllowedReason.RESTRICTED_REQUEST); in evaluateNetworkRequest() 1747 evaluation.addDataAllowedReason(DataAllowedReason.UNMETERED_USAGE); in evaluateNetworkRequest() 1750 evaluation.addDataAllowedReason(DataAllowedReason.UNMETERED_USAGE); in evaluateNetworkRequest() 1932 evaluation.addDataAllowedReason(DataAllowedReason.EMERGENCY_REQUEST); in evaluateDataNetwork() [all …]
|
D | DataNetwork.java | 97 import com.android.internal.telephony.data.DataEvaluation.DataAllowedReason; 742 private final DataAllowedReason mDataAllowedReason; 1010 @NonNull DataAllowedReason dataAllowedReason, in DataNetwork() 2461 if (mDataAllowedReason == DataAllowedReason.RESTRICTED_REQUEST) { 2463 } else if (mDataAllowedReason == DataAllowedReason.UNMETERED_USAGE 2464 || mDataAllowedReason == DataAllowedReason.MMS_REQUEST 2465 || mDataAllowedReason == DataAllowedReason.EMERGENCY_SUPL) { 2473 && mDataAllowedReason == DataAllowedReason.MMS_REQUEST) 2475 && mDataAllowedReason == DataAllowedReason.EMERGENCY_SUPL)) { 3489 return mDataAllowedReason == DataAllowedReason.EMERGENCY_SUPL;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataNetworkTest.java | 84 import com.android.internal.telephony.data.DataEvaluation.DataAllowedReason; 479 DataAllowedReason.NORMAL, mDataNetworkCallback); in testCreateDataNetwork() 589 DataAllowedReason.NORMAL, mDataNetworkCallback); in testCreateDataNetworkWhenOos() 699 DataAllowedReason.NORMAL, mDataNetworkCallback); in testRilCrash() 794 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, DataAllowedReason.NORMAL, in testCreateDataNetworkOnEnterpriseSlice() 828 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, DataAllowedReason.NORMAL, in testCreateDataNetworkOnUrllcSlice() 861 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, DataAllowedReason.NORMAL, in testCreateDataNetworkOnEmbbSlice() 895 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, DataAllowedReason.NORMAL, in testCreateDataNetworkOnCbsSlice() 927 AccessNetworkConstants.TRANSPORT_TYPE_WWAN, DataAllowedReason.NORMAL, in testSlicingDataNetworkHasSlicingCapabilitiesBeforeConnected() 1008 AccessNetworkConstants.TRANSPORT_TYPE_WLAN, DataAllowedReason.NORMAL, in testCreateDataNetworkOnIwlan() [all …]
|
D | AutoDataSwitchControllerTest.java | 749 mDataEvaluation.addDataAllowedReason(DataEvaluation.DataAllowedReason.NORMAL); in prepareIdealUsesNonDdsCondition()
|