Home
last modified time | relevance | path

Searched refs:DataProfile (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataProfileTest.java24 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 …]
DTelephonyNetworkRequestTest.java29 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 …]
DDataProfileManagerTest.java45 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 …]
DDataServiceManagerTest.java40 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()
DDataNetworkControllerTest.java87 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 …]
DDataRetryManagerTest.java43 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()
DDataNetworkTest.java67 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/
DDataProfileManager.java42 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 …]
DCellularDataService.java30 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()
DDataEvaluation.java23 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()
DDataRetryManager.java43 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 …]
DDataServiceManager.java48 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()
DTelephonyNetworkRequest.java30 import android.telephony.data.DataProfile;
296 public boolean canBeSatisfiedBy(@NonNull DataProfile dataProfile) { in canBeSatisfiedBy()
DDataNetworkController.java73 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/
DDataProfile.java49 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 …]
DIDataService.aidl20 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()
DDataService.java183 @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 …]
DIDataServiceCallback.aidl20 import android.telephony.data.DataProfile;
37 void onDataProfileUnthrottled(in DataProfile dp); in onDataProfileUnthrottled()
DDataProfile.aidl20 parcelable DataProfile;
DDataServiceCallback.java296 public void onDataProfileUnthrottled(final @NonNull DataProfile dataProfile) { in onDataProfileUnthrottled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioDataProxy.java25 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()
DDataIndication.java32 import android.telephony.data.DataProfile;
110 DataProfile response = RILUtils.convertToDataProfile(dpi); in unthrottleApn()
DCommandsInterface.java41 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/
DImsPhoneCommandInterface.java28 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/
DSimulatedCommandsVerifier.java28 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()

12