/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/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/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/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/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 65 output = BucketOutput() 69 output += '+ "' 71 output += '"(' 73 output += '+ "|' 76 output += '(' 79 output += '?:' 84 output.addPipe() 88 output += '\\\\' # escape the '-' character. 89 output += letter 92 output [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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | ScanDetailUtilTest.java | 52 ScanDetail output = ScanDetailUtil.toScanDetail(input); 54 validateScanDetail(input, output); 69 ScanDetail output = ScanDetailUtil.toScanDetail(input); 71 validateScanDetail(input, output); 83 ScanDetail output = ScanDetailUtil.toScanDetail(input); 85 validateScanDetail(input, output); 95 private static void validateScanDetail(ScanResult input, ScanDetail output) { argument 96 assertNotNull("NetworkDetail was null", output.getNetworkDetail()); 97 assertNotNull("ScanResult was null", output.getScanResult()); 99 output [all...] |
/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/base/libs/hwui/ |
H A D | OpDumper.cpp | 27 void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) { argument 29 output << " "; 34 output << sOpNameLut[op.opId] << " " << localBounds; 38 output << std::fixed << std::setprecision(0) 43 output << " iwr";
|
H A D | OpDumper.h | 28 static void dump(const RecordedOp& op, std::ostream& output, int level = 0);
|
/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/av/camera/ndk/ |
H A D | NdkCameraDevice.cpp | 111 void ACaptureSessionOutput_free(ACaptureSessionOutput* output) { argument 113 if (output != nullptr) { 114 delete output; 121 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) { 123 if (container == nullptr || output == nullptr) { 124 ALOGE("%s: Error: invalid input: container %p, output %p", 125 __FUNCTION__, container, output); 128 auto pair = container->mOutputs.insert(*output); 130 ALOGW("%s: output %p already exists!", __FUNCTION__, output); 120 ACaptureSessionOutputContainer_add( ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) argument 136 ACaptureSessionOutputContainer_remove( ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output) argument [all...] |
/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();
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
H A D | ScopedException.java | 103 public static ScopedException createFromOutput(String output) { argument 107 int msgStart = output.indexOf(MSG_KEY); 109 message = output; 111 int fileStart = output.indexOf(FILE_KEY, msgStart + MSG_KEY.length()); 113 message = output; 115 message = output.substring(msgStart + MSG_KEY.length(), fileStart); 116 int locStart = output.indexOf(LOCATION_KEY, fileStart + FILE_KEY.length()); 118 file = output.substring(fileStart + FILE_KEY.length()); 120 file = output.substring(fileStart + FILE_KEY.length(), locStart); 123 nextLoc = output 144 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);
|