Searched defs:input (Results 51 - 75 of 99) sorted by relevance

1234

/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp106 const QueueBufferInput& input, QueueBufferOutput* output) {
110 data.write(input);
218 QueueBufferInput input(data);
222 status_t result = queueBuffer(buf, input, output);
105 queueBuffer(int buf, const QueueBufferInput& input, QueueBufferOutput* output) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java166 GetInputParams(CommandDetails cmdDet, Input input) { argument
168 mInput = input;
/frameworks/av/media/libmediaplayerservice/
H A DDrm.cpp523 Vector<uint8_t> const &input,
536 return mPlugin->encrypt(sessionId, keyId, input, iv, output);
541 Vector<uint8_t> const &input,
554 return mPlugin->decrypt(sessionId, keyId, input, iv, output);
521 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
539 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
H A DarmCOMM.c288 * Description: Clips the input between MAX and MIN value
324 * Description: Clips the input between MAX and MIN value
368 * [in] shift Divides the input "v" by "2^shift"
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
721 * [in] input The input to be operated on
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
732 input = armSatRoundLeftShift_S32(input,
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
H A DarmCOMM.c288 * Description: Clips the input between MAX and MIN value
324 * Description: Clips the input between MAX and MIN value
368 * [in] shift Divides the input "v" by "2^shift"
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
721 * [in] input The input to be operated on
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
732 input = armSatRoundLeftShift_S32(input,
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
H A DarmCOMM.c288 * Description: Clips the input between MAX and MIN value
324 * Description: Clips the input between MAX and MIN value
368 * [in] shift Divides the input "v" by "2^shift"
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
721 * [in] input The input to be operated on
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
732 input = armSatRoundLeftShift_S32(input,
[all...]
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java459 public static int activityInfoConfigToNative(int input) { argument
462 if ((input&(1<<i)) != 0) {
498 * The desired soft input mode for this activity's main window.
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java17 package android.hardware.input;
42 * Provides information about input devices and available key layouts.
72 * The input manager service locates available keyboard layouts
85 * &lt;action android:name="android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS" />
87 * &lt;meta-data android:name="android.hardware.input.metadata.KEYBOARD_LAYOUTS"
112 * <a href="http://source.android.com/tech/input/key-character-map-files.html">
118 "android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS";
129 "android.hardware.input.metadata.KEYBOARD_LAYOUTS";
158 * Waits for previous events to be dispatched so that the input dispatcher can
159 * determine whether input even
[all...]
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java220 // Opens the notification dialog and waits for user input
233 // notification and takes user input
284 * @param input a 7-bit packed char array
287 static String decodeGSMPackedString(byte[] input) argument
290 int lengthBytes = input.length;
300 if ((input[lengthBytes - 1] >> 1) == PADDING_CHAR) {
306 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets);
317 static String decodeUTF8String(byte[] input) argument
321 decoded = new String(input, "UTF-8");
330 static String decodeUCS2String(byte[] input) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp105 // Get the input frames
108 jobject input = env->GetObjectArrayElement(inputs, i); local
109 const GLFrame* input_frame = ConvertFromJava<GLFrame>(env, input);
110 if (!input || !input_frame) {
111 ALOGE("ShaderProgram: invalid input frame %d!", i);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java93 * @param input the file from which to read the bitmap content
100 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument
102 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
108 * @param input the file from which to read the bitmap content
115 public static Bitmap createBitmap(File input, Set<BitmapCreateFlags> createFlags, argument
118 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888);
126 * @param input the stream from which to read the bitmap content
133 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument
135 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
141 * @param input th
149 createBitmap(InputStream input, Set<BitmapCreateFlags> createFlags, Density density) argument
[all...]
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentGraph.cpp172 // Traverse all input relocations to set connection
173 Module::obj_iterator input, inEnd = pModule.obj_end(); local
174 for (input = pModule.obj_begin(); input != inEnd; ++input) {
175 LDContext::sect_iterator rs, rsEnd = (*input)->context()->relocSectEnd();
176 for (rs = (*input)->context()->relocSectBegin(); rs != rsEnd; ++rs) {
180 // 2. it has no reloc data. (All symbols in the input relocs are in the
189 // only the target symbols defined in the input fragments can make the
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp77 // them from input
120 // same name in input
323 // directly from the input file.
405 // It reads input's ARM attributes and copies the first ARM attributes
432 // If the input section's size is zero, we got a NULL region.
523 Module::obj_iterator input, inEnd = pModule.obj_end(); local
524 for (input = pModule.obj_begin(); input != inEnd; ++input) {
525 LDContext::sect_iterator rs, rsEnd = (*input)
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp309 const QueueBufferInput& input, QueueBufferOutput* output) {
322 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO);
351 input.deflate(&timestamp, &isAutoTimestamp, &crop, &scalingMode,
308 queueBuffer(int pslot, const QueueBufferInput& input, QueueBufferOutput* output) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java483 * such kind of input but must never output it unless the target is very specific
484 * to the device which is able to parse the malformed input.
655 * Guesses the format of input image. Currently just the first few bytes are used.
658 * @param input Image as byte array.
661 public static String guessImageType(final byte[] input) { argument
662 if (input == null) {
665 if (input.length >= 3 && input[0] == 'G' && input[1] == 'I' && input[
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp453 Vector<uint8_t> const &input,
458 ALOGD("MockDrmPlugin::encrypt(sessionId=%s, keyId=%s, input=%s, iv=%s)",
461 vectorToString(input).string(),
472 // byte[] input -> mock-input
475 mByteArrayProperties.add(String8("mock-input"), input);
492 Vector<uint8_t> const &input,
497 ALOGD("MockDrmPlugin::decrypt(sessionId=%s, keyId=%s, input=%s, iv=%s)",
500 vectorToString(input)
451 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
490 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp317 void NativeWindowRenderer::render(RenderInput* input) { argument
318 sp<GLConsumer> ST = input->mST;
319 sp<Surface> STC = input->mSTC;
321 if (input->mIsExternalBuffer) {
322 queueExternalBuffer(STC.get(), input->mBuffer,
323 input->mWidth, input->mHeight);
325 queueInternalBuffer(STC.get(), input->mBuffer);
332 calculatePositionCoordinates(input->mRenderingMode,
333 input
541 RenderInput* input = new RenderInput(this, mNextTextureId); local
552 destroyRenderInput(RenderInput* input) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp50 ALOGE("AudioSystem could not query the input buffer size; status %d", status);
60 // We double the size of input buffer for ping pong use of record buffer.
265 // TODO: add audio hardware input latency here
458 audio_io_handle_t input = AudioSystem::getInput(mInputSource, mSampleRate, mFormat, local
460 if (input == 0) {
461 ALOGE("Could not get audio input for record source %d", mInputSource);
466 sp<IAudioRecord> record = audioFlinger->openRecord(input,
479 AudioSystem::releaseInput(input);
496 mInput = input;
H A DIAudioPolicyService.cpp202 virtual status_t startInput(audio_io_handle_t input) argument
206 data.writeInt32(input);
211 virtual status_t stopInput(audio_io_handle_t input) argument
215 data.writeInt32(input);
220 virtual void releaseInput(audio_io_handle_t input) argument
224 data.writeInt32(input);
512 audio_io_handle_t input = getInput(inputSource, local
517 reply->writeInt32(static_cast <int>(input));
523 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
524 reply->writeInt32(static_cast <uint32_t>(startInput(input)));
530 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
537 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); local
[all...]
H A DIDrm.cpp318 Vector<uint8_t> const &input,
326 writeVector(data, input);
337 Vector<uint8_t> const &input,
345 writeVector(data, input);
675 Vector<uint8_t> sessionId, keyId, input, iv, output; local
678 readVector(data, input);
680 uint32_t result = encrypt(sessionId, keyId, input, iv, output);
689 Vector<uint8_t> sessionId, keyId, input, iv, output; local
692 readVector(data, input);
694 uint32_t result = decrypt(sessionId, keyId, input, i
316 encrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
335 decrypt(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &input, Vector<uint8_t> const &iv, Vector<uint8_t> &output) argument
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java984 * @param input String containing hex-encoded bytes
985 * @return input as an array of bytes
987 private byte[] hexToBytes(String input) { argument
988 if (input == null) {
992 final int inputLength = input.length();
1005 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/base/media/java/android/media/
H A DMediaCodec.java67 * Each codec maintains a number of input and output buffers that are
73 * input nor output buffers, subsequent calls to {@link #dequeueInputBuffer}
78 * Once the client has an input buffer available it can fill it with data
106 * Once the client reaches the end of the input data it signals the end of
107 * the input stream by specifying a flag of {@link #BUFFER_FLAG_END_OF_STREAM} in the call to
115 * Any input or output buffers the client may own at the point of the flush are
165 * Instantiate a decoder supporting input data of the given mime type.
183 * @param type The mime type of the input data.
233 * @param format The format of the input data (decoder) or the desired
270 * Requests a Surface to use as the input t
633 getBuffers(boolean input) argument
[all...]
H A DMediaDrm.java567 byte[] keyId, byte[] input, byte[] iv);
570 byte[] keyId, byte[] input, byte[] iv);
619 * @param input the data to encrypt
622 public byte[] encrypt(byte[] keyid, byte[] input, byte[] iv) { argument
623 return encryptNative(mDrm, mSessionId, keyid, input, iv);
630 * @param input the data to encrypt
633 public byte[] decrypt(byte[] keyid, byte[] input, byte[] iv) { argument
634 return decryptNative(mDrm, mSessionId, keyid, input, iv);
566 encryptNative(MediaDrm drm, byte[] sessionId, byte[] keyId, byte[] input, byte[] iv) argument
569 decryptNative(MediaDrm drm, byte[] sessionId, byte[] keyId, byte[] input, byte[] iv) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java183 public SetFilterInputCommand(String filterName, String input, Object value) { argument
185 mFilterInput = input;
261 } else if (localName.equals("input")) {
384 throw new SAXException("Found 'input' element outside of 'filter' "
388 // Get input name and value
392 throw new SAXException("No value specified for input '" + inputName + "' "

Completed in 530 milliseconds

1234