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.java1633 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument
1634 int srcRange = getIndexRange(srcStream); in rescaleIndex()
1642 + ((index - mStreamStates[srcStream].getMinIndex()) * dstRange + srcRange / 2) in rescaleIndex()
1646 private int rescaleStep(int step, int srcStream, int dstStream) { in rescaleStep() argument
1647 int srcRange = getIndexRange(srcStream); in rescaleStep()
5135 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument
5136 if (mStreamType == srcStream.mStreamType) { in setAllIndexes()
5139 int srcStreamType = srcStream.getStreamType(); in setAllIndexes()
5142 int index = srcStream.getIndex(AudioSystem.DEVICE_OUT_DEFAULT); in setAllIndexes()
5148 SparseIntArray srcMap = srcStream.mIndexMap; in setAllIndexes()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h816 audio_stream_type_t srcStream);
DAudioPolicyManager.cpp873 audio_stream_type_t srcStream) in getAudioAttributes() argument
885 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()
889 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()