Home
last modified time | relevance | path

Searched refs:ON (Results 1 – 25 of 27) sorted by relevance

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java69 private static final int ON = 1; field in CallAudioRouteStateMachineTest
513 ON, // bluetoothInteraction in generateTransitionTests()
526 ON, // bluetoothInteraction in generateTransitionTests()
539 ON, // bluetoothInteraction in generateTransitionTests()
616 ON, // speakerInteraction in generateTransitionTests()
629 ON, // speakerInteraction in generateTransitionTests()
642 ON, // speakerInteraction in generateTransitionTests()
708 ON, // bluetoothInteraction in generateTransitionTests()
721 ON, // bluetoothInteraction in generateTransitionTests()
734 ON, // bluetoothInteraction in generateTransitionTests()
[all …]
DCallAudioModeStateMachineTest.java87 private static final int ON = 0; field in CallAudioModeStateMachineTest
191 ON, // expectedRingingInteraction in generateTestCases()
211 ON // expectedCallWaitingInteraction in generateTestCases()
419 ON, // expectedRingingInteraction in generateTestCases()
587 case ON: in runParametrizedTestCase()
600 case ON: in runParametrizedTestCase()
/packages/apps/Settings/src/com/android/settings/notification/
DBadgingNotificationPreferenceController.java48 private static final int ON = 1; field in BadgingNotificationPreferenceController
94 NOTIFICATION_BADGING, ON) == ON; in updateState()
102 NOTIFICATION_BADGING, val ? ON : OFF); in onPreferenceChange()
141 ResultPayload.SettingsSource.SECURE, ON /* onValue */, intent, isAvailable(), in getResultPayload()
142 ON /* defaultValue */); in getResultPayload()
/packages/apps/Settings/src/com/android/settings/gestures/
DAssistGestureSettingsPreferenceController.java45 private static final int ON = 1; field in AssistGestureSettingsPreferenceController
111 SECURE_KEY_ASSIST, ON) != 0; in isAssistGestureEnabled()
116 SECURE_KEY_SILENCE, ON) != 0; in isSilenceGestureEnabled()
142 enabled ? ON : OFF); in onPreferenceChange()
170 ON /* onValue */, intent, isAvailable(), ON /* defaultValue */); in getResultPayload()
DDoubleTapPowerPreferenceController.java35 private final int ON = 0; field in DoubleTapPowerPreferenceController
76 Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY, enabled ? ON : OFF); in onPreferenceChange()
83 SECURE_KEY, ON); in isSwitchPrefEnabled()
94 ON /* onValue */, intent, isAvailable(), ON /* defaultValue */); in getResultPayload()
DDoubleTapScreenPreferenceController.java37 private final int ON = 1; field in DoubleTapScreenPreferenceController
76 Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY, enabled ? ON : OFF); in onPreferenceChange()
97 ON /* onValue */, intent, isAvailable(), ON /* defaultValue */); in getResultPayload()
DPickupGesturePreferenceController.java37 private final int ON = 1; field in PickupGesturePreferenceController
87 SECURE_KEY, enabled ? ON : OFF); in onPreferenceChange()
103 ON /* onValue */, intent, isAvailable(), ON /* defaultValue */); in getResultPayload()
DSwipeToNotificationPreferenceController.java31 private static final int ON = 1; field in SwipeToNotificationPreferenceController
83 return Settings.Secure.getInt(context.getContentResolver(), SECURE_KEY, OFF) == ON; in isSwipeToNotificationOn()
88 context.getContentResolver(), SECURE_KEY, isEnabled ? ON : OFF); in setSwipeToNotification()
DDoubleTwistPreferenceController.java37 private final int ON = 1; field in DoubleTwistPreferenceController
88 final int enabled = (boolean) newValue ? ON : OFF; in onPreferenceChange()
107 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, ON); in isSwitchPrefEnabled()
/packages/apps/Settings/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceController.java37 private final int ON = 1; field in AmbientDisplayAlwaysOnPreferenceController
73 int enabled = (boolean) newValue ? ON : OFF; in onPreferenceChange()
102 ResultPayload.SettingsSource.SECURE, ON /* onValue */, intent, isAvailable(), in getResultPayload()
103 ON /* defaultValue */); in getResultPayload()
DAmbientDisplayNotificationsPreferenceController.java40 private final int ON = 1; field in AmbientDisplayNotificationsPreferenceController
78 Settings.Secure.putInt(mContext.getContentResolver(), DOZE_ENABLED, value ? ON : OFF); in onPreferenceChange()
94 ResultPayload.SettingsSource.SECURE, ON /* onValue */, intent, isAvailable(), in getResultPayload()
95 ON /* defaultValue */); in getResultPayload()
/packages/apps/Settings/src/com/android/settings/search/
DInlineSwitchPayload.java29 private static final int ON = 1; field in InlineSwitchPayload
66 if (value != OFF && value != ON) { in standardizeInput()
68 + ON + " or " + OFF in standardizeInput()
/packages/apps/TV/src/com/android/tv/
DFeatures.java40 import static com.android.tv.common.feature.FeatureUtils.ON;
65 public static final Feature ANALYTICS_V2 = AND(ON, ANALYTICS_OPT_IN);
192 public static final Feature USE_PARTNER_INPUT_BLACKLIST = ON;
/packages/apps/Camera2/src/com/android/camera/one/
DOneCamera.java296 AUTO("auto"), OFF("off"), ON("on"); enumConstant
322 } else if (ON.encodeSettingsString().equals(setting)) { in decodeSettingsString()
323 return ON; in decodeSettingsString()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarSensorManagerTest.java254 VehicleIgnitionState.ON, CarSensorEvent.IGNITION_STATE_ON, in testIgnitionEvents()
256 VehicleIgnitionState.ON, CarSensorEvent.IGNITION_STATE_ON, in testIgnitionEvents()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DFlashBasedAEMode.java48 case ON: in get()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DFeatureUtils.java80 public static final Feature ON = new Feature() {
/packages/apps/Camera2/src/com/android/camera/hardware/
DHardwareSpecImpl.java86 (CameraCapabilities.FlashMode.ON)); in isFlashSupported()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DFlashBasedPhotoCommand.java58 if (flashMode == OneCamera.PhotoCaptureParameters.Flash.ON) { in run()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java516 if (flashMode == Flash.ON || flashMode == Flash.AUTO) { in takePicture()
731 case ON: in addFlashToCaptureRequestBuilder()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java292 ClosedCaptioningAction.ON : ClosedCaptioningAction.OFF); in onSubtitleTrackStateChanged()
/packages/services/Car/service/src/com/android/car/hal/
DSensorHalService.java100 VehicleIgnitionState.ON, CarSensorEvent.IGNITION_STATE_ON,
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java57 public static final int ON = 1; field in ButtonManager
DCaptureModule.java1077 if (state == ButtonManager.ON) {
/packages/apps/TV/res/raw/
Dthird_party_licenses2716 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2748 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2780 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2817 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2853 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3478 # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
3526 # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3560 # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3684 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3723 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON

12