/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/preference/ |
D | RestrictedSwitchPreferenceTest.kt | 24 import androidx.compose.ui.test.isOn in <lambda>() 66 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>() 87 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>() 132 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>() 155 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>()
|
D | RestrictedTwoTargetSwitchPreferenceTest.kt | 24 import androidx.compose.ui.test.isOn in <lambda>() 67 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>() 88 composeTestRule.onNode(isOn()).assertIsDisplayed().assertIsEnabled() in <lambda>() 133 composeTestRule.onNode(isOn()).assertIsDisplayed().assertIsEnabled() in <lambda>() 167 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>()
|
D | RestrictedMainSwitchPreferenceTest.kt | 24 import androidx.compose.ui.test.isOn in <lambda>() 64 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>() 85 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>() 130 composeTestRule.onNode(isOn()).assertIsDisplayed() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/stickykeys/ui/viewmodel/ |
D | StickyKeysIndicatorViewModelTest.kt | 249 private fun isOn(key: ModifierKey) = keys.any { it.key == key && !it.value } in <lambda>() method 253 override fun isAltGrModifierOn() = isOn(ALT_GR) 255 override fun isAltModifierOn() = isOn(ALT) 257 override fun isCtrlModifierOn() = isOn(CTRL) 259 override fun isMetaModifierOn() = isOn(META) 261 override fun isShiftModifierOn() = isOn(SHIFT)
|
/frameworks/base/core/java/android/hardware/display/ |
D | VirtualDisplay.java | 119 public void setDisplayState(boolean isOn) { in setDisplayState() argument 121 mGlobal.setVirtualDisplayState(mToken, isOn); in setDisplayState()
|
D | IDisplayManager.aidl | 118 void setVirtualDisplayState(in IVirtualDisplayCallback token, boolean isOn); in setVirtualDisplayState() argument
|
D | DisplayManagerGlobal.java | 807 void setVirtualDisplayState(IVirtualDisplayCallback token, boolean isOn) { in setVirtualDisplayState() argument 809 mDm.setVirtualDisplayState(token, isOn); in setVirtualDisplayState()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldDurationLogger.java | 76 if (!isOn()) { in setDeviceFolded() 114 private boolean isOn() { in isOn() method in DisplayFoldDurationLogger
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | CommonAssertions.kt | 103 .filter { it.isOn } in LegacyFlickerTest() 112 .filter { it.isOn } in LegacyFlickerTest() 117 .filter { it.isOn } in LegacyFlickerTest()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/ |
D | OpenThirdActivityOverSplitTest.kt | 84 this.entry.displays.firstOrNull { it.isOn && !it.isVirtual } in mainActivityLayersAlwaysVisible() 95 this.entry.displays.firstOrNull { it.isOn && !it.isVirtual } in mainActivityLayersAlwaysVisible()
|
/frameworks/native/services/inputflinger/ |
D | NotifyArgs.cpp | 177 bool isOn) in NotifyVibratorStateArgs() argument 178 : id(id), eventTime(eventTime), deviceId(deviceId), isOn(isOn) {} in NotifyVibratorStateArgs()
|
D | VibrationElement.cpp | 70 bool VibrationElement::isOn() const { in isOn() function in android::VibrationElement
|
/frameworks/native/services/inputflinger/include/ |
D | VibrationElement.h | 51 bool isOn() const;
|
D | NotifyArgs.h | 226 bool isOn; member 230 NotifyVibratorStateArgs(int32_t id, nsecs_t eventTIme, int32_t deviceId, bool isOn);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | VirtualDisplayAdapter.java | 209 void setVirtualDisplayStateLocked(IBinder appToken, boolean isOn) { in setVirtualDisplayStateLocked() argument 212 device.setDisplayState(isOn); in setVirtualDisplayStateLocked() 435 void setDisplayState(boolean isOn) { in setDisplayState() argument 436 if (mIsDisplayOn != isOn) { in setDisplayState() 437 mIsDisplayOn = isOn; in setDisplayState()
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherPolicyInterface.h | 77 virtual void notifyVibratorState(int32_t deviceId, bool isOn) = 0;
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | VibratorInputMapper.cpp | 113 if (element.isOn()) { in nextStep()
|
/frameworks/layoutlib/bridge/src/android/hardware/display/ |
D | DisplayManagerGlobal.java | 136 void setVirtualDisplayState(IVirtualDisplayCallback token, boolean isOn) {} in setVirtualDisplayState() argument
|
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/ |
D | BookStyleDeviceStatePolicyTest.java | 710 private void setScreenOn(boolean isOn) { in setScreenOn() argument 711 int state = isOn ? STATE_ON : STATE_OFF; in setScreenOn()
|
D | FoldableDeviceStateProviderTest.java | 608 private void setScreenOn(boolean isOn) { in setScreenOn() argument 610 int state = isOn ? STATE_ON : STATE_OFF; in setScreenOn()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeInputDispatcherPolicy.h | 190 void notifyVibratorState(int32_t deviceId, bool isOn) override;
|
D | FakeInputDispatcherPolicy.cpp | 389 void FakeInputDispatcherPolicy::notifyVibratorState(int32_t deviceId, bool isOn) {} in notifyVibratorState() argument
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 437 if (!linger.isOn()) { in getOption()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 266 private void setSystemState(int flags, boolean isOn) { in setSystemState() argument 269 if (isOn) { in setSystemState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 1911 private boolean isOn() { 1921 return isOn() ? mEnabledStatusMessageResId : mDisabledStatusMessageResId; 1925 return isOn() ? mEnabledIconResId : mDisabledIconResid;
|