Home
last modified time | relevance | path

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

/frameworks/av/services/mediametrics/
DAudioPowerUsage.cpp424 saveAsItems_l(mPrimaryDevice, durationNs, VOICE_CALL_TYPE, mDeviceVolume, in checkMode()
481 if (mPrimaryDevice == device) return; in checkCreatePatch()
495 saveAsItems_l(mPrimaryDevice, durationNs, VOICE_CALL_TYPE, mDeviceVolume, in checkCreatePatch()
508 ALOGV("%s: new primary device:%#x old primary device:%#x", __func__, device, mPrimaryDevice); in checkCreatePatch()
509 mPrimaryDevice = device; in checkCreatePatch()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.cpp84 mPrimaryDevice(device), in DeviceHalHidl()
87 auto getDeviceRet = mPrimaryDevice->getDevice(); in DeviceHalHidl()
136 if (mPrimaryDevice == 0) return INVALID_OPERATION; in setVoiceVolume()
137 return processReturn("setVoiceVolume", mPrimaryDevice->setVoiceVolume(volume)); in setVoiceVolume()
163 if (mPrimaryDevice == 0) return INVALID_OPERATION; in setMode()
164 return processReturn("setMode", mPrimaryDevice->setMode(AudioMode(mode))); in setMode()
DDeviceHalHidl.h156 sp<::android::hardware::audio::CPP_VERSION::IPrimaryDevice> mPrimaryDevice; variable
/frameworks/av/services/mediametrics/include/mediametricsservice/
DAudioPowerUsage.h123 int32_t mPrimaryDevice GUARDED_BY(mLock) = OUTPUT_SPEAKER;