Home
last modified time | relevance | path

Searched refs:con (Results 1 – 4 of 4) sorted by relevance

/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoActivity.java131 Configuration con = getResources().getConfiguration(); in onCreate() local
133 if (con.touchscreen == Configuration.TOUCHSCREEN_UNDEFINED) { in onCreate()
135 } else if (con.touchscreen == Configuration.TOUCHSCREEN_NOTOUCH) { in onCreate()
137 } else if (con.touchscreen == Configuration.TOUCHSCREEN_STYLUS) { in onCreate()
139 } else if (con.touchscreen == Configuration.TOUCHSCREEN_FINGER) { in onCreate()
148 if (con.navigation == Configuration.NAVIGATION_UNDEFINED) { in onCreate()
150 } else if (con.navigation == Configuration.NAVIGATION_NONAV) { in onCreate()
152 } else if (con.navigation == Configuration.NAVIGATION_DPAD) { in onCreate()
154 } else if (con.navigation == Configuration.NAVIGATION_TRACKBALL) { in onCreate()
156 } else if (con.navigation == Configuration.NAVIGATION_WHEEL) { in onCreate()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DConfigurationDeviceInfo.java29 Configuration con = getInstrumentation().getContext().getResources().getConfiguration(); in collectDeviceInfo() local
30 store.addResult("touchscreen", con.touchscreen); in collectDeviceInfo()
31 store.addResult("navigation", con.navigation); in collectDeviceInfo()
32 store.addResult("keyboard", con.keyboard); in collectDeviceInfo()
/cts/tests/signature/lib/common/src/android/signature/cts/
DApiPresenceChecker.java186 for (JDiffClassDescription.JDiffConstructor con : classDescription.getConstructors()) { in checkConstructorCompliance()
188 Constructor<?> c = ReflectionHelper.findMatchingConstructor(runtimeClass, con, in checkConstructorCompliance()
192 con.toReadableString(classDescription.getAbsoluteClassName()), in checkConstructorCompliance()
202 checkConstructor(classDescription, runtimeClass, con, c); in checkConstructorCompliance()
207 con.toReadableString(classDescription.getAbsoluteClassName()), in checkConstructorCompliance()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java2357 private synchronized void waitForCondition(Condition con) throws InterruptedException { in waitForCondition() argument
2360 for (int i = 0; !con.onCondition() && i <= 3; i++) { in waitForCondition()
2367 Condition con = new Condition() { in waitForReceiveBroadCast() local
2372 waitForCondition(con); in waitForReceiveBroadCast()