Searched refs:mPrimaryDevice (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/mediametrics/ |
D | AudioPowerUsage.cpp | 305 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()
|
D | AudioPowerUsage.h | 106 int32_t mPrimaryDevice GUARDED_BY(mLock) = OUTPUT_SPEAKER;
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.cpp | 53 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()
|
D | DeviceHalHidl.h | 127 sp<IPrimaryDevice> mPrimaryDevice; // Null if it's not a primary device. variable
|