Home
last modified time | relevance | path

Searched refs:testType (Results 1 – 14 of 14) 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.java232 private static boolean compareType(String apiType, String testType) { in compareType() argument
233 return apiType.equals(testType) || in compareType()
234 isGenericType(apiType) && !testType.equals(VOID) || in compareType()
235 isGenericArrayType(apiType) && isArrayType(testType) || in compareType()
236 isVarArg(apiType) && isArrayType(testType) && in compareType()
237 apiType.startsWith(testType.substring(0, testType.indexOf("["))); in compareType()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java210 private void startTest(int testType) { in startTest() argument
211 mCurrentTest = testType; in startTest()
214 if (testType == TEST_NOT_SECURED) { in startTest()
220 } else if (testType == TEST_NONE_ENROLLED) { in startTest()
226 } else if (testType == TEST_DEVICE_CREDENTIAL) { in startTest()
234 } else if (testType == TEST_AUTHENTICATE) { in startTest()
244 } else if (testType == TEST_STRINGS_SEEN) { in startTest()
247 showToastAndLog("Unknown test type: " + testType); in startTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java205 private String getKeyName(int testType) { in getKeyName() argument
206 return testType == LOCKSCREEN ? LOCKSCREEN_KEY_NAME : FINGERPRINT_KEY_NAME; in getKeyName()
212 private void createKey(int testType) { in createKey() argument
219 builder = new KeyGenParameterSpec.Builder(getKeyName(testType), in createKey()
224 if (testType == LOCKSCREEN) { in createKey()
240 private SecretKey loadSecretKey(int testType) { in loadSecretKey() argument
244 return (SecretKey) keyStore.getKey(getKeyName(testType), null); in loadSecretKey()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerDrmTest.java167 private void stream(Uri uri, Resolution res, ModularDrmTestType testType) throws Exception { in stream() argument
168 playModularDrmVideo(uri, res.width, res.height, testType); in stream()
171 private void download(Uri remote, Uri local, Resolution res, ModularDrmTestType testType) in download() argument
173 playModularDrmVideoDownload(remote, local, res.width, res.height, testType); in download()
DAudioAttributesTest.java74 for (int testType : new int[] { AudioManager.STREAM_ALARM, AudioManager.STREAM_MUSIC, in testGetVolumeControlStreamVsLegacyStream()
77 final AudioAttributes aa = new AudioAttributes.Builder().setLegacyStreamType(testType) in testGetVolumeControlStreamVsLegacyStream()
80 assertEquals("Volume control from attributes, stream doesn't match", testType, stream); in testGetVolumeControlStreamVsLegacyStream()
DMediaPlayerDrmTestBase.java177 ModularDrmTestType testType) throws Exception { in playModularDrmVideoDownload() argument
188 playModularDrmVideo(file, width, height, testType); in playModularDrmVideoDownload()
195 ModularDrmTestType testType) throws Exception { in playModularDrmVideo() argument
199 playModularDrmVideoWithRetries(uri, width, height, PLAY_TIME_MS, testType); in playModularDrmVideo()
203 int playTime, ModularDrmTestType testType) throws Exception { in playModularDrmVideoWithRetries() argument
209 Log.v(TAG, "playVideoWithRetries(" + testType + ") try " + i); in playModularDrmVideoWithRetries()
210 playLoadedModularDrmVideo(file, width, height, playTime, testType); in playModularDrmVideoWithRetries()
216 Log.w(TAG, "playVideoWithRetries(" + testType + ") failed on try " + i + in playModularDrmVideoWithRetries()
237 final Integer height, int playTime, ModularDrmTestType testType) throws Exception { in playLoadedModularDrmVideo() argument
239 switch (testType) { in playLoadedModularDrmVideo()
[all …]
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java125 String testType = bundle.getString(TESTCASE_TYPE); in toBundleString() local
127 if (testType != null) { in toBundleString()
129 buf.append("testcase type = " + testType); in toBundleString()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java255 Utils.TestCaseType testType; field in MainInteractionSession.AsyncTaskArg
257 AsyncTaskArg setTestType(Utils.TestCaseType t) {testType = t; return this;} in setTestType()
275 arg.testType.toString()); in doInBackground()
276 switch (arg.testType) { in doInBackground()
320 Log.i(TAG, "Doing nothing for the testcase type: " + arg.testType); in doInBackground()
/cts/tests/tests/assist/common/src/android/assist/common/
DUtils.java245 String testType = bundle.getString(TESTCASE_TYPE); in toBundleString() local
246 if (testType != null) { in toBundleString()
247 buf.append("testcase type = " + testType); in toBundleString()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseCursorTest.java74 public void setupTestType(int testType) { in setupTestType() argument
75 mTestType = testType; in setupTestType()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java593 String testType, in verifyLongActivation() argument
620 Log.i(TAG, "Running " + testType + " test on: " + sensor.getName()); in verifyLongActivation()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java134 public void testType() throws Exception { in testType() method in ContentResolverWrapTest
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBindingTest.java71 public void testType() { in testType() method in SliceBindingTest