Home
last modified time | relevance | path

Searched refs:apnContext (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java498 ApnContext apnContext = mApnContexts.get(apnType); in onDataReconnect() local
502 + " apnContext=" + apnContext); in onDataReconnect()
505 if ((apnContext != null) && (apnContext.isEnabled())) { in onDataReconnect()
506 apnContext.setReason(reason); in onDataReconnect()
507 DctConstants.State apnContextState = apnContext.getState(); in onDataReconnect()
516 apnContext.releaseDataConnection(""); in onDataReconnect()
521 sendMessage(obtainMessage(DctConstants.EVENT_TRY_SETUP_DATA, apnContext)); in onDataReconnect()
896 final ApnContext apnContext = mApnContextsByType.get(apnType); in requestNetwork() local
897 if (apnContext != null) { in requestNetwork()
898 apnContext.requestNetwork(networkRequest, type, onCompleteMsg); in requestNetwork()
[all …]
DDataConnection.java204 ConnectionParams(ApnContext apnContext, int profileId, int rilRadioTechnology, in ConnectionParams() argument
208 mApnContext = apnContext; in ConnectionParams()
242 DisconnectParams(ApnContext apnContext, String reason, @ReleaseNetworkType int releaseType, in DisconnectParams() argument
244 mApnContext = apnContext; in DisconnectParams()
811 ApnContext apnContext = null; in tearDownData() local
814 apnContext = dp.mApnContext; in tearDownData()
825 if (apnContext != null) apnContext.requestLog(str); in tearDownData()
834 ApnContext apnContext = cp.mApnContext; in notifyAllWithEvent() local
835 if (apnContext == alreadySent) continue; in notifyAllWithEvent()
836 if (reason != null) apnContext.setReason(reason); in notifyAllWithEvent()
[all …]
DDcController.java399 for (ApnContext apnContext : apnContexts) { in onDataStateChanged()
400 mPhone.notifyDataConnection(apnContext.getApnType()); in onDataStateChanged()
463 for (ApnContext apnContext : apnsToCleanup) { in onDataStateChanged()
464 mDct.cleanUpConnection(apnContext); in onDataStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/
DVendorDcTracker.java122 protected void setupDataOnConnectableApn(ApnContext apnContext, String reason, in setupDataOnConnectableApn() argument
129 super.setupDataOnConnectableApn(apnContext, reason, retryFailures); in setupDataOnConnectableApn()
134 protected void onDataSetupComplete(ApnContext apnContext, boolean success, int cause, in onDataSetupComplete() argument
146 super.onDataSetupComplete(apnContext, success, cause, requestType); in onDataSetupComplete()
150 protected void onDataSetupCompleteError(ApnContext apnContext, in onDataSetupCompleteError() argument
152 long delay = apnContext.getDelayForNextApn(mFailFast); in onDataSetupCompleteError()
187 apnContext.setState(DctConstants.State.RETRYING); in onDataSetupCompleteError()
191 startReconnect(delay, apnContext); in onDataSetupCompleteError()
195 apnContext.setState(DctConstants.State.FAILED); in onDataSetupCompleteError()
196 mPhone.notifyDataConnection(apnContext.getApnType()); in onDataSetupCompleteError()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java2054 for (ApnContext apnContext : mDct.getApnContexts()) { in testApnConfigRepositoryUpdatedOnCarrierConfigChange()
2056 assertTrue(apnContext.getPriority() <= lastApnContext.getPriority()); in testApnConfigRepositoryUpdatedOnCarrierConfigChange()
2058 lastApnContext = apnContext; in testApnConfigRepositoryUpdatedOnCarrierConfigChange()