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/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java636 for (JDiffConstructor con : jDiffConstructors) { in checkConstructorCompliance()
638 Constructor<?> c = findMatchingConstructor(con); in checkConstructorCompliance()
641 con.toReadableString(mAbsoluteClassName), in checkConstructorCompliance()
643 con.toSignatureString()); in checkConstructorCompliance()
646 con.mModifier |= METHOD_MODIFIER_VAR_ARGS; in checkConstructorCompliance()
648 if (c.getModifiers() != con.mModifier) { in checkConstructorCompliance()
651 con.toReadableString(mAbsoluteClassName), in checkConstructorCompliance()
653 con.toSignatureString()); in checkConstructorCompliance()
659 con.toReadableString(mAbsoluteClassName), in checkConstructorCompliance()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java370 static ParcelFileDescriptor makeParcelFileDescriptor(Context con) throws Exception { in makeParcelFileDescriptor() argument
375 fout = con.openFileOutput(fileName, Context.MODE_WORLD_WRITEABLE); in makeParcelFileDescriptor()
383 File dir = con.getFilesDir(); in makeParcelFileDescriptor()
/cts/tests/tests/security/src/android/security/cts/
DSELinuxTest.java115 private static native boolean checkSELinuxContext(String con); in checkSELinuxContext() argument
/cts/tests/tests/content/src/android/content/cts/
DContextWrapperTest.java777 private synchronized void waitForCondition(Condition con) throws InterruptedException { in waitForCondition() argument
780 for (int i = 0; !con.onCondition() && i <= 3; i++) { in waitForCondition()
787 Condition con = new Condition() { in waitForReceiveBroadCast() local
792 waitForCondition(con); in waitForReceiveBroadCast()