Home
last modified time | relevance | path

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

12345678910>>...107

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardTest.java64 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
65 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
72 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
73 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
81 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
82 assertTrue(stickyKey.on); // The key state is toggled. in testKeyOnPressedAndReleased()
89 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
90 assertTrue(stickyKey.on); in testKeyOnPressedAndReleased()
98 assertFalse(nonStickyKey.on); in testKeyOnPressedAndReleased()
99 assertFalse(stickyKey.on); in testKeyOnPressedAndReleased()
[all …]
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java154 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
156 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess()
162 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess()
175 boolean on) throws IOException { in toggleListenerAccess() argument
177 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess()
185 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/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.java357 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
359 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess()
365 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess()
378 boolean on) throws IOException { in toggleListenerAccess() argument
380 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess()
388 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
DConditionProviderServiceTest.java283 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
285 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess()
291 nm.isNotificationPolicyAccessGranted() + " not " + on, on, in toggleNotificationPolicyAccess()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java117 public static void turnOnScreen(boolean on) throws Exception { in turnOnScreen() argument
118 if (on) { in turnOnScreen()
127 Log.d(TAG, "Screen turned " + (on ? "ON" : "OFF")); in turnOnScreen()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBatteryUtils.java116 public static void turnOnScreen(boolean on) throws Exception { in turnOnScreen() argument
117 if (on) { in turnOnScreen()
126 Log.d(TAG, "Screen turned " + (on ? "ON" : "OFF")); in turnOnScreen()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java489 private void toggleListenerAccess(boolean on) throws IOException { in toggleListenerAccess() argument
494 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess()
501 Assert.assertTrue(listenerComponent + " has not been " + (on ? "allowed" : "disallowed"), in toggleListenerAccess()
502 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
505 private void toggleAssistantAccess(boolean on) { in toggleAssistantAccess() argument
510 mNotificationManager.setNotificationAssistantAccessGranted(assistantComponent, on); in toggleAssistantAccess()
512 assertTrue(assistantComponent + " has not been " + (on ? "allowed" : "disallowed"), in toggleAssistantAccess()
514 == on); in toggleAssistantAccess()
515 if (on) { in toggleAssistantAccess()
/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/libs/deviceutillegacy/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
31 // A variant of ctsdeviceutillegacy that depends on androidx.test instead of android.support.test
/cts/tests/tests/icu/resources/android/icu/cts/expectations/
Dicu-known-failures.txt19 …description: "Checks differences in DecimalFormat classes from ICU4J and JDK but on Android java.t…
24 description: "Collation rules data has been removed from ICU4J data on Android",
/cts/tools/release-parser/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
34 // 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,
36 // dependencies of all of the tests must be on its classpath. This is
/cts/tests/tests/media/src/android/media/cts/
DUtils.java109 Instrumentation instrumentation, boolean on) throws IOException { in toggleNotificationPolicyAccess() argument
111 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess()
131 Assert.assertEquals("Wrote setting should be the same as the read one", on, in toggleNotificationPolicyAccess()
/cts/tests/tests/os/jni/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
74 // can be run on armv8 cores) since one of the tested instruction, swp, is
/cts/tests/tests/os/assets/minijail/
Disolated-arm64.policy1 # Minijail Seccomp Policy for isolated_app processes on AARCH64.
Disolated-common-not-i386.policy1 # Minijail Seccomp Policy for isolated_app processes on all architectures
/cts/hostsidetests/jvmti/attaching/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
55 // Turn on all warnings.
/cts/tests/jdwp/runner/host-side/resources/expectations/
Dexternal_oj_libjdwp_art_failures.txt2 * This file contains expectations for JDWP tests run on CTS using libjdwp.
26 description: "Tests that fail on both ART and RI. These tests are likely incorrect",
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dpixel_format_f32.rsh11 // whether or not a pixel is on the current target layer. For pixels that are
33 // active = 1: the pixel is on the target layer;
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto10 // distributed under the License is distributed on an "AS IS" BASIS,
24 // Information about the build on the phone. All the fields
49 // Build.BASE_OS The base OS build the product is based on. See b/23003940
213 // Hardware features that may be available on the device.
244 // Operating system running on the host.
/cts/hostsidetests/jvmti/run-tests/test-919/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
/cts/hostsidetests/jvmti/run-tests/test-1904/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,
/cts/hostsidetests/jvmti/run-tests/test-1912/
DAndroid.bp10 // distributed under the License is distributed on an "AS IS" BASIS,

12345678910>>...107