Home
last modified time | relevance | path

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

/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/audioflinger/
DFastCapture.cpp35 inputSource(NULL), inputSourceGen(0), pipeSink(NULL), pipeSinkGen(0), in FastCapture()
99 inputSource = current->mInputSource; in onStateChange()
101 if (inputSource == NULL) { in onStateChange()
105 format = inputSource->format(); in onStateChange()
122 if (eitherChanged && inputSource != NULL && pipeSink != NULL) { in onStateChange()
163 ALOG_ASSERT(inputSource != NULL); in onWork()
167 ssize_t framesRead = inputSource->read(readBuffer, frameCount, in onWork()
DFastCapture.h63 NBAIO_Source *inputSource; variable
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImplLegacy.cpp220 audio_io_handle_t AudioPolicyService::getInput(audio_source_t inputSource, in getInput() argument
231 if (inputSource >= AUDIO_SOURCE_CNT && inputSource != AUDIO_SOURCE_HOTWORD) { in getInput()
235 if ((inputSource == AUDIO_SOURCE_HOTWORD) && !captureHotwordAllowed()) { in getInput()
244 input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, in getInput()
254 status_t status = audioPolicyEffects->addInputEffects(input, inputSource, audioSession); in getInput()
DAudioPolicyInterfaceImpl.cpp230 audio_io_handle_t AudioPolicyService::getInput(audio_source_t inputSource, in getInput() argument
241 if (inputSource >= AUDIO_SOURCE_CNT && inputSource != AUDIO_SOURCE_HOTWORD) { in getInput()
245 if ((inputSource == AUDIO_SOURCE_HOTWORD) && !captureHotwordAllowed()) { in getInput()
253 input = mAudioPolicyManager->getInput(inputSource, samplingRate, in getInput()
263 status_t status = audioPolicyEffects->addInputEffects(input, inputSource, audioSession); in getInput()
DAudioPolicyEffects.h61 audio_source_t inputSource,
DAudioPolicyEffects.cpp81 audio_source_t inputSource, in addInputEffects() argument
87 audio_source_t aliasSource = (inputSource == AUDIO_SOURCE_HOTWORD) ? in addInputEffects()
88 AUDIO_SOURCE_VOICE_RECOGNITION : inputSource; in addInputEffects()
DAudioPolicyInterface.h111 virtual audio_io_handle_t getInput(audio_source_t inputSource,
DAudioPolicyManager.h103 virtual audio_io_handle_t getInput(audio_source_t inputSource,
585 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource);
DAudioPolicyService.h88 virtual audio_io_handle_t getInput(audio_source_t inputSource,
DAudioPolicyManager.cpp1279 audio_io_handle_t AudioPolicyManager::getInput(audio_source_t inputSource, in getInput() argument
1288 inputSource, samplingRate, format, channelMask, session, flags); in getInput()
1290 audio_devices_t device = getDeviceForInputSource(inputSource); in getInput()
1293 ALOGW("getInput() could not find device for inputSource %d", inputSource); in getInput()
1298 switch (inputSource) { in getInput()
1314 audio_source_t halInputSource = inputSource; in getInput()
1315 if (inputSource == AUDIO_SOURCE_HOTWORD) { in getInput()
1381 inputDesc->mInputSource = inputSource; in getInput()
4576 audio_devices_t AudioPolicyManager::getDeviceForInputSource(audio_source_t inputSource) in getDeviceForInputSource() argument
4581 switch (inputSource) { in getDeviceForInputSource()
[all …]
/frameworks/av/include/media/
DAudioRecord.h157 AudioRecord(audio_source_t inputSource,
190 status_t set(audio_source_t inputSource,
222 audio_source_t inputSource() const { return mInputSource; } in inputSource() function
DIAudioPolicyService.h72 virtual audio_io_handle_t getInput(audio_source_t inputSource,
DAudioSystem.h238 static audio_io_handle_t getInput(audio_source_t inputSource,
/frameworks/av/media/libmedia/
DAudioRecord.cpp75 audio_source_t inputSource, in AudioRecord() argument
91 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user, in AudioRecord()
118 audio_source_t inputSource, in set() argument
133 inputSource, sampleRate, format, channelMask, frameCount, notificationFrames, in set()
168 if (inputSource == AUDIO_SOURCE_DEFAULT) { in set()
169 inputSource = AUDIO_SOURCE_MIC; in set()
171 mInputSource = inputSource; in set()
DIAudioPolicyService.cpp227 audio_source_t inputSource, in getInput() argument
236 data.writeInt32((int32_t) inputSource); in getInput()
762 audio_source_t inputSource = (audio_source_t) data.readInt32(); in onTransact() local
768 audio_io_handle_t input = getInput(inputSource, in onTransact()
DAudioSystem.cpp698 audio_io_handle_t AudioSystem::getInput(audio_source_t inputSource, in getInput() argument
707 return aps->getInput(inputSource, samplingRate, format, channelMask, sessionId, flags); in getInput()
/frameworks/av/include/media/stagefright/
DAudioSource.h37 audio_source_t inputSource,
/frameworks/av/media/libstagefright/
DAudioSource.cpp53 audio_source_t inputSource, uint32_t sampleRate, uint32_t channelCount) in AudioSource() argument
79 inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT, in AudioSource()