Searched defs:input (Results 76 - 100 of 101) sorted by relevance

12345

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp52 ALOGE("AudioSystem could not query the input buffer size.");
62 // We double the size of input buffer for ping pong use of record buffer.
168 audio_io_handle_t input = AudioSystem::getInput(inputSource, local
173 if (input == 0) {
174 ALOGE("Could not get audio input for record source %d", inputSource);
198 frameCount, input);
220 // TODO: add audio hardware input latency here
227 mInput = input;
430 audio_io_handle_t input)
442 sp<IAudioRecord> record = audioFlinger->openRecord(getpid(), input,
425 openRecord_l( uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_io_handle_t input) argument
[all...]
H A DIAudioPolicyService.cpp193 virtual status_t startInput(audio_io_handle_t input) argument
197 data.writeInt32(input);
202 virtual status_t stopInput(audio_io_handle_t input) argument
206 data.writeInt32(input);
211 virtual void releaseInput(audio_io_handle_t input) argument
215 data.writeInt32(input);
477 audio_io_handle_t input = getInput(inputSource, local
482 reply->writeInt32(static_cast <int>(input));
488 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
489 reply->writeInt32(static_cast <uint32_t>(startInput(input)));
495 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
502 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
[all...]
H A DAudioSystem.cpp341 // Do we have a stale gInBufferSize or are we requesting the input buffer size for new values
635 status_t AudioSystem::startInput(audio_io_handle_t input) argument
639 return aps->startInput(input);
642 status_t AudioSystem::stopInput(audio_io_handle_t input) argument
646 return aps->stopInput(input);
649 void AudioSystem::releaseInput(audio_io_handle_t input) argument
653 aps->releaseInput(input);
H A DIAudioFlinger.cpp137 audio_io_handle_t input,
151 data.writeInt32((int32_t) input);
464 audio_io_handle_t input = (audio_io_handle_t) reply.readInt32(); local
473 return input;
476 virtual status_t closeInput(int input) argument
480 data.writeInt32(input);
744 audio_io_handle_t input = (audio_io_handle_t) data.readInt32(); local
753 sp<IAudioRecord> record = openRecord(pid, input,
935 audio_io_handle_t input = openInput(module, local
940 reply->writeInt32((int32_t) input);
135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java962 * @param input String containing hex-encoded bytes
963 * @return input as an array of bytes
965 private byte[] hexToBytes(String input) { argument
966 if (input == null) {
970 final int inputLength = input.length();
983 input.substring(inputIndex, inputIndex + 2), 16);
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java350 public void recordEntireHistory(NetworkStatsHistory input) { argument
351 recordHistory(input, Long.MIN_VALUE, Long.MAX_VALUE);
359 public void recordHistory(NetworkStatsHistory input, long start, long end) { argument
362 for (int i = 0; i < input.bucketCount; i++) {
363 final long bucketStart = input.bucketStart[i];
364 final long bucketEnd = bucketStart + input.bucketDuration;
369 entry.rxBytes = getLong(input.rxBytes, i, 0L);
370 entry.rxPackets = getLong(input.rxPackets, i, 0L);
371 entry.txBytes = getLong(input.txBytes, i, 0L);
372 entry.txPackets = getLong(input
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp76 // same name in input
178 // arguments and flags from input .o files.
392 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local
393 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) {
394 if (Input::DynObj == (*input)->type()) {
396 if ((*input)->attribute()->isAddNeeded()) {
398 if (!(*input)->attribute()->isAsNeeded()) {
399 strcpy((strtab + strtabsize), (*input)
[all...]
/frameworks/native/libs/gui/
H A DBufferQueue.cpp481 const QueueBufferInput& input, QueueBufferOutput* output) {
491 input.deflate(&timestamp, &crop, &scalingMode, &transform, &fence);
480 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp205 JNIEnv *env, bool input, jobjectArray *bufArray) const {
209 input
687 JNIEnv *env, jobject thiz, jboolean input) {
698 status_t err = codec->getBuffers(env, input, &buffers);
204 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument
686 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c64 void AutoCorrelation(const Word16 input[], Word32 corr[],
532 static void CalcWeightedSpectrum(const Word32 spectrum[], /*!< input spectrum */
629 * input: signal spectrum, acf window, no. of spectral lines,
668 * input: input values, no. of input values, no. of acf values
673 void AutoCorrelation(const Word16 input[], argument
687 accu = L_add(accu, ((input[j] * input[j]) >> scf));
699 accu = L_add(accu, ((input[
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp671 const uint8_t* input = source + y * width; local
679 const uint8_t *i = input + (x - radius);
697 currentPixel = (float) input[validW];
719 const uint8_t* input = source + x; local
722 const uint8_t *i = input + ((y - radius) * width);
740 const uint8_t *i = input + validH * width;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetPager.java443 public float getInterpolation(float input) { argument
444 return (1.0f - focalLength / (focalLength + input)) /
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java1139 * @return A locally acceptable formatting of the input, or the raw input if
1849 * @return the input string, with alpha letters converted to numeric
1851 * an input of "1-800-GOOG-411" will return "1-800-4664-411".
1853 public static String convertKeypadLettersToDigits(String input) { argument
1854 if (input == null) {
1855 return input;
1857 int len = input.length();
1859 return input;
1862 char[] out = input
[all...]
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp789 int input = 0; local
792 AudioRecord::getMinFrameCount(&input, sampleRate,
793 AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO) != NO_ERROR || input <= 0) {
797 ALOGD("reported frame count: output %d, input %d", output, input);
802 if (input < sampleCount * 2) {
803 input = sampleCount * 2;
805 ALOGD("adjusted frame count: output %d, input %d", output, input);
813 AUDIO_CHANNEL_IN_MONO, input) !
869 int16_t input[sampleCount]; local
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp734 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local
735 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) {
736 if (Input::DynObj == (*input)->type()) {
738 if ((*input)->attribute()->isAddNeeded()) {
740 if (!(*input)->attribute()->isAsNeeded()) {
741 dynstr += (*input)->name().size() + 1;
745 else if ((*input)->isNeeded()) {
746 dynstr += (*input)
1008 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local
1547 mcld::InputTree::const_bfs_iterator input, inEnd = pInfo.inputs().bfs_end(); local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp180 bool ShaderProgram::Process(const std::vector<const GLTextureHandle*>& input, argument
182 // TODO: This can be optimized: If the input and output are the same, as in
201 for (unsigned i = 0; i < input.size(); ++i) {
202 // Get the current input frame and make sure it is a GL frame
203 if (input[i]) {
205 const GLuint tex_id = input[i]->GetTextureId();
206 const GLenum target = input[i]->GetTextureTarget();
208 ALOGE("ShaderProgram: invalid texture id at input: %d!", i);
224 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { argument
225 std::vector<const GLTextureHandle*> textures(input
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp282 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, local
285 if (input == 0) {
286 return input;
288 // create audio pre processors according to input source
291 return input;
293 ssize_t idx = mInputs.indexOfKey(input);
297 mInputs.add(input, inputDesc);
305 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input);
308 ALOGW("Failed to create Fx %s on input %d", effect->mName, input);
321 startInput(audio_io_handle_t input) argument
331 stopInput(audio_io_handle_t input) argument
341 releaseInput(audio_io_handle_t input) argument
1465 aps_close_input(void *service, audio_io_handle_t input) argument
[all...]
H A DAudioFlinger.cpp925 // indicate output device change to all input threads for pre processing
1802 // Resampler implementation limits input sampling rate to 2 x output sampling rate.
3264 // clear effect chain input buffer if an active track underruns to avoid sending
3789 // clear effect chain input buffer if an active track underruns to avoid sending
5165 // Calculate the delta in samples between the head of the input buffer
5191 // if the delta between the ideal placement for the next input sample and
5193 // concatenate the next input samples to the previous output
5203 // the next input is close enough to being on time, so concatenate it
5213 // Next time we mix samples from our input queue, then should be within
5218 // the next input sampl
5878 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
5986 RecordThread(const sp<AudioFlinger>& audioFlinger, AudioStreamIn *input, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_io_handle_t id, audio_devices_t device) argument
6819 AudioStreamIn *input = mInput; local
7187 AudioStreamIn *input = new AudioStreamIn(inHwDev, inStream); local
7213 closeInput(audio_io_handle_t input) argument
7218 closeInput_nonvirtual(audio_io_handle_t input) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java650 private boolean convertGenreCode(String input, String expected) { argument
651 String output = getGenreName(input);
655 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */
326 VideoEncFrameIO *input; /* original input frame */ member in struct:tagVideoEncData
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java17 package com.android.server.input;
47 import android.hardware.input.IInputDevicesChangedListener;
48 import android.hardware.input.IInputManager;
49 import android.hardware.input.InputManager;
50 import android.hardware.input.KeyboardLayout;
101 private static final String EXCLUDED_DEVICES_PATH = "etc/excluded-input-devices.xml";
109 // Pointer to native input manager service object.
123 // List of currently registered input devices changed listeners by process id.
144 // State for the currently installed input filter.
196 // Maximum number of milliseconds to wait for input even
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h260 // The 'data' is either 0 or 1, for input "false" or "true" respectively.
908 uint32_t input; member in union:android::ResTable_config::__anon1044
1557 static String8 normalizeForOutput(const char* input);
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java930 private ByteBuffer toByteBuffer(int byteCount, Buffer input) { argument
933 if (input instanceof ByteBuffer) {
934 ByteBuffer input2 = (ByteBuffer) input;
944 } else if (input instanceof CharBuffer) {
945 CharBuffer input2 = (CharBuffer) input;
956 } else if (input instanceof ShortBuffer) {
957 ShortBuffer input2 = (ShortBuffer) input;
968 } else if (input instanceof IntBuffer) {
969 IntBuffer input2 = (IntBuffer) input;
980 } else if (input instanceo
[all...]
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java383 FullRestoreParams(ParcelFileDescriptor input) { argument
384 fd = input;
3048 if (MORE_DEBUG) Slog.v(TAG, "Done consuming input tarfile, total bytes=" + mBytes);
3050 Slog.e(TAG, "Unable to read restore input");
3159 Slog.w(TAG, "Can't read input header");
3198 // input file
3225 // go on to the next file in the input stream
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1122 ::google::protobuf::io::CodedInputStream* input) {
1125 while ((tag = input->ReadTag()) != 0) {
1134 input, &value)));
1141 if (input->ExpectTag(16)) goto parse_isArray;
1152 input, &isarray_)));
1157 if (input->ExpectTag(24)) goto parse_intValue;
1168 1, 24, input, this->mutable_intvalue())));
1174 input, this->mutable_intvalue())));
1178 if (input->ExpectTag(24)) goto parse_intValue;
1179 if (input
1121 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
1492 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
1741 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) argument
[all...]

Completed in 5255 milliseconds

12345