/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/audioflinger/ |
D | FastCapture.cpp | 35 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()
|
D | FastCapture.h | 63 NBAIO_Source *inputSource; variable
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 220 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()
|
D | AudioPolicyInterfaceImpl.cpp | 230 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()
|
D | AudioPolicyEffects.h | 61 audio_source_t inputSource,
|
D | AudioPolicyEffects.cpp | 81 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()
|
D | AudioPolicyInterface.h | 111 virtual audio_io_handle_t getInput(audio_source_t inputSource,
|
D | AudioPolicyManager.h | 103 virtual audio_io_handle_t getInput(audio_source_t inputSource, 585 virtual audio_devices_t getDeviceForInputSource(audio_source_t inputSource);
|
D | AudioPolicyService.h | 88 virtual audio_io_handle_t getInput(audio_source_t inputSource,
|
D | AudioPolicyManager.cpp | 1279 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/ |
D | AudioRecord.h | 157 AudioRecord(audio_source_t inputSource, 190 status_t set(audio_source_t inputSource, 222 audio_source_t inputSource() const { return mInputSource; } in inputSource() function
|
D | IAudioPolicyService.h | 72 virtual audio_io_handle_t getInput(audio_source_t inputSource,
|
D | AudioSystem.h | 238 static audio_io_handle_t getInput(audio_source_t inputSource,
|
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 75 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()
|
D | IAudioPolicyService.cpp | 227 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()
|
D | AudioSystem.cpp | 698 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/ |
D | AudioSource.h | 37 audio_source_t inputSource,
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 53 audio_source_t inputSource, uint32_t sampleRate, uint32_t channelCount) in AudioSource() argument 79 inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT, in AudioSource()
|