Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java92 private ArrayList<Integer> mCurrentTethers; field in TetherService
105 mCurrentTethers = stringToTethers(prefs.getString(KEY_TETHERS, "")); in onCreate()
162 if (!mCurrentTethers.contains(type)) { in onStartCommand()
164 mCurrentTethers.add(type); in onStartCommand()
184 int index = mCurrentTethers.indexOf(type); in onStartCommand()
210 + mCurrentTethers.get(mCurrentTypeIndex)); in onDestroy()
213 prefs.edit().putString(KEY_TETHERS, tethersToString(mCurrentTethers)).commit(); in onDestroy()
224 mCurrentTethers.remove(index); in removeTypeAtIndex()
263 if (index >= mCurrentTethers.size()) return; in startProvisioning()
270 + " type: " + mCurrentTethers.get(index)); in startProvisioning()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DTetherService.java81 private ArrayList<Integer> mCurrentTethers; field in TetherService
95 mCurrentTethers = stringToTethers(prefs.getString(KEY_TETHERS, "")); in onCreate()
142 if (!mCurrentTethers.contains(type)) { in onStartCommand()
144 mCurrentTethers.add(type); in onStartCommand()
165 int index = mCurrentTethers.indexOf(type); in onStartCommand()
191 + mCurrentTethers.get(mCurrentTypeIndex)); in onDestroy()
194 prefs.edit().putString(KEY_TETHERS, tethersToString(mCurrentTethers)).commit(); in onDestroy()
206 mCurrentTethers.remove(index); in removeTypeAtIndex()
273 if (index >= mCurrentTethers.size()) return; in startProvisioning()
279 + " type: " + mCurrentTethers.get(index)); in startProvisioning()
[all …]