Home
last modified time | relevance | path

Searched refs:inputSource (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java88 int inputSource = InputDevice.SOURCE_UNKNOWN; in onRun() local
92 inputSource = SOURCES.get(arg); in onRun()
107 cmd.run(inputSource, displayId); in onRun()
138 public void run(int inputSource, int displayId) { in run() argument
139 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in run()
140 sendText(inputSource, nextArgRequired(), displayId); in run()
181 public void run(int inputSource, int displayId) { in run() argument
190 sendKeyEvent(inputSource, keycode, longpress, displayId); in run()
194 private void sendKeyEvent(int inputSource, int keyCode, boolean longpress, int displayId) { in sendKeyEvent() argument
200 inputSource); in sendKeyEvent()
[all …]
/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiorecord.cpp70 audio_source_t inputSource; in testRecord() local
79 &flags, &sessionId, &inputSource) != NUM_ARGUMENTS) { in testRecord()
91 attributes.source = inputSource; in testRecord()
Drecord_test_input_v1.0_ref.txt4 # sampleRate format channelMask frameCount notificationFrames flags sessionId inputSource
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DEventStreamTransformation.java119 default void clearEvents(int inputSource) { in clearEvents() argument
122 next.clearEvents(inputSource); in clearEvents()
DAutoclickController.java104 public void clearEvents(int inputSource) { in clearEvents() argument
105 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) { in clearEvents()
109 super.clearEvents(inputSource); in clearEvents()
DMagnificationGestureHandler.java240 public void clearEvents(int inputSource) { in clearEvents() argument
241 if (inputSource == SOURCE_TOUCHSCREEN) { in clearEvents()
245 super.clearEvents(inputSource); in clearEvents()
DMotionEventInjector.java128 public void clearEvents(int inputSource) { in clearEvents() argument
134 mOpenGesturesInProgress.put(inputSource, false); in clearEvents()
DTouchExplorer.java214 public void clearEvents(int inputSource) { in clearEvents() argument
215 if (inputSource == InputDevice.SOURCE_TOUCHSCREEN) { in clearEvents()
218 super.clearEvents(inputSource); in clearEvents()
DAccessibilityInputFilter.java334 public void clearEvents(int inputSource) { in clearEvents() argument
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp470 sp<DeviceDescriptor> Engine::getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource()
484 switch (inputSource) { in getDeviceForInputSource()
492 inputSource = AUDIO_SOURCE_VOICE_COMMUNICATION; in getDeviceForInputSource()
499 switch (inputSource) { in getDeviceForInputSource()
550 if (inputSource == AUDIO_SOURCE_HOTWORD) { in getDeviceForInputSource()
592 ALOGW("getDeviceForInputSource() invalid input source %d", inputSource); in getDeviceForInputSource()
596 ALOGV("getDeviceForInputSource() no device found for source %d", inputSource); in getDeviceForInputSource()
604 inputSource, device->type()); in getDeviceForInputSource()
DEngine.h83 sp<DeviceDescriptor> getDeviceForInputSource(audio_source_t inputSource) const;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp362 audio_source_t inputSource = attr->source; in getInputForAttr() local
363 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr()
364 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr()
368 if ((inputSource < AUDIO_SOURCE_DEFAULT) in getInputForAttr()
369 || (inputSource >= AUDIO_SOURCE_CNT in getInputForAttr()
370 && inputSource != AUDIO_SOURCE_HOTWORD in getInputForAttr()
371 && inputSource != AUDIO_SOURCE_FM_TUNER in getInputForAttr()
372 && inputSource != AUDIO_SOURCE_ECHO_REFERENCE)) { in getInputForAttr()
401 if ((inputSource == AUDIO_SOURCE_VOICE_UPLINK || in getInputForAttr()
402 inputSource == AUDIO_SOURCE_VOICE_DOWNLINK || in getInputForAttr()
[all …]
DAudioPolicyEffects.h63 audio_source_t inputSource,
DAudioPolicyEffects.cpp92 audio_source_t inputSource, in addInputEffects() argument
98 audio_source_t aliasSource = (inputSource == AUDIO_SOURCE_HOTWORD) ? in addInputEffects()
99 AUDIO_SOURCE_VOICE_RECOGNITION : inputSource; in addInputEffects()
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h141 static inline int32_t source_priority(audio_source_t inputSource) in source_priority() argument
143 switch (inputSource) { in source_priority()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h83 bool setDeviceForInputSource(const audio_source_t &inputSource, audio_devices_t device) override in setDeviceForInputSource() argument
85 return setPropertyForKey<audio_devices_t, audio_source_t>(device, inputSource); in setDeviceForInputSource()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h185 AudioRecord(audio_source_t inputSource,
227 status_t set(audio_source_t inputSource,
266 audio_source_t inputSource() const { return mAttributes.source; } in inputSource() function
/frameworks/av/services/audiopolicy/engineconfigurable/interface/
DAudioPolicyPluginInterface.h84 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h78 sp<DeviceDescriptor> getDeviceAndMixForInputSource(audio_source_t inputSource,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp355 audio_source_t inputSource, in getDeviceAndMixForInputSource() argument
366 mix->mCriteria[j].mValue.mSource == inputSource) || in getDeviceAndMixForInputSource()
368 mix->mCriteria[j].mValue.mSource != inputSource)) { in getDeviceAndMixForInputSource()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h40 audio_source_t inputSource,
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp131 audio_source_t inputSource, in AudioRecord() argument
157 (void)set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user, in AudioRecord()
194 audio_source_t inputSource, in set() argument
223 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, in set()
266 mAttributes.source = inputSource; in set()
/frameworks/av/media/libstagefright/
DAudioSource.cpp53 audio_source_t inputSource, const String16 &opPackageName, in AudioSource() argument
95 inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT, in AudioSource()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java114 public void clearEvents(int inputSource) { in clearEvents() argument
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt112440 Ljavax/xml/transform/sax/SAXSource;->inputSource:Lorg/xml/sax/InputSource;