Home
last modified time | relevance | path

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

12345678910>>...32

/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java60 StringBuffer output = new StringBuffer(); in testParts() local
62 output.append("--"); in testParts()
63 output.append(boundry); in testParts()
64 output.append(CRLF); in testParts()
66 output.append("Content-Disposition: form-data; name=\"stringpart\""); in testParts()
67 output.append(CRLF); in testParts()
68 output.append("Content-Type: text/plain; charset=US-ASCII"); in testParts()
69 output.append(CRLF); in testParts()
70 output.append("Content-Transfer-Encoding: 8bit"); in testParts()
71 output.append(CRLF); in testParts()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp85 int16_t *output, in local_convert_float_to_int16() argument
89 *output++ = std::min(INT16_MAX, std::max(INT16_MIN, n)); // clip in local_convert_float_to_int16()
94 std::array<int16_t, kNumSamples> output; in TEST() local
99 int16_t *out = output.data(); in TEST()
100 output.fill(777); in TEST()
106 EXPECT_EQ(kExpectedI16.at(i), output.at(i)) << ", i = " << i; in TEST()
110 output.fill(777); in TEST()
111 local_convert_float_to_int16(kInputFloat.data(), output.data(), kNumSamples); in TEST()
113 EXPECT_EQ(kExpectedI16.at(i), output.at(i)) << ", i = " << i; in TEST()
119 std::array<int16_t, kNumSamples + 10> output; // larger than input in TEST() local
[all …]
/frameworks/base/core/java/android/util/
DBase64.java75 public byte[] output; field in Base64.Coder
168 if (decoder.op == decoder.output.length) { in decode()
169 return decoder.output; in decode()
175 System.arraycopy(decoder.output, 0, temp, 0, decoder.op); in decode()
244 public Decoder(int flags, byte[] output) { in Decoder() argument
245 this.output = output; in Decoder()
280 final byte[] output = this.output; in process()
304 output[op+2] = (byte) value; in process()
305 output[op+1] = (byte) (value >> 8); in process()
306 output[op] = (byte) (value >> 16); in process()
[all …]
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp72 std::string output; in TEST() local
73 StringOutputStream out(&output); in TEST()
77 EXPECT_THAT(output, HasSubstr("public static final int hey_man=0x01020000;")); in TEST()
78 EXPECT_THAT(output, HasSubstr("public static final int[] hey_dude={")); in TEST()
79 EXPECT_THAT(output, HasSubstr("public static final int hey_dude_cool_attr=0;")); in TEST()
96 std::string output; in TEST() local
97 StringOutputStream out(&output); in TEST()
101 EXPECT_THAT(output, HasSubstr("package com.android.internal;")); in TEST()
102 EXPECT_THAT(output, HasSubstr("public static final int one=0x01020000;")); in TEST()
103 EXPECT_THAT(output, Not(HasSubstr("two"))); in TEST()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.h104 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh;
105 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
106 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
107 std::shared_ptr<C2StreamQualityTuning::output> mQuality;
108 std::shared_ptr<C2StreamComplexityTuning::output> mComplexity;
109 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode;
110 std::shared_ptr<C2StreamRequestSyncFrameTuning::output> mRequestSync;
111 std::shared_ptr<C2StreamColorAspectsInfo::output> mColorAspects;
112 std::shared_ptr<C2StreamPictureQuantizationTuning::output> mQpBounds;
121 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output>& me);
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java73 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput() argument
74 output.write("File Name: " + filename); in writeTestOutput()
75 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
76 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput()
78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput()
79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput()
80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput()
81 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput()
82 output.write(" Failed To Complete With No Error: " + in writeTestOutput()
[all …]
DMediaPlayerStreamingStressTest.java76 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput() argument
77 output.write("URL: " + filename); in writeTestOutput()
78 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
79 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
80 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput()
81 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput()
82 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput()
83 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput()
84 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput()
85 output.write("\n"); in writeTestOutput()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
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()
80 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToHsva8888() argument
82 expectOutputSize(output, width * height * 4); in convertRgba8888ToHsva8888()
83 nativeRgba8888ToHsva8888(input, output, width, height); in convertRgba8888ToHsva8888()
99 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToYcbcra8888() argument
[all …]
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp195 status_t encodeMetadataType(const MetadataType& input, OutputHidlVec* output);
207 status_t encode(const T& input, hidl_vec<uint8_t>* output, EncodeHelper<T> encodeHelper) { in encode() argument
208 OutputHidlVec outputHidlVec{output}; in encode()
224 status_t encodeMetadata(const MetadataType& metadataType, const T& input, hidl_vec<uint8_t>* output, in encodeMetadata() argument
226 OutputHidlVec outputHidlVec{output}; in encodeMetadata()
253 hidl_vec<uint8_t>* output, EncodeHelper<T> encodeHelper) { in encodeOptionalMetadata() argument
257 return encodeMetadata(metadataType, *input, output, encodeHelper); in encodeOptionalMetadata()
266 status_t decode(const hidl_vec<uint8_t>& input, T* output, DecodeHelper<T> decodeHelper, in decode() argument
270 status_t err = decodeHelper(&inputHidlVec, output); in decode()
278 errorHandler(output); in decode()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h219 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh;
220 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
221 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
222 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode;
223 std::shared_ptr<C2StreamRequestSyncFrameTuning::output> mRequestSync;
224 std::shared_ptr<C2StreamTemporalLayeringTuning::output> mLayering;
225 std::shared_ptr<C2StreamPictureQuantizationTuning::output> mQpBounds;
245 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me);
250 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output>& me,
252 const C2P<C2StreamFrameRateInfo::output>& frameRate,
[all …]
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py68 output = BucketOutput()
72 output += '+ "'
74 output += '"('
76 output += '+ "|'
79 output += '('
82 output += '?:'
87 output.addPipe()
91 output += '\\\\' # escape the '-' character.
92 output += letter
95 output.addPipe()
[all …]
/frameworks/native/libs/gui/
DLayerState.cpp101 status_t layer_state_t::write(Parcel& output) const in write()
103 SAFE_PARCEL(output.writeStrongBinder, surface); in write()
104 SAFE_PARCEL(output.writeInt32, layerId); in write()
105 SAFE_PARCEL(output.writeUint64, what); in write()
106 SAFE_PARCEL(output.writeFloat, x); in write()
107 SAFE_PARCEL(output.writeFloat, y); in write()
108 SAFE_PARCEL(output.writeInt32, z); in write()
109 SAFE_PARCEL(output.writeUint32, layerStack.id); in write()
110 SAFE_PARCEL(output.writeUint32, flags); in write()
111 SAFE_PARCEL(output.writeUint32, mask); in write()
[all …]
DITransactionCompletedListener.cpp52 status_t FrameEventHistoryStats::writeToParcel(Parcel* output) const { in writeToParcel()
53 status_t err = output->writeUint64(frameNumber); in writeToParcel()
57 err = output->writeUint64(previousFrameNumber); in writeToParcel()
62 err = output->writeBool(true); in writeToParcel()
65 err = output->write(*gpuCompositionDoneFence); in writeToParcel()
67 err = output->writeBool(false); in writeToParcel()
71 err = output->writeInt64(compositorTiming.deadline); in writeToParcel()
74 err = output->writeInt64(compositorTiming.interval); in writeToParcel()
77 err = output->writeInt64(compositorTiming.presentLatency); in writeToParcel()
80 err = output->writeInt64(refreshStartTime); in writeToParcel()
[all …]
DBatchBufferOps.cpp38 RequestBufferOutput& output = outputs->emplace_back(); in requestBuffers() local
39 output.result = requestBuffer(static_cast<int>(slot), in requestBuffers()
40 &output.buffer); in requestBuffers()
51 DequeueBufferOutput& output = outputs->emplace_back(); in dequeueBuffers() local
52 output.result = dequeueBuffer( in dequeueBuffers()
53 &output.slot, in dequeueBuffers()
54 &output.fence, in dequeueBuffers()
59 &output.bufferAge, in dequeueBuffers()
60 input.getTimestamps ? &output.timestamps.emplace() : nullptr); in dequeueBuffers()
82 AttachBufferOutput& output = outputs->emplace_back(); in attachBuffers() local
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
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()
51 Process.readProcLines("/proc/" + pid + "/status", STATUS_KEYS, output); 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()
58 snapshot.rssHighWaterMarkInKilobytes = (int) output[1]; in readMemorySnapshotFromProcfs()
59 snapshot.rssInKilobytes = (int) output[2]; in readMemorySnapshotFromProcfs()
[all …]
/frameworks/base/cmds/idmap2/
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"
74 local output="$($cpplint --quiet $cpp_files 2>&1 >/dev/null | grep -v \
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java626 StringBuilder output = new StringBuilder(); in toStringWithIndent() local
627 output.append(indent).append("AggregatedStats{\n"); in toStringWithIndent()
629 output.append(indentPlusTwo); in toStringWithIndent()
630 output.append("key='").append(key).append("',\n"); in toStringWithIndent()
631 output.append(indentPlusTwo); in toStringWithIndent()
632 output.append("numEnqueuedByApp=").append(numEnqueuedByApp).append(",\n"); in toStringWithIndent()
633 output.append(indentPlusTwo); in toStringWithIndent()
634 output.append("numPostedByApp=").append(numPostedByApp).append(",\n"); in toStringWithIndent()
635 output.append(indentPlusTwo); in toStringWithIndent()
636 output.append("numUpdatedByApp=").append(numUpdatedByApp).append(",\n"); in toStringWithIndent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
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()
67 assertThat(output.getLong(DiskStatsFileLogger.DOWNLOADS_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()
70 assertThat(output.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)).isEqualTo(0L); in testEmptyStorage()
71 assertThat(output.getLong(DiskStatsFileLogger.APP_CACHE_AGG_KEY)).isEqualTo(0L); in testEmptyStorage()
73 output.getJSONArray(DiskStatsFileLogger.PACKAGE_NAMES_KEY).length()).isEqualTo(0L); in testEmptyStorage()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt41 val output = ActionIntentCreator.createShare(uri) in testCreateShare() constant
43 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER) in testCreateShare()
44 assertThatIntent(output) in testCreateShare()
51 assertThatIntent(output).extras().parcelable<Intent>(Intent.EXTRA_INTENT).isNotNull() in testCreateShare()
52 val wrappedIntent = output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java) in testCreateShare()
66 val output = ActionIntentCreator.createShare(uri) in testCreateShare_embeddedUserIdRemoved() constant
68 assertThatIntent(output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java)) in testCreateShare_embeddedUserIdRemoved()
77 val output = ActionIntentCreator.createShareWithSubject(uri, subject) in testCreateShareWithSubject() constant
79 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER) in testCreateShareWithSubject()
80 assertThatIntent(output) in testCreateShareWithSubject()
[all …]
/frameworks/base/tools/aapt2/cmd/
DDump_test.cpp35 void DumpBadgingToString(LoadedApk* loaded_apk, std::string* output, bool include_meta_data = false, in DumpBadgingToString() argument
37 StringOutputStream output_stream(output); in DumpBadgingToString()
52 std::string output; in TEST_F() local
53 DumpBadgingToString(loaded_apk.get(), &output); in TEST_F()
59 ASSERT_EQ(output, expected); in TEST_F()
67 std::string output; in TEST_F() local
68 DumpBadgingToString(loaded_apk.get(), &output); in TEST_F()
75 ASSERT_EQ(output, expected); in TEST_F()
83 std::string output; in TEST_F() local
84 DumpBadgingToString(loaded_apk.get(), &output, /* include_meta_data= */ true); in TEST_F()
[all …]
/frameworks/native/cmds/evemu-record/
Dmain.rs107 output: &mut impl Write, in print_device_description()
110 writeln!(output, "# EVEMU 1.2")?; in print_device_description()
111 writeln!(output, "N: {}", device.name()?)?; in print_device_description()
115 output, in print_device_description()
121 output: &mut impl Write, in print_device_description()
127 write!(output, "{prefix}")?; in print_device_description()
129 write!(output, " {:02x}", byte)?; in print_device_description()
131 writeln!(output)?; in print_device_description()
136 write!(output, " 00")?; in print_device_description()
138 writeln!(output)?; in print_device_description()
[all …]
/frameworks/av/media/img_utils/src/
DTiffEntry.cpp127 String8 output; in toString() local
129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count); in toString()
142 output.appendFormat("%u ", typed_data[i]); in toString()
152 output.append(typed_data, len); in toString()
158 output.appendFormat("%u ", typed_data[i]); in toString()
165 output.appendFormat("%u ", typed_data[i]); in toString()
173 output.appendFormat("%u/%u ", typed_data[i], typed_data[i + 1]); in toString()
180 output.appendFormat("%d ", typed_data[i]); in toString()
187 output.appendFormat("%d ", typed_data[i]); in toString()
194 output.appendFormat("%d ", typed_data[i]); in toString()
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbMidiPacketConverterTest.java37 byte[] output = new byte[size]; in generateRandomByteStream()
38 rnd.nextBytes(output); in generateRandomByteStream()
39 return output; in generateRandomByteStream()
194 byte[] output = usbMidiPacketConverter.pullEncodedMidiPackets(); in testEncoderBasic()
195 compareByteArrays(expectedOutput, output); in testEncoderBasic()
213 byte[] output = usbMidiPacketConverter.pullEncodedMidiPackets(); in testEncoderMultiplePackets()
214 compareByteArrays(expectedOutput, output); in testEncoderMultiplePackets()
234 byte[] output = usbMidiPacketConverter.pullEncodedMidiPackets(); in testEncoderWeavePackets()
235 compareByteArrays(expectedOutput, output); in testEncoderWeavePackets()
249 byte[] output = usbMidiPacketConverter.pullEncodedMidiPackets(); in testEncoderSysExEndFirstByte()
[all …]
/frameworks/base/keystore/java/android/security/keystore2/
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 …]
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dstderr.txt.expect2 …match.rscript:22:18: error: foreach kernel 'dd' has output type 'uint' for 32-bit targets but outp…
3 …atch.rscript:39:15: error: foreach kernel 'ii' has output type 'int' for 64-bit targets but no out…
4 …atch.rscript:40:16: error: foreach kernel 'jj' has output type 'int' for 32-bit targets but no out…
16 …smatch.rscript:74:6: error: foreach kernel 'oo' has output type 'uint' for 32-bit targets but outp…
19 …tch.rscript:52:6: error: foreach kernel 'll' has untyped output for 32-bit targets but no output f…
20 …tch.rscript:51:6: error: foreach kernel 'kk' has untyped output for 64-bit targets but no output f…
21 …match.rscript:38:6: error: foreach kernel 'hh' has output type 'int' for 32-bit targets but no out…
22 …match.rscript:37:6: error: foreach kernel 'gg' has output type 'int' for 64-bit targets but no out…
23 ….rscript:28:6: error: foreach kernel 'ff' has output type 'short' for 32-bit targets but has untyp…
24 ….rscript:27:6: error: foreach kernel 'ee' has output type 'short' for 64-bit targets but has untyp…
[all …]

12345678910>>...32