/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackTest.java | 301 final String TEST_NAME = "testBuilderDefault"; in testBuilderDefault() local 320 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderDefault() 322 assertEquals(TEST_NAME + ": Default track encoding", expectedDefaultEncoding, in testBuilderDefault() 324 assertEquals(TEST_NAME + ": Default track channels", expectedDefaultChannels, in testBuilderDefault() 332 final String TEST_NAME = "testBuilderFormat"; in testBuilderFormat() local 351 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderFormat() 353 assertEquals(TEST_NAME + ": Track channels", TEST_CHANNELS, observedChannelConf); in testBuilderFormat() 354 assertEquals(TEST_NAME + ": Track sample rate", TEST_RATE, observedRate); in testBuilderFormat() 361 final String TEST_NAME = "testBuilderSession"; in testBuilderSession() local 373 assertEquals(TEST_NAME + ": Assigned track session ID", expectedSessionId, in testBuilderSession() [all …]
|
D | AudioTrackLatencyTest.java | 73 final String TEST_NAME = "testSetBufferSize"; in testSetBufferSize() local 89 assertTrue(TEST_NAME, bufferCapacity > 0); in testSetBufferSize() 90 assertTrue(TEST_NAME, initialBufferSize > 0); in testSetBufferSize() 91 assertTrue(TEST_NAME, initialBufferSize <= bufferCapacity); in testSetBufferSize() 95 assertEquals(TEST_NAME + ": negative size", AudioTrack.ERROR_BAD_VALUE, resultNegative); in testSetBufferSize() 96 assertEquals(TEST_NAME + ": should be unchanged", in testSetBufferSize() 100 assertTrue(TEST_NAME + ": should be >0, but got " + resultZero, resultZero > 0); in testSetBufferSize() 101 assertTrue(TEST_NAME + ": zero size < original, but got " + resultZero, in testSetBufferSize() 103 assertEquals(TEST_NAME + ": should match resultZero", in testSetBufferSize() 107 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 | AudioNativeTest.java | 65 final String TEST_NAME = "testPlayStreamData"; in testPlayStreamData() local 109 assertTrue(TEST_NAME, in testPlayStreamData() 111 assertTrue(TEST_NAME, track.start()); in testPlayStreamData() 166 final String TEST_NAME = "testRecordStreamData"; in testRecordStreamData() local 341 final String TEST_NAME = "doRecordTest"; in doRecordTest() local 344 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest() 346 assertTrue(TEST_NAME, record.start()); in doRecordTest() 366 assertTrue(TEST_NAME, record.stop()); in doRecordTest()
|
D | AudioTrackSurroundTest.java | 189 final String TEST_NAME = "testLoadSineSweep"; in testLoadSineSweep() local 191 assertTrue(TEST_NAME + ": load sinesweepraw as shorts", shortData.length > 100); in testLoadSineSweep() 193 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep() 197 final String TEST_NAME = "createAudioTrack"; in createAudioTrack() local 201 assertTrue(TEST_NAME + ": getMinBufferSize", minBufferSize > 0); in createAudioTrack() 382 final String TEST_NAME = "playAndMeasureRate"; in playAndMeasureRate() local 398 log(TEST_NAME, String.format("test using rate = %d, encoding = 0x%08x", in playAndMeasureRate() 403 assertEquals(TEST_NAME + ": track created" + getPcmWarning(), in playAndMeasureRate() 413 assertTrue(TEST_NAME + ": priming offset = " + mOffset + getPcmWarning(), in playAndMeasureRate() 420 log(TEST_NAME, "native rate = " in playAndMeasureRate() [all …]
|
D | AudioRecordTest.java | 393 final String TEST_NAME = "testAudioRecordBuilderDefault"; in testAudioRecordBuilderDefault() local 409 assertEquals(TEST_NAME + ": default capture preset", expectedCapturePreset, observedSource); in testAudioRecordBuilderDefault() 410 assertEquals(TEST_NAME + ": default channel config", expectedChannel, observedChannel); in testAudioRecordBuilderDefault() 411 assertEquals(TEST_NAME + ": default encoding", expectedEncoding, observedEncoding); in testAudioRecordBuilderDefault() 412 assertEquals(TEST_NAME + ": state", expectedState, observedState); in testAudioRecordBuilderDefault() 423 final String TEST_NAME = "testAudioRecordBuilderPartialFormat"; in testAudioRecordBuilderPartialFormat() local 441 assertEquals(TEST_NAME + ": configured rate", expectedRate, observedRate); in testAudioRecordBuilderPartialFormat() 442 assertEquals(TEST_NAME + ": default channel config", expectedChannel, observedChannel); in testAudioRecordBuilderPartialFormat() 443 assertEquals(TEST_NAME + ": default encoding", expectedEncoding, observedEncoding); in testAudioRecordBuilderPartialFormat() 444 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 | 37 private static final String TEST_NAME = "name"; field in TestResult 80 intent.putExtra(TEST_NAME, testName); in addResultData() 91 String name = data.getStringExtra(TEST_NAME); in fromActivityResult()
|
/cts/build/ |
D | deqp_dummy_test_list | 3 test:TEST_NAME
|