Home
last modified time | relevance | path

Searched refs:data (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DStat.java51 public static StatResult getStat(double[] data) { in getStat() argument
52 double average = data[0]; in getStat()
53 double min = data[0]; in getStat()
54 double max = data[0]; in getStat()
55 for (int i = 1; i < data.length; i++) { in getStat()
56 average += data[i]; in getStat()
57 if (data[i] > max) { in getStat()
58 max = data[i]; in getStat()
60 if (data[i] < min) { in getStat()
61 min = data[i]; in getStat()
[all …]
DResultUploader.java50 byte[] data = getBytes(input); in uploadResult()
51 mMultipartForm.addFormFile("resultXml", "test-result.xml.gz", data); in uploadResult()
DMultipartForm.java68 public MultipartForm addFormFile(String name, String fileName, byte[] data) { in addFormFile() argument
71 mData = data; in addFormFile()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DMultipartFormTest.java54 byte[] data = form.getContentBody(); in testContentBody()
55 assertTrue("No data", data.length > 0); in testContentBody()
56 assertTrue("Wrong data", Arrays.equals(ZIP_ARRAY, data)); in testContentBody()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java117 protected void collectMetrics(DataRecord data) { in collectMetrics() argument
120 data.addStringMetric(entry.getKey(), entry.getValue().toString()); in collectMetrics()
135 protected boolean onTestStartAlternative(DataRecord data) { in onTestStartAlternative() argument
146 protected boolean onTestEndAlternative(DataRecord data) { in onTestEndAlternative() argument
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DUiInteractionFrameInfoListener.java86 protected boolean onTestStartAlternative(DataRecord data) { in onTestStartAlternative() argument
102 protected boolean onTestEndAlternative(DataRecord data) { in onTestEndAlternative() argument
112 processMetrics(data); in onTestEndAlternative()
143 private void reduceMetrics(DataRecord data, String key, String value) { in reduceMetrics() argument
144 if (data == null || key.isEmpty() || value.isEmpty()) return; in reduceMetrics()
156 data.addStringMetric(key, Double.toString(result)); in reduceMetrics()
159 private void processMetrics(DataRecord data) throws InterruptedException { in processMetrics() argument
172 reduceMetrics(data, key, bundle.getString(key)); in processMetrics()
/platform_testing/libraries/audio-test-harness/proto/
Daudio_test_harness_service.proto36 // CaptureChunks containing raw sample data.
39 // A chunk of capture data sent by the host to the client.
41 // The raw audio data that has been captured.
42 bytes data = 1; field
/platform_testing/scripts/perf-load-setup/
Dspin-n-threads.sh5 TGID_FILE=/data/local/tmp/spin_n_threads_tgid.txt
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java73 }).collect(Collectors.toMap(data -> (String) data[0], data -> (BySelector) data[1]));
94 data -> (String) data[0], data -> (BySelector) data[1]));
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBaseMetricListenerInstrumentedTest.java361 Bundle data = new Bundle(); in testSetUpAndCleanUpWithTestCycle() local
372 data.putString(arg, value); in testSetUpAndCleanUpWithTestCycle()
377 data.remove(arg); in testSetUpAndCleanUpWithTestCycle()
382 assertEquals(value, data.getString(arg)); in testSetUpAndCleanUpWithTestCycle()
387 assertEquals(value, data.getString(arg)); in testSetUpAndCleanUpWithTestCycle()
392 assertEquals(value, data.getString(arg)); in testSetUpAndCleanUpWithTestCycle()
397 assertEquals(value, data.getString(arg)); in testSetUpAndCleanUpWithTestCycle()
413 assertFalse(data.containsKey(arg)); in testSetUpAndCleanUpWithTestCycle()
423 Bundle data = new Bundle(); in testSetUpAndCleanUpWithCallbacks() local
434 data.putString(arg, value); in testSetUpAndCleanUpWithCallbacks()
[all …]
/platform_testing/utils/crashcollector/
Dcrashcollector17 base=/data/local/tmp/crashcollector
/platform_testing/libraries/compatibility-common-util/tests/assets/
Dlogcat.txt29 09-03 17:48:05.981 11272 11307 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SY…
63 06-15 19:57:33.846 934 952 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SY…
96 06-15 19:57:35.346 26230 26230 E : AM data write failed: Broken pipe
127 06-15 19:57:40.889 934 952 I BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SY…
168 … stagefright: type=1400 audit(0.0:130): avc: denied { read } for path="/data/data/test1.mp4" dev="…
186 11-03 02:59:48.905 1135 1155 I BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SY…
273 11-25 19:47:35.837 940 940 F DEBUG : Tombstone written to: /data/tombstones/tombstone_01
300 09-03 17:48:05.981 11272 11307 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SY…
334 06-15 19:57:33.846 934 952 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SY…
344 10-01 10:04:58.338 8937 8937 F DEBUG : Cmdline: /data/local/tmp/CVE-2021-0684
[all …]
Dx86app_process64.txt63 [19] .data.rel.ro PROGBITS 0000000000005ab0 00004ab0
115 03 .preinit_array .init_array .fini_array .data.rel.ro .dynamic .got .got.plt .bss
120 08 .preinit_array .init_array .fini_array .data.rel.ro .dynamic .got .got.plt
412 description data: 1c 00 00 00
Dx86app_process32.txt43 [19] .data.rel.ro PROGBITS 00005d50 004d50 000048 00 WA 0 0 4
77 03 .preinit_array .init_array .fini_array .data.rel.ro .dynamic .got .got.plt .bss
82 08 .preinit_array .init_array .fini_array .data.rel.ro .dynamic .got .got.plt
383 description data: 1c 00 00 00
/platform_testing/tests/microbenchmarks/uibench/
DAndroid.bp33 data: [":perfetto_artifacts",
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java224 eventData.addAll(Arrays.asList(eventMetricDataWrapper.data)); in getEventMetrics()
258 gaugeData.addAll(Arrays.asList(gaugeMetricDataWrapper.data)); in getGaugeMetrics()