/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 116 private int getInputDeviceId(int inputSource) { in getInputDeviceId() argument 120 if (inputDev.supportsSource(inputSource)) { in getInputDeviceId() 157 private void injectMotionEvent(int inputSource, int action, long downTime, long when, in injectMotionEvent() argument 166 pointerProperties[i].toolType = getToolType(inputSource); in injectMotionEvent() 174 && (inputSource & InputDevice.SOURCE_CLASS_POINTER) != 0) { in injectMotionEvent() 179 DEFAULT_PRECISION_X, DEFAULT_PRECISION_Y, getInputDeviceId(inputSource), in injectMotionEvent() 180 DEFAULT_EDGE_FLAGS, inputSource, displayId, DEFAULT_FLAGS); in injectMotionEvent() 189 private int getSource(int inputSource, int defaultSource) { in getSource() argument 190 return inputSource == InputDevice.SOURCE_UNKNOWN ? defaultSource : inputSource; in getSource() 193 private int getToolType(int inputSource) { in getToolType() argument [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiorecord.cpp | 77 audio_source_t inputSource; in testRecord() local 86 &flags, &sessionId, &inputSource) != NUM_ARGUMENTS) { in testRecord() 98 attributes.source = inputSource; in testRecord()
|
D | record_test_input_v1.0_ref.txt | 4 # sampleRate format channelMask frameCount notificationFrames flags sessionId inputSource
|
/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/enginedefault/src/ |
D | Engine.cpp | 480 sp<DeviceDescriptor> Engine::getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource() 494 switch (inputSource) { in getDeviceForInputSource() 503 inputSource = AUDIO_SOURCE_VOICE_COMMUNICATION; in getDeviceForInputSource() 513 switch (inputSource) { in getDeviceForInputSource() 634 ALOGW("getDeviceForInputSource() invalid input source %d", inputSource); in getDeviceForInputSource() 638 ALOGV("getDeviceForInputSource() no device found for source %d", inputSource); in getDeviceForInputSource() 647 inputSource, device->type()); in getDeviceForInputSource()
|
D | Engine.h | 92 sp<DeviceDescriptor> getDeviceForInputSource(audio_source_t inputSource) const;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 211 AudioRecord(audio_source_t inputSource, 229 AudioRecord(audio_source_t inputSource, 269 status_t set(audio_source_t inputSource, 289 status_t set(audio_source_t inputSource, 329 audio_source_t inputSource() const { return mAttributes.source; } in inputSource() function
|
/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 | 591 audio_source_t inputSource = attr.source; in getInputForAttr() local 592 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr() 593 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr() 597 if ((inputSource < AUDIO_SOURCE_DEFAULT) in getInputForAttr() 598 || (inputSource >= AUDIO_SOURCE_CNT in getInputForAttr() 599 && inputSource != AUDIO_SOURCE_HOTWORD in getInputForAttr() 600 && inputSource != AUDIO_SOURCE_FM_TUNER in getInputForAttr() 601 && inputSource != AUDIO_SOURCE_ECHO_REFERENCE in getInputForAttr() 602 && inputSource != AUDIO_SOURCE_ULTRASOUND)) { in getInputForAttr() 618 if (!(recordingAllowed(attributionSource, inputSource) in getInputForAttr() [all …]
|
D | AudioPolicyEffects.h | 63 audio_source_t inputSource,
|
D | AudioPolicyEffects.cpp | 94 audio_source_t inputSource, in addInputEffects() argument 100 audio_source_t aliasSource = (inputSource == AUDIO_SOURCE_HOTWORD) ? in addInputEffects() 101 AUDIO_SOURCE_VOICE_RECOGNITION : inputSource; in addInputEffects()
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 143 audio_source_t inputSource, in AudioRecord() argument 169 (void)set(inputSource, sampleRate, format, channelMask, frameCount, callback, user, in AudioRecord() 176 audio_source_t inputSource, in AudioRecord() argument 201 (void)set(inputSource, sampleRate, format, channelMask, frameCount, callback, in AudioRecord() 290 audio_source_t inputSource, in set() argument 317 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, in set() 346 mAttributes.source = inputSource; in set() 347 if (inputSource == AUDIO_SOURCE_VOICE_COMMUNICATION in set() 348 || inputSource == AUDIO_SOURCE_CAMCORDER) { in set() 483 audio_source_t inputSource, in set() argument [all …]
|
/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 | 196 public void clearEvents(int inputSource) { in clearEvents() argument 197 if (inputSource == SOURCE_TOUCHSCREEN) { in clearEvents() 201 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 | 306 audio_source_t inputSource = getValue(&mFdp, kInputSources); in invokeAudioRecord() local 311 attributes.source = inputSource; in invokeAudioRecord() 331 record->inputSource(); in invokeAudioRecord()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 79 sp<DeviceDescriptor> getDeviceAndMixForInputSource(audio_source_t inputSource,
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 85 bool setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) override;
|
D | Engine.cpp | 389 bool Engine::setDeviceForInputSource(const audio_source_t &inputSource, uint64_t device) in setDeviceForInputSource() argument 395 return setPropertyForKey<audio_devices_t, audio_source_t>(deviceType, inputSource); in setDeviceForInputSource()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 402 audio_source_t inputSource, in getDeviceAndMixForInputSource() argument 414 mix->mCriteria[j].mValue.mSource == inputSource) || in getDeviceAndMixForInputSource() 416 mix->mCriteria[j].mValue.mSource != inputSource) || in getDeviceAndMixForInputSource()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 217 public void clearEvents(int inputSource) { in clearEvents() argument 218 if (inputSource == InputDevice.SOURCE_TOUCHSCREEN) { in clearEvents() 221 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
|