Home
last modified time | relevance | path

Searched refs:mTetherStates (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java216 private final ArrayMap<String, TetherState> mTetherStates; field in Tethering
273 mTetherStates = new ArrayMap<>(); in Tethering()
755 TetherState tetherState = mTetherStates.get(iface); in tether()
785 TetherState tetherState = mTetherStates.get(iface); in untether()
809 TetherState tetherState = mTetherStates.get(iface); in getLastTetherError()
858 for (int i = 0; i < mTetherStates.size(); i++) { in sendTetherStateChangedBroadcast()
859 TetherState tetherState = mTetherStates.valueAt(i); in sendTetherStateChangedBroadcast()
860 String iface = mTetherStates.keyAt(i); in sendTetherStateChangedBroadcast()
1140 final TetherState ts = mTetherStates.get(ifname); in disableWifiIpServingLockedCommon()
1147 for (int i = 0; i < mTetherStates.size(); i++) { in disableWifiIpServingLockedCommon()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java1228 private final ArrayList<TetherStatesParcel> mTetherStates = new ArrayList<>(); field in TetheringTest.TestTetheringEventCallback
1272 return mTetherStates.remove(0); in pollTetherStatesChanged()
1287 mTetherStates.add(states); in onTetherStatesChanged()
1304 mTetherStates.add(parcel.states); in onCallbackStarted()
1320 assertTrue(mTetherStates.isEmpty()); in assertNoStateChangeCallback()
1324 assertFalse(mTetherStates.isEmpty()); in assertStateChangeCallback()