/cts/tests/tests/widget/src/android/widget/cts/ |
D | PositionTesterContextMenuListener.java | 32 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/apicommon/ |
D | ApiClass.java | 266 private static boolean compareType(String apiType, String testType) { in compareType() argument 267 return apiType.equals(testType) in compareType() 268 || (isGenericType(apiType) && !testType.equals(VOID)) in compareType() 269 || (isGenericArrayType(apiType) && isArrayType(testType)) in compareType() 270 || (isVarArg(apiType) && isArrayType(testType) in compareType() 271 && apiType.startsWith(testType.substring(0, testType.indexOf("[")))); in compareType()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaPlayerDrmTest.java | 68 private void playAudio(Uri uri, ModularDrmTestType testType) throws Exception { in playAudio() argument 69 playModularDrmVideo(uri, 0 /* width */, 0 /* height */, testType); in playAudio()
|
D | MediaPlayerDrmTestBase.java | 181 ModularDrmTestType testType) throws Exception { in playModularDrmVideoDownload() argument 199 playModularDrmVideo(file, width, height, testType); in playModularDrmVideoDownload() 208 ModularDrmTestType testType) throws Exception { in playModularDrmVideo() argument 212 playModularDrmVideoWithRetries(uri, width, height, PLAY_TIME_MS, testType); in playModularDrmVideo() 216 int playTime, ModularDrmTestType testType) throws Exception { in playModularDrmVideoWithRetries() argument 222 Log.v(TAG, "playVideoWithRetries(" + testType + ") try " + i); in playModularDrmVideoWithRetries() 223 playLoadedModularDrmVideo(file, width, height, playTime, testType); in playModularDrmVideoWithRetries() 229 Log.w(TAG, "playVideoWithRetries(" + testType + ") failed on try " + i + in playModularDrmVideoWithRetries() 250 final Integer height, int playTime, ModularDrmTestType testType) throws Exception { in playLoadedModularDrmVideo() argument 252 switch (testType) { in playLoadedModularDrmVideo() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | AuthenticationBoundKeyTestActivity.java | 215 private String getKeyName(int testType) { in getKeyName() argument 216 return testType == LOCKSCREEN ? LOCKSCREEN_KEY_NAME : FINGERPRINT_KEY_NAME; in getKeyName() 222 private void createKey(int testType) { in createKey() argument 229 builder = new KeyGenParameterSpec.Builder(getKeyName(testType), in createKey() 234 if (testType == LOCKSCREEN) { in createKey() 250 private SecretKey loadSecretKey(int testType) { in loadSecretKey() argument 254 return (SecretKey) keyStore.getKey(getKeyName(testType), null); in loadSecretKey()
|
/cts/tests/tests/mediacujtest/smalltest/src/android/media/cujsmalltest/cts/ |
D | CtsMediaShortFormFullModePlaybackTest.java | 52 public CtsMediaShortFormFullModePlaybackTest(CujTestParam cujTestParam, String testType) { in CtsMediaShortFormFullModePlaybackTest() argument 55 this.mTestType = testType; in CtsMediaShortFormFullModePlaybackTest()
|
D | CtsMediaShortFormPlaybackTest.java | 91 public CtsMediaShortFormPlaybackTest(CujTestParam cujTestParam, String testType) { in CtsMediaShortFormPlaybackTest() argument 94 this.mTestType = testType; in CtsMediaShortFormPlaybackTest()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | Utils.java | 251 String testType = bundle.getString(TESTCASE_TYPE); in toBundleString() local 252 if (testType != null) { in toBundleString() 253 buf.append("testcase type = " + testType); in toBundleString()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 295 Utils.TestCaseType testType; field in MainInteractionSession.AsyncTaskArg 297 AsyncTaskArg setTestType(Utils.TestCaseType t) {testType = t; return this;} in setTestType() 315 arg.testType.toString()); in doInBackground() 316 switch (arg.testType) { in doInBackground() 360 Log.i(TAG, "Doing nothing for the testcase type: " + arg.testType); in doInBackground()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioAttributesTest.java | 85 for (int testType : new int[] { AudioManager.STREAM_ALARM, AudioManager.STREAM_MUSIC, in testGetVolumeControlStreamVsLegacyStream() 88 final AudioAttributes aa = new AudioAttributes.Builder().setLegacyStreamType(testType) in testGetVolumeControlStreamVsLegacyStream() 91 assertEquals("Volume control from attributes, stream doesn't match", testType, stream); in testGetVolumeControlStreamVsLegacyStream()
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | Utils.java | 392 String testType = bundle.getString(TESTCASE_TYPE); in toBundleString() local 394 if (testType != null) { in toBundleString() 396 buf.append("testcase type = " + testType); in toBundleString()
|
/cts/tests/tests/mediacujtest/largetest/src/android/media/cujlargetest/cts/ |
D | CtsMediaLargeFormPlaybackTest.java | 71 public CtsMediaLargeFormPlaybackTest(CujTestParam cujTestParam, String testType) { in CtsMediaLargeFormPlaybackTest() argument
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseCursorTest.java | 74 public void setupTestType(int testType) { in setupTestType() argument 75 mTestType = testType; in setupTestType()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverWrapTest.java | 136 public void testType() throws Exception { in testType() method in ContentResolverWrapTest
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceBindingTest.java | 72 public void testType() { in testType() method in SliceBindingTest
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 728 String testType, in verifyLongActivation() argument 755 Log.i(TAG, "Running " + testType + " test on: " + sensor.getName()); in verifyLongActivation()
|