Home
last modified time | relevance | path

Searched refs:TEST_NAME (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java275 final String TEST_NAME = "testBuilderDefault"; in testBuilderDefault() local
294 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderDefault()
296 assertEquals(TEST_NAME + ": Default track encoding", expectedDefaultEncoding, in testBuilderDefault()
298 assertEquals(TEST_NAME + ": Default track channels", expectedDefaultChannels, in testBuilderDefault()
305 final String TEST_NAME = "testBuilderFormat"; in testBuilderFormat() local
324 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderFormat()
326 assertEquals(TEST_NAME + ": Track channels", TEST_CHANNELS, observedChannelConf); in testBuilderFormat()
327 assertEquals(TEST_NAME + ": Track sample rate", TEST_RATE, observedRate); in testBuilderFormat()
333 final String TEST_NAME = "testBuilderSession"; in testBuilderSession() local
345 assertEquals(TEST_NAME + ": Assigned track session ID", expectedSessionId, in testBuilderSession()
[all …]
DAudioTrackLatencyTest.java70 final String TEST_NAME = "testSetBufferSize"; in testSetBufferSize() local
86 assertTrue(TEST_NAME, bufferCapacity > 0); in testSetBufferSize()
87 assertTrue(TEST_NAME, initialBufferSize > 0); in testSetBufferSize()
88 assertTrue(TEST_NAME, initialBufferSize <= bufferCapacity); in testSetBufferSize()
92 assertEquals(TEST_NAME + ": negative size", AudioTrack.ERROR_BAD_VALUE, resultNegative); in testSetBufferSize()
93 assertEquals(TEST_NAME + ": should be unchanged", in testSetBufferSize()
97 assertTrue(TEST_NAME + ": should be >0, but got " + resultZero, resultZero > 0); in testSetBufferSize()
98 assertTrue(TEST_NAME + ": zero size < original, but got " + resultZero, in testSetBufferSize()
100 assertEquals(TEST_NAME + ": should match resultZero", in testSetBufferSize()
104 assertTrue(TEST_NAME + ": set MAX_VALUE, >", resultMax > resultZero); in testSetBufferSize()
[all …]
DAudioNativeTest.java60 final String TEST_NAME = "testPlayStreamData"; in testPlayStreamData() local
99 assertTrue(TEST_NAME, in testPlayStreamData()
101 assertTrue(TEST_NAME, track.start()); in testPlayStreamData()
150 final String TEST_NAME = "testRecordStreamData"; in testRecordStreamData() local
265 final String TEST_NAME = "doRecordTest"; in doRecordTest() local
268 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest()
270 assertTrue(TEST_NAME, record.start()); in doRecordTest()
290 assertTrue(TEST_NAME, record.stop()); in doRecordTest()
DAudioRecordTest.java339 final String TEST_NAME = "testAudioRecordBuilderDefault"; in testAudioRecordBuilderDefault() local
355 assertEquals(TEST_NAME + ": default capture preset", expectedCapturePreset, observedSource); in testAudioRecordBuilderDefault()
356 assertEquals(TEST_NAME + ": default channel config", expectedChannel, observedChannel); in testAudioRecordBuilderDefault()
357 assertEquals(TEST_NAME + ": default encoding", expectedEncoding, observedEncoding); in testAudioRecordBuilderDefault()
358 assertEquals(TEST_NAME + ": state", expectedState, observedState); in testAudioRecordBuilderDefault()
368 final String TEST_NAME = "testAudioRecordBuilderPartialFormat"; in testAudioRecordBuilderPartialFormat() local
386 assertEquals(TEST_NAME + ": configured rate", expectedRate, observedRate); in testAudioRecordBuilderPartialFormat()
387 assertEquals(TEST_NAME + ": default channel config", expectedChannel, observedChannel); in testAudioRecordBuilderPartialFormat()
388 assertEquals(TEST_NAME + ": default encoding", expectedEncoding, observedEncoding); in testAudioRecordBuilderPartialFormat()
389 assertEquals(TEST_NAME + ": state", expectedState, observedState); in testAudioRecordBuilderPartialFormat()
[all …]
DAudioTrackSurroundTest.java190 final String TEST_NAME = "testLoadSineSweep"; in testLoadSineSweep() local
192 assertTrue(TEST_NAME + ": load sinesweepraw as shorts", shortData.length > 100); in testLoadSineSweep()
194 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()
198 final String TEST_NAME = "createAudioTrack"; in createAudioTrack() local
202 assertTrue(TEST_NAME + ": getMinBufferSize", minBufferSize > 0); in createAudioTrack()
348 final String TEST_NAME = "playAndMeasureRate"; in playAndMeasureRate() local
364 log(TEST_NAME, String.format("test using rate = %d, encoding = 0x%08x", in playAndMeasureRate()
369 assertEquals(TEST_NAME + ": track created" + getPcmWarning(), in playAndMeasureRate()
379 assertTrue(TEST_NAME + ": priming offset = " + mOffset + getPcmWarning(), in playAndMeasureRate()
386 log(TEST_NAME, "native rate = " in playAndMeasureRate()
[all …]
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DOptionHelperTest.java36 private static final String TEST_NAME = "test-name"; field in OptionHelperTest
45 @Option(name = TEST_NAME,
60 List<String> expectedNames = Arrays.asList(TEST_CLASS, TEST_NAME, TEST_SUITE); in testGetOptionNames()
80 "-" + TEST_SUITE_SHORTNAME, "foosuite", "--" + TEST_NAME, "footest"); in testGetValidCliArgs()
83 "--" + TEST_NAME + "=" + fakeTestMethod, "--" + TEST_FILTER, fakeTestClass + " " in testGetValidCliArgs()
86 TEST_NAME, "=", fakeTestMethod, "\" -z \"FAKE1 FAKE2\" --", TEST_FILTER, " \"", in testGetValidCliArgs()
97 + " -s foosuite " + "--" + TEST_NAME + " footest", this)); in testGetValidCliArgs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResult.java37 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/
Ddeqp_dummy_test_list3 test:TEST_NAME