Home
last modified time | relevance | path

Searched refs:srcStream (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp44 std::ifstream srcStream(srcFile); in copyFile() local
45 if (!srcStream) { in copyFile()
54 dstStream << srcStream.rdbuf(); in copyFile()
60 srcStream.close(); in copyFile()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1775 private int getUiDefaultRescaledIndex(int srcStream, int dstStream) { in getUiDefaultRescaledIndex() argument
1776 return (rescaleIndex(AudioSystem.DEFAULT_STREAM_VOLUME[srcStream] * 10, in getUiDefaultRescaledIndex()
1777 srcStream, dstStream) + 5) / 10; in getUiDefaultRescaledIndex()
2334 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument
2335 int srcRange = getIndexRange(srcStream); in rescaleIndex()
2343 + ((index - mStreamStates[srcStream].getMinIndex()) * dstRange + srcRange / 2) in rescaleIndex()
2347 private int rescaleStep(int step, int srcStream, int dstStream) { in rescaleStep() argument
2348 int srcRange = getIndexRange(srcStream); in rescaleStep()
7081 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument
7082 if (mStreamType == srcStream.mStreamType) { in setAllIndexes()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h918 audio_stream_type_t srcStream);
DAudioPolicyManager.cpp948 audio_stream_type_t srcStream) in getAudioAttributes() argument
960 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()
964 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()