Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp43 std::ifstream srcStream(srcFile); in copyFile() local
44 if (!srcStream) { in copyFile()
53 dstStream << srcStream.rdbuf(); in copyFile()
59 srcStream.close(); in copyFile()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1587 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument
1589 mStreamStates[srcStream].getMaxIndex() - mStreamStates[srcStream].getMinIndex(); in rescaleIndex()
1599 + ((index - mStreamStates[srcStream].getMinIndex()) * dstRange + srcRange / 2) in rescaleIndex()
4809 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument
4810 if (mStreamType == srcStream.mStreamType) { in setAllIndexes()
4813 int srcStreamType = srcStream.getStreamType(); in setAllIndexes()
4816 int index = srcStream.getIndex(AudioSystem.DEVICE_OUT_DEFAULT); in setAllIndexes()
4822 SparseIntArray srcMap = srcStream.mIndexMap; in setAllIndexes()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h798 audio_stream_type_t srcStream);
DAudioPolicyManager.cpp901 audio_stream_type_t srcStream) in getAudioAttributes() argument
913 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()
917 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()