Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 87) sorted by relevance

1234

/platform_testing/libraries/flicker/src/android/tools/flicker/datastore/
DCachedResultWriter.kt24 override fun write(): IResultData { in write() method in android.tools.flicker.datastore.CachedResultWriter
25 val result = super.write() in write()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DResultWriterTest.kt52 writer.write() in cannotWriteFileWithoutScenario()
62 val result = writer.write() in writesEmptyFile()
80 val result = writer.write() in writesUndefinedFile()
89 val result = writer.write() in writesRunCompleteFile()
98 val result = writer.write() in writesRunFailureFile()
113 val result = writer.write() in writesTransitionTime()
125 val result = writer.write() in writeWMTrace()
136 val result = writer.write() in writeLayersTrace()
149 val result = writer.write() in writeTransactionTrace()
169 val result = writer.write() in writeTransitionTrace()
[all …]
DBaseResultReaderTestParseTrace.kt66 val result = writer.write() in <lambda>()
83 val result = writer.write() in <lambda>()
96 .write() in <lambda>()
109 setupWriter(newTestResultWriter()).setTransitionEndTime(Timestamps.min()).write() in <lambda>()
DResultReaderTest.kt46 val data = newTestResultWriter().write() in failFileNotFound()
56 val data = newTestResultWriter().setRunComplete().write() in slicedResultKeepsStatusInSync()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStream.java100 public void write(int b) { in write() method in CaptureChunkStreamObserverOutputStream
111 write(toWrite); in write()
115 public void write(byte[] b) { in write() method in CaptureChunkStreamObserverOutputStream
120 write(b, 0, b.length); in write()
124 public void write(byte[] b, int off, int len) { in write() method in CaptureChunkStreamObserverOutputStream
/platform_testing/tests/automotive/mobly_tests/utilities/
Dcrystalball_metrics_utils.py37 f.write(test_name + '\n\n')
39 f.write('\n\n')
/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/
DCachedResultWriterTest.kt37 val expected = writer.write() in writeToStore()
50 writer.write() in writeToStoreFailsWhenWriteTwice()
51 writer.write() in writeToStoreFailsWhenWriteTwice()
DCachedResultReaderTest.kt43 val result = writer.write() in readFromStore()
/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/
DTimeResultLogger.java38 outputWriter.write(String.format("%d %s %s\n", (time + delay), in writeTimeStamp()
54 outputWriter.write(String.format("Result %s\n", testCase)); in writeResultToFile()
56 outputWriter.write(String.format("%s %s\n", key, in writeResultToFile()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java365 hciSocket.getOutputStream().write(packet); in sendHciPacket()
376 ret.write(typeBuf); in readHciPacket()
387 ret.write(hdrBuf, 0, 3); in readHciPacket()
393 ret.write(hdrBuf, 0, 4); in readHciPacket()
399 ret.write(hdrBuf, 0, 2); in readHciPacket()
405 ret.write(hdrBuf, 0, 4); in readHciPacket()
416 ret.write(data, 0, dataLength); in readHciPacket()
475 msg.write(cmd.length()); in sendTestChannelCommand()
476 msg.write(cmd.getBytes("ASCII")); in sendTestChannelCommand()
477 msg.write(args.length); in sendTestChannelCommand()
[all …]
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSamplerRule.java95 writer.write( in startThread()
100 writer.write("---------------------\r\n"); in startThread()
102 writer.write(frame.toString() + "\r\n"); in startThread()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DStreamUtil.java47 outStream.write(buf, 0, size); in copyStreams()
61 result.write(buffer, 0, length); in readInputStream()
DMultipartForm.java112 output.write(body); in submitForm()
145 byteOutput.write(mData); in getContentBody()
DResultUploader.java67 gzipOutput.write(buffer, 0, count); in getBytes()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/events/
DEventLogMonitor.kt53 it.write("${EventLog.MAGIC_NUMBER}\n".toByteArray()) in doStop()
59 it.write(eventLogString) in doStop()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt95 val result = writer.write() in canCaptureFocusEventLogs()
151 val result = writer.write() in onlyCapturesLastTransition()
197 val result = writer.write() in ignoreFocusRequestLogs()
244 val result = writer.write() in savesEventLogsToFile()
274 val result = writer.write() in cropsEventsFromBeforeMonitorStart()
315 val result = writer.write() in cropsEventsOutsideOfTransitionTimes()
345 val result = writer.write() in canCaptureCujEvents()
379 val result = writer.write() in collectsCujEventData()
434 val result = writer.write() in canParseHandleUnknownCujTypes()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DBaseSubjectsParserTestParse.kt64 val result = writer.write() in parseTraceSubject()
91 val result = writer.write() in readTraceNullWhenDoesNotExist()
101 val result = writer.write() in doParseStateSubjectAndValidate()
DSubjectsParserTest.kt35 val data = newTestResultWriter().write() in failFileNotFound()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStreamTests.java87 stream.write(byteToWrite); in write_writesAsExpected_singleByte()
111 stream.write(/* b= */ 42); in write_throwsIllegalStateException_singleByte_afterClose()
125 stream.write(bytes); in write_writesAsExpected_multipleBytes()
150 stream.write(new byte[4]); in write_throwsIllegalStateException_multipleBytes_afterClose()
169 stream.write(byteArraysToWrite.get(i), offsets.get(i), lengths.get(i)); in write_writesAsExpected_multipleBytesOffsetAndLength()
233 stream.write(new byte[4], 2, 1); in write_throwsIllegalStateException_multipleBytesOffsetAndLength_afterClose()
/platform_testing/scripts/map_tests/
Dmap_tests.py51 WRITE = args.write
112 f.write(out + "\n")
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java83 stream.write(buffer); in calibrateMethod()
97 hashStream.write(code1.asBytes()); in calibrateMethod()
98 hashStream.write(code2.asBytes()); in calibrateMethod()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DPinnerHelper.java188 writer.write("Pinned files details."); in storeToFile()
189 writer.write(pinnerOutput); in storeToFile()
190 writer.write('\n'); in storeToFile()
/platform_testing/tests/perf/PerformanceLaunch/
Dgen_locales.py33 f.write(template.format(locale))
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DTraceProcessorSession.kt46 FileOutputStream(traceFile).use { it.write(trace) } in loadPerfettoTrace()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java112 fos.write(String.format("notes: %s\n\n", notes).getBytes()); in dumpMeminfo()
136 out.write(buffer, 0, bytesRead); in pipe()

1234