Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DStreamDescriptor.cpp43 mIndexCur.add(AUDIO_DEVICE_OUT_DEFAULT_FOR_VOLUME, mIndexMax); in StreamDescriptor()
50 if (mIndexCur.indexOfKey(device) < 0) { in getVolumeIndex()
53 return mIndexCur.valueFor(device); in getVolumeIndex()
58 mIndexCur.clear(); in clearCurrentVolumeIndex()
63 mIndexCur.add(device, index); in addCurrentVolumeIndex()
91 for (size_t i = 0; i < mIndexCur.size(); i++) { in dump()
93 mIndexCur.keyAt(i), in dump()
94 mIndexCur.valueAt(i)); in dump()
DVolumeCurve.cpp89 for (size_t i = 0; i < mIndexCur.size(); i++) { in dump()
90 snprintf(buffer, SIZE, "%04x : %02d, ", mIndexCur.keyAt(i), mIndexCur.valueAt(i)); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h77 mIndexCur.add(AUDIO_DEVICE_OUT_DEFAULT_FOR_VOLUME, 0); in VolumeCurvesForStream()
92 if (mIndexCur.indexOfKey(device) < 0) { in getVolumeIndex()
95 return mIndexCur.valueFor(device); in getVolumeIndex()
99 void clearCurrentVolumeIndex() { mIndexCur.clear(); } in clearCurrentVolumeIndex()
100 void addCurrentVolumeIndex(audio_devices_t device, int index) { mIndexCur.add(device, index); } in addCurrentVolumeIndex()
111 return mIndexCur.indexOfKey(device) >= 0; in hasVolumeIndexForDevice()
146 KeyedVector<audio_devices_t, int> mIndexCur; /**< current volume index per device. */ variable
DStreamDescriptor.h44 return mIndexCur.indexOfKey(device) >= 0; in hasVolumeIndexForDevice()
57 KeyedVector<audio_devices_t, int> mIndexCur; /**< current volume index per device. */ variable