Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java70 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/
DAudioSession.cpp30 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()
DAudioInputDescriptor.cpp66 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()
DAudioPolicyMix.cpp231 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/
DAudioPolicyInterfaceImplLegacy.cpp249 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()
DAudioPolicyEffects.h61 audio_source_t inputSource,
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h57 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;
DEngine.cpp549 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/
DEngine.h59 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/
DKeyboardInterceptor.java59 public void clearEvents(int inputSource) { in clearEvents() argument
61 mNext.clearEvents(inputSource); in clearEvents()
DEventStreamTransformation.java97 public void clearEvents(int inputSource); in clearEvents() argument
DAutoclickController.java124 public void clearEvents(int inputSource) { in clearEvents() argument
125 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) { in clearEvents()
130 mNext.clearEvents(inputSource); in clearEvents()
DMotionEventInjector.java114 public void clearEvents(int inputSource) { in clearEvents() argument
120 mOpenGesturesInProgress.put(inputSource, false); in clearEvents()
DMagnificationGestureHandler.java184 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/
DAudioSession.h35 audio_source_t inputSource,
48 audio_source_t inputSource()const { return mInputSource; } in inputSource() function
DAudioPolicyMix.h75 audio_devices_t getDeviceAndMixForInputSource(audio_source_t inputSource,
DAudioInputDescriptor.h60 audio_source_t inputSource() const;
/frameworks/av/include/media/
DAudioRecord.h171 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/
DAudioPolicyManagerInterface.h59 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource) const = 0;
/frameworks/av/services/audiopolicy/engineconfigurable/interface/
DAudioPolicyPluginInterface.h139 virtual bool setDeviceForInputSource(const audio_source_t &inputSource,
/frameworks/av/include/media/stagefright/
DAudioSource.h37 audio_source_t inputSource,
/frameworks/av/media/libmedia/
DAudioRecord.cpp76 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/
DAudioPolicyManager.h316 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource);
625 audio_source_t inputSource,
643 audio_devices_t getDeviceAndMixForInputSource(audio_source_t inputSource,
DAudioPolicyManager.cpp1416 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/
DAudioSource.cpp53 audio_source_t inputSource, const String16 &opPackageName, in AudioSource() argument
88 inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT, in AudioSource()

12