/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 150 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/ |
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 | 140 AudioCapture(audio_source_t inputSource, uint32_t sampleRate, audio_format_t format,
|
D | audio_test_utils.cpp | 354 AudioCapture::AudioCapture(audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, in AudioCapture() argument 358 : mInputSource(inputSource), in AudioCapture()
|
D | audiorecord_tests.cpp | 214 EXPECT_EQ(mInputSource, mAC->getAudioRecordHandle()->inputSource()); in TEST_P()
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 561 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 …]
|
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/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/base/core/tests/coretests/src/android/os/ |
D | VintfObjectTest.java | 65 var inputSource = new InputSource(new StringReader(content)); in rootAndType() local 66 var document = builder.parse(inputSource); in rootAndType()
|
/frameworks/av/services/audiopolicy/common/include/ |
D | policy.h | 147 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/ |
D | AudioPolicyPluginInterface.h | 84 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 618 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 …]
|
D | AudioPolicyEffects.h | 73 audio_source_t inputSource,
|
D | AudioPolicyEffects.cpp | 65 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/ |
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/libs/service_entitlement/java/com/android/libraries/entitlement/utils/ |
D | Ts43XmlDoc.java | 186 InputSource inputSource = new InputSource(new StringReader(responseBody)); in parseXmlResponse() local 189 Document doc = docBuilder.parse(inputSource); in parseXmlResponse()
|
/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/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationGestureHandler.java | 157 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/ |
D | AudioRecord.cpp | 138 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/ |
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()
|