Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPowerPolicyListener.java47 mPolicyChangeHandler.handlePolicyChange(policy.isComponentEnabled(mComponent));
59 void handlePolicyChange(boolean isOn); in handlePolicyChange() method
114 mPolicyChangeHandler.handlePolicyChange(policy.isComponentEnabled(mComponent)); in handleCurrentPolicy()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiStateSwitchPreferenceControllerTest.java99 .handlePolicyChange(/* isOn= */ true); in onPolicyChanged_enabled_setsSwitchEnabled()
109 .handlePolicyChange(/* isOn= */ false); in onPolicyChanged_disabled_setsSwitchDisabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DLocationStateSwitchPreferenceControllerTest.java119 .handlePolicyChange(/* isOn= */ true); in onPolicyChanged_enabled_setsSwitchEnabled()
129 .handlePolicyChange(/* isOn= */ false); in onPolicyChanged_disabled_setsSwitchDisabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceControllerTest.java230 .handlePolicyChange(/* isOn= */ true); in onPolicyChanged_enabled_setsSwitchEnabled()
241 .handlePolicyChange(/* isOn= */ false); in onPolicyChanged_disabled_setsSwitchDisabled()