/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 70 int inputSource = InputDevice.SOURCE_UNKNOWN; in run() local 72 inputSource = SOURCES.get(command); in run() 81 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in run() 82 sendText(inputSource, args[index+1]); in run() 89 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in run() 96 sendKeyEvent(inputSource, keyCode, longpress); in run() 103 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run() 104 sendTap(inputSource, Float.parseFloat(args[index+1]), in run() 110 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run() 115 sendSwipe(inputSource, in run() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioSession.cpp | 30 audio_source_t inputSource, in AudioSession() argument 39 mSession(session), mInputSource(inputSource), in AudioSession() 102 other->inputSource() == mInputSource && in matches() 179 session, audioSession->uid(), audioSession->inputSource()); in addSession() 229 ((audioSession->inputSource() == source) || in isSourceActive() 231 (audioSession->inputSource() == AUDIO_SOURCE_HOTWORD) && in isSourceActive()
|
D | AudioInputDescriptor.cpp | 66 audio_source_t AudioInputDescriptor::inputSource() const in inputSource() function in android::AudioInputDescriptor 69 return mSessions.size() > 0 ? mSessions.valueAt(0)->inputSource() : in inputSource() 91 dstConfig->ext.mix.usecase.source = inputSource(); in toAudioPortConfig()
|
D | AudioPolicyMix.cpp | 231 audio_devices_t AudioPolicyMixCollection::getDeviceAndMixForInputSource(audio_source_t inputSource, in getDeviceAndMixForInputSource() argument 243 mix->mCriteria[j].mValue.mSource == inputSource) || in getDeviceAndMixForInputSource() 245 mix->mCriteria[j].mValue.mSource != inputSource)) { in getDeviceAndMixForInputSource()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 249 audio_source_t inputSource = attr->source; in getInputForAttr() local 252 if (inputSource >= AUDIO_SOURCE_CNT && inputSource != AUDIO_SOURCE_HOTWORD && in getInputForAttr() 253 inputSource != AUDIO_SOURCE_FM_TUNER) { in getInputForAttr() 257 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr() 258 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr() 261 if ((inputSource == AUDIO_SOURCE_HOTWORD) && !captureHotwordAllowed()) { in getInputForAttr() 269 *input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, in getInputForAttr() 279 status_t status = audioPolicyEffects->addInputEffects(*input, inputSource, session); in getInputForAttr()
|
D | AudioPolicyEffects.h | 61 audio_source_t inputSource,
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.h | 57 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource() argument 59 return mPolicyEngine->getDeviceForInputSource(inputSource); in getDeviceForInputSource() 132 audio_devices_t getDeviceForInputSource(audio_source_t inputSource) const;
|
D | Engine.cpp | 549 audio_devices_t Engine::getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource() 558 switch (inputSource) { in getDeviceForInputSource() 660 ALOGW("getDeviceForInputSource() invalid input source %d", inputSource); in getDeviceForInputSource() 664 ALOGV("getDeviceForInputSource() no device found for source %d", inputSource); in getDeviceForInputSource() 671 ALOGV("getDeviceForInputSource()input source %d, device %08x", inputSource, device); in getDeviceForInputSource()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 59 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource) const in getDeviceForInputSource() argument 61 return mPolicyEngine->getPropertyForKey<audio_devices_t, audio_source_t>(inputSource); in getDeviceForInputSource() 137 virtual bool setDeviceForInputSource(const audio_source_t &inputSource, in setDeviceForInputSource() argument 141 inputSource); in setDeviceForInputSource()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 59 public void clearEvents(int inputSource) { in clearEvents() argument 61 mNext.clearEvents(inputSource); in clearEvents()
|
D | EventStreamTransformation.java | 97 public void clearEvents(int inputSource); in clearEvents() argument
|
D | AutoclickController.java | 124 public void clearEvents(int inputSource) { in clearEvents() argument 125 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) { in clearEvents() 130 mNext.clearEvents(inputSource); in clearEvents()
|
D | MotionEventInjector.java | 114 public void clearEvents(int inputSource) { in clearEvents() argument 120 mOpenGesturesInProgress.put(inputSource, false); in clearEvents()
|
D | MagnificationGestureHandler.java | 184 public void clearEvents(int inputSource) { in clearEvents() argument 185 if (inputSource == InputDevice.SOURCE_TOUCHSCREEN) { in clearEvents() 190 mNext.clearEvents(inputSource); in clearEvents()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioSession.h | 35 audio_source_t inputSource, 48 audio_source_t inputSource()const { return mInputSource; } in inputSource() function
|
D | AudioPolicyMix.h | 75 audio_devices_t getDeviceAndMixForInputSource(audio_source_t inputSource,
|
D | AudioInputDescriptor.h | 60 audio_source_t inputSource() const;
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 171 AudioRecord(audio_source_t inputSource, 209 status_t set(audio_source_t inputSource, 244 audio_source_t inputSource() const { return mAttributes.source; } in inputSource() function
|
/frameworks/av/services/audiopolicy/engine/interface/ |
D | AudioPolicyManagerInterface.h | 59 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource) const = 0;
|
/frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
D | AudioPolicyPluginInterface.h | 139 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
|
/frameworks/av/include/media/stagefright/ |
D | AudioSource.h | 37 audio_source_t inputSource,
|
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 76 audio_source_t inputSource, in AudioRecord() argument 100 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user, in AudioRecord() 134 audio_source_t inputSource, in set() argument 153 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, in set() 187 mAttributes.source = inputSource; in set()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 316 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource); 625 audio_source_t inputSource, 643 audio_devices_t getDeviceAndMixForInputSource(audio_source_t inputSource,
|
D | AudioPolicyManager.cpp | 1416 audio_source_t inputSource = attr->source; in getInputForAttr() local 1420 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr() 1421 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr() 1423 halInputSource = inputSource; in getInputForAttr() 1433 mInputRoutes.addRoute(session, SessionRoute::STREAM_TYPE_NA, inputSource, deviceDesc, uid); in getInputForAttr() 1435 if (inputSource == AUDIO_SOURCE_REMOTE_SUBMIX && in getInputForAttr() 1445 device = getDeviceAndMixForInputSource(inputSource, &policyMix); in getInputForAttr() 1447 ALOGW("getInputForAttr() could not find device for source %d", inputSource); in getInputForAttr() 1473 *input = getInputForDevice(device, address, session, uid, inputSource, in getInputForAttr() 1489 audio_source_t inputSource, in getInputForDevice() argument [all …]
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 53 audio_source_t inputSource, const String16 &opPackageName, in AudioSource() argument 88 inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT, in AudioSource()
|