Searched defs:input (Results 176 - 200 of 211) sorted by relevance

123456789

/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp794 size_t input = 0; local
797 AudioRecord::getMinFrameCount(&input, sampleRate,
798 AUDIO_FORMAT_PCM_16_BIT, AUDIO_CHANNEL_IN_MONO) != NO_ERROR || input <= 0) {
802 ALOGD("reported frame count: output %zu, input %zu", output, input);
807 if (input < sampleCount * 2) {
808 input = sampleCount * 2;
810 ALOGD("adjusted frame count: output %zu, input %zu", output, input);
821 AUDIO_CHANNEL_IN_MONO, input, NUL
880 int16_t input[sampleCount]; local
[all...]
/frameworks/rs/script_api/
H A DSpecification.cpp76 static vector<string> convertToTypeVector(const string& input) { argument
79 stringstream stream(input);
806 cerr << "Error opening input file: " << mSpecFileName << "\n";
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_reduce.java62 for (Allocation input : myInputs)
63 inputBytes += input.getBytesSize();
186 private long[] intArrayToLong(final int[] input) { argument
187 final long[] output = new long[input.length];
189 for (int i = 0; i < input.length; ++i)
190 output[i] = input[i];
280 private int addint(int[] input) { argument
282 for (int idx = 0; idx < input.length; ++idx)
283 result += input[idx];
288 final int[] input
422 sillySumIntoDecArray(final int[] input) argument
430 sillySumIntoIncArray(final int[] input) argument
461 findMinAbs(float[] input) argument
472 run(Allocation input) argument
527 findMinAndMax(float[] input) argument
633 run(Allocation input) argument
680 fz(final int[] input) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp520 "frameCount %zu deviceId %d", event == AUDIO_OUTPUT_OPENED ? "output" : "input",
528 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle);
532 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle);
558 event == AUDIO_OUTPUT_CONFIG_CHANGED ? "output" : "input",
581 // Do we have a stale mInBuffSize or are we requesting the input buffer size for new values
860 audio_io_handle_t *input,
872 attr, input, session, pid, uid,
876 status_t AudioSystem::startInput(audio_io_handle_t input, argument
881 return aps->startInput(input, session);
884 status_t AudioSystem::stopInput(audio_io_handle_t input, argument
859 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, pid_t pid, uid_t uid, const audio_config_base_t *config, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId, audio_port_handle_t *portId) argument
892 releaseInput(audio_io_handle_t input, audio_session_t session) argument
[all...]
H A DIAudioFlinger.cpp179 audio_io_handle_t input,
199 data.writeInt32((int32_t) input);
531 audio_io_handle_t *input,
538 if (input == NULL || config == NULL || device == NULL) {
544 data.writeInt32(*input);
552 *input = AUDIO_IO_HANDLE_NONE;
557 *input = AUDIO_IO_HANDLE_NONE;
560 *input = (audio_io_handle_t)reply.readInt32();
566 virtual status_t closeInput(int input) argument
570 data.writeInt32(input);
178 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *pFrameCount, audio_input_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status, audio_port_handle_t portId) argument
530 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
1012 audio_io_handle_t input = (audio_io_handle_t) data.readInt32(); local
1209 audio_io_handle_t input = (audio_io_handle_t)data.readInt32(); local
[all...]
H A DIAudioPolicyService.cpp291 audio_io_handle_t *input,
306 if (input == NULL) {
307 ALOGE("getInputForAttr NULL input - shouldn't happen");
330 *input = (audio_io_handle_t)reply.readInt32();
335 virtual status_t startInput(audio_io_handle_t input, argument
340 data.writeInt32(input);
346 virtual status_t stopInput(audio_io_handle_t input, argument
351 data.writeInt32(input);
357 virtual void releaseInput(audio_io_handle_t input, argument
362 data.writeInt32(input);
290 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, pid_t pid, uid_t uid, const audio_config_base_t *config, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId, audio_port_handle_t *portId) argument
1009 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local
1023 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
1031 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
1039 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaDrm.java388 * internal error in processing unrelated to input parameters. This error
1044 @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv);
1049 @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv);
1099 * @param input the data to encrypt
1104 @NonNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) {
1105 return encryptNative(MediaDrm.this, mSessionId, keyid, input, iv);
1112 * @param input the data to encrypt
1117 @NonNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) {
1118 return decryptNative(MediaDrm.this, mSessionId, keyid, input, iv);
1042 encryptNative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv) argument
1047 decryptNative( @onNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull byte[] keyId, @NonNull byte[] input, @NonNull byte[] iv) argument
1103 encrypt( @onNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) argument
1116 decrypt( @onNull byte[] keyid, @NonNull byte[] input, @NonNull byte[] iv) argument
H A DMediaScanner.java740 private boolean convertGenreCode(String input, String expected) { argument
741 String output = getGenreName(input);
745 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
H A DMediaCodec.java55 In broad terms, a codec processes input data to generate output data. It processes data
56 asynchronously and uses a set of input and output buffers. At a simplistic level, you request
57 (or receive) an empty input buffer, fill it up with data and send it to the codec for
116 CodecCapabilities#COLOR_FormatSurface} and it can be used with an input or output Surface.</li>
118 CodecCapabilities#COLOR_FormatYUV420Flexible}): These can be used with an input/output Surface,
221 as the first input buffer is dequeued, the codec moves to the Running sub-state, where it spends
222 most of its life. When you queue an input buffer with the {@linkplain #BUFFER_FLAG_END_OF_STREAM
224 codec no longer accepts further input buffers, but still generates output buffers until the
279 Since {@link android.os.Build.VERSION_CODES#LOLLIPOP}, you can query the resulting input and
283 If you want to process raw input vide
2791 getFormatNative(boolean input) argument
2951 cacheBuffers(boolean input) argument
3466 getBuffers(boolean input) argument
3469 getBuffer(boolean input, int index) argument
3472 getImage(boolean input, int index) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp394 status_t JMediaCodec::getFormat(JNIEnv *env, bool input, jobject *format) const { argument
397 err = input ? mCodec->getInputFormat(&msg) : mCodec->getOutputFormat(&msg);
416 JNIEnv *env, bool input, jobjectArray *bufArray) const {
420 input
439 env, !input /* readOnly */, true /* clearBuffer */, buffer, &byteBuffer);
502 JNIEnv *env, bool input, size_t index, jobject *buf) const {
506 input
515 env, !input /* readOnly */, input /* clearBuffer */, buffer, buf);
519 JNIEnv *env, bool input, size_
415 getBuffers( JNIEnv *env, bool input, jobjectArray *bufArray) const argument
501 getBuffer( JNIEnv *env, bool input, size_t index, jobject *buf) const argument
518 getImage( JNIEnv *env, bool input, size_t index, jobject *buf) const argument
1521 android_media_MediaCodec_getFormatNative( JNIEnv *env, jobject thiz, jboolean input) argument
1567 android_media_MediaCodec_getBuffers( JNIEnv *env, jobject thiz, jboolean input) argument
1593 android_media_MediaCodec_getBuffer( JNIEnv *env, jobject thiz, jboolean input, jint index) argument
1619 android_media_MediaCodec_getImage( JNIEnv *env, jobject thiz, jboolean input, jint index) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java982 MyActivityController(IActivityManager iam, PrintWriter pw, InputStream input, argument
986 mInput = input;
1842 getErrPrintWriter().println("Error: invalid input bounds");
1857 getErrPrintWriter().println("Error: invalid input bounds");
1878 getErrPrintWriter().println("Error: invalid input bounds");
1887 getErrPrintWriter().println("Error: invalid input bounds");
1932 getErrPrintWriter().println("Error: invalid input bounds");
2092 getErrPrintWriter().println("Error: invalid input bounds");
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java1150 * @return A locally acceptable formatting of the input, or the raw input if
2216 * @return the input string, with alpha letters converted to numeric
2218 * an input of "1-800-GOOG-411" will return "1-800-4664-411".
2220 public static String convertKeypadLettersToDigits(String input) { argument
2221 if (input == null) {
2222 return input;
2224 int len = input.length();
2226 return input;
2229 char[] out = input
[all...]
/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp1046 std::unique_ptr<ResourceTable> LoadStaticLibrary(const std::string& input, argument
1049 io::ZipFileCollection::Create(input, out_error);
1067 bool MergeStaticLibrary(const std::string& input, bool override) { argument
1069 context_->GetDiagnostics()->Note(DiagMessage() << "merging static library " << input);
1074 io::ZipFileCollection::Create(input, &error_str);
1076 context_->GetDiagnostics()->Error(DiagMessage(input) << error_str);
1082 context_->GetDiagnostics()->Error(DiagMessage(input) << "invalid static library");
1088 context_->GetDiagnostics()->Error(DiagMessage(input) << "static library has no package");
1105 result = table_merger_->MergeOverlay(Source(input), table.get(), collection.get());
1107 result = table_merger_->Merge(Source(input), tabl
1206 MergeArchive(const std::string& input, bool override) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp84 std::istream* input = local
86 if (!input->read(reinterpret_cast<char*>(data), length)) {
1234 bool Png::process(const Source& source, std::istream* input, argument
1239 if (!input->read(reinterpret_cast<char*>(signature), kPngSignatureSize)) {
1273 png_set_read_fn(readPtr, (png_voidp)input, readDataFromStream);
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionParser.java107 public BindingExpressionParser(TokenStream input) { argument
108 super(input);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h87 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */
327 VideoEncFrameIO *input; /* original input frame */ member in struct:tagVideoEncData
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp514 ALOGE("%s: Exception while reading from input into byte buffer.", __FUNCTION__);
547 InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, uint32_t height,
569 InputStripSource::InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, argument
571 uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), mInput(&input),
601 "Error encountered while skip bytes in input stream.");
2229 ALOGV("%s: Using input-type strip source.", __FUNCTION__);
2303 ALOGV("%s: Using input-type strip source.", __FUNCTION__);
/frameworks/base/telecomm/java/android/telecom/
H A DCall.java989 * Writes the string {@param input} into the outgoing text stream for this RTT call. Since
995 * @param input The message to send to the remote user.
997 public void write(String input) throws IOException { argument
998 mTransmitStream.write(input);
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp1597 /// update the output section flags based on input section flags.
1599 // union the flags from input
1604 // if there is an input section is not SHF_MERGE, clean this flag
1608 // if there is an input section is not SHF_STRINGS, clean this flag
2038 // 2. check the stack info from the input objects
2057 // 2.2 there are no stack note sections in all input objects
2278 } // for each input description
2512 // To merge input's relocation sections into output's relocation sections.
2514 // If we are generating relocatables (-r), move input relocation sections
2517 Module::obj_iterator input, inEn local
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1238 // indicate output device change to all input threads for pre processing
1579 audio_io_handle_t input,
1652 RecordThread *thread = checkRecordThread_l(input);
1674 ALOGV("openRecord() lSessionId: %d input %d", lSessionId, input);
2213 audio_io_handle_t *input,
2226 sp<ThreadBase> thread = openInput_l(module, input, config, *devices, address, source, flags);
2229 // notify client processes of the new input creation
2237 audio_io_handle_t *input,
2246 *input
1578 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *frameCount, audio_input_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status, audio_port_handle_t portId) argument
2212 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
2236 openInput_l(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
2379 closeInput(audio_io_handle_t input) argument
2384 closeInput_nonvirtual(audio_io_handle_t input) argument
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp223 // handle input devices
230 // handle input device connection
264 // handle input device disconnection
271 ALOGV("setDeviceConnectionState() disconnecting input device %x", device);
289 // As the input device list can impact the output device selection, update
304 } // end if is input device
468 "updateCallRouting() selected device not in input device list");
685 // Force new input selection if the new device can not be reached via current input
700 // Find a direct output profile compatible with the parameters passed, even if the input flag
1471 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uid_t uid, const audio_config_base_t *config, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId, input_type_t *inputType, audio_port_handle_t *portId) argument
1577 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local
1794 startInput(audio_io_handle_t input, audio_session_t session, concurrency_type__mask_t *concurrency) argument
1942 stopInput(audio_io_handle_t input, audio_session_t session) argument
2013 releaseInput(audio_io_handle_t input, audio_session_t session) argument
3632 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local
3917 addInput(audio_io_handle_t input, const sp<AudioInputDescriptor>& inputDesc) argument
4262 audio_io_handle_t input = AUDIO_IO_HANDLE_NONE; local
4401 closeInput(audio_io_handle_t input) argument
5064 setInputDevice(audio_io_handle_t input, audio_devices_t device, bool force, audio_patch_handle_t *patchHandle) argument
5127 resetInputDevice(audio_io_handle_t input, audio_patch_handle_t *patchHandle) argument
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h302 // The 'data' is either 0 or 1, for input "false" or "true" respectively.
1034 uint32_t input; member in union:android::ResTable_config::__anon1189
1260 // well formed BCP-47 locale contained in |in|. The input locale is
1947 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/core/java/com/android/server/input/
H A DInputManagerService.java17 package com.android.server.input;
61 import android.hardware.input.IInputDevicesChangedListener;
62 import android.hardware.input.IInputManager;
63 import android.hardware.input.InputDeviceIdentifier;
64 import android.hardware.input.InputManager;
65 import android.hardware.input.InputManagerInternal;
66 import android.hardware.input.ITabletModeChangedListener;
67 import android.hardware.input.KeyboardLayout;
68 import android.hardware.input.TouchCalibration;
129 private static final String EXCLUDED_DEVICES_PATH = "etc/excluded-input
[all...]

Completed in 8947 milliseconds

123456789