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.java2399 private int getUiDefaultRescaledIndex(int srcStream, int dstStream) { in getUiDefaultRescaledIndex() argument
2400 return (rescaleIndex(AudioSystem.DEFAULT_STREAM_VOLUME[srcStream] * 10, in getUiDefaultRescaledIndex()
2401 srcStream, dstStream) + 5) / 10; in getUiDefaultRescaledIndex()
2992 private int rescaleIndex(int index, int srcStream, VolumeInfo dstVolumeInfo) { in rescaleIndex() argument
3000 mStreamStates[srcStream].getMinIndex(), mStreamStates[srcStream].getMaxIndex(), in rescaleIndex()
3004 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument
3006 mStreamStates[srcStream].getMinIndex(), mStreamStates[srcStream].getMaxIndex(), in rescaleIndex()
3020 private int rescaleStep(int step, int srcStream, int dstStream) { in rescaleStep() argument
3021 int srcRange = getIndexRange(srcStream); in rescaleStep()
9124 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h1119 audio_stream_type_t srcStream);
DAudioPolicyManager.cpp1165 audio_stream_type_t srcStream) in getAudioAttributes() argument
1177 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()
1181 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()