Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 42) sorted by relevance

12

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DReportLog.java64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) { in Metric() argument
65 this(source, message, new double[] { value }, type, unit); in Metric()
79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) { in Metric() argument
80 int sourceLength = source.length(); in Metric()
83 mSource = source.substring(sourceLength - MAX_SOURCE_LENGTH); in Metric()
85 mSource = source; in Metric()
143 String source = parser.getAttributeValue(null, SOURCE_ATTR); in parse() local
161 return new Metric(source, message, values, type, unit); in parse()
184 public void addValues(String source, String message, double[] values, ResultType type, in addValues() argument
199 public void addValue(String source, String message, double value, ResultType type, in addValue() argument
/test/suite_harness/tools/cts-instant-tradefed/
DREADME21 http://source.android.com/compatibility/downloads.html
36 Or else if you are working from the Android source tree and have run make cts,
59 See http://source.android.com for instructions on obtaining the Android
60 platform source code and setting up a build environment.
62 The source for the CTS extensions for tradefed can be found at
63 <android source root>/cts/tools/tradefed-host
65 The source for the tradefed framework can be found on the 'tradefed' branch.
69 cd <path to android source root>
/test/suite_harness/tools/cts-tradefed/
DREADME29 http://source.android.com/compatibility/downloads.html
44 Or else if you are working from the Android source tree and have run make cts,
67 See http://source.android.com for instructions on obtaining the Android
68 platform source code and setting up a build environment.
70 The source for the CTS extensions for tradefed can be found at
71 <android source root>/cts/tools/tradefed-host
73 The source for the tradefed framework can be found on the 'tradefed' branch.
77 cd <path to android source root>
/test/suite_harness/tools/dex-tools/test/dex/reader/util/
DJavaSourceToDexUtil.java43 public dex.structure.DexFile getFrom(JavaSource source) throws IOException{ in getFrom() argument
44 return getAllFrom(Collections.singleton(source)); in getFrom()
47 public dex.structure.DexFile getFrom(JavaSource... source) throws IOException{ in getFrom() argument
48 return getAllFrom(new HashSet<JavaSource>(Arrays.asList(source))); in getFrom()
86 public Set<MemoryByteCode> compileToByteCode(Set<JavaSource> source) { in compileToByteCode() argument
94 .asList(new String[] {"-classpath", "."}), null, source); in compileToByteCode()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDeviceInfo.java54 FileInputStreamSource source = null; in testCollectDeviceInfo() local
66 source = new FileInputStreamSource(jsonFile); in testCollectDeviceInfo()
67 mLogger.addTestLog(deviceInfoName, LogDataType.TEXT, source); in testCollectDeviceInfo()
74 StreamUtil.close(source); in testCollectDeviceInfo()
DMetricsReportLog.java84 public void addValue(String source, String message, double value, ResultType type, in addValue() argument
86 super.addValue(source, message, value, type, unit); in addValue()
112 public void addValues(String source, String message, double[] values, ResultType type, in addValues() argument
114 super.addValues(source, message, values, type, unit); in addValues()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DJsonUtil.java38 public static void deepMergeJsonObjects(JSONObject target, JSONObject source) in deepMergeJsonObjects() argument
40 Iterator<String> iter = source.keys(); in deepMergeJsonObjects()
43 Object source_value = source.get(key); in deepMergeJsonObjects()
DOutputUtil.java47 public void addOutputFromTextFile(String outputFileName, File source) { in addOutputFromTextFile() argument
48 FileInputStreamSource inputSource = new FileInputStreamSource(source); in addOutputFromTextFile()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java117 String source = sb.toString(); in testLimits_source() local
119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
120 assertEquals("Expected source to be trimmed", source.substring(source.length() - 200), in testLimits_source()
/test/vts-testcase/performance/audio_loopback_test/
DREADME.md2 It is based on the Loopback.apk run with Loopback dongle: https://source.android.com/devices/audio/…
16 * Where can I get the source code for the Loopback.apk?
18 Open source: https://github.com/gkasten/drrickorang
/test/vts/testcases/template/binary_test/
Dbinary_test.py219 def isValidSource(source): argument
231 if not source:
234 tag = source[2]
244 str(source[0]),
360 def ParseTestSource(self, source): argument
374 path = source
375 if self.TAG_DELIMITER in source:
376 tag, path = source.split(self.TAG_DELIMITER)
/test/suite_harness/tools/dex-tools/test/dex/reader/
DLargeDexTests.java44 JavaSource source = new JavaSource(CLASS_NAME, b.toString()); in testManyFields() local
45 DexFile dexFile = javaToDexUtil.getFrom(source); in testManyFields()
/test/vts/utils/python/coverage/
DREADME.md12 src_file_name: string, the source file name.
13 src_file_content: string, the C/C++ source file content.
/test/vts/utils/app_engine/
Dsetup.txt9 source google-cloud-sdk/completion.bash.inc
10 source google-cloud-sdk/path.bash.inc
/test/suite_harness/tools/dex-tools/
DREADME.txt3 This project contains the source code and tests for a dex file parser.
24 test : source code of the small test suite
/test/vti/dashboard/src/main/webapp/js/
Dtest_acknowledgments.js230 source: _allBranches, property
249 source: _allDevices, property
303 source: allTestCases, property
400 source: allTests, property
/test/mlts/benchmark/
DREADME.txt27 * cd into android top-level source directory
28 > source build/envsetup.sh
/test/vts/proto/
DVtsReportMessage.proto188 // the path to the source file from the project root.
200 // the number of source code lines that are instrumented for code coverage
204 // the number of source code lines that are executed.
208 // the directory path of a source file.
212 // the name of the source file.
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInfoCollector.java141 try (FileInputStreamSource source = new FileInputStreamSource(deviceInfoFile)) { in setUp() argument
142 mLogger.testLog(deviceInfoFile.getName(), LogDataType.TEXT, source); in setUp() local
/test/vti/dashboard/
Dbuild.gradle109 source = sourceSets*.allJava
192 from("build/generated/source/proto/main/java") {
195 from("build/generated/source/proto/main/python") {
/test/framework/
DREADME.md3 VTS Lab is an open source test serving infrastructure that can be used
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_coverage.jsp96 /* Loads source code for a particular entry and displays it with
100 // Remove source code from the accordion entry that was open before
117 lines in the code. Trailing source lines that have no
/test/vts/hals/
DREADME.md1 … different way (e.g., with a post-compile-time instrumentation or direct source code instrumentati…
/test/vts/doc/developer_testing/kernel/
Drun_all_ltp_testcases.md2 ## 1. Compile VTS and LTP source code
Drun_individual_ltp_testcase.md2 ## 1. Compile VTS and LTP source code

12