Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiSettingsActivity.java48 private Switch mWifiSwitch; field in WifiSettingsActivity
115 mWifiSwitch.setChecked(mCarWifiManager.isWifiEnabled()); in onWifiStateChanged()
146 mWifiSwitch.setChecked(mCarWifiManager.isWifiEnabled()); in refreshData()
176 mWifiSwitch = (Switch) findViewById(R.id.toggle_switch); in setupWifiSwitch()
177 mWifiSwitch.setChecked(mCarWifiManager.isWifiEnabled()); in setupWifiSwitch()
178 mWifiSwitch.setOnClickListener(v -> { in setupWifiSwitch()
179 mCarWifiManager.setWifiEnabled(mWifiSwitch.isChecked()); in setupWifiSwitch()