Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/wm/
DLegacyShellTransitionTraceMonitor.kt30 final override var isEnabled = false variable in android.tools.traces.monitors.wm.LegacyShellTransitionTraceMonitor
34 require(!isEnabled) { "Trace already running" } in doStart()
35 isEnabled = true in doStart()
41 require(isEnabled) { "Trace not running" } in doStop()
42 isEnabled = false in doStop()
DLegacyWmTransitionTraceMonitor.kt30 override val isEnabled constant in android.tools.traces.monitors.wm.LegacyWmTransitionTraceMonitor
DWindowManagerTraceMonitor.kt32 override val isEnabled constant in android.tools.traces.monitors.wm.WindowManagerTraceMonitor
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/events/
DEventLogMonitor.kt33 final override var isEnabled = false variable in android.tools.traces.monitors.events.EventLogMonitor
39 require(!isEnabled) { "Trace already running" } in doStart()
40 isEnabled = true in doStart()
45 require(isEnabled) { "Trace not running" } in doStop()
46 isEnabled = false in doStop()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DTraceMonitorTest.kt51 .that(traceMonitor.isEnabled) in before()
58 if (traceMonitor.isEnabled) { in teardown()
63 .that(traceMonitor.isEnabled) in teardown()
71 Truth.assertThat(traceMonitor.isEnabled).isTrue() in canStartTrace()
78 Truth.assertThat(traceMonitor.isEnabled).isTrue() in canStopTrace()
80 Truth.assertThat(traceMonitor.isEnabled).isFalse() in canStopTrace()
DScreenRecorderTest.kt47 if (mScreenRecorder.isEnabled) { in teardown()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DScreenRecorder.kt51 !isEnabled -> false
88 override val isEnabled constant in android.tools.traces.monitors.ScreenRecorder
DTraceMonitor.kt34 abstract val isEnabled: Boolean in <lambda>() constant in android.tools.traces.monitors.TraceMonitor
49 if (this.isEnabled) { in <lambda>()
DPerfettoTraceMonitor.kt34 override val isEnabled constant in android.tools.traces.monitors.PerfettoTraceMonitor
77 require(isEnabled) { "Attempted to stop disabled trace monitor" } in doStop()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DAutoRotationSettingRule.kt15 fun isEnabled() = getSettingValue<Boolean>() method
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java194 if (!getBluetoothAdapter().isEnabled()) { in ensureBluetoothEnabled()
198 while (--counter > 0 && !getBluetoothAdapter().isEnabled()) { in ensureBluetoothEnabled()
/platform_testing/libraries/flicker/utils/src/android/tools/rules/
DStopAllTracesRule.kt50 if (!isEnabled) { in TraceMonitor()
/platform_testing/libraries/automotive-helpers/app-grid-helper/src/android/platform/helpers/
DAppGridHelperImpl.java138 isAtBeginning = !pageUp.isEnabled(); in isAtBeginning()
177 isAtEnd = !pageDown.isEnabled(); in isAtEnd()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/
DViewTraceMonitor.kt31 override val isEnabled in <lambda>() constant in android.tools.traces.monitors.view.ViewTraceMonitor
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/
DGestures.kt45 waitForObjectCondition(objectName, "enabled") { uiObject.isEnabled() } in waitForObjectEnabled()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java115 assertTrue("set date menu is not clickable", setDateMenu.isEnabled()); // from UI in setDate()
206 assertTrue("set time menu is not clickable", setTimeMenu.isEnabled()); // from UI in setTimeInTwelveHourFormat()
245 assertTrue("set time menu is not clickable", setTimeMenu.isEnabled()); // from UI in setTimeInTwentyFourHourFormat()
428 selectTimeZoneMenu.isEnabled()); // from UI in setTimeZone()
DSettingsBluetoothHelperImpl.java99 return toggleButton.isEnabled(); in buttonEnabled()
DSettingsPrivacyHelperImpl.java313 return messageObject.isEnabled(); in isMessageDisplayed()
DSettingHelperImpl.java213 return ba.isEnabled(); in isBluetoothOn()
DSettingsAppInfoHelperImpl.java239 return forceStopButton.isEnabled() ? true : false; in isCurrentApplicationRunning()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAutoLauncherStrategy.java362 while (up.isEnabled()) { in findApplication()
368 while (app == null && down.isEnabled()) { in findApplication()
/platform_testing/libraries/automotive-helpers/status-bar-helper/src/android/platform/helpers/
DStatusBarHelperImpl.java375 return bluetoothConnected.isEnabled(); in isBluetoothConnectedToMobile()
439 return bluetoothDisconnected.isEnabled(); in isBluetoothDisconnected()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java381 while (up.isEnabled()) { in findApplication()
387 while (app == null && down.isEnabled()) { in findApplication()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java472 boolean isEnabled = bluetoothAdapter.isEnabled(); in toggleBTOnOffAndVerify()
487 if (isEnabled) { in toggleBTOnOffAndVerify()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/
DSpectatioUiUtil.java678 if (!scrollButton.isEnabled()) { in scrollUsingButton()