Searched refs:output (Results 1 - 25 of 393) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
H A DMultipartTest.java60 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 DColorSpace.java33 * 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 DPixelUtils.java28 * <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 DLayerState.cpp25 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.writeInt32(z);
32 output.writeUint32(w);
33 output.writeUint32(h);
34 output.writeUint32(layerStack);
35 output
[all...]
/frameworks/base/core/java/android/util/
H A DBase64.java35 * 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 DMediaPlayerStressTest.java70 //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 DMediaPlayerStreamingStressTest.java74 //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 Dmake-iana-tld-pattern.py65 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 DProgram.java27 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 DJsonParser.java42 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 Dinvert.c24 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 Dto_rgba.c24 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 DOpDumper.cpp28 void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) { argument
30 output << " ";
35 output << sOpNameLut[op.opId] << " " << localBounds;
39 output << std::fixed << std::setprecision(0)
44 output << " iwr";
H A DOpDumper.h28 static void dump(const RecordedOp& op, std::ostream& output, int level = 0);
H A DRenderProperties.cpp102 static void dumpMatrix(std::ostream& output, std::string& indent, argument
105 output << indent << "(" << label << " " << matrix << ": ";
106 output << std::fixed << std::setprecision(2);
107 output << "[" << matrix->get(0) << " "<< matrix->get(1) << " " << matrix->get(2) << "]";
108 output << " [" << matrix->get(3) << " "<< matrix->get(4) << " " << matrix->get(5) << "]";
109 output << " [" << matrix->get(6) << " "<< matrix->get(7) << " " << matrix->get(8) << "]";
110 output << ")" << std::endl;
114 void RenderProperties::debugOutputProperties(std::ostream& output, const int level) const { argument
117 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft
120 dumpMatrix(output, inden
[all...]
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp111 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 DStringSource.java49 Frame output = env.getFrameManager().newFrame(mOutputFormat);
50 output.setObjectValue(mString);
51 output.setTimestamp(Frame.TIMESTAMP_UNKNOWN);
52 pushOutput("string", output);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.h31 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 Dexposure.cpp36 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/rs/rsov/compiler/spirit/
H A Dtransformer.cpp54 auto output = mStream->getWords(); local
56 output.insert(output.end(), functions.begin(), functions.end());
62 return output;
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DDiskStatsFileLoggerTest.java63 JSONObject output = getOutputFileAsJson();
64 assertThat(output.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(0L);
65 assertThat(output.getLong(DiskStatsFileLogger.VIDEOS_KEY)).isEqualTo(0L);
66 assertThat(output.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(0L);
67 assertThat(output.getLong(DiskStatsFileLogger.DOWNLOADS_KEY)).isEqualTo(0L);
68 assertThat(output.getLong(DiskStatsFileLogger.SYSTEM_KEY)).isEqualTo(0L);
69 assertThat(output.getLong(DiskStatsFileLogger.MISC_KEY)).isEqualTo(0L);
70 assertThat(output.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)).isEqualTo(0L);
71 assertThat(output.getLong(DiskStatsFileLogger.APP_CACHE_AGG_KEY)).isEqualTo(0L);
73 output
[all...]
/frameworks/base/core/java/android/security/keymaster/
H A DOperationResult.java33 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/native/libs/binder/tests/
H A DbinderTextOutputTest.cpp34 std::string output; local
36 android::base::ReadFdToString(cap.fd(), &output);
38 output.erase(std::remove(output.begin(), output.end(), '\n'));
39 ASSERT_STREQ(output.c_str(), expected);
63 std::string output; local
65 android::base::ReadFdToString(cap.fd(), &output);
66 ASSERT_STREQ(output.c_str(), "foobar\n");
72 std::string output; local
81 std::string output; local
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DScanResultUtilTest.java51 ScanDetail output = ScanResultUtil.toScanDetail(input);
53 validateScanDetail(input, output);
68 ScanDetail output = ScanResultUtil.toScanDetail(input);
70 validateScanDetail(input, output);
82 ScanDetail output = ScanResultUtil.toScanDetail(input);
84 validateScanDetail(input, output);
151 private static void validateScanDetail(ScanResult input, ScanDetail output) { argument
152 assertNotNull("NetworkDetail was null", output.getNetworkDetail());
153 assertNotNull("ScanResult was null", output.getScanResult());
155 output
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDrawOverlayFilter.java73 // 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();

Completed in 512 milliseconds

1234567891011>>