| /cts/tests/tests/mediastress/src/android/mediastress/cts/ |
| MediaPlayerStressTest.java | 67 private void writeTestOutput(String filename, Writer output) throws Exception{ 68 output.write("File Name: " + filename); 69 output.write(" Complete: " + CodecTest.mOnCompleteSuccess); 70 output.write(" Error: " + CodecTest.mPlaybackError); 71 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 72 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 73 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 74 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 75 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 76 output.write("\n") 166 Writer output = new BufferedWriter(new FileWriter(playbackOutput, true)); local [all...] |
| /external/apache-harmony/support/src/test/java/tests/support/ |
| Support_Exec.java | 67 StringBuilder output = new StringBuilder(); local 73 output.append(new String(bytes, 0, result)); 85 output.toString(), 91 * This function returns the output of the process as a string 103 * This function returns the output of the process as a string 118 StringBuilder output = new StringBuilder(); local 124 output.append(new String(bytes, 0, result)); 137 return output.toString();
|
| /external/brotli/java/org/brotli/dec/ |
| SynthTest.java | 36 ByteArrayOutputStream output = new ByteArrayOutputStream(); local 43 output.write(buffer, 0, len); 46 return output.toByteArray(); [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
| ModifierTest.java | 69 NumberStringBuilder output = new NumberStringBuilder(); local 70 output.append((String) outputs[j][0], null); 71 mod.apply(output, (Integer) outputs[j][1], (Integer) outputs[j][2]); 73 String actual = output.toString();
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
| LongNameHandler.java | 31 Map<StandardPlural, String> output; field in class:LongNameHandler.PluralTableSink 33 public PluralTableSink(Map<StandardPlural, String> output) { 34 this.output = output; 45 if (output.containsKey(plural)) { 49 output.put(plural, formatString); 55 Map<StandardPlural, String> output) { 56 PluralTableSink sink = new PluralTableSink(output); 73 private static void getCurrencyLongNameData(ULocale locale, Currency currency, Map<StandardPlural, String> output) { 83 // Example output after find-and-replace: "{0} US dollars [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
| ModifierTest.java | 66 NumberStringBuilder output = new NumberStringBuilder(); local 67 output.append((String) outputs[j][0], null); 68 mod.apply(output, (Integer) outputs[j][1], (Integer) outputs[j][2]); 70 String actual = output.toString();
|
| /external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/ |
| Instrumenter.java | 145 * @param output 153 public void instrument(final InputStream input, final OutputStream output, 155 output.write(instrument(input, name)); 175 * @param output 184 public int instrumentAll(final InputStream input, final OutputStream output, 194 instrument(detector.getInputStream(), output, name); local 197 return instrumentZip(detector.getInputStream(), output, name); 199 return instrumentGzip(detector.getInputStream(), output, name); 201 return instrumentPack200(detector.getInputStream(), output, name); 203 copy(detector.getInputStream(), output, name) local 263 Pack200Streams.pack(buffer.toByteArray(), output); local [all...] |
| /external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/ |
| TryWithResourcesEcjFilter.java | 31 final MethodNode methodNode, final IFilterOutput output) { 35 final Matcher matcher = new Matcher(output); 49 private final IFilterOutput output; field in class:TryWithResourcesEcjFilter.Matcher 56 Matcher(final IFilterOutput output) { 57 this.output = output; 112 output.ignore(startOnNonExceptionalPath, cursor); 113 output.ignore(start, end); 156 output.ignore(startOnNonExceptionalPath, cursor); 157 output.ignore(start, end) [all...] |
| /external/javassist/src/main/javassist/bytecode/ |
| ParameterAnnotationsAttribute.java | 149 ByteArrayOutputStream output = new ByteArrayOutputStream(); local 150 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); 167 set(output.toByteArray());
|
| /external/owasp/sanitizer/src/main/org/owasp/html/ |
| HtmlChangeReporter.java | 55 private final OutputChannel output; field in class:HtmlChangeReporter 61 this.output = new OutputChannel(renderer); 62 this.input = new InputChannel<T>(output, listener, context); 73 public HtmlStreamEventReceiver getWrappedRenderer() { return output; } 79 final OutputChannel output; field in class:HtmlChangeReporter.InputChannel 84 OutputChannel output, HtmlChangeListener<? super T> listener, 86 this.output = output; 100 output.expectedElementName = elementName; 101 output.expectedAttrNames.clear() [all...] |
| /external/protobuf/java/core/src/main/java/com/google/protobuf/ |
| AbstractMessageLite.java | 70 final CodedOutputStream output = CodedOutputStream.newInstance(result); local 71 writeTo(output); 72 output.checkNoSpaceLeft(); 82 public void writeTo(final OutputStream output) throws IOException { 86 CodedOutputStream.newInstance(output, bufferSize); 92 public void writeDelimitedTo(final OutputStream output) throws IOException { 97 CodedOutputStream.newInstance(output, bufferSize);
|
| /external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
| DexDataWriterTest.java | 47 private NakedByteArrayOutputStream output = new NakedByteArrayOutputStream(); field in class:DexDataWriterTest 55 output.reset(); 58 writer = new DexDataWriter(output, startPosition, bufferSize); 67 byte[] writtenData = output.getBuffer(); 78 byte[] writtenData = output.getBuffer(); 503 writer = new DexDataWriter(output, startPosition, 256);
|
| /external/testng/src/main/java/org/testng/reporters/ |
| FileStringBuffer.java | 87 private static void copy(Reader input, Writer output) 93 output.write(buf, 0, length); 101 output.close();
|
| /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
| AutoFixFilter.java | 255 // Create output frame 256 Frame output = context.getFrameManager().newFrame(inputFormat); local 260 mShaderProgram.process(inputs, output); 262 // Push output 263 pushOutput("image", output); 266 output.release();
|
| GrainFilter.java | 165 // Create output frame 166 Frame output = context.getFrameManager().newFrame(inputFormat); local 184 mGrainProgram.process(inputs, output); 186 // Push output 187 pushOutput("image", output); 190 output.release();
|
| RedEyeFilter.java | 116 // Create output frame 117 Frame output = context.getFrameManager().newFrame(inputFormat); local 133 mProgram.process(inputs, output); 135 // Push output 136 pushOutput("image", output); 139 output.release();
|
| /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
| SurfaceTextureSource.java | 72 /** The width of the output image frame. If the texture width for the 77 /** The height of the output image frame. If the texture height for the 83 * SurfaceTexture, or whether it will output an old frame again if a new 102 // Variables for input->output conversion 118 // Shader for output 164 // Prepare output 215 // Next, render to output 216 Frame output = context.getFrameManager().newFrame(mOutputFormat); local 217 mFrameExtractor.process(mMediaFrame, output); 219 output.setTimestamp(mSurfaceTexture.getTimestamp()) [all...] |
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
| CameraTestResultPrinter.java | 81 Bundle output = new Bundle(); local 82 output.putString(KEY_NUM_ATTEMPTS, String.valueOf(numAttempts)); 83 output.putString(KEY_ITERATION, String.valueOf(iteration)); 85 output.putString(KEY_CAMERA_ID, cameraId); 87 mInst.sendStatus(INST_STATUS_IN_PROGRESS, output); 91 // Format output in a form of pairs of key and value
|
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
| MediaPlayerStreamingStressTest.java | 74 //Test result output file 77 private void writeTestOutput(String filename, Writer output) throws Exception{ 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.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount) 121 Writer output = new BufferedWriter(new FileWriter(playbackOutput, true)); local [all...] |
| /frameworks/base/telephony/java/android/telephony/ |
| UiccAccessRule.java | 73 DataOutputStream output = new DataOutputStream(baos); local 74 output.writeInt(ENCODING_VERSION); 75 output.writeInt(accessRules.length); 77 output.writeInt(accessRule.mCertificateHash.length); 78 output.write(accessRule.mCertificateHash); 80 output.writeBoolean(true); 81 output.writeUTF(accessRule.mPackageName); 83 output.writeBoolean(false); 85 output.writeLong(accessRule.mAccessType); 87 output.close() [all...] |
| /frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
| SliceRenderer.java | 133 final File output = getScreenshotDirectory(); local 134 if (!output.exists()) { 135 output.mkdir(); 146 doRender(slice, s, new File(output, String.format("%s.png", slice)), 154 doRender(slice + "-ser", serialized, new File(output, String.format( 163 doRender(slice + "-ns", s, new File(output, String.format( 173 Log.d(TAG, "Wrote render to " + output.getAbsolutePath());
|
| /frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/workers/ |
| ConstraintTrackingWorkerTest.java | 167 Data output = workSpec.output; local 168 assertThat(output.getBoolean(TEST_ARGUMENT_NAME, false), is(true));
|
| /packages/apps/Camera2/tests/src/com/android/camera/stress/ |
| ShotToShotLatency.java | 124 BufferedWriter output = null; local 126 output = new BufferedWriter(new FileWriter(outFile, true)); 127 output.write("Shot to shot latency - mean: " + mean + "\n"); 128 output.write("Shot to shot latency - standard deviation: " + standardDeviation + "\n"); 134 if (output != null) { 135 output.close();
|
| /tools/loganalysis/src/com/android/loganalysis/item/ |
| LogcatItem.java | 34 /** Constant for JSON output */ 36 /** Constant for JSON output */ 38 /** Constant for JSON output */ 209 JSONObject output = super.toJson(); local 216 output.put(EVENTS, events); 220 return output;
|
| /tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
| XmlResultReporterTest.java | 98 * A simple test to ensure expected output is generated for test run with no tests. 115 * A simple test to ensure expected output is generated for test run with a single passed test. 129 String output = getOutput(); local 131 assertTrue(output.contains("tests=\"1\" failures=\"0\" errors=\"0\"")); 134 assertTrue(output.contains(testCaseTag)); 138 * A simple test to ensure expected output is generated for test run with a single failed test. 154 String output = getOutput(); local 156 assertTrue(output.contains("tests=\"1\" failures=\"1\" errors=\"0\"")); 159 assertTrue(output.contains(testCaseTag)); 161 assertTrue(output.contains(failureTag)) 168 String output = mOutputStream.toString(); local [all...] |