Searched refs:mPrimaryDevice (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/mediametrics/ |
D | AudioPowerUsage.cpp | 265 saveAsItem_l(mPrimaryDevice, durationNs, VOICE_CALL_TYPE, mDeviceVolume); in checkMode() 315 if (mPrimaryDevice == device) return; in checkCreatePatch() 324 saveAsItem_l(mPrimaryDevice, durationNs, VOICE_CALL_TYPE, mDeviceVolume); in checkCreatePatch() 331 ALOGV("%s: new primary device:%#x old primary device:%#x", __func__, device, mPrimaryDevice); in checkCreatePatch() 332 mPrimaryDevice = device; in checkCreatePatch()
|
D | AudioPowerUsage.h | 101 int32_t mPrimaryDevice GUARDED_BY(mLock) = OUTPUT_SPEAKER;
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.cpp | 92 mPrimaryDevice(IPrimaryDevice::castFrom(device)) { in DeviceHalHidl() 118 if (mPrimaryDevice == 0) return INVALID_OPERATION; in setVoiceVolume() 119 return processReturn("setVoiceVolume", mPrimaryDevice->setVoiceVolume(volume)); in setVoiceVolume() 142 if (mPrimaryDevice == 0) return INVALID_OPERATION; in setMode() 143 return processReturn("setMode", mPrimaryDevice->setMode(AudioMode(mode))); in setMode()
|
D | DeviceHalHidl.h | 124 sp<IPrimaryDevice> mPrimaryDevice; // Null if it's not a primary device. variable
|