Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 34) sorted by relevance

12

/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerDumpParser.kt28 override fun doDecodeByteArray(bytes: ByteArray): WindowManagerServiceDumpProto = in doDecodeByteArray()
29 WindowManagerServiceDumpProto.parseFrom(bytes) in doDecodeByteArray()
DWindowManagerTraceParser.kt36 override fun doDecodeByteArray(bytes: ByteArray): WindowManagerTraceFileProto = in doDecodeByteArray()
37 WindowManagerTraceFileProto.parseFrom(bytes) in doDecodeByteArray()
DShellTransitionTraceParser.kt43 override fun doDecodeByteArray(bytes: ByteArray): WmShellTransitionTraceProto = in doDecodeByteArray()
44 WmShellTransitionTraceProto.parseFrom(bytes) in doDecodeByteArray()
DWmTransitionTraceParser.kt42 override fun doDecodeByteArray(bytes: ByteArray): TransitionTraceProto = in doDecodeByteArray()
43 TransitionTraceProto.parseFrom(bytes) in doDecodeByteArray()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/
DAbstractParser.kt25 protected abstract fun doDecodeByteArray(bytes: ByteArray): InputTypeTrace in doDecodeByteArray()
34 open fun parse(bytes: ByteArray, clearCache: Boolean = true): OutputTypeTrace { in doDecodeByteArray()
35 val input = decodeByteArray(bytes) in doDecodeByteArray()
DAbstractTraceParser.kt36 final override fun parse(bytes: ByteArray, clearCache: Boolean): OutputTypeTrace { in getEntries()
38 bytes, in getEntries()
133 bytes: ByteArray, in parse()
139 val input = decodeByteArray(bytes) in parse()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/
DViewTraceParser.kt29 override fun doDecodeByteArray(bytes: ByteArray): ExportedData = ExportedData.parseFrom(bytes) in doDecodeByteArray()
DWindowDataParser.kt31 override fun doDecodeByteArray(bytes: ByteArray): WindowData = parsedTrace in doDecodeByteArray()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/events/
DEventLogParser.kt33 override fun doDecodeByteArray(bytes: ByteArray): Collection<String> { in <lambda>()
34 val logsString = bytes.decodeToString() in <lambda>()
93 fun parseSlice(bytes: ByteArray, from: Timestamp, to: Timestamp): EventLog { in <lambda>()
97 this.doDecodeByteArray(bytes) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DScreenRecorderTest.kt123 internal class ScreenRecorderSeekableInputReader(private val bytes: ByteArray) : constant in android.tools.monitors.ScreenRecorderTest.ScreenRecorderSeekableInputReader
129 override fun getLength(): Long = bytes.size.toLong() - position in getPosition()
136 if (position >= bytes.size) { in read()
140 val actualLength = kotlin.math.min(readLength.toLong(), bytes.size - position) in read()
142 buffer[(offset + i).toInt()] = bytes[(position + i).toInt()] in read()
/platform_testing/utils/shell-as/
Dexecute.cpp174 uint8_t* bytes, size_t byte_count) { in ReadChildMemory() argument
175 for (; byte_count != 0; byte_count--, bytes++, process_address++) { in ReadChildMemory()
176 *bytes = ReadChildByte(process, process_address); in ReadChildMemory()
181 uint8_t const* bytes, size_t byte_count) { in WriteChildMemory() argument
182 for (; byte_count != 0; byte_count--, bytes++, process_address++) { in WriteChildMemory()
183 WriteChildByte(process, process_address, *bytes); in WriteChildMemory()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-bytes-transfer/
DREADME.md3 The configs here collects the WiFi bytes transferred on the start and end of tests or test run,
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java74 int bytes = 30000 + rnd.nextInt(60000); in calibrateMethod() local
75 byte[] buffer = new byte[bytes]; in calibrateMethod()
79 for (int j = 0; j < bytes; j++) { in calibrateMethod()
87 byte[] readBuffer = new byte[bytes]; in calibrateMethod()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/mobile-bytes-transfer/
DREADME.md3 These configs are used to collect the bytes transferred via mobile networks(sum of foreground and b…
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DTraceMonitor.kt111 val bytes = reader.readBytes(traceType, tag) ?: error("Missing trace $traceType") in <lambda>() constant
113 return bytes in <lambda>()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Darm64_libdl.txt12 Start of program headers: 64 (bytes into file)
13 Start of section headers: 66280 (bytes into file)
15 Size of this header: 64 (bytes)
16 Size of program headers: 56 (bytes)
18 Size of section headers: 64 (bytes)
105 0x0000000000000002 (PLTRELSZ) 432 (bytes)
109 0x000000000000000b (SYMENT) 24 (bytes)
111 0x000000000000000a (STRSZ) 1003 (bytes)
Darm32_libdl.txt12 Start of program headers: 52 (bytes into file)
13 Start of section headers: 9304 (bytes into file)
15 Size of this header: 52 (bytes)
16 Size of program headers: 32 (bytes)
18 Size of section headers: 40 (bytes)
76 0x00000002 (PLTRELSZ) 152 (bytes)
80 0x0000000b (SYMENT) 16 (bytes)
82 0x0000000a (STRSZ) 1054 (bytes)
Dx86app_process64.txt12 Start of program headers: 64 (bytes into file)
13 Start of section headers: 22168 (bytes into file)
15 Size of this header: 64 (bytes)
16 Size of program headers: 56 (bytes)
18 Size of section headers: 64 (bytes)
125 0x0000000000000002 (PLTRELSZ) 1440 (bytes)
129 0x0000000000000008 (RELASZ) 432 (bytes)
130 0x0000000000000009 (RELAENT) 24 (bytes)
134 0x000000000000000b (SYMENT) 24 (bytes)
136 0x000000000000000a (STRSZ) 1745 (bytes)
[all …]
Dx86app_process32.txt12 Start of program headers: 52 (bytes into file)
13 Start of section headers: 22140 (bytes into file)
15 Size of this header: 52 (bytes)
16 Size of program headers: 32 (bytes)
18 Size of section headers: 40 (bytes)
87 0x00000002 (PLTRELSZ) 504 (bytes)
91 0x00000012 (RELSZ) 136 (bytes)
92 0x00000013 (RELENT) 8 (bytes)
96 0x0000000b (SYMENT) 16 (bytes)
98 0x0000000a (STRSZ) 1816 (bytes)
[all …]
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBatteryStatsListener.java189 int bytes; in dumpBatteryStats() local
190 while((bytes = is.read(buf)) != -1) { in dumpBatteryStats()
191 out.write(buf, 0, bytes); in dumpBatteryStats()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DMockTraceParser.kt33 override fun doDecodeByteArray(bytes: ByteArray): WindowManagerTrace = data in createTrace()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DHeapDumpHelper.java186 long bytes = Files.size(Paths.get(path)); in isEmptyFile() local
187 Log.i(TAG, String.format("File size of %s is %s bytes", path, bytes)); in isEmptyFile()
188 return bytes < 10; in isEmptyFile()
DSlabinfoHelper.java146 long bytes = PAGE_SIZE * pagesPerSlab * numSlabs; in readSlabinfo() local
151 if (val != null) val = Math.max(val, bytes); in readSlabinfo()
152 else val = bytes; in readSlabinfo()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DProtoLogTraceParser.kt34 override fun doDecodeByteArray(bytes: ByteArray): TraceProcessorSession { in <lambda>()
/platform_testing/libraries/screenshot/proto/src/main/proto/
Dscreenshot_result.proto42 bytes image_test = 1;
52 bytes image_reference = 3;

12