/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 194 virtual status_t startInput(audio_io_handle_t input) argument 198 data.writeInt32(input); 203 virtual status_t stopInput(audio_io_handle_t input) argument 207 data.writeInt32(input); 212 virtual void releaseInput(audio_io_handle_t input) argument 216 data.writeInt32(input); 471 audio_io_handle_t input = getInput(inputSource, local 477 reply->writeInt32(static_cast <int>(input)); 483 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 484 reply->writeInt32(static_cast <uint32_t>(startInput(input))); 490 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local 497 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local [all...] |
H A D | AudioSystem.cpp | 341 // Do we have a stale gInBufferSize or are we requesting the input buffer size for new values 636 status_t AudioSystem::startInput(audio_io_handle_t input) argument 640 return aps->startInput(input); 643 status_t AudioSystem::stopInput(audio_io_handle_t input) argument 647 return aps->stopInput(input); 650 void AudioSystem::releaseInput(audio_io_handle_t input) argument 654 aps->releaseInput(input);
|
H A D | IAudioFlinger.cpp | 135 audio_io_handle_t input, 148 data.writeInt32((int32_t) input); 457 audio_io_handle_t input = (audio_io_handle_t) reply.readInt32(); local 466 return input; 469 virtual status_t closeInput(int input) argument 473 data.writeInt32(input); 720 audio_io_handle_t input = (audio_io_handle_t) data.readInt32(); local 728 sp<IAudioRecord> record = openRecord(pid, input, 908 audio_io_handle_t input = openInput(module, local 913 reply->writeInt32((int32_t) input); 133 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, track_flags_t flags, int *sessionId, status_t *status) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 344 public void recordEntireHistory(NetworkStatsHistory input) { argument 345 recordHistory(input, Long.MIN_VALUE, Long.MAX_VALUE); 353 public void recordHistory(NetworkStatsHistory input, long start, long end) { argument 356 for (int i = 0; i < input.bucketCount; i++) { 357 final long bucketStart = input.bucketStart[i]; 358 final long bucketEnd = bucketStart + input.bucketDuration; 363 entry.rxBytes = getLong(input.rxBytes, i, 0L); 364 entry.rxPackets = getLong(input.rxPackets, i, 0L); 365 entry.txBytes = getLong(input.txBytes, i, 0L); 366 entry.txPackets = getLong(input [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 202 JNIEnv *env, bool input, jobjectArray *bufArray) const { 206 input 684 JNIEnv *env, jobject thiz, jboolean input) { 695 status_t err = codec->getBuffers(env, input, &buffers); 201 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument 683 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 268 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local 269 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) { 270 if (Input::DynObj == (*input)->type()) { 272 if ((*input)->attribute()->isAddNeeded()) { 274 if (!(*input)->attribute()->isAsNeeded()) { 275 dynstr += (*input)->name().size() + 1; 279 else if ((*input)->isNeeded()) { 280 dynstr += (*input) 565 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 76 // same name in input 161 // arguments and flags from input .o files. 360 InputTree::const_bfs_iterator input, inputEnd = pLDInfo.inputs().bfs_end(); local 361 for (input = pLDInfo.inputs().bfs_begin(); input != inputEnd; ++input) { 362 if (Input::DynObj == (*input)->type()) { 364 if ((*input)->attribute()->isAddNeeded()) { 366 if (!(*input)->attribute()->isAsNeeded()) { 367 strcpy((strtab + strtabsize), (*input) [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueue.cpp | 544 const QueueBufferInput& input, QueueBufferOutput* output) { 553 input.deflate(×tamp, &crop, &scalingMode, &transform); 543 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | tns.c | 64 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/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 180 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/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 1139 * @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 D | AudioGroup.cpp | 789 int input = 0; local 792 AudioRecord::getMinFrameCount(&input, sampleRate, 793 AUDIO_FORMAT_PCM_16_BIT, 1) != 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/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 286 audio_io_handle_t input = mpAudioPolicy->get_input(mpAudioPolicy, inputSource, samplingRate, local 289 if (input == 0) { 290 return input; 292 // create audio pre processors according to input source 295 return input; 297 ssize_t idx = mInputs.indexOfKey(input); 301 mInputs.add(input, inputDesc); 309 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input); 312 ALOGW("Failed to create Fx %s on input %d", effect->mName, input); 325 startInput(audio_io_handle_t input) argument 335 stopInput(audio_io_handle_t input) argument 345 releaseInput(audio_io_handle_t input) argument 1458 aps_close_input(void *service, audio_io_handle_t input) argument [all...] |
H A D | AudioFlinger.cpp | 914 // indicate output device change to all input threads for pre processing 1751 // Resampler implementation limits input sampling rate to 2 x output sampling rate. 3224 // clear effect chain input buffer if an active track underruns to avoid sending 3747 // clear effect chain input buffer if an active track underruns to avoid sending 5129 // Calculate the delta in samples between the head of the input buffer 5155 // if the delta between the ideal placement for the next input sample and 5157 // concatenate the next input samples to the previous output 5167 // the next input is close enough to being on time, so concatenate it 5177 // Next time we mix samples from our input queue, then should be within 5182 // the next input sampl 5834 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, int *sessionId, status_t *status) argument 5941 RecordThread(const sp<AudioFlinger>& audioFlinger, AudioStreamIn *input, uint32_t sampleRate, uint32_t channels, audio_io_handle_t id, uint32_t device) argument 6681 AudioStreamIn *input = mInput; local 7021 AudioStreamIn *input = new AudioStreamIn(inHwDev, inStream); local 7049 closeInput(audio_io_handle_t input) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 1153 const uint8_t* input = source + y * width; local 1161 const uint8_t *i = input + (x - radius); 1179 currentPixel = (float) input[validW]; 1202 const uint8_t* input = source + x; local 1205 const uint8_t *i = input + ((y - radius) * width); 1223 const uint8_t *i = input + validH * width;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 633 private boolean convertGenreCode(String input, String expected) { argument 634 String output = getGenreName(input); 638 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 17 package com.android.server.input; 45 import android.hardware.input.IInputManager; 46 import android.hardware.input.IInputDevicesChangedListener; 47 import android.hardware.input.InputManager; 48 import android.hardware.input.KeyboardLayout; 96 private static final String EXCLUDED_DEVICES_PATH = "etc/excluded-input-devices.xml"; 104 // Pointer to native input manager service object. 117 // List of currently registered input devices changed listeners by process id. 138 // State for the currently installed input filter. 189 // Maximum number of milliseconds to wait for input even [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4lib_int.h | 86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */ 326 VideoEncFrameIO *input; /* original input frame */ member in struct:tagVideoEncData
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 260 // The 'data' is either 0 or 1, for input "false" or "true" respectively. 908 uint32_t input; member in union:android::ResTable_config::__anon1064 1549 static String8 normalizeForOutput(const char* input);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLLogWrapper.java | 930 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 D | BackupManagerService.java | 381 FullRestoreParams(ParcelFileDescriptor input) { argument 382 fd = input; 3025 if (MORE_DEBUG) Slog.v(TAG, "Done consuming input tarfile, total bytes=" + mBytes); 3027 Slog.e(TAG, "Unable to read restore input"); 3136 Slog.w(TAG, "Can't read input header"); 3175 // input file 3202 // go on to the next file in the input stream
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace.pb.cpp | 1122 ::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...] |
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 839 Log.w(LOG_TAG, "Failure reading input extras", e); 841 Log.w(LOG_TAG, "Failure reading input extras", e); 914 // If no input type was specified, we will default to generic 921 // If set, the input type overrides what was set using the deprecated singleLine flag. 1082 * However, TextViews that have input or movement methods *are* 1194 // Hide the soft input if the currently active TextView is disabled 1339 * to disallow user input. Note that this method has significant and 1340 * subtle interactions with soft keyboards and other input method: 1359 public void setKeyListener(KeyListener input) { argument 1360 setKeyListenerOnly(input); 1381 setKeyListenerOnly(KeyListener input) argument [all...] |