Home
last modified time | relevance | path

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

12345678910>>...136

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardTest.java65 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
66 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
73 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
74 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
82 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
83 assertTrue(stickyKey.on); // The key state is toggled. in testKeyOnPressedAndReleased()
90 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
91 assertTrue(stickyKey.on); in testKeyOnPressedAndReleased()
99 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
100 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
[all …]
/cts/tools/cts-tradefed/
DREADME7 cts-tradefed is built on top of the Android Trade Federation test harness.
15 - automatically continue a CTS test run on another device if connection
38 To run a test plan on a single device:
58 To shard a plan test run on multiple devices
67 See http://source.android.com for instructions on obtaining the Android
73 The source for the tradefed framework can be found on the 'tradefed' branch.
81 More documentation and details on using and extending trade federation will
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java145 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
147 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess()
153 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess()
166 boolean on) throws IOException { in toggleListenerAccess() argument
168 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess()
176 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DScreenUtils.java21 public static void setScreenOn(boolean on) throws Exception { in setScreenOn() argument
22 BatteryUtils.turnOnScreen(on); in setScreenOn()
DBatteryUtils.java135 public static void turnOnScreen(boolean on) throws Exception { in turnOnScreen() argument
136 if (on) { in turnOnScreen()
145 Log.d(TAG, "Screen turned " + (on ? "ON" : "OFF")); in turnOnScreen()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyConditionProviderService.java45 public void toggleDND(boolean on) { in toggleDND() argument
47 new Condition(conditionId, "", on ? Condition.STATE_TRUE : Condition.STATE_FALSE)); in toggleDND()
DLegacyNotificationManagerTest.java377 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
380 + " " + (on ? "allow_dnd" : "disallow_dnd") in toggleNotificationPolicyAccess()
388 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess()
403 boolean on) throws IOException { in toggleListenerAccess() argument
406 + " " + (on ? "allow_listener" : "disallow_listener") in toggleListenerAccess()
415 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/common/device-side/bedstead/dpmwrapper/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
17 // Mockito spy to implement the IPC between users (so tests running on current user can call the
18 // device owner running on system user), but before S is shipped it should be replaced by using the
/cts/hostsidetests/hdmicec/
Dcec_adapter.md10 * [Pulse-Eight USB CEC adapter on Amazon](https://www.amazon.com/s/ref=nb_sb_ss_i_1_22?url=search…
14 1. Connect "TV" port on the adapter to your TV
44 DEBUG: [ 70] turning controlled mode on
93 [on] \{address\}
94 : power on the device with the given logical address.
115 : set OSD message on the specified device.
136 : lists active devices on the bus
220 for more info on formatting your request and a full list of commands and their
/cts/tests/tests/media/libmediandkjni/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
40 // this test suite will run on sdk 29 as part of MTS, make sure it's compatible
77 // this test suite will run on sdk 29 as part of MTS, make sure it's compatible
110 // this test suite will run on sdk 29 as part of MTS, make sure it's compatible
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/
DAndroid.bp11 // distributed under the License is distributed on an "AS IS" BASIS,
31 // Feature splits are dependent on this base, so it must be exported.
51 // Feature splits are dependent on this base, so it must be exported.
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dgroup2.rscript14 rsDebug("Failed to read in on iteration: ", x);
19 rsDebug("Failed to read -5 on iteration: ", x);
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationManager29Test.java74 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
77 + " " + (on ? "allow_dnd" : "disallow_dnd") in toggleNotificationPolicyAccess()
85 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess()
/cts/tests/openglperf2/assets/vertex/
Dbasic10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
21 // Set the position on screen.
/cts/hostsidetests/devicepolicy/app/SimplePreMApp/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
15 // This app is meant for testing device policy permission APIs on legacy apps (pre-M)
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/
DAndroid.bp11 // distributed under the License is distributed on an "AS IS" BASIS,
29 // Feature splits are dependent on this split, so it must be exported.
56 // Feature splits are dependent on this split, so it must be exported.
/cts/tests/framework/base/windowmanager/appPrereleaseSdk/fake-framework/
DAndroid.bp11 // distributed under the License is distributed on an "AS IS" BASIS,
19 // on release device.
/cts/tools/cts-device-info/jni/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
37 // this test suite runs on sdk 29 as part of MTS, make sure it's compatible
/cts/tests/tests/mediastress/jni/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
31 // this test suite will run on sdk 29 as part of MTS, make sure it's compatible
/cts/tests/tests/media/libimagereaderjni/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
36 // this test suite will run on sdk 29 as part of MTS, make sure it's compatible
/cts/tests/tests/icu/icu4c_testapp/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
43 // intermediate library to avoid dependency on libnativetesthelper_jni from libicutest_static.
/cts/tools/release-parser/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
38 // dependencies of all of the tests must be on its classpath. This is
/cts/tools/cts-api-coverage/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
39 // dependencies of all of the tests must be on its classpath. This is
/cts/tests/tests/media/libaudiojni/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
48 // this test suite will run on sdk 29 as part of MTS, make sure it's compatible
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java336 private void setDozeState(final boolean on) throws Exception { in setDozeState() argument
337 ShellUtils.runShellCommand("cmd deviceidle " + (on ? "force-idle" : "unforce")); in setDozeState()
338 if (!on) { in setDozeState()
344 waitUntil("Doze mode didn't change to " + (on ? "on" : "off"), 10, in setDozeState()
345 () -> powerManager.isDeviceIdleMode() == on); in setDozeState()

12345678910>>...136