Home
last modified time | relevance | path

Searched refs:testType (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DPositionTesterContextMenuListener.java32 private int testType; // as returned by getPackedPositionType field in PositionTesterContextMenuListener
39 testType = ExpandableListView.PACKED_POSITION_TYPE_GROUP; in expectGroupContextMenu()
45 testType = ExpandableListView.PACKED_POSITION_TYPE_CHILD; in expectChildContextMenu()
50 testType = ADAPTER_TYPE; in expectAdapterContextMenu()
55 if (testType == ADAPTER_TYPE) { in onCreateContextMenu()
74 if (!areEqual("Wrong packed position type", testType, packedPositionType)) { in onCreateContextMenu()
83 if (testType == ExpandableListView.PACKED_POSITION_TYPE_CHILD) { in onCreateContextMenu()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java213 private static boolean compareType(String apiType, String testType) { in compareType() argument
214 return apiType.equals(testType) || in compareType()
215 isGenericType(apiType) && !testType.equals(VOID) || in compareType()
216 isGenericArrayType(apiType) && isArrayType(testType) || in compareType()
217 isVarArg(apiType) && isArrayType(testType) && in compareType()
218 apiType.startsWith(testType.substring(0, testType.indexOf("["))); in compareType()
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java72 String testType = bundle.getString(TESTCASE_TYPE); in toBundleString() local
73 if (testType != null) { in toBundleString()
74 buf.append("testcase type = " + testType); in toBundleString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java202 private String getKeyName(int testType) { in getKeyName() argument
203 return testType == LOCKSCREEN ? LOCKSCREEN_KEY_NAME : FINGERPRINT_KEY_NAME; in getKeyName()
209 private void createKey(int testType) { in createKey() argument
214 builder = new KeyGenParameterSpec.Builder(getKeyName(testType), in createKey()
219 if (testType == LOCKSCREEN) { in createKey()
234 private SecretKey loadSecretKey(int testType) { in loadSecretKey() argument
238 return (SecretKey) keyStore.getKey(getKeyName(testType), null); in loadSecretKey()
/cts/tests/tests/assist/common/src/android/assist/common/
DUtils.java219 String testType = bundle.getString(TESTCASE_TYPE); in toBundleString() local
220 if (testType != null) { in toBundleString()
221 buf.append("testcase type = " + testType); in toBundleString()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DCtsXmlGenerator.java55 String testType = null; in main() local
67 testType = getArg(args, ++i, "Missing value for test type"); in main()
132 jarPath, testType, outputPath, additionalAttributes); in main()
DXmlGenerator.java90 String testType, String outputPath, Map<String, String> additionalAttributes) { in XmlGenerator() argument
98 mTestType = testType; in XmlGenerator()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java253 Utils.TestCaseType testType; field in MainInteractionSession.AsyncTaskArg
255 AsyncTaskArg setTestType(Utils.TestCaseType t) {testType = t; return this;} in setTestType()
273 arg.testType.toString()); in doInBackground()
274 switch (arg.testType) { in doInBackground()
318 Log.i(TAG, "Doing nothing for the testcase type: " + arg.testType); in doInBackground()
/cts/tools/utils/
DCollectAllTests.java111 final TestType testType = TestType.getTestType(androidMakeFile); in main() local
148 if (testType.type == TestType.HOST_SIDE_ONLY) { in main()
150 setAttribute(testPackageElem, ATTRIBUTE_JAR_PATH, testType.jarPath); in main()
153 if (testType.type == TestType.VM_HOST_TEST) { in main()
155 setAttribute(testPackageElem, ATTRIBUTE_JAR_PATH, testType.jarPath); in main()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParser.java88 final String testType = getTestType(attributes); in startElement() local
97 packageDef.setTestType(testType); in startElement()
DTestPackageDef.java151 void setTestType(String testType) { in setTestType() argument
152 mTestType = testType; in setTestType()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseCursorTest.java74 public void setupTestType(int testType) { in setupTestType() argument
75 mTestType = testType; in setupTestType()