/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyActivity.java | 158 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()
|
D | SoundPlayerObject.java | 263 public void setStreamType(int streamType) { in setStreamType() argument 264 mStreamType = streamType; in setStreamType()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | VolumeInfoTest.java | 92 private void exerciseParcelableWriteToParcelCreate(int streamType, AudioVolumeGroup group, in exerciseParcelableWriteToParcelCreate() argument 96 srcVIB = new VolumeInfo.Builder(streamType); in exerciseParcelableWriteToParcelCreate()
|
D | AudioFocusTest.java | 682 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()
|
D | SoundDoseHelperTest.java | 75 public void volumeChanged(int streamType, int flags) throws RemoteException {
|
D | AudioManagerTest.java | 263 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()
|
D | AudioTrackLatencyTest.java | 180 public int streamType = AudioManager.STREAM_MUSIC; field in AudioTrackLatencyTest.TestSetup 196 mTrack = new AudioTrack(streamType, sampleRate, config, format, in createTrack()
|
D | AudioTrackTest.java | 3680 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/ |
D | MultiResolutionReprocessCaptureTest.java | 786 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/ |
D | MyDocumentsProvider.java | 468 for (String streamType : doc.streamTypes) { in openTypedDocument() 469 if (streamType.equals(mimeTypeFilter)) { in openTypedDocument()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 769 public void setVolumeControlStream(int streamType) { in setVolumeControlStream() argument
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowTest.java | 1043 public void setVolumeControlStream(int streamType) { in setVolumeControlStream() argument
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 1584 field public static final int streamType = 16843273; // 0x1010209 42165 field public static final String KEY_PARAM_STREAM = "streamType";
|