Home
last modified time | relevance | path

Searched refs:mInputDevices (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h96 return mInputDevices; in getInputDevices()
107 mInputDevices.add(device); in addDevice()
112 mInputDevices.add(inputDevices); in addInputDevices()
156 DeviceVector mInputDevices; // Attached input devices. variable
/frameworks/base/core/java/android/hardware/input/
DInputManagerGlobal.java81 @Nullable private SparseArray<InputDevice> mInputDevices; field in InputManagerGlobal
198 int index = mInputDevices.indexOfKey(id); in getInputDevice()
203 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice()
211 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
231 if (mInputDevices == null) { in populateInputDevicesLocked()
239 mInputDevices = new SparseArray<>(); in populateInputDevicesLocked()
241 mInputDevices.put(id, null); in populateInputDevicesLocked()
259 for (int i = mInputDevices.size(); --i > 0; ) { in onInputDevicesChanged()
260 final int deviceId = mInputDevices.keyAt(i); in onInputDevicesChanged()
265 mInputDevices.removeAt(i); in onInputDevicesChanged()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp253 for (size_t i = 0; i < mInputDevices.size(); i++) { in augmentData()
254 if (mInputDevices[i]->address().empty()) { in augmentData()
255 if (mInputDevices[i]->type() == AUDIO_DEVICE_IN_BUILTIN_MIC) { in augmentData()
256 mInputDevices[i]->setAddress(AUDIO_BOTTOM_MICROPHONE_ADDRESS); in augmentData()
257 } else if (mInputDevices[i]->type() == AUDIO_DEVICE_IN_BACK_MIC) { in augmentData()
258 mInputDevices[i]->setAddress(AUDIO_BACK_MICROPHONE_ADDRESS); in augmentData()
266 &mHwModules, &mInputDevices, &mOutputDevices, &mDefaultOutputDevice)); in loadFromAidl()
305 mInputDevices.add(defaultInputDevice); in setDefault()
/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java71 private final HashMap<String, InputDeviceState> mInputDevices = field in PersistentDataStore
200 for (InputDeviceState state : mInputDevices.values()) { in removeUninstalledKeyboardLayouts()
214 return mInputDevices.get(inputDeviceDescriptor); in getInputDeviceState()
219 InputDeviceState state = mInputDevices.get(inputDeviceDescriptor); in getOrCreateInputDeviceState()
222 mInputDevices.put(inputDeviceDescriptor, state); in getOrCreateInputDeviceState()
241 mInputDevices.clear(); in clearState()
310 if (mInputDevices.containsKey(descriptor)) { in loadInputDevicesFromXml()
316 mInputDevices.put(descriptor, state); in loadInputDevicesFromXml()
347 for (Map.Entry<String, InputDeviceState> entry : mInputDevices.entrySet()) { in saveToXml()
DInputManagerService.java204 private InputDevice[] mInputDevices = new InputDevice[0]; field in InputManagerService
952 for (final InputDevice inputDevice : mInputDevices) { in getInputDevice()
988 final int count = mInputDevices.length; in getInputDeviceIds()
991 ids[i] = mInputDevices[i].getId(); in getInputDeviceIds()
1003 return mInputDevices; in getInputDevices()
1056 final int numDevices = mInputDevices.length; in deliverInputDevicesChanged()
1059 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged()
2226 mInputDevices).sendToTarget(); in notifyInputDevicesChanged()
2229 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp88 for (auto& inputDevice : mInputDevices) { in trackListener()
200 mInputDevices = inputDevices; in setInputDevices()
DLatencyTracker.h84 std::vector<InputDeviceInfo> mInputDevices; variable
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp164 return mInputDevices; in getInputDevices()
225 mInputDevices = inputDevices; in notifyInputDevicesChanged()
DFakeInputReaderPolicy.h95 std::vector<InputDeviceInfo> mInputDevices GUARDED_BY(mLock);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt20915 Landroid/hardware/input/InputManager;->mInputDevices:Landroid/util/SparseArray;