Home
last modified time | relevance | path

Searched refs:con (Results 1 – 5 of 5) 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/src/android/signature/cts/
DJDiffClassDescription.java660 for (JDiffConstructor con : jDiffConstructors) { in checkConstructorCompliance()
662 Constructor<?> c = findMatchingConstructor(con); in checkConstructorCompliance()
665 con.toReadableString(mAbsoluteClassName), in checkConstructorCompliance()
667 con.toSignatureString()); in checkConstructorCompliance()
670 con.mModifier |= METHOD_MODIFIER_VAR_ARGS; in checkConstructorCompliance()
672 if (c.getModifiers() != con.mModifier) { in checkConstructorCompliance()
675 con.toReadableString(mAbsoluteClassName), in checkConstructorCompliance()
677 con.toSignatureString()); in checkConstructorCompliance()
683 con.toReadableString(mAbsoluteClassName), in checkConstructorCompliance()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java395 static ParcelFileDescriptor makeParcelFileDescriptor(Context con) throws Exception { in makeParcelFileDescriptor() argument
400 fout = con.openFileOutput(fileName, Context.MODE_PRIVATE); in makeParcelFileDescriptor()
408 File dir = con.getFilesDir(); in makeParcelFileDescriptor()
/cts/tests/tests/content/src/android/content/cts/
DContextWrapperTest.java780 private synchronized void waitForCondition(Condition con) throws InterruptedException { in waitForCondition() argument
783 for (int i = 0; !con.onCondition() && i <= 3; i++) { in waitForCondition()
790 Condition con = new Condition() { in waitForReceiveBroadCast() local
795 waitForCondition(con); in waitForReceiveBroadCast()