Home
last modified time | relevance | path

Searched refs:mDevices (Results 1 – 9 of 9) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DInputDeviceManager.cpp30 if (mDevices[node] == nullptr) { in onInputEvent()
34 mDevices[node]->processInput(event, event_time); in onInputEvent()
38 mDevices[node] = std::make_shared<EvdevDevice>(mHost, node); in onDeviceAdded()
42 if (mDevices[node] == nullptr) { in onDeviceRemoved()
49 mDevices.erase(node); in onDeviceRemoved()
DInputDeviceManager.h54 DeviceMap<InputDeviceNode, InputDeviceInterface> mDevices; variable
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamOutALSA.cpp163 if((mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)|| in write()
164 (mDevices & AudioSystem::DEVICE_OUT_DGTL_DOCK_HEADSET)|| in write()
165 (mDevices & AudioSystem::DEVICE_OUT_PROXY)) { in write()
166 mDevices |= AudioSystem::DEVICE_OUT_PROXY; in write()
167 mHandle->module->route(mHandle, mDevices , mParent->mode()); in write()
171 mHandle->module->route(mHandle, mDevices , AudioSystem::MODE_IN_COMMUNICATION); in write()
174 } else if((mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)|| in write()
175 (mDevices & AudioSystem::DEVICE_OUT_DGTL_DOCK_HEADSET)|| in write()
176 (mDevices & AudioSystem::DEVICE_OUT_PROXY)) { in write()
177 mDevices |= AudioSystem::DEVICE_OUT_PROXY; in write()
[all …]
DALSAStreamOps.cpp99 mDevices = device; in set()
209 if ((device == 0) && (mDevices == AudioSystem::DEVICE_OUT_AUX_DIGITAL)) { in setParameters()
213 mDevices = device; in setParameters()
227 mDevices = device; in setParameters()
246 param.addInt(key, (int)mDevices); in getParameters()
DAudioStreamInALSA.cpp249 if((mDevices & AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET) || in read()
250 (mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)) { in read()
251 …mHandle->module->route(mHandle, (mDevices | AudioSystem::DEVICE_IN_PROXY) , AudioSystem::MODE_IN_C… in read()
255 mHandle->module->route(mHandle, mDevices , AudioSystem::MODE_IN_COMMUNICATION); in read()
266 mHandle->module->route(mHandle, mDevices , mParent->mode()); in read()
308 if(((mDevices & AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET) || in read()
309 (mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)) && in read()
DAudioHardwareALSA.h287 uint32_t mDevices; variable
/hardware/interfaces/audio/core/all-versions/vts/functional/
DDeviceManager.h238 return mDevices.get(factoryName, name); in get()
248 : mDevices.reset(factoryName, name); in reset()
277 impl::RegularDeviceManager mDevices; variable
/hardware/google/gfxstream/host/magma/
DIntelDrmDecoder.cpp80 *device_out = mDevices.create(std::move(*device)); in magma_device_import()
162 auto dev = mDevices.get(device); in magma_device_query_fudge()
329 auto dev = mDevices.get(device); in magma_device_create_connection()
DIntelDrmDecoder.h54 MonotonicMap<magma_device_t, DrmDevice> mDevices; variable