Home
last modified time | relevance | path

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

/frameworks/av/services/mediametrics/
DAudioPowerUsage.cpp305 saveAsItems_l(mPrimaryDevice, durationNs, VOICE_CALL_TYPE, mDeviceVolume); in checkMode()
355 if (mPrimaryDevice == device) return; in checkCreatePatch()
364 saveAsItems_l(mPrimaryDevice, durationNs, VOICE_CALL_TYPE, mDeviceVolume); in checkCreatePatch()
371 ALOGV("%s: new primary device:%#x old primary device:%#x", __func__, device, mPrimaryDevice); in checkCreatePatch()
372 mPrimaryDevice = device; in checkCreatePatch()
DAudioPowerUsage.h106 int32_t mPrimaryDevice GUARDED_BY(mLock) = OUTPUT_SPEAKER;
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.cpp53 mPrimaryDevice(IPrimaryDevice::castFrom(device)) { in DeviceHalHidl()
79 if (mPrimaryDevice == 0) return INVALID_OPERATION; in setVoiceVolume()
80 return processReturn("setVoiceVolume", mPrimaryDevice->setVoiceVolume(volume)); in setVoiceVolume()
103 if (mPrimaryDevice == 0) return INVALID_OPERATION; in setMode()
104 return processReturn("setMode", mPrimaryDevice->setMode(AudioMode(mode))); in setMode()
DDeviceHalHidl.h127 sp<IPrimaryDevice> mPrimaryDevice; // Null if it's not a primary device. variable