/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataProfileManagerTest.java | 959 DataProfile dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForNetworkRequestRotation() local 961 assertThat(dataProfile.getApnSetting().getApnName()).isEqualTo(GENERAL_PURPOSE_APN); in testGetDataProfileForNetworkRequestRotation() 962 logd("Set setLastSetupTimestamp on " + dataProfile); in testGetDataProfileForNetworkRequestRotation() 963 dataProfile.setLastSetupTimestamp(SystemClock.elapsedRealtime()); in testGetDataProfileForNetworkRequestRotation() 966 dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForNetworkRequestRotation() 968 assertThat(dataProfile.getApnSetting().getApnName()).isEqualTo(GENERAL_PURPOSE_APN1); in testGetDataProfileForNetworkRequestRotation() 977 DataProfile dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForEnterpriseNetworkRequest() local 979 assertThat(dataProfile.getApnSetting()).isNull(); in testGetDataProfileForEnterpriseNetworkRequest() 980 OsAppId osAppId = new OsAppId(dataProfile.getTrafficDescriptor().getOsAppId()); in testGetDataProfileForEnterpriseNetworkRequest() 990 dataProfile = mDataProfileManagerUT.getDataProfileForNetworkRequest( in testGetDataProfileForEnterpriseNetworkRequest() [all …]
|
D | DataRetryManagerTest.java | 308 assertThat(entry.dataProfile).isEqualTo(mDataProfile1); in testDataSetupRetryNetworkSuggestedRetry() 408 assertThat(entry.dataProfile).isEqualTo(mDataProfile3); in testDataSetupUnthrottling() 460 assertThat(entry.dataProfile).isEqualTo(enterpriseDataProfile); in testEnterpriseUnthrottling() 609 assertThat(entry.dataProfile).isNull(); in testDataSetupRetryMaximumRetries() 629 assertThat(entry.dataProfile).isNull(); in testDataSetupRetryMaximumRetries() 688 assertThat(entry.dataProfile).isNull(); in testDataSetupRetryMaximumRetriesReset() 709 assertThat(entry.dataProfile).isNull(); in testDataSetupRetryMaximumRetriesReset() 753 assertThat(entry.dataProfile).isNull(); in testDataSetupRetryBackOffTimer()
|
D | DataNetworkControllerTest.java | 1005 for (DataProfile dataProfile : profiles) { in setUp() 1006 if (dataProfile.getApnSetting() != null in setUp() 1007 && dataProfile.getApnSetting().equals(dp.getApnSetting(), false)) { in setUp() 1033 for (DataProfile dataProfile : profiles) { in setUp() 1034 ApnSetting apnSetting = dataProfile.getApnSetting(); in setUp() 1036 && dataProfile.canSatisfy(networkRequest.getCapabilities()) in setUp() 1047 return dataProfile; in setUp() 1267 private void verifyConnectedNetworkHasDataProfile(@NonNull DataProfile dataProfile) in verifyConnectedNetworkHasDataProfile() argument 1271 if (dataNetwork.isConnected() && dataNetwork.getDataProfile().equals(dataProfile)) { in verifyConnectedNetworkHasDataProfile() 1275 fail("No network with " + dataProfile + " is connected. dataNetworkList=" in verifyConnectedNetworkHasDataProfile() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataRetryManager.java | 223 public final DataProfile dataProfile; field in DataRetryManager.DataThrottlingEntry 267 public DataThrottlingEntry(@NonNull DataProfile dataProfile, in DataThrottlingEntry() argument 271 this.dataProfile = dataProfile; in DataThrottlingEntry() 282 return "[DataThrottlingEntry: dataProfile=" + dataProfile + ", request list=" in toString() 751 public final DataProfile dataProfile; field in DataSetupRetryEntry 769 @Nullable NetworkRequestList networkRequestList, @NonNull DataProfile dataProfile, in DataSetupRetryEntry() argument 775 this.dataProfile = dataProfile; in DataSetupRetryEntry() 797 + DataUtils.elapsedTimeToString(retryElapsedTime) + ", " + dataProfile in toString() 860 public Builder<T> setDataProfile(@NonNull DataProfile dataProfile) { in setDataProfile() argument 861 mDataProfile = dataProfile; in setDataProfile() [all …]
|
D | DataProfileManager.java | 252 DataProfile dataProfile = null; in getEnterpriseDataProfile() local 256 dataProfile = new DataProfile.Builder() in getEnterpriseDataProfile() 261 if (dataProfile.canSatisfy(NetworkCapabilities.NET_CAPABILITY_ENTERPRISE)) { in getEnterpriseDataProfile() 267 return dataProfile; in getEnterpriseDataProfile() 291 DataProfile dataProfile = new DataProfile.Builder() in updateDataProfiles() local 296 profiles.add(dataProfile); in updateDataProfiles() 297 log("Added " + dataProfile); in updateDataProfiles() 316 DataProfile dataProfile; in updateDataProfiles() local 320 dataProfile = profiles.stream() in updateDataProfiles() 324 if (dataProfile == null) { in updateDataProfiles() [all …]
|
D | TelephonyNetworkRequest.java | 296 public boolean canBeSatisfiedBy(@NonNull DataProfile dataProfile) { in canBeSatisfiedBy() argument 303 if (dataProfile.getTrafficDescriptor() != null && Arrays.equals(getOsAppId().getBytes(), in canBeSatisfiedBy() 304 dataProfile.getTrafficDescriptor().getOsAppId())) { in canBeSatisfiedBy() 313 && dataProfile.getApnSetting() != null) { in canBeSatisfiedBy() 322 if (!dataProfile.getApnSetting().isForInfrastructure( in canBeSatisfiedBy() 333 if (!dataProfile.getApnSetting().isForInfrastructure( in canBeSatisfiedBy() 356 return apnTypes.stream().allMatch(dataProfile.getApnSetting()::canHandleType); in canBeSatisfiedBy()
|
D | CellularDataService.java | 169 public void setupDataCall(int accessNetworkType, @NonNull DataProfile dataProfile, in setupDataCall() argument 184 mPhone.mCi.setupDataCall(accessNetworkType, dataProfile, allowRoaming, reason, in setupDataCall() 205 public void setInitialAttachApn(@NonNull DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() argument 218 mPhone.mCi.setInitialAttachApn(dataProfile, message); in setInitialAttachApn()
|
D | DataNetworkController.java | 659 @NonNull DataProfile dataProfile) {} in onDataNetworkConnected() argument 1348 DataProfile dataProfile = evaluation.getCandidateDataProfile(); in onSatisfyNetworkRequest() local 1349 if (dataProfile != null) { in onSatisfyNetworkRequest() 1350 setupDataNetwork(dataProfile, null, in onSatisfyNetworkRequest() 1763 DataProfile dataProfile = mDataProfileManager in evaluateNetworkRequest() local 1770 if (dataProfile == null) { in evaluateNetworkRequest() 1778 } else if (mDataRetryManager.isDataProfileThrottled(dataProfile, transport)) { in evaluateNetworkRequest() 1789 evaluation.setCandidateDataProfile(dataProfile); in evaluateNetworkRequest() 1906 DataProfile dataProfile = evaluation.getCandidateDataProfile(); in onReevaluateUnsatisfiedNetworkRequests() local 1907 if (dataProfile != null) { in onReevaluateUnsatisfiedNetworkRequests() [all …]
|
D | DataEvaluation.java | 126 public void setCandidateDataProfile(@NonNull DataProfile dataProfile) { in setCandidateDataProfile() argument 127 mCandidateDataProfile = dataProfile; in setCandidateDataProfile()
|
D | DataServiceManager.java | 347 public void onDataProfileUnthrottled(DataProfile dataProfile) { in onDataProfileUnthrottled() argument 348 if (dataProfile != null) { in onDataProfileUnthrottled() 350 new AsyncResult(null, dataProfile, null)); in onDataProfileUnthrottled() 636 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, in setupDataCall() argument 652 mIDataService.setupDataCall(mPhone.getPhoneId(), accessNetworkType, dataProfile, in setupDataCall() local 775 public void setInitialAttachApn(@Nullable DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() argument 790 mIDataService.setInitialAttachApn(mPhone.getPhoneId(), dataProfile, isRoaming, in setInitialAttachApn() local
|
D | DataNetwork.java | 1007 @NonNull DataProfile dataProfile, in DataNetwork() argument 1039 mDataProfile = dataProfile; in DataNetwork() 1040 if (dataProfile.getTrafficDescriptor() != null) { in DataNetwork() 1044 mTrafficDescriptors.add(dataProfile.getTrafficDescriptor()); in DataNetwork() 1052 dataProfile.setLastSetupTimestamp(SystemClock.elapsedRealtime()); in DataNetwork() 2502 DataProfile dataProfile = mDataNetworkController.getDataProfileManager() 2510 if (dataProfile != null && !dataProfile.getApn().equals(mDataProfile.getApn())) { 3595 DataProfile dataProfile = mDataNetworkController.getDataProfileManager() 3601 if (dataProfile != null && dataProfile.getApnSetting() != null 3603 && TextUtils.equals(dataProfile.getApnSetting().getApnName(), [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataService.java | 183 @RadioAccessNetworkType int accessNetworkType, @NonNull DataProfile dataProfile, in setupDataCall() argument 232 @RadioAccessNetworkType int accessNetworkType, @NonNull DataProfile dataProfile, in setupDataCall() argument 240 setupDataCall(accessNetworkType, dataProfile, isRoaming, allowRoaming, reason, in setupDataCall() 272 public void setInitialAttachApn(@NonNull DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() argument 467 public final void notifyDataProfileUnthrottled(@NonNull DataProfile dataProfile) { in notifyDataProfileUnthrottled() argument 471 mSlotIndex, 0, new ApnUnthrottledIndication(dataProfile, in notifyDataProfileUnthrottled() 488 public final DataProfile dataProfile; field in DataService.SetupDataCallRequest 498 SetupDataCallRequest(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, in SetupDataCallRequest() argument 503 this.dataProfile = dataProfile; in SetupDataCallRequest() 528 public final DataProfile dataProfile; field in DataService.SetInitialAttachApnRequest [all …]
|
D | IDataService.aidl | 34 void setupDataCall(int slotId, int accessNetwork, in DataProfile dataProfile, boolean isRoaming, in setupDataCall() argument 40 void setInitialAttachApn(int slotId, in DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() argument
|
D | DataServiceCallback.java | 296 public void onDataProfileUnthrottled(final @NonNull DataProfile dataProfile) { in onDataProfileUnthrottled() argument 300 mCallback.onDataProfileUnthrottled(dataProfile); in onDataProfileUnthrottled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioDataProxy.java | 264 public void setInitialAttachApn(int serial, DataProfile dataProfile) in setInitialAttachApn() argument 268 mDataProxy.setInitialAttachApn(serial, RILUtils.convertToHalDataProfile(dataProfile)); in setInitialAttachApn() 271 RILUtils.convertToHalDataProfile15(dataProfile)); in setInitialAttachApn() 274 RILUtils.convertToHalDataProfile14(dataProfile)); in setInitialAttachApn()
|
D | CommandsInterface.java | 1858 void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() argument 2001 void setInitialAttachApn(DataProfile dataProfile, Message result); in setInitialAttachApn() argument
|
D | RIL.java | 2138 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() argument 2152 + ",dataProfile=" + dataProfile + ",allowRoaming=" + allowRoaming in setupDataCall() 2159 dataProxy.setupDataCall(rr.mSerial, accessNetworkType, dataProfile, allowRoaming, in setupDataCall() 3877 public void setInitialAttachApn(DataProfile dataProfile, Message result) { in setInitialAttachApn() argument 3887 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) + dataProfile); in setInitialAttachApn() 3891 dataProxy.setInitialAttachApn(rr.mSerial, dataProfile); in setInitialAttachApn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 260 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() argument 557 public void setInitialAttachApn(DataProfile dataProfile, Message result) { in setInitialAttachApn() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 1163 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() argument 1228 public void setInitialAttachApn(DataProfile dataProfile, Message result) { in setInitialAttachApn() argument
|
D | SimulatedCommands.java | 1131 public void setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean allowRoaming, in setupDataCall() argument 1135 SimulatedCommandsVerifier.getInstance().setupDataCall(accessNetworkType, dataProfile, in setupDataCall() 2013 public void setInitialAttachApn(DataProfile dataProfile, Message result) { in setInitialAttachApn() argument 2014 SimulatedCommandsVerifier.getInstance().setInitialAttachApn(dataProfile, result); in setInitialAttachApn()
|
D | RILTest.java | 1144 DataProfile dataProfile = new DataProfile.Builder() in testSetInitialAttachApn() local 1149 mRILUnderTest.setInitialAttachApn(dataProfile, obtainMessage()); in testSetInitialAttachApn() 1152 eq(RILUtils.convertToHalDataProfile14(dataProfile))); in testSetInitialAttachApn()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 726 assertEquals(4, setupDataCall.dataProfile); in testWriteRilSetupDataCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 1483 setupDataCall.dataProfile = profileId + 1; // off by 1 between proto and RIL constants. in writeSetupDataCall()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 52755 Landroid/telephony/data/DataService$SetInitialAttachApnRequest;->dataProfile:Landroid/telephony/dat… 52761 Landroid/telephony/data/DataService$SetupDataCallRequest;->dataProfile:Landroid/telephony/data/Data…
|