/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 117 private int getInputDeviceId(int inputSource) { in getInputDeviceId() argument 121 if (inputDev.supportsSource(inputSource)) { in getInputDeviceId() 158 private void injectMotionEvent(int inputSource, int action, long downTime, long when, in injectMotionEvent() argument 167 pointerProperties[i].toolType = getToolType(inputSource); in injectMotionEvent() 175 && (inputSource & InputDevice.SOURCE_CLASS_POINTER) != 0) { in injectMotionEvent() 180 DEFAULT_PRECISION_X, DEFAULT_PRECISION_Y, getInputDeviceId(inputSource), in injectMotionEvent() 181 DEFAULT_EDGE_FLAGS, inputSource, displayId, DEFAULT_FLAGS); in injectMotionEvent() 190 private int getSource(int inputSource, int defaultSource) { in getSource() argument 191 return inputSource == InputDevice.SOURCE_UNKNOWN ? defaultSource : inputSource; in getSource() 194 private int getToolType(int inputSource) { in getToolType() argument [all …]
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 497 const DeviceVector& availableInputDevices, audio_source_t inputSource) const { in getPreferredAvailableDevicesForInputSource() 501 inputSource, DEVICE_ROLE_PREFERRED, preferredDevices); in getPreferredAvailableDevicesForInputSource() 508 __func__, preferredAvailableDevVec.toString().c_str(), inputSource); in getPreferredAvailableDevicesForInputSource() 516 const DeviceVector& availableInputDevices, audio_source_t inputSource) const { in getDisabledDevicesForInputSource() 520 inputSource, DEVICE_ROLE_DISABLED, disabledDevicesTypeAddr); in getDisabledDevicesForInputSource() 528 sp<DeviceDescriptor> Engine::getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource() 542 switch (inputSource) { in getDeviceForInputSource() 551 inputSource = AUDIO_SOURCE_VOICE_COMMUNICATION; in getDeviceForInputSource() 560 availableDevices, inputSource); in getDeviceForInputSource() 569 availableDevices, inputSource); in getDeviceForInputSource() [all …]
|
D | Engine.h | 102 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/av/media/libaudioclient/tests/ |
D | test_create_audiorecord.cpp | 74 audio_source_t inputSource; in testRecord() local 82 &inputSource) != NUM_ARGUMENTS) { in testRecord() 94 attributes.source = inputSource; in testRecord()
|
D | record_test_input_v1.0_ref.txt | 4 # sampleRate format channelMask frameCount notificationFrames flags sessionId inputSource
|
D | audio_test_utils.h | 145 AudioCapture(audio_source_t inputSource, uint32_t sampleRate, audio_format_t format,
|
D | audiorecord_tests.cpp | 182 EXPECT_EQ(mInputSource, mAC->getAudioRecordHandle()->inputSource()); in TEST_P()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | EventStreamTransformation.java | 119 default void clearEvents(int inputSource) { in clearEvents() argument 122 next.clearEvents(inputSource); in clearEvents()
|
D | AutoclickController.java | 115 public void clearEvents(int inputSource) { in clearEvents() argument 116 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) { in clearEvents() 120 super.clearEvents(inputSource); in clearEvents()
|
D | MotionEventInjector.java | 142 public void clearEvents(int inputSource) { in clearEvents() argument 148 mOpenGesturesInProgress.put(inputSource, false); in clearEvents()
|
/frameworks/av/services/audiopolicy/common/include/ |
D | policy.h | 142 static inline int32_t source_priority(audio_source_t inputSource) in source_priority() argument 144 switch (inputSource) { in source_priority()
|
/frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
D | AudioPolicyPluginInterface.h | 84 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 611 audio_source_t inputSource = attr.source; in getInputForAttr() local 612 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr() 613 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr() 617 if ((inputSource < AUDIO_SOURCE_DEFAULT) in getInputForAttr() 618 || (inputSource >= AUDIO_SOURCE_CNT in getInputForAttr() 619 && inputSource != AUDIO_SOURCE_HOTWORD in getInputForAttr() 620 && inputSource != AUDIO_SOURCE_FM_TUNER in getInputForAttr() 621 && inputSource != AUDIO_SOURCE_ECHO_REFERENCE in getInputForAttr() 622 && inputSource != AUDIO_SOURCE_ULTRASOUND)) { in getInputForAttr() 638 if (!(recordingAllowed(attributionSource, inputSource) in getInputForAttr() [all …]
|
D | AudioPolicyEffects.h | 74 audio_source_t inputSource,
|
D | AudioPolicyEffects.cpp | 93 audio_source_t inputSource, in addInputEffects() argument 99 audio_source_t aliasSource = (inputSource == AUDIO_SOURCE_HOTWORD) ? in addInputEffects() 100 AUDIO_SOURCE_VOICE_RECOGNITION : inputSource; in addInputEffects()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 188 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/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationGestureHandler.java | 148 public void clearEvents(int inputSource) { in clearEvents() argument 149 if (inputSource == SOURCE_TOUCHSCREEN) { in clearEvents() 152 super.clearEvents(inputSource); in clearEvents()
|
D | FullScreenMagnificationGestureHandler.java | 237 public void clearEvents(int inputSource) { in clearEvents() argument 238 if (inputSource == SOURCE_TOUCHSCREEN) { in clearEvents() 242 super.clearEvents(inputSource); in clearEvents()
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | README.md | 24 12. Input Source (parameter name: `inputSource`) 43 | `inputSource` | 14 values of type `audio_source_t` | Value chosen from valid values by obtaining …
|
D | audioflinger_fuzzer.cpp | 332 audio_source_t inputSource = getValue(&mFdp, kInputSources); in invokeAudioRecord() local 337 attributes.source = inputSource; in invokeAudioRecord() 357 record->inputSource(); in invokeAudioRecord()
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 143 audio_source_t inputSource, in AudioRecord() argument 168 (void)set(inputSource, sampleRate, format, channelMask, frameCount, callback, in AudioRecord() 226 audio_source_t inputSource, in set() argument 253 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, in set() 282 mAttributes.source = inputSource; in set() 283 if (inputSource == AUDIO_SOURCE_VOICE_COMMUNICATION in set() 284 || inputSource == AUDIO_SOURCE_CAMCORDER) { in set()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 99 bool setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) override;
|
D | Engine.cpp | 516 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()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 220 public void clearEvents(int inputSource) { in clearEvents() argument 221 if (inputSource == InputDevice.SOURCE_TOUCHSCREEN) { in clearEvents() 224 super.clearEvents(inputSource); in clearEvents()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 129 public void clearEvents(int inputSource) { in clearEvents() argument
|