/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
H A D | MultipartTest.java | 60 StringBuffer output = new StringBuffer(); 62 output.append("--"); 63 output.append(boundry); 64 output.append(CRLF); 66 output.append("Content-Disposition: form-data; name=\"stringpart\""); 67 output.append(CRLF); 68 output.append("Content-Type: text/plain; charset=US-ASCII"); 69 output.append(CRLF); 70 output.append("Content-Transfer-Encoding: 8bit"); 71 output [all...] |
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 25 status_t layer_state_t::write(Parcel& output) const 27 output.writeStrongBinder(surface); 28 output.writeUint32(what); 29 output.writeFloat(x); 30 output.writeFloat(y); 31 output.writeUint32(z); 32 output.writeUint32(w); 33 output.writeUint32(h); 34 output.writeUint32(layerStack); 35 output [all...] |
/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 42 output = ' '; 46 output += '+ "' 48 output += '"(' 50 output += '+ "|' 53 output += '(' 56 output += '?:' 61 output += '|' 65 output += '\\\\' # escape the '-' character. 66 output += letter 69 output [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorSpace.java | 33 * YUV to RGB conversion is done using the ITU-R BT.601 transformation. The output buffer must 37 * @param output buffer to hold RGBA8888 data. 42 ByteBuffer input, ByteBuffer output, int width, int height) { 44 expectOutputSize(output, width * height * 4); 45 nativeYuv420pToRgba8888(input, output, width, height); 51 * The input data is expected to be encoded in 8-bit interleaved ARGB channels. The output 52 * buffer must be large enough to hold the data. The output buffer may be the same as the 56 * @param output buffer to hold RGBA8888 data. 61 ByteBuffer input, ByteBuffer output, int width, int height) { 63 expectOutputSize(output, widt 41 convertYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 60 convertArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 79 convertRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 98 convertRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 113 expectOutputSize(ByteBuffer output, int expectedSize) argument 121 nativeYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 124 nativeArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 127 nativeRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 130 nativeRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument [all...] |
H A D | PixelUtils.java | 28 * <p>The transformation is specified by specifying the initial offset in the output buffer, the 37 * @param output The output buffer to hold the transformed pixel data. 40 * @param offset The start offset in the output (in pixels) 45 ByteBuffer output, 51 if (input.remaining() != output.remaining()) { 52 throw new IllegalArgumentException("Input and output buffers must have the same size!"); 55 } else if (output.remaining() % 4 != 0) { 60 } else if ((width * height * 4) != output.remaining()) { 64 nativeCopyPixels(input, output, widt 44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument 67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 35 * of the output (if any). 40 * Encoder flag bit to omit all line terminators (i.e., the output 62 * should not close the output stream it is wrapping when it 72 public byte[] output; field in class:Base64.Coder 76 * Encode/decode another block of input data. this.output is 83 * include any final bytes in the output. 111 * @param flags controls certain features of the decoded output. 129 * @param flags controls certain features of the decoded output. 149 * @param flags controls certain features of the decoded output. 164 // Maybe we got lucky and allocated exactly enough output spac 241 Decoder(int flags, byte[] output) argument 581 Encoder(int flags, byte[] output) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaPlayerStressTest.java | 70 //Test result output file 73 private void writeTestOutput(String filename, Writer output) throws Exception{ argument 74 output.write("File Name: " + filename); 75 output.write(" Complete: " + CodecTest.onCompleteSuccess); 76 output.write(" Error: " + CodecTest.mPlaybackError); 77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 81 output 87 writeTestSummary(Writer output) argument [all...] |
H A D | MediaPlayerStreamingStressTest.java | 74 //Test result output file 77 private void writeTestOutput(String filename, Writer output) throws Exception{ argument 78 output.write("URL: " + filename); 79 output.write(" Complete: " + CodecTest.onCompleteSuccess); 80 output.write(" Error: " + CodecTest.mPlaybackError); 81 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 82 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 83 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 84 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 85 output 89 writeTestSummary(Writer output) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Program.java | 27 public abstract void process(Frame[] inputs, Frame output); argument 29 public void process(Frame input, Frame output) { argument 32 process(inputs, output);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | JsonParser.java | 42 JSONObject output = new JSONObject(); 49 if (output.has(fieldName)) { 57 output.put(fieldName, new JSONArray(parseArray(reader))); 59 output.put(fieldName, reader.nextString()); 62 output.put(fieldName, parse(reader)); 77 return output; 84 ArrayList<String> output = new ArrayList<>(); 88 output.add(reader.nextString()); 92 return output;
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | invert.c | 24 char* output, 35 // Get the input and output pointers 37 char* output_ptr = output; 21 invert_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument
|
H A D | to_rgba.c | 24 char* output, 35 // Get the input and output pointers 37 char* output_ptr = output; 55 char* output, 66 // Get the input and output pointers 68 char* output_ptr = output; 87 char* output, 98 // Get the input and output pointers 100 char* output_ptr = output; 119 char* output, 21 gray_to_rgb_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument 52 rgba_to_rgb_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument 84 gray_to_rgba_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument 116 rgb_to_rgba_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument [all...] |
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
H A D | CompilationResult.java | 28 public final String output; field in class:CompilationResult 31 public CompilationResult(int resultCode, String output, String error) { argument 33 this.output = output; 38 return resultCode == 0 && output.indexOf(text) > 0;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/ |
H A D | StringSource.java | 49 Frame output = env.getFrameManager().newFrame(mOutputFormat); 50 output.setObjectValue(mString); 51 output.setTimestamp(Frame.TIMESTAMP_UNKNOWN); 52 pushOutput("string", output);
|
H A D | ToUpperCase.java | 51 Frame output = env.getFrameManager().newFrame(mOutputFormat); 52 output.setObjectValue(inputString.toUpperCase(Locale.getDefault())); 54 pushOutput("uppercase", output);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.h | 31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
|
H A D | exposure.cpp | 36 int output = 0; local 44 output++; 47 return (static_cast<float>(output)) / numPixels; 58 int output = 0; local 66 output++; 69 return (static_cast<float>(output)) / numPixels;
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | OperationResult.java | 33 public final byte[] output; field in class:OperationResult 50 int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output, 56 this.output = output; 65 output = in.createByteArray(); 80 out.writeByteArray(output); 49 OperationResult( int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output, KeymasterArguments outParams) argument
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DrawOverlayFilter.java | 73 // Create output frame with copy of input 74 Frame output = env.getFrameManager().newFrame(sourceFrame.getFormat()); 75 output.setDataFromFrame(sourceFrame); 77 // Draw onto output 78 mProgram.process(overlayFrame, output); 80 // Push output 81 pushOutput("image", output); 84 output.release();
|
H A D | CrossProcessFilter.java | 112 // Create output frame 113 Frame output = context.getFrameManager().newFrame(inputFormat); 116 mProgram.process(input, output); 118 // Push output 119 pushOutput("image", output); 122 output.release();
|
H A D | NegativeFilter.java | 82 // Create output frame 83 Frame output = context.getFrameManager().newFrame(inputFormat); 91 mProgram.process(input, output); 93 // Push output 94 pushOutput("image", output); 97 output.release();
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
H A D | ScopedException.java | 98 public static ScopedException createFromOutput(String output) { argument 102 int msgStart = output.indexOf(MSG_KEY); 104 message = output; 106 int fileStart = output.indexOf(FILE_KEY, msgStart + MSG_KEY.length()); 108 message = output; 110 message = output.substring(msgStart + MSG_KEY.length(), fileStart); 111 int locStart = output.indexOf(LOCATION_KEY, fileStart + FILE_KEY.length()); 113 file = output.substring(fileStart + FILE_KEY.length()); 115 file = output.substring(fileStart + FILE_KEY.length(), locStart); 118 nextLoc = output 139 extractErrors(String output) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | FrameFetch.java | 51 Frame output = context.fetchFrame(mKey); 52 if (output != null) { 53 pushOutput("frame", output);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffEntry.cpp | 127 String8 output; local 129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count); 142 output.appendFormat("%u ", typed_data[i]); 152 output.append(typed_data, len); 158 output.appendFormat("%u ", typed_data[i]); 165 output.appendFormat("%u ", typed_data[i]); 173 output.appendFormat("%u/%u ", typed_data[i], typed_data[i + 1]); 180 output.appendFormat("%d ", typed_data[i]); 187 output.appendFormat("%d ", typed_data[i]); 194 output [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeyStoreCryptoOperationChunkedStreamer.java | 32 * Helper for streaming a crypto operation's input and output via {@link KeyStore} service's 164 if ((opResult.output != null) && (opResult.output.length > 0)) { 166 // More output might be produced in this loop -- buffer the current output 170 bufferedOutput.write(opResult.output); 172 throw new ProviderException("Failed to buffer output", e); 176 // No more output will be produced in this loop 179 // No previously buffered output 180 result = opResult.output; [all...] |