Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java77 private DataConnection mDataConnection; field in DcNetworkAgent
97 mDataConnection = dc; in DcNetworkAgent()
141 mDataConnection = dc; in acquireOwnership()
150 if (mDataConnection == null) { in releaseOwnership()
153 } else if (mDataConnection != dc) { in releaseOwnership()
155 + mDataConnection.getName() + ", ignored the request from " + dc.getName()); in releaseOwnership()
158 logd("Data connection " + mDataConnection.getName() + " released the ownership."); in releaseOwnership()
159 mDataConnection = null; in releaseOwnership()
166 return mDataConnection; in getDataConnection()
171 if (mDataConnection == null) { in onNetworkUnwanted()
[all …]
DApnContext.java64 private DataConnection mDataConnection; field in ApnContext
151 return mDataConnection; in getDataConnection()
184 log("setDataConnectionAc: old=" + mDataConnection + ",new=" + dc + " this=" + this); in setDataConnection()
185 mDataConnection = dc; in setDataConnection()
193 if (mDataConnection != null) { in releaseDataConnection()
194 mDataConnection.tearDown(this, reason, null); in releaseDataConnection()
195 mDataConnection = null; in releaseDataConnection()
423 if (mDataConnection != null) { in requestNetwork()
426 mDataConnection.reevaluateDataConnectionProperties(); in requestNetwork()
437 if (mDataConnection != null) { in releaseNetwork()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java148 DataConnection mDataConnection; field in DcTrackerTest
1019 doReturn(mDataConnection).when(mApnContext).getDataConnection(); in initApns()
1755 ((HashMap<Integer, DataConnection>) dc.get(mDct)).put(id, mDataConnection); in setUpDataConnection()
1829 verify(mDataConnection, times(1)).onMeterednessChanged(false); in testIsFrequencyRangeUnmetered()
1845 verify(mDataConnection, times(1)).onMeterednessChanged(true); in testIsFrequencyRangeUnmetered()
1853 verify(mDataConnection, times(2)).onMeterednessChanged(false); in testIsFrequencyRangeUnmetered()
1869 verify(mDataConnection, times(2)).onMeterednessChanged(true); in testIsFrequencyRangeUnmetered()
1887 verify(mDataConnection, times(1)).onMeterednessChanged(true); in testReevaluateUnmeteredConnectionsOnNetworkChange()
1897 verify(mDataConnection, times(1)).onMeterednessChanged(false); in testReevaluateUnmeteredConnectionsOnNetworkChange()