/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataProfileTest.java | 24 import android.telephony.data.DataProfile; 125 DataProfile dp = new DataProfile.Builder() in testCreateFromApnSetting() 135 assertThat(dp.getType()).isEqualTo(DataProfile.TYPE_COMMON); in testCreateFromApnSetting() 144 DataProfile dp = new DataProfile.Builder() in testCreateFromApnSettingWithNetworkTypeBitmask() 154 assertThat(dp.getType()).isEqualTo(DataProfile.TYPE_COMMON); in testCreateFromApnSettingWithNetworkTypeBitmask() 159 dp = new DataProfile.Builder() in testCreateFromApnSettingWithNetworkTypeBitmask() 168 DataProfile dp = new DataProfile.Builder() in testCanSatisfy() 187 DataProfile dp1 = new DataProfile.Builder() in testEquals() 191 DataProfile dp2 = new DataProfile.Builder() in testEquals() 197 dp2 = new DataProfile.Builder() in testEquals() [all …]
|
D | TelephonyNetworkRequestTest.java | 29 import android.telephony.data.DataProfile; 259 DataProfile internetDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByApnDataProfile() 262 DataProfile mmsDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByApnDataProfile() 265 DataProfile rcsDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByApnDataProfile() 288 DataProfile enterpriseDataProfile1 = new DataProfile.Builder() in testCanBeSatisfiedByEnterpriseDataProfile() 292 DataProfile enterpriseDataProfile2 = new DataProfile.Builder() in testCanBeSatisfiedByEnterpriseDataProfile() 322 DataProfile enterpriseDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByEnterpriseApnDataProfile() 325 DataProfile internetDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByEnterpriseApnDataProfile() 349 DataProfile urllcDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByUrllcDataProfile() 371 DataProfile embbDataProfile = new DataProfile.Builder() in testCanBeSatisfiedByEmbbDataProfile() [all …]
|
D | DataProfileManagerTest.java | 45 import android.telephony.data.DataProfile; 831 private void dedupeDataProfiles(@NonNull List<DataProfile> dataProfiles) throws Exception { in dedupeDataProfiles() 839 private @NonNull List<DataProfile> getAllDataProfiles() throws Exception { in getAllDataProfiles() 842 return (List<DataProfile>) field.get(mDataProfileManagerUT); in getAllDataProfiles() 892 DataProfile dp = mDataProfileManagerUT.getDataProfileForNetworkRequest(tnr, in testGetDataProfileForNetworkRequest() 947 DataProfile dp = mDataProfileManagerUT.getDataProfileForNetworkRequest(tnr, in testGetDataProfileForNetworkRequestNoCompatibleRat() 959 DataProfile dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForNetworkRequestRotation() 977 DataProfile dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForEnterpriseNetworkRequest() 1006 DataProfile dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForUrllcNetworkRequest() 1022 DataProfile dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForEmbbNetworkRequest() [all …]
|
D | DataServiceManagerTest.java | 40 import android.telephony.data.DataProfile; 61 private final DataProfile mGeneralPurposeDataProfile = new DataProfile.Builder() 157 verify(mSimulatedCommandsVerifier).setupDataCall(anyInt(), any(DataProfile.class), in testSetupDataCall() 170 verify(mSimulatedCommandsVerifier, never()).setupDataCall(anyInt(), any(DataProfile.class), in testSetupDataCallServiceNotBound() 201 verify(mSimulatedCommandsVerifier).setInitialAttachApn(any(DataProfile.class), in testSetInitialAttachApn() 211 verify(mSimulatedCommandsVerifier, never()).setInitialAttachApn(any(DataProfile.class), in testSetInitialAttachApnServiceNotBound() 221 verify(mSimulatedCommandsVerifier).setDataProfile(any(DataProfile[].class), in testSetDataProfile() 231 verify(mSimulatedCommandsVerifier, never()).setDataProfile(any(DataProfile[].class), in testSetDataProfileServiceNotBound()
|
D | DataNetworkControllerTest.java | 87 import android.telephony.data.DataProfile; 189 private final DataProfile mGeneralPurposeDataProfile = new DataProfile.Builder() 222 private final DataProfile mDuplicatedGeneralPurposeDataProfile = new DataProfile.Builder() 251 private final DataProfile mGeneralPurposeDataProfileAlternative = new DataProfile.Builder() 280 private final DataProfile mImsCellularDataProfile = new DataProfile.Builder() 307 private final DataProfile mImsIwlanDataProfile = new DataProfile.Builder() 328 private final DataProfile mEmergencyDataProfile = new DataProfile.Builder() 341 private final DataProfile mFotaDataProfile = new DataProfile.Builder() 363 private final DataProfile mTetheringDataProfile = new DataProfile.Builder() 385 private final DataProfile mEnterpriseDataProfile = new DataProfile.Builder() [all …]
|
D | DataRetryManagerTest.java | 43 import android.telephony.data.DataProfile; 71 private final DataProfile mDataProfile1 = new DataProfile.Builder() 92 private final DataProfile mDataProfile2 = new DataProfile.Builder() 114 private final DataProfile mDataProfile3 = new DataProfile.Builder() 371 DataProfile dataProfile3ReconstructedFromModem = new DataProfile.Builder() in testDataSetupUnthrottling() 439 DataProfile enterpriseDataProfile = new DataProfile.Builder() in testEnterpriseUnthrottling()
|
D | DataNetworkTest.java | 67 import android.telephony.data.DataProfile; 172 private final DataProfile mInternetDataProfile = new DataProfile.Builder() 177 private final DataProfile mMmsDataProfile = new DataProfile.Builder() 182 private final DataProfile mImsDataProfile = new DataProfile.Builder() 187 private final DataProfile mEnterpriseDataProfile = new DataProfile.Builder() 193 private final DataProfile mUrlccDataProfile = new DataProfile.Builder() 199 private final DataProfile mEmbbDataProfile = new DataProfile.Builder() 205 private final DataProfile mCbsDataProfile = new DataProfile.Builder() 211 private final DataProfile m5gDataProfile = new DataProfile.Builder() 276 }).when(dsm).setupDataCall(anyInt(), any(DataProfile.class), anyBoolean(), in setSuccessfulSetupDataResponse() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataProfileManager.java | 42 import android.telephony.data.DataProfile; 102 private final List<DataProfile> mAllDataProfiles = new ArrayList<>(); 106 private DataProfile mInitialAttachDataProfile = null; 110 private DataProfile mPreferredDataProfile = null; 114 private final LruCache<Integer, DataProfile> mLastInternetDataProfiles = new LruCache<>(256); 244 @Nullable private DataProfile getEnterpriseDataProfile() { in getEnterpriseDataProfile() 252 DataProfile dataProfile = null; in getEnterpriseDataProfile() 256 dataProfile = new DataProfile.Builder() in getEnterpriseDataProfile() 278 List<DataProfile> profiles = new ArrayList<>(); in updateDataProfiles() 291 DataProfile dataProfile = new DataProfile.Builder() in updateDataProfiles() [all …]
|
D | CellularDataService.java | 30 import android.telephony.data.DataProfile; 129 if (ar.result instanceof DataProfile) { in CellularDataServiceProvider() 130 notifyDataProfileUnthrottled((DataProfile) ar.result); in CellularDataServiceProvider() 169 public void setupDataCall(int accessNetworkType, @NonNull DataProfile dataProfile, in setupDataCall() 205 public void setInitialAttachApn(@NonNull DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() 222 public void setDataProfile(@NonNull List<DataProfile> dps, boolean isRoaming, in setDataProfile() 235 mPhone.mCi.setDataProfile(dps.toArray(new DataProfile[0]), message); in setDataProfile()
|
D | DataEvaluation.java | 23 import android.telephony.data.DataProfile; 51 private DataProfile mCandidateDataProfile = null; 126 public void setCandidateDataProfile(@NonNull DataProfile dataProfile) { in setCandidateDataProfile() 134 public DataProfile getCandidateDataProfile() { in getCandidateDataProfile()
|
D | DataRetryManager.java | 43 import android.telephony.data.DataProfile; 223 public final DataProfile dataProfile; 267 public DataThrottlingEntry(@NonNull DataProfile dataProfile, in DataThrottlingEntry() 751 public final DataProfile dataProfile; 769 @Nullable NetworkRequestList networkRequestList, @NonNull DataProfile dataProfile, in DataSetupRetryEntry() 821 private DataProfile mDataProfile; 860 public Builder<T> setDataProfile(@NonNull DataProfile dataProfile) { in setDataProfile() 1074 @NonNull DataProfile dataProfile) { 1134 DataProfile dataProfile = null; 1138 } else if (ar.result instanceof DataProfile) { [all …]
|
D | DataServiceManager.java | 48 import android.telephony.data.DataProfile; 347 public void onDataProfileUnthrottled(DataProfile dataProfile) { in onDataProfileUnthrottled() 636 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, in setupDataCall() 775 public void setInitialAttachApn(@Nullable DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() 809 public void setDataProfile(List<DataProfile> dps, boolean isRoaming, in setDataProfile()
|
D | TelephonyNetworkRequest.java | 30 import android.telephony.data.DataProfile; 296 public boolean canBeSatisfiedBy(@NonNull DataProfile dataProfile) { in canBeSatisfiedBy()
|
D | DataNetworkController.java | 73 import android.telephony.data.DataProfile; 659 @NonNull DataProfile dataProfile) {} in onDataNetworkConnected() 1348 DataProfile dataProfile = evaluation.getCandidateDataProfile(); in onSatisfyNetworkRequest() 1593 DataProfile emergencyProfile = mDataProfileManager.getDataProfileForNetworkRequest( in evaluateNetworkRequest() 1763 DataProfile dataProfile = mDataProfileManager in evaluateNetworkRequest() 1906 DataProfile dataProfile = evaluation.getCandidateDataProfile(); in onReevaluateUnsatisfiedNetworkRequests() 2056 DataProfile dataProfile = dataNetwork.getDataProfile(); in evaluateDataNetwork() 2807 private NetworkRequestList findSatisfiableNetworkRequests(@NonNull DataProfile dataProfile) { in findSatisfiableNetworkRequests() 2823 private void setupDataNetwork(@NonNull DataProfile dataProfile, in setupDataNetwork() 2830 DataProfile currentDataProfile = dataNetwork.getDataProfile(); in setupDataNetwork() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataProfile.java | 49 public final class DataProfile implements Parcelable { class 82 private DataProfile(@NonNull Builder builder) { in DataProfile() method in DataProfile 93 mType = DataProfile.TYPE_COMMON; in DataProfile() 96 mType = DataProfile.TYPE_3GPP2; in DataProfile() 99 mType = DataProfile.TYPE_3GPP; in DataProfile() 101 mType = DataProfile.TYPE_COMMON; in DataProfile() 104 mType = DataProfile.TYPE_COMMON; in DataProfile() 108 private DataProfile(Parcel source) { in DataProfile() method in DataProfile 480 public static final @android.annotation.NonNull Parcelable.Creator<DataProfile> CREATOR = 481 new Parcelable.Creator<DataProfile>() { [all …]
|
D | IDataService.aidl | 20 import android.telephony.data.DataProfile; 34 void setupDataCall(int slotId, int accessNetwork, in DataProfile dataProfile, boolean isRoaming, in setupDataCall() 40 void setInitialAttachApn(int slotId, in DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() 42 void setDataProfile(int slotId, in List<DataProfile> dps, boolean isRoaming, in setDataProfile()
|
D | DataService.java | 183 @RadioAccessNetworkType int accessNetworkType, @NonNull DataProfile dataProfile, in setupDataCall() 232 @RadioAccessNetworkType int accessNetworkType, @NonNull DataProfile dataProfile, in setupDataCall() 272 public void setInitialAttachApn(@NonNull DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() 290 public void setDataProfile(@NonNull List<DataProfile> dps, boolean isRoaming, in setDataProfile() 467 public final void notifyDataProfileUnthrottled(@NonNull DataProfile dataProfile) { in notifyDataProfileUnthrottled() 488 public final DataProfile dataProfile; 498 SetupDataCallRequest(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, in SetupDataCallRequest() 528 public final DataProfile dataProfile; 531 SetInitialAttachApnRequest(DataProfile dataProfile, boolean isRoaming, in SetInitialAttachApnRequest() 540 public final List<DataProfile> dps; [all …]
|
D | IDataServiceCallback.aidl | 20 import android.telephony.data.DataProfile; 37 void onDataProfileUnthrottled(in DataProfile dp); in onDataProfileUnthrottled()
|
D | DataProfile.aidl | 20 parcelable DataProfile;
|
D | DataServiceCallback.java | 296 public void onDataProfileUnthrottled(final @NonNull DataProfile dataProfile) { in onDataProfileUnthrottled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioDataProxy.java | 25 import android.telephony.data.DataProfile; 215 public void setDataProfile(int serial, DataProfile[] profiles) throws RemoteException { in setDataProfile() 226 for (DataProfile dp : profiles) { in setDataProfile() 232 for (DataProfile dp : profiles) { in setDataProfile() 264 public void setInitialAttachApn(int serial, DataProfile dataProfile) in setInitialAttachApn() 295 public void setupDataCall(int serial, int accessNetwork, DataProfile dataProfileInfo, in setupDataCall() 317 DataProfile dp = new DataProfile.Builder() in setupDataCall()
|
D | DataIndication.java | 32 import android.telephony.data.DataProfile; 110 DataProfile response = RILUtils.convertToDataProfile(dpi); in unthrottleApn()
|
D | CommandsInterface.java | 41 import android.telephony.data.DataProfile; 1858 void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() 2001 void setInitialAttachApn(DataProfile dataProfile, Message result); in setInitialAttachApn() 2011 void setDataProfile(DataProfile[] dps, Message result); in setDataProfile()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 28 import android.telephony.data.DataProfile; 260 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() 557 public void setInitialAttachApn(DataProfile dataProfile, Message result) { in setInitialAttachApn() 561 public void setDataProfile(DataProfile[] dps, Message result) { in setDataProfile()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 28 import android.telephony.data.DataProfile; 1163 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() 1228 public void setInitialAttachApn(DataProfile dataProfile, Message result) { in setInitialAttachApn() 1233 public void setDataProfile(DataProfile[] dps, Message result) { in setDataProfile()
|