Home
last modified time | relevance | path

Searched refs:dcRequest (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcRequestTest.java61 DcRequest dcRequest = DcRequest.create(request, mApnConfigTypeRepo); in whenNetworkRequestInternetThenPriorityZero() local
63 assertEquals(0, dcRequest.priority); in whenNetworkRequestInternetThenPriorityZero()
78 DcRequest dcRequest = DcRequest.create(request, mApnConfigTypeRepo); in whenNetworkRequestMcxThenApnConfigTypeMcxPriorityReturned() local
79 assertEquals(21, dcRequest.priority); in whenNetworkRequestMcxThenApnConfigTypeMcxPriorityReturned()
91 DcRequest dcRequest = DcRequest.create(request, mApnConfigTypeRepo); in whenNetworkRequestNotCellularThenDcRequestIsNull() local
92 assertNull(dcRequest); in whenNetworkRequestNotCellularThenDcRequestIsNull()
105 DcRequest dcRequest = DcRequest.create(request, mApnConfigTypeRepo); in whenNetworkRequestHasNoTransportThenPriorityStays() local
106 assertEquals(11, dcRequest.priority); in whenNetworkRequestHasNoTransportThenPriorityStays()
124 DcRequest dcRequest = DcRequest.create(request, mApnConfigTypeRepo); in whenNetworkRequestNotCellularWithTelephonySpecifierThenDcRequestIsNull() local
126 assertNull(dcRequest); in whenNetworkRequestNotCellularWithTelephonySpecifierThenDcRequestIsNull()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java335 for (DcRequest dcRequest : mPrioritizedDcRequests) { in onEvaluate()
336 int phoneIdForRequest = phoneIdForRequest(dcRequest.networkRequest, in onEvaluate()
337 dcRequest.apnType); in onEvaluate()
635 DcRequest dcRequest = mPrioritizedDcRequests.get(i); in isPhoneIdValidForRetry() local
636 if (dcRequest != null) { in isPhoneIdValidForRetry()
637 phoneIdForRequest = phoneIdForRequest(dcRequest.networkRequest, in isPhoneIdValidForRetry()
638 dcRequest.apnType); in isPhoneIdValidForRetry()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java686 final DcRequest dcRequest = in onRequestNetwork() local
688 if (dcRequest != null) { in onRequestNetwork()
689 if (!mPrioritizedDcRequests.contains(dcRequest)) { in onRequestNetwork()
691 mPrioritizedDcRequests.add(dcRequest); in onRequestNetwork()
700 final DcRequest dcRequest = in onReleaseNetwork() local
702 if (dcRequest != null) { in onReleaseNetwork()
703 if (mPrioritizedDcRequests.remove(dcRequest)) { in onReleaseNetwork()
864 for (DcRequest dcRequest : mPrioritizedDcRequests) { in onEvaluate()
865 int phoneIdForRequest = phoneIdForRequest(dcRequest.networkRequest); in onEvaluate()