Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
H A DMultipartTest.java62 output.append("--"); in testParts()
64 output.append(CRLF); in testParts()
67 output.append(CRLF); in testParts()
69 output.append(CRLF); in testParts()
71 output.append(CRLF); in testParts()
72 output.append(CRLF); in testParts()
74 output.append(CRLF); in testParts()
76 output.append("--"); in testParts()
78 output.append(CRLF); in testParts()
84 output.append("\""); in testParts()
[all …]
/aosp14/frameworks/base/core/java/android/util/
H A DBase64.java74 public byte[] output; field in Base64.Coder
168 return decoder.output; in decode()
244 this.output = output; in Decoder()
279 final byte[] output = this.output; in process()
541 return encoder.output; in encode()
584 this.output = output; in Encoder()
608 final byte[] output = this.output; in process()
654 output[op++] = '\n'; in process()
676 output[op++] = '\n'; in process()
694 output[op++] = '='; in process()
[all …]
/aosp14/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator_test.cpp72 std::string output; in TEST() local
96 std::string output; in TEST() local
132 std::string output; in TEST() local
168 std::string output; in TEST() local
288 std::string output; in TEST() local
312 std::string output; in TEST() local
354 std::string output; in TEST() local
392 std::string output; in TEST() local
429 std::string output; in TEST() local
471 std::string output; in TEST() local
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaPlayerStressTest.java74 output.write("File Name: " + filename); in writeTestOutput()
75 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
76 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
82 output.write(" Failed To Complete With No Error: " + in writeTestOutput()
84 output.write("\n"); in writeTestOutput()
88 output.write("Total Result:\n"); in writeTestSummary()
89 output.write("Total Complete: " + mTotalComplete + "\n"); in writeTestSummary()
98 output.write("\n"); in writeTestSummary()
151 writeTestOutput(filename,output); in testVideoPlayback()
155 writeTestSummary(output); in testVideoPlayback()
[all …]
H A DMediaPlayerStreamingStressTest.java78 output.write("URL: " + filename); in writeTestOutput()
79 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
80 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
86 output.write("\n"); in writeTestOutput()
89 private void writeTestSummary(Writer output) throws Exception{ in writeTestSummary() argument
90 output.write("Total Result:\n"); in writeTestSummary()
91 output.write("Total Complete: " + mTotalComplete + "\n"); in writeTestSummary()
98 output.write("\n"); in writeTestSummary()
156 writeTestOutput(filename,output); in testVideoPlayback()
160 writeTestSummary(output); in testVideoPlayback()
[all …]
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorSpace.java42 ByteBuffer input, ByteBuffer output, int width, int height) { in convertYuv420pToRgba8888() argument
44 expectOutputSize(output, width * height * 4); in convertYuv420pToRgba8888()
45 nativeYuv420pToRgba8888(input, output, width, height); in convertYuv420pToRgba8888()
61 ByteBuffer input, ByteBuffer output, int width, int height) { in convertArgb8888ToRgba8888() argument
63 expectOutputSize(output, width * height * 4); in convertArgb8888ToRgba8888()
64 nativeArgb8888ToRgba8888(input, output, width, height); in convertArgb8888ToRgba8888()
82 expectOutputSize(output, width * height * 4); in convertRgba8888ToHsva8888()
83 nativeRgba8888ToHsva8888(input, output, width, height); in convertRgba8888ToHsva8888()
101 expectOutputSize(output, width * height * 4); in convertRgba8888ToYcbcra8888()
102 nativeRgba8888ToYcbcra8888(input, output, width, height); in convertRgba8888ToYcbcra8888()
[all …]
H A DPixelUtils.java45 ByteBuffer output, in copyPixels() argument
51 if (input.remaining() != output.remaining()) { in copyPixels()
55 } else if (output.remaining() % 4 != 0) { in copyPixels()
60 } else if ((width * height * 4) != output.remaining()) { in copyPixels()
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); in copyPixels()
68 ByteBuffer output, in nativeCopyPixels() argument
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DProcfsMemoryUtil.java46 long[] output = new long[STATUS_KEYS.length]; in readMemorySnapshotFromProcfs() local
47 output[0] = -1; in readMemorySnapshotFromProcfs()
48 output[3] = -1; in readMemorySnapshotFromProcfs()
49 output[4] = -1; in readMemorySnapshotFromProcfs()
50 output[5] = -1; in readMemorySnapshotFromProcfs()
52 if (output[0] == -1 || output[3] == -1 || output[4] == -1 || output[5] == -1) { in readMemorySnapshotFromProcfs()
57 snapshot.uid = (int) output[0]; in readMemorySnapshotFromProcfs()
59 snapshot.rssInKilobytes = (int) output[2]; in readMemorySnapshotFromProcfs()
60 snapshot.anonRssInKilobytes = (int) output[3]; in readMemorySnapshotFromProcfs()
61 snapshot.rssShmemKilobytes = (int) output[4]; in readMemorySnapshotFromProcfs()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java618 output.append(indentPlusTwo); in toStringWithIndent()
620 output.append(indentPlusTwo); in toStringWithIndent()
622 output.append(indentPlusTwo); in toStringWithIndent()
624 output.append(indentPlusTwo); in toStringWithIndent()
626 output.append(indentPlusTwo); in toStringWithIndent()
688 return output.toString(); in toStringWithIndent()
800 output.append(", "); in toString()
803 output.append("]"); in toString()
804 return output.toString(); in toString()
987 output.append('}'); in toString()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DDiskStatsFileLoggerTest.java63 JSONObject output = getOutputFileAsJson(); in testEmptyStorage() local
64 assertThat(output.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(0L); in testEmptyStorage()
65 assertThat(output.getLong(DiskStatsFileLogger.VIDEOS_KEY)).isEqualTo(0L); in testEmptyStorage()
66 assertThat(output.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(0L); in testEmptyStorage()
68 assertThat(output.getLong(DiskStatsFileLogger.SYSTEM_KEY)).isEqualTo(0L); in testEmptyStorage()
69 assertThat(output.getLong(DiskStatsFileLogger.MISC_KEY)).isEqualTo(0L); in testEmptyStorage()
89 JSONObject output = getOutputFileAsJson(); in testMeasurementResultsReported() local
90 assertThat(output.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(1L); in testMeasurementResultsReported()
115 JSONObject output = getOutputFileAsJson(); in testAppsReported() local
151 JSONObject output = getOutputFileAsJson(); in testEmulatedExternalStorageCounted() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DActionIntentCreatorTest.kt41 val output = ActionIntentCreator.createShare(uri) regex
43 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER)
44 assertThatIntent(output)
66 val output = ActionIntentCreator.createShare(uri) regex
80 assertThatIntent(output)
104 assertThatIntent(output)
129 assertThatIntent(output).hasAction(Intent.ACTION_EDIT)
130 assertThatIntent(output).hasData(uri)
131 assertThatIntent(output).hasType("image/png")
134 assertThatIntent(output)
[all …]
/aosp14/frameworks/base/cmds/idmap2/
H A Dstatic-checks.sh30 local output
33 output="$(eval "$cmd" 2>&1)"
38 echo "${output}"
51 local output="$(clang-format -style=file "$path" | diff $path -)"
52 if [[ "$output" ]]; then
54 echo "$output"
63 local output="$(bpfmt -d $bp_files)"
64 if [[ "$output" ]]; then
65 echo "$output"
80 if [[ "$output" ]]; then
[all …]
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DDump_test.cpp37 StringOutputStream output_stream(output); in DumpBadgingToString()
52 std::string output; in TEST_F() local
59 ASSERT_EQ(output, expected); in TEST_F()
67 std::string output; in TEST_F() local
75 ASSERT_EQ(output, expected); in TEST_F()
83 std::string output; in TEST_F() local
91 ASSERT_EQ(output, expected); in TEST_F()
99 std::string output; in TEST_F() local
108 ASSERT_EQ(output, expected); in TEST_F()
116 std::string output; in TEST_F() local
[all …]
/aosp14/frameworks/base/tests/UsbTests/src/com/android/server/usb/
H A DUsbMidiPacketConverterTest.java37 byte[] output = new byte[size]; in generateRandomByteStream()
38 rnd.nextBytes(output); in generateRandomByteStream()
39 return output; in generateRandomByteStream()
195 compareByteArrays(expectedOutput, output); in testEncoderBasic()
214 compareByteArrays(expectedOutput, output); in testEncoderMultiplePackets()
235 compareByteArrays(expectedOutput, output); in testEncoderWeavePackets()
250 compareByteArrays(expectedOutput, output); in testEncoderSysExEndFirstByte()
265 compareByteArrays(expectedOutput, output); in testEncoderSysExEndSecondByte()
280 compareByteArrays(expectedOutput, output); in testEncoderSysExEndThirdByte()
293 compareByteArrays(expectedOutput, output); in testEncoderSysExStartEnd()
[all …]
/aosp14/frameworks/base/libs/hwui/
H A DRenderProperties.cpp105 static void dumpMatrix(std::ostream& output, std::string& indent, const char* label, in dumpMatrix() argument
108 output << indent << "(" << label << " " << matrix << ": "; in dumpMatrix()
109 output << std::fixed << std::setprecision(2); in dumpMatrix()
113 output << ")" << std::endl; in dumpMatrix()
120 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft << ", " in debugOutputProperties()
123 dumpMatrix(output, indent, "ConcatMatrix (static)", mStaticMatrix); in debugOutputProperties()
124 dumpMatrix(output, indent, "ConcatMatrix (animation)", mAnimationMatrix); in debugOutputProperties()
126 output << std::fixed << std::setprecision(2); in debugOutputProperties()
132 dumpMatrix(output, indent, "ConcatMatrix ", mComputedFields.mTransformMatrix); in debugOutputProperties()
153 output << indent << "(SaveLayerAlpha " << (int)layerBounds.left << ", " in debugOutputProperties()
[all …]
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DKeyStoreCryptoOperationChunkedStreamer.java133 byte[] output = EmptyArray.BYTE; in update()
144 if (mChunkLength < mChunkSizeMax) return output; in update()
147 output = ArrayUtils.concat(output, o); in update()
162 output = ArrayUtils.concat(output, o); in update()
173 mProducedOutputSizeBytes += output.length; in update()
174 return output; in update()
179 byte[] output = update(input, inputOffset, inputLength); in doFinal()
187 if (output != null) { in doFinal()
188 output = ArrayUtils.concat(output, o); in doFinal()
190 output = o; in doFinal()
[all …]
H A DAndroidKeyStoreCipherSpiBase.java427 byte[] output; in engineUpdate()
436 if (output.length == 0) { in engineUpdate()
440 return output; in engineUpdate()
446 byte[] output; in flushAAD()
454 if ((output != null) && (output.length > 0)) { in flushAAD()
490 if (output == null) { in engineUpdate()
548 byte[] output; in engineUpdateAAD()
556 if ((output != null) && (output.length > 0)) { in engineUpdateAAD()
615 byte[] output; in engineDoFinal()
633 return output; in engineDoFinal()
[all …]
/aosp14/frameworks/base/libs/androidfw/
H A DUtil.cpp92 std::string output; in Utf8ToModifiedUtf8() local
93 output.reserve(modified_size); in Utf8ToModifiedUtf8()
111 output.push_back(utf8[i]); in Utf8ToModifiedUtf8()
115 return output; in Utf8ToModifiedUtf8()
121 std::string output; in ModifiedUtf8ToUtf8() local
122 output.reserve(modified_utf8.size()); in ModifiedUtf8ToUtf8()
154 const size_t start_index = output.size(); in ModifiedUtf8ToUtf8()
155 output.resize(start_index + utf8_length); in ModifiedUtf8ToUtf8()
156 char* start = &output[start_index]; in ModifiedUtf8ToUtf8()
166 output.push_back(modified_utf8[i]); in ModifiedUtf8ToUtf8()
[all …]
/aosp14/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
H A DManagedProfileLifecycleStressTest.java115 final String output = receiver.getOutput(); in waitForBroadcastIdle() local
116 if (!output.contains("All broadcast queues are idle!")) { in waitForBroadcastIdle()
117 CLog.e("Output from 'am wait-for-broadcast-idle': %s", output); in waitForBroadcastIdle()
123 final String output = getDevice().executeShellCommand( in createManagedProfile() local
125 final Matcher matcher = CREATE_USER_OUTPUT_REGEX.matcher(output.trim()); in createManagedProfile()
127 fail("user creation failed, output: " + output); in createManagedProfile()
139 final String output = getDevice().executeShellCommand("pm remove-user " + userId).trim(); in removeUser() local
140 assertEquals("Unexpected pm output: " + output, "Success: removed user", output); in removeUser()
144 final String output = getDevice().executeShellCommand("am start-user -w " + userId).trim(); in startUser() local
145 assertEquals("Unexpected am output: " + output, "Success: user started", output); in startUser()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DJsonParser.java42 JSONObject output = new JSONObject(); in parse() local
49 if (output.has(fieldName)) { in parse()
57 output.put(fieldName, new JSONArray(parseArray(reader))); in parse()
59 output.put(fieldName, reader.nextString()); in parse()
62 output.put(fieldName, parse(reader)); in parse()
77 return output; in parse()
84 ArrayList<String> output = new ArrayList<>(); in parseArray() local
88 output.add(reader.nextString()); in parseArray()
92 return output; in parseArray()
/aosp14/system/core/trusty/keymaster/keymint/
H A DTrustyKeyMintOperation.cpp74 vector<uint8_t>* output) { in update() argument
75 if (!output) return kmError2ScopedAStatus(KM_ERROR_OUTPUT_PARAMETER_NULL); in update()
92 output->clear(); in update()
108 output->insert(output->end(), response.output.begin(), response.output.end()); in update()
119 vector<uint8_t>* output) { in finish() argument
120 if (!output) { in finish()
124 output->clear(); in finish()
151 std::nullopt /* timestampToken */, output); in finish()
168 *output = {response.output.begin(), response.output.end()}; in finish()
/aosp14/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dto_rgba.c24 char* output, in gray_to_rgb_process() argument
37 char* output_ptr = output; in gray_to_rgb_process()
55 char* output, in rgba_to_rgb_process() argument
68 char* output_ptr = output; in rgba_to_rgb_process()
87 char* output, in gray_to_rgba_process() argument
100 char* output_ptr = output; in gray_to_rgba_process()
119 char* output, in rgb_to_rgba_process() argument
132 char* output_ptr = output; in rgb_to_rgba_process()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
H A DFlowUtilTests.kt250 val output = mutableListOf<Int>() regex
263 assertThat(output).containsExactly(1)
269 assertThat(output).containsExactly(1)
285 val output = mutableListOf<Int>() regex
298 assertThat(output).containsExactly(1)
305 assertThat(output).containsExactly(1)
321 val output = mutableListOf<Int>() regex
336 assertThat(output).containsExactly(1)
343 assertThat(output).containsExactly(1)
359 val output = mutableListOf<Int>() regex
[all …]
/aosp14/frameworks/base/media/java/android/media/
H A DAudioMetadata.java647 output.putInt(obj);
660 output.putLong(obj);
673 output.putFloat(obj);
686 output.putDouble(obj);
713 output.put(valueArr);
761 output.putInt(dataType); in pack()
771 output.position(position); in pack()
773 output.position(currentPosition); in pack()
820 output.putInt(obj.size()); in pack()
887 output.order(order); in toByteBuffer()
[all …]
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaMemoryTracer.cpp173 TraceValue output(value); in convertUnits() local
174 if (SkString("bytes") == SkString(output.units) && output.value >= 1024) { in convertUnits()
175 output.value = output.value / 1024.0f; in convertUnits()
176 output.units = "KB"; in convertUnits()
178 if (SkString("KB") == SkString(output.units) && output.value >= 1024) { in convertUnits()
179 output.value = output.value / 1024.0f; in convertUnits()
180 output.units = "MB"; in convertUnits()
182 return output; in convertUnits()

12345678910>>...14