/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackTest.java | 302 final String TEST_NAME = "testBuilderDefault"; in testBuilderDefault() local 321 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderDefault() 323 assertEquals(TEST_NAME + ": Default track encoding", expectedDefaultEncoding, in testBuilderDefault() 325 assertEquals(TEST_NAME + ": Default track channels", expectedDefaultChannels, in testBuilderDefault() 333 final String TEST_NAME = "testBuilderFormat"; in testBuilderFormat() local 352 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderFormat() 354 assertEquals(TEST_NAME + ": Track channels", TEST_CHANNELS, observedChannelConf); in testBuilderFormat() 355 assertEquals(TEST_NAME + ": Track sample rate", TEST_RATE, observedRate); in testBuilderFormat() 362 final String TEST_NAME = "testBuilderSession"; in testBuilderSession() local 374 assertEquals(TEST_NAME + ": Assigned track session ID", expectedSessionId, in testBuilderSession() [all …]
|
D | AudioTrackLatencyTest.java | 74 final String TEST_NAME = "testSetBufferSize"; in testSetBufferSize() local 90 assertTrue(TEST_NAME, bufferCapacity > 0); in testSetBufferSize() 91 assertTrue(TEST_NAME, initialBufferSize > 0); in testSetBufferSize() 92 assertTrue(TEST_NAME, initialBufferSize <= bufferCapacity); in testSetBufferSize() 96 assertEquals(TEST_NAME + ": negative size", AudioTrack.ERROR_BAD_VALUE, resultNegative); in testSetBufferSize() 97 assertEquals(TEST_NAME + ": should be unchanged", in testSetBufferSize() 101 assertTrue(TEST_NAME + ": should be >0, but got " + resultZero, resultZero > 0); in testSetBufferSize() 102 assertTrue(TEST_NAME + ": zero size < original, but got " + resultZero, in testSetBufferSize() 104 assertEquals(TEST_NAME + ": should match resultZero", in testSetBufferSize() 108 assertTrue(TEST_NAME + ": set MAX_VALUE, >", resultMax > resultZero); in testSetBufferSize() [all …]
|
D | VolumeShaperTest.java | 346 final String TEST_NAME = "testVolumeShaperConfigurationBuilder"; in testVolumeShaperConfigurationBuilder() local 351 Log.d(TAG, TEST_NAME + " configuration builder should throw ISE if no curve specified"); in testVolumeShaperConfigurationBuilder() 364 Log.d(TAG, TEST_NAME + " configuration builder should IAE on invalid curve"); in testVolumeShaperConfigurationBuilder() 387 Log.d(TAG, TEST_NAME + " configuration builder should throw IAE on invalid duration"); in testVolumeShaperConfigurationBuilder() 395 Log.d(TAG, TEST_NAME + " configuration builder should throw IAE on invalid interpolator"); in testVolumeShaperConfigurationBuilder() 407 assertEquals(TEST_NAME + " default interpolation should be cubic", in testVolumeShaperConfigurationBuilder() 409 assertEquals(TEST_NAME + " default duration should be 1000 ms", in testVolumeShaperConfigurationBuilder() 411 assertTrue(TEST_NAME + " times should be { 0.f, 1.f }", in testVolumeShaperConfigurationBuilder() 413 assertTrue(TEST_NAME + " volumes should be { 0.f, 1.f }", in testVolumeShaperConfigurationBuilder() 435 checkEqual(TEST_NAME, testRamp, ramp); in testVolumeShaperConfigurationBuilder() [all …]
|
D | AudioTrackSurroundTest.java | 192 final String TEST_NAME = "testLoadSineSweep"; in testLoadSineSweep() local 194 assertTrue(TEST_NAME + ": load sinesweepraw as shorts", shortData.length > 100); in testLoadSineSweep() 196 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep() 200 final String TEST_NAME = "createAudioTrack"; in createAudioTrack() local 204 assertTrue(TEST_NAME + ": getMinBufferSize", minBufferSize > 0); in createAudioTrack() 385 final String TEST_NAME = "playAndMeasureRate"; in playAndMeasureRate() local 401 log(TEST_NAME, String.format("test using rate = %d, encoding = 0x%08x", in playAndMeasureRate() 406 assertEquals(TEST_NAME + ": track created" + getPcmWarning(), in playAndMeasureRate() 416 assertTrue(TEST_NAME + ": priming offset = " + mOffset + getPcmWarning(), in playAndMeasureRate() 423 log(TEST_NAME, "native rate = " in playAndMeasureRate() [all …]
|
D | AudioNativeTest.java | 66 final String TEST_NAME = "testPlayStreamData"; in testPlayStreamData() local 110 assertTrue(TEST_NAME, in testPlayStreamData() 112 assertTrue(TEST_NAME, track.start()); in testPlayStreamData() 167 final String TEST_NAME = "testRecordStreamData"; in testRecordStreamData() local 342 final String TEST_NAME = "doRecordTest"; in doRecordTest() local 345 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest() 347 assertTrue(TEST_NAME, record.start()); in doRecordTest() 367 assertTrue(TEST_NAME, record.stop()); in doRecordTest()
|
D | AudioRecordTest.java | 394 final String TEST_NAME = "testAudioRecordBuilderDefault"; in testAudioRecordBuilderDefault() local 410 assertEquals(TEST_NAME + ": default capture preset", expectedCapturePreset, observedSource); in testAudioRecordBuilderDefault() 411 assertEquals(TEST_NAME + ": default channel config", expectedChannel, observedChannel); in testAudioRecordBuilderDefault() 412 assertEquals(TEST_NAME + ": default encoding", expectedEncoding, observedEncoding); in testAudioRecordBuilderDefault() 413 assertEquals(TEST_NAME + ": state", expectedState, observedState); in testAudioRecordBuilderDefault() 424 final String TEST_NAME = "testAudioRecordBuilderPartialFormat"; in testAudioRecordBuilderPartialFormat() local 442 assertEquals(TEST_NAME + ": configured rate", expectedRate, observedRate); in testAudioRecordBuilderPartialFormat() 443 assertEquals(TEST_NAME + ": default channel config", expectedChannel, observedChannel); in testAudioRecordBuilderPartialFormat() 444 assertEquals(TEST_NAME + ": default encoding", expectedEncoding, observedEncoding); in testAudioRecordBuilderPartialFormat() 445 assertEquals(TEST_NAME + ": state", expectedState, observedState); in testAudioRecordBuilderPartialFormat() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | PersonTest.java | 27 private static final CharSequence TEST_NAME = "Test Name"; field in PersonTest 35 .setName(TEST_NAME) in testPerson_builder() 43 assertEquals(TEST_NAME, person.getName()); in testPerson_builder() 65 .setName(TEST_NAME) in testToBuilder() 74 assertEquals(TEST_NAME, result.getName()); in testToBuilder() 108 .setName(TEST_NAME) in testEquals() 123 .setName(TEST_NAME) in testEquals_noIcon() 138 .setName(TEST_NAME) in testEquals_different()
|
/cts/apps/CameraITS/tools/ |
D | run_sensor_fusion_box.py | 28 TEST_NAME = 'test_sensor_fusion' variable 124 cmd = ['python', os.path.join(TEST_DIR, TEST_NAME+'.py'), 128 outpath = os.path.join(outdir, TEST_NAME+'_stdout.txt') 129 errpath = os.path.join(outdir, TEST_NAME+'_stderr.txt') 155 msg = '%s %s/%s [%.1fs]' % (retstr, SCENE_NAME, TEST_NAME, t1-t0)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 38 private static final String TEST_NAME = "name"; field in TestResult 97 intent.putExtra(TEST_NAME, testName); in addResultData() 109 String name = data.getStringExtra(TEST_NAME); in fromActivityResult()
|
/cts/build/ |
D | deqp_dummy_test_list | 3 test:TEST_NAME
|