Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DBluetoothStateLiveData.java38 BluetoothState.DISABLED,
45 int DISABLED = 1; field
87 : BluetoothState.DISABLED; in updateState()
/packages/apps/Settings/src/com/android/settings/development/
DCameraLaserSensorPreferenceController.java42 static final int DISABLED = 2; field in CameraLaserSensorPreferenceController
67 String value = Integer.toString(isEnabled ? ENABLED : DISABLED); in onPreferenceChange()
81 SystemProperties.set(PROPERTY_CAMERA_LASER_SENSOR, Integer.toString(DISABLED)); in onDeveloperOptionsSwitchDisabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DCameraLaserSensorPreferenceController.java42 static final int DISABLED = 2; field in CameraLaserSensorPreferenceController
67 String value = Integer.toString(isEnabled ? ENABLED : DISABLED); in onPreferenceChange()
81 SystemProperties.set(PROPERTY_CAMERA_LASER_SENSOR, Integer.toString(DISABLED)); in onDeveloperOptionsSwitchDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DCameraLaserSensorPreferenceControllerTest.java103 Integer.toString(CameraLaserSensorPreferenceController.DISABLED)); in updateState_cameraLaserSensorEnabled_shouldUncheckedPreference()
126 assertThat(Integer.toString(CameraLaserSensorPreferenceController.DISABLED)).isEqualTo( in onPreferenceChange__preferenceUnchecked_shouldDisableCameraLaserSensor()
138 assertThat(Integer.toString(CameraLaserSensorPreferenceController.DISABLED)).isEqualTo( in onDeveloperOptionsSwitchDisabled_preferenceShouldBeEnabled()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddPrintersFragment.java100 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()
108 if (mP2pPermissionManager.getState() == P2pPermissionManager.State.DISABLED) { in onStart()
116 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java96 setState(permanent ? State.DISABLED : State.TEMPORARILY_DISABLED); in applyPermissionChange()
241 if (state == State.DISABLED) { in getState()
274 DISABLED, enumConstant
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/preferences/
DCellularFallbackTogglePreferenceController.java35 private static final String DISABLED = null; field in CellularFallbackTogglePreferenceController
62 enableCellularFallback ? ENABLED : DISABLED); in handlePreferenceChanged()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java44 @IntDef({ButtonState.NOT_SUPPORT, ButtonState.DISABLED, ButtonState.ENABLED})
47 int DISABLED = 1; field
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DBluetoothStateLiveDataTest.java97 BluetoothStateLiveData.BluetoothState.DISABLED); in testOnBluetoothAdapterStateChange()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/
DTelecomActivityViewModelTest.java92 BluetoothStateLiveData.BluetoothState.DISABLED); in testDialerAppState_bluetoothNotEnabled_bluetoothError()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivityViewModel.java258 || bluetoothState != BluetoothStateLiveData.BluetoothState.DISABLED; in isBluetoothEnabled()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java518 return ButtonState.DISABLED; in getSwapToSecondaryButtonState()