Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java150 private int getInputDeviceId(int inputSource) { in getInputDeviceId() argument
154 if (inputDev.supportsSource(inputSource)) { in getInputDeviceId()
191 private void injectMotionEvent(int inputSource, int action, long downTime, long when, in injectMotionEvent() argument
198 injectMotionEvent(inputSource, action, downTime, when, axisValues, displayId); in injectMotionEvent()
211 private void injectMotionEvent(int inputSource, int action, long downTime, long when, in injectMotionEvent() argument
219 pointerProperties[i].toolType = getToolType(inputSource); in injectMotionEvent()
230 && (inputSource & InputDevice.SOURCE_CLASS_POINTER) != 0) { in injectMotionEvent()
235 DEFAULT_PRECISION_X, DEFAULT_PRECISION_Y, getInputDeviceId(inputSource), in injectMotionEvent()
236 DEFAULT_EDGE_FLAGS, inputSource, displayId, DEFAULT_FLAGS); in injectMotionEvent()
245 private int getSource(int inputSource, int defaultSource) { in getSource() argument
[all …]
/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiorecord.cpp74 audio_source_t inputSource; in testRecord() local
82 &inputSource) != NUM_ARGUMENTS) { in testRecord()
94 attributes.source = inputSource; in testRecord()
Drecord_test_input_v1.0_ref.txt4 # sampleRate format channelMask frameCount notificationFrames flags sessionId inputSource
Daudio_test_utils.h140 AudioCapture(audio_source_t inputSource, uint32_t sampleRate, audio_format_t format,
Daudio_test_utils.cpp354 AudioCapture::AudioCapture(audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, in AudioCapture() argument
358 : mInputSource(inputSource), in AudioCapture()
Daudiorecord_tests.cpp214 EXPECT_EQ(mInputSource, mAC->getAudioRecordHandle()->inputSource()); in TEST_P()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp561 const DeviceVector& availableInputDevices, audio_source_t inputSource) const { in getPreferredAvailableDevicesForInputSource()
565 inputSource, DEVICE_ROLE_PREFERRED, preferredDevices); in getPreferredAvailableDevicesForInputSource()
572 __func__, preferredAvailableDevVec.toString().c_str(), inputSource); in getPreferredAvailableDevicesForInputSource()
580 const DeviceVector& availableInputDevices, audio_source_t inputSource) const { in getDisabledDevicesForInputSource()
584 inputSource, DEVICE_ROLE_DISABLED, disabledDevicesTypeAddr); in getDisabledDevicesForInputSource()
592 sp<DeviceDescriptor> Engine::getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource()
606 switch (inputSource) { in getDeviceForInputSource()
615 inputSource = AUDIO_SOURCE_VOICE_COMMUNICATION; in getDeviceForInputSource()
624 availableDevices, inputSource); in getDeviceForInputSource()
633 availableDevices, inputSource); in getDeviceForInputSource()
[all …]
DEngine.h102 sp<DeviceDescriptor> getDeviceForInputSource(audio_source_t inputSource) const;
108 const DeviceVector& availableInputDevices, audio_source_t inputSource) const;
110 const DeviceVector& availableInputDevices, audio_source_t inputSource) const;
/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.java115 public void clearEvents(int inputSource) { in clearEvents() argument
116 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) { in clearEvents()
120 super.clearEvents(inputSource); in clearEvents()
DMotionEventInjector.java142 public void clearEvents(int inputSource) { in clearEvents() argument
148 mOpenGesturesInProgress.put(inputSource, false); in clearEvents()
/frameworks/base/core/tests/coretests/src/android/os/
DVintfObjectTest.java65 var inputSource = new InputSource(new StringReader(content)); in rootAndType() local
66 var document = builder.parse(inputSource); in rootAndType()
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h147 static inline int32_t source_priority(audio_source_t inputSource) in source_priority() argument
149 switch (inputSource) { in source_priority()
/frameworks/av/services/audiopolicy/engineconfigurable/interface/
DAudioPolicyPluginInterface.h84 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp618 audio_source_t inputSource = attr.source; in getInputForAttr() local
619 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr()
620 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr()
624 if ((inputSource < AUDIO_SOURCE_DEFAULT) in getInputForAttr()
625 || (inputSource >= AUDIO_SOURCE_CNT in getInputForAttr()
626 && inputSource != AUDIO_SOURCE_HOTWORD in getInputForAttr()
627 && inputSource != AUDIO_SOURCE_FM_TUNER in getInputForAttr()
628 && inputSource != AUDIO_SOURCE_ECHO_REFERENCE in getInputForAttr()
629 && inputSource != AUDIO_SOURCE_ULTRASOUND)) { in getInputForAttr()
647 if (!(recordingAllowed(attributionSource, inputSource) in getInputForAttr()
[all …]
DAudioPolicyEffects.h73 audio_source_t inputSource,
DAudioPolicyEffects.cpp65 audio_source_t inputSource, in addInputEffects() argument
71 audio_source_t aliasSource = (inputSource == AUDIO_SOURCE_HOTWORD) ? in addInputEffects()
72 AUDIO_SOURCE_VOICE_RECOGNITION : inputSource; in addInputEffects()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h188 AudioRecord(audio_source_t inputSource,
228 status_t set(audio_source_t inputSource,
267 audio_source_t inputSource() const { return mAttributes.source; } in inputSource() function
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/
DTs43XmlDoc.java186 InputSource inputSource = new InputSource(new StringReader(responseBody)); in parseXmlResponse() local
189 Document doc = docBuilder.parse(inputSource); in parseXmlResponse()
/frameworks/av/media/libaudioclient/fuzzer/
DREADME.md24 12. Input Source (parameter name: `inputSource`)
43 | `inputSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
Daudioflinger_fuzzer.cpp332 audio_source_t inputSource = getValue(&mFdp, kInputSources); in invokeAudioRecord() local
337 attributes.source = inputSource; in invokeAudioRecord()
357 record->inputSource(); in invokeAudioRecord()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java157 public void clearEvents(int inputSource) { in clearEvents() argument
158 if (inputSource == SOURCE_TOUCHSCREEN) { in clearEvents()
161 super.clearEvents(inputSource); in clearEvents()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp138 audio_source_t inputSource, in AudioRecord() argument
157 (void)set(inputSource, sampleRate, format, channelMask, frameCount, callback, in AudioRecord()
212 audio_source_t inputSource, in set() argument
239 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, in set()
268 mAttributes.source = inputSource; in set()
269 if (inputSource == AUDIO_SOURCE_VOICE_COMMUNICATION in set()
270 || inputSource == AUDIO_SOURCE_CAMCORDER) { in set()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h99 bool setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) override;
DEngine.cpp516 bool Engine::setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) in setDeviceForInputSource() argument
522 return setPropertyForKey<audio_devices_t, audio_source_t>(deviceType, inputSource); in setDeviceForInputSource()

12