Home
last modified time | relevance | path

Searched refs:STATE_INITIALIZED (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioRecordSharedAudioTest.java89 assertEquals(AudioRecord.STATE_INITIALIZED, record.getState()); in testPermissionFailure()
114 assertEquals(AudioRecord.STATE_INITIALIZED, record.getState()); in testPermissionSuccess()
153 assertEquals(AudioRecord.STATE_INITIALIZED, record.getState()); in testBadValues()
186 assertEquals(AudioRecord.STATE_INITIALIZED, record1.getState()); in testCapturesMatch()
212 assertEquals(AudioRecord.STATE_INITIALIZED, record2.getState()); in testCapturesMatch()
DAudioTrackTest.java158 AudioFormat.ENCODING_PCM_16BIT, AudioTrack.STATE_INITIALIZED); in testConstructorMono16MusicStream()
170 AudioFormat.ENCODING_PCM_16BIT, AudioTrack.STATE_INITIALIZED); in testConstructorStereo16MusicStream()
210 AudioFormat.ENCODING_PCM_8BIT, AudioTrack.STATE_INITIALIZED); in testConstructorMono8MusicStream()
222 AudioFormat.ENCODING_PCM_8BIT, AudioTrack.STATE_INITIALIZED); in testConstructorStereo8MusicStream()
285 if (track.getState() != AudioTrack.STATE_INITIALIZED) { in testConstructorStreamType()
328 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderDefault()
359 assertEquals(TEST_NAME + ": Track initialized", AudioTrack.STATE_INITIALIZED, in testBuilderFormat()
468 assertEquals(AudioTrack.STATE_INITIALIZED, track.getState()); in testBuilderWithContext()
501 assertTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterInit()
524 assertTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionIncrease()
[all …]
DAudioRecordingConfigurationTest.java116 assertEquals(AudioRecord.STATE_INITIALIZED, mAudioRecord.getState()); in testAudioManagerGetActiveRecordConfigurations()
176 assertEquals(AudioRecord.STATE_INITIALIZED, mAudioRecord.getState()); in doCallbackTest()
232 assertEquals(AudioRecord.STATE_INITIALIZED, mAudioRecord.getState()); in testParcel()
DAudioPreProcessingTest.java241 AudioRecord.STATE_INITIALIZED, ar.getState()); in getAudioRecord()
DAudioRecordTest.java176 assertEquals(AudioRecord.STATE_INITIALIZED, mAudioRecord.getState()); in testAudioRecordProperties()
192 assertEquals(AudioRecord.STATE_INITIALIZED, mAudioRecord.getState()); in testAudioRecordOP()
460 final int expectedState = AudioRecord.STATE_INITIALIZED; in testAudioRecordBuilderDefault()
487 final int expectedState = AudioRecord.STATE_INITIALIZED; in testAudioRecordBuilderPartialFormat()
523 final int expectedState = AudioRecord.STATE_INITIALIZED; in testAudioRecordBuilderParams()
563 assertEquals(regularRecord.getState(), AudioRecord.STATE_INITIALIZED); in testAudioRecordBuilderHotword()
576 assertEquals(regularRecord.getState(), AudioRecord.STATE_INITIALIZED); in testAudioRecordBuilderHotword()
673 assertEquals(TEST_NAME + ": state", AudioRecord.STATE_INITIALIZED, observedState2); in testAudioRecordBufferSize()
1107 .isEqualTo(AudioRecord.STATE_INITIALIZED); in doTest()
DMediaSyncEventTest.java99 assertEquals(TEST_NAME, AudioRecord.STATE_INITIALIZED, record.getState()); in testSynchronizedRecord()
DRemoteSubmixTest.java141 assertEquals("AudioRecord failed to initialized", AudioRecord.STATE_INITIALIZED, in createPlaybackCaptureRecord()
DAudioPlaybackCaptureTest.java173 assertEquals("AudioRecord failed to initialized", AudioRecord.STATE_INITIALIZED, in createPlaybackCaptureRecord()
DAudioTrackSurroundTest.java369 AudioTrack.STATE_INITIALIZED, in playAndMeasureRate()
DAudioTrackLatencyTest.java673 AudioTrack.STATE_INITIALIZED, track.getState()); in checkSmallSize()
DAudioEffectTest.java123 AudioRecord.STATE_INITIALIZED, ar.getState()); in getAudioRecord()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DUnlockedDeviceRequiredKeysTest.java287 private static final int STATE_INITIALIZED = 0; field in UnlockedDeviceRequiredKeysTest.TestController
334 STATE_INITIALIZED,
382 case STATE_INITIALIZED: in updateTestState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioRecordHelper.java44 if (testAudioRecord.getState() == AudioRecord.STATE_INITIALIZED) { in AudioRecordHelper()
DSoundRecorderObject.java136 if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initRecord()
DAudioFrequencySpeakerActivity.java618 if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initRecord()
DAudioFrequencyLineActivity.java597 if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initRecord()
DAudioFrequencyMicActivity.java825 if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initRecord()
DAudioFrequencyUnprocessedActivity.java1057 if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initRecord()
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java408 AudioTrack.STATE_INITIALIZED, in testVisualizerCapture_CVE_2017_0396()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainHotwordDetectionService.java580 if (record.getState() != AudioRecord.STATE_INITIALIZED) { in canReadAudio()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java577 assertEquals(AudioTrack.STATE_INITIALIZED, mTrack.getState()); in AudioRecordAudit()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1280 record.getState(), is(AudioRecord.STATE_INITIALIZED)); in testRecordAudioPermission()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DHotwordDetectionServiceBasicTest.java1671 assertThat(record.getState()).isEqualTo(AudioRecord.STATE_INITIALIZED); in testHotwordDetectionService_concurrentCapture()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt21772 field public static final int STATE_INITIALIZED = 1; // 0x1
21956 field public static final int STATE_INITIALIZED = 1; // 0x1
25876 field public static final int STATE_INITIALIZED = 1; // 0x1