Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/spa/network/
DAutomaticDataSwitchingPreference.kt35 setAutoDataEnabled: (newEnabled: Boolean) -> Unit, in <lambda>()
45 override val onCheckedChange: (Boolean) -> Unit = { newEnabled -> in <lambda>() method
47 setAutoDataEnabled(newEnabled) in <lambda>()
55 fun TelephonyRepository.setAutomaticData(subId: Int, newEnabled: Boolean) { in TelephonyRepository()
59 enabled = newEnabled, in TelephonyRepository()
DMobileDataSwitchingPreference.kt33 setMobileDataEnabled: (newEnabled: Boolean) -> Unit, in <lambda>()
42 override val onCheckedChange: (Boolean) -> Unit = { newEnabled -> in <lambda>() method
44 setMobileDataEnabled(newEnabled) in <lambda>()
DNetworkCellularGroupProvider.kt225 setMobileDataEnabled = { newEnabled -> in MobileDataSectionImpl() method
232 newEnabled in MobileDataSectionImpl()
240 setAutoDataEnabled = { newEnabled -> in MobileDataSectionImpl() method
241 TelephonyRepository(context).setAutomaticData(nonDds.intValue, newEnabled) in MobileDataSectionImpl()
DSimOnboardingPrimarySim.kt110 setAutoDataEnabled = { newEnabled -> in <lambda>() method
111 onboardingService.targetPrimarySimAutoDataSwitch.value = newEnabled in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/telephony/wificalling/
DCrossSimCallingViewModel.kt72 .onEach { (activeSubIds, newEnabled) -> in <lambda>() method
73 updateCrossSimCalling(activeSubIds, newEnabled) in <lambda>()
87 private suspend fun updateCrossSimCalling(activeSubIds: List<Int>, newEnabled: Boolean) { in <lambda>()
91 newEnabled, in <lambda>()
95 .setCrossSimCallingEnabled(newEnabled) in <lambda>()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetTriggerLinkPreferenceController.java99 final boolean newEnabled = (Boolean) newValue;
101 if (newEnabled != zenMode.getRule().isEnabled()) {
102 zenMode.getRule().setEnabled(newEnabled);