Home
last modified time | relevance | path

Searched refs:streamType (Results 1 – 13 of 13) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyActivity.java158 public int getMaxLevelForStream(int streamType) { in getMaxLevelForStream() argument
159 return mAudioManager.getStreamMaxVolume(streamType); in getMaxLevelForStream()
162 public void setLevelForStream(int streamType, int level) { in setLevelForStream() argument
164 mAudioManager.setStreamVolume(streamType, level, 0); in setLevelForStream()
170 public int getLevelForStream(int streamType) { in getLevelForStream() argument
171 return mAudioManager.getStreamVolume(streamType); in getLevelForStream()
DSoundPlayerObject.java263 public void setStreamType(int streamType) { in setStreamType() argument
264 mStreamType = streamType; in setStreamType()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DVolumeInfoTest.java92 private void exerciseParcelableWriteToParcelCreate(int streamType, AudioVolumeGroup group, in exerciseParcelableWriteToParcelCreate() argument
96 srcVIB = new VolumeInfo.Builder(streamType); in exerciseParcelableWriteToParcelCreate()
DAudioFocusTest.java682 final int streamType = AudioAttributes.toLegacyStreamType(NOTIFICATION_ATTRIBUTES); in testAudioFocusExclusive() local
683 mAM.setStreamVolume(streamType, mAM.getStreamMaxVolume(streamType), 0); in testAudioFocusExclusive()
751 final int streamType = AudioAttributes.toLegacyStreamType(NOTIFICATION_ATTRIBUTES); in testAudioFocusExclusiveAndRecording() local
752 mAM.setStreamVolume(streamType, mAM.getStreamMaxVolume(streamType), 0); in testAudioFocusExclusiveAndRecording()
DSoundDoseHelperTest.java75 public void volumeChanged(int streamType, int flags) throws RemoteException {
DAudioManagerTest.java263 for (int streamType : streamTypes) { in setUp()
264 mOriginalStreamVolumes.put(streamType, mAudioManager.getStreamVolume(streamType)); in setUp()
286 for (int streamType : streamTypes) { in setUp()
287 mAudioManager.setStreamVolume(streamType, INIT_VOL, 0 /* flags */); in setUp()
1901 for (int streamType : PUBLIC_STREAM_TYPES) { in testGetStreamVolumeDb()
1903 final int minIndex = mAudioManager.getStreamMinVolume(streamType); in testGetStreamVolumeDb()
1904 final int maxIndex = mAudioManager.getStreamMaxVolume(streamType); in testGetStreamVolumeDb()
1905 assertTrue("Min vol index (" + minIndex + ") for stream " + streamType + " not inferior" in testGetStreamVolumeDb()
1910 float gain = mAudioManager.getStreamVolumeDb(streamType, idx, in testGetStreamVolumeDb()
1913 + streamType, prevGain <= gain); in testGetStreamVolumeDb()
DAudioTrackLatencyTest.java180 public int streamType = AudioManager.STREAM_MUSIC; field in AudioTrackLatencyTest.TestSetup
196 mTrack = new AudioTrack(streamType, sampleRate, config, format, in createTrack()
DAudioTrackTest.java3680 public MockAudioTrack(int streamType, int sampleRateInHz, int channelConfig, in MockAudioTrack() argument
3682 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiResolutionReprocessCaptureTest.java786 String streamType = input ? "input" : "output"; in getMultiResReprocessInfo() local
791 + streamType + " stream for format " + format + ". Supported formats are " in getMultiResReprocessInfo()
798 + streamType + " stream info, expected at least 1", cameraId), in getMultiResReprocessInfo()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java468 for (String streamType : doc.streamTypes) { in openTypedDocument()
469 if (streamType.equals(mimeTypeFilter)) { in openTypedDocument()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java769 public void setVolumeControlStream(int streamType) { in setVolumeControlStream() argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java1043 public void setVolumeControlStream(int streamType) { in setVolumeControlStream() argument
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1584 field public static final int streamType = 16843273; // 0x1010209
42165 field public static final String KEY_PARAM_STREAM = "streamType";