Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/spa/network/
DAirplaneModePreference.kt47 override val onCheckedChange = { newChecked: Boolean -> in <lambda>() method
48 controller.setChecked(newChecked) in <lambda>()
75 fun setChecked(newChecked: Boolean) { in setChecked()
76 if (isAirplaneModeOn() == newChecked) { in setChecked()
79 airplaneModeEnabler.setAirplaneMode(newChecked) in setChecked()
DSimOnboardingSelectSim.kt84 override val onCheckedChange = { newChecked: Boolean -> in SelectSimBody() method
85 checked.value = newChecked in SelectSimBody()
86 if (newChecked) { in SelectSimBody()
DSimsSection.kt94 override val onCheckedChange: (Boolean) -> Unit = { newChecked -> in SimPreference() method
96 subscriptionActivationRepository.setActive(subInfo.subscriptionId, newChecked) in SimPreference()
/packages/apps/Settings/src/com/android/settings/wifi/
DWepNetworksPreferenceController.kt66 override val onCheckedChange: (Boolean) -> Unit = { newChecked -> in <lambda>() method
67 if (!newChecked && wifiInfo.currentSecurityType == WifiEntry.SECURITY_WEP) { in <lambda>()
70 wifiManager.setWepAllowed(newChecked) in <lambda>()
71 wepAllowedFlow.override(newChecked) in <lambda>()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DHibernationSwitchPreference.kt146 fun onCheckedChange(newChecked: Boolean) { in isArchivingEnabled()
151 if (newChecked) MODE_ALLOWED else MODE_IGNORED, in isArchivingEnabled()
153 if (!newChecked) { in isArchivingEnabled()
157 isChecked.override(newChecked) in isArchivingEnabled()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNrAdvancedCallingPreferenceController.kt69 override val onCheckedChange: (Boolean) -> Unit = { newChecked -> in <lambda>() method
71 repository?.setVoNrEnabled(newChecked) in <lambda>()
DMobileNetworkSwitchController.kt65 override val onCheckedChange: (Boolean) -> Unit = { newChecked -> in <lambda>() method
67 subscriptionActivationRepository.setActive(subId, newChecked) in <lambda>()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiPrivacyPageProvider.kt145 override val onCheckedChange: (Boolean) -> Unit = { newChecked -> in DeviceNameSwitchPreference() method
146 wifiConfiguration.isSendDhcpHostnameEnabled = newChecked in DeviceNameSwitchPreference()
148 checked = newChecked in DeviceNameSwitchPreference()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceController.kt122 override val onCheckedChange: (Boolean) -> Unit = { newChecked -> in getAvailabilityStatus() method
123 if (newChecked) { in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditPageProvider.kt246 override val onCheckedChange = { newChecked: Boolean -> in ApnPage() method
247 apnData = apnData.copy(apnEnable = newChecked) in ApnPage()