Home
last modified time | relevance | path

Searched refs:after (Results 1 – 25 of 60) sorted by relevance

123

/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java121 Metrics after = in run() local
124 before.crossValidate(after); in run()
125 runRegressionDetection(before, after); in run()
138 void runRegressionDetection(Metrics before, Metrics after) { in runRegressionDetection() argument
140 Sets.intersection(before.getRunMetrics().keySet(), after.getRunMetrics().keySet()); in runRegressionDetection()
144 List<Double> afterMetrics = after.getRunMetrics().get(name); in runRegressionDetection()
152 before.getTestMetrics().keySet(), after.getTestMetrics().keySet()); in runRegressionDetection()
156 List<Double> afterMetrics = after.getTestMetrics().get(id); in runRegressionDetection()
162 logResult(before, after, runMetricsResult, testMetricsResult); in runRegressionDetection()
169 Metrics after, in logResult() argument
[all …]
DMetrics.java137 public void crossValidate(Metrics after) { in crossValidate() argument
138 if (mNumTests != after.mNumTests) { in crossValidate()
142 mNumTests, after.mNumTests)); in crossValidate()
146 if (!after.mRunMetrics.containsKey(name)) { in crossValidate()
151 for (String name : after.mRunMetrics.keySet()) { in crossValidate()
158 if (!after.mTestMetrics.containsKey(id)) { in crossValidate()
166 for (Pair<TestDescription, String> id : after.mTestMetrics.keySet()) { in crossValidate()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDiff.kt32 fun getNativeDiff(before: File, after: File): String? { in getNativeDiff()
43 builder.addArgs("-u", before.path, after.path) in getNativeDiff()
61 fun getDiff(before: String, after: String, windowSize: Int): String { in getDiff()
64 after.split("\n".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray(), in getDiff()
71 after: Array<String>, in getDiff()
77 val m = after.size in getDiff()
83 if (before[i] == after[j]) { in getDiff()
94 if (before[i] == after[j]) { in getDiff()
112 while (i < n && j < m && before[i] != after[j]) { in getDiff()
123 if (after[j].trim().isNotEmpty()) { in getDiff()
[all …]
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DDetectRegressionTest.java131 Metrics after = new Metrics(false); in testRunRegressionDetection() local
133 .forEach(e -> after.addRunMetric("metric-1", e)); in testRunRegressionDetection()
135 .forEach(e -> after.addRunMetric("metric-2", e)); in testRunRegressionDetection()
137 .forEach(e -> after.addRunMetric("metric-3", e)); in testRunRegressionDetection()
139 .forEach(e -> after.addTestMetric(id1, "metric-4", e)); in testRunRegressionDetection()
141 .forEach(e -> after.addTestMetric(id2, "metric-5", e)); in testRunRegressionDetection()
143 .forEach(e -> after.addTestMetric(id2, "metric-6", e)); in testRunRegressionDetection()
148 detector.runRegressionDetection(before, after); in testRunRegressionDetection()
152 eq(after), in testRunRegressionDetection()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DExtraFieldTest.java225 StoredEntry after = zf.get("after"); in addExtraFieldToExistingEntry() local
226 assertNotNull(after); in addExtraFieldToExistingEntry()
227 assertArrayEquals(new byte[] { 6, 7, 8 }, after.read()); in addExtraFieldToExistingEntry()
273 StoredEntry after = zf.get("after"); in removeExtraFieldFromExistingEntry() local
274 assertNotNull(after); in removeExtraFieldFromExistingEntry()
275 assertArrayEquals(new byte[] { 6, 7, 8 }, after.read()); in removeExtraFieldFromExistingEntry()
321 StoredEntry after = zf.get("after"); in updateExtraFieldOfExistingEntry() local
322 assertNotNull(after); in updateExtraFieldOfExistingEntry()
323 assertArrayEquals(new byte[] { 6, 7, 8 }, after.read()); in updateExtraFieldOfExistingEntry()
/tools/test/connectivity/acts/framework/acts/libs/test_binding/
Dbinding.py16 def __init__(self, inner, arg_modifier=None, before=None, after=None, argument
35 self.after = after
55 after=self.after,
75 if self.after:
76 self.after(self.inner, result, *full_args, **kwargs)
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DGAP_PTS_INSTRUCTIONS139 Note: Start the connection fast after PTS interaction
146 Note: Start the connection fast after PTS interaction
198 Note: Do not accept pairing on phone until after you accept it on PTS
228 Note: Do not accept pairing on phone until after you accept it on PTS
275 Do not accept pairing on phone until after you accept it on PTS
311 Note: Do not accept pairing on phone until after you accept it on PTS
DAVDTP_PTS_INSTUCTIONS19 #Before test run this and set it to false after the test is done.
/tools/asuite/atest/proto/
Dexternal_user_log.proto23 // Occurs after a SINGLE test reference has been resolved to a test or
30 // Occurs after the build finishes, either successfully or not.
43 // Occurs after all test runners and tests have finished
48 // Occurs after detection of catching bug by atest have finished
Dinternal_user_log.proto29 // Occurs after a SINGLE test reference has been resolved to a test or
39 // Occurs after the build finishes, either successfully or not.
59 // Occurs after all test runners and tests have finished
64 // Occurs after detection of catching bug by atest have finished
/tools/tradefederation/core/atest/proto/
Dexternal_user_log.proto23 // Occurs after a SINGLE test reference has been resolved to a test or
30 // Occurs after the build finishes, either successfully or not.
43 // Occurs after all test runners and tests have finished
48 // Occurs after detection of catching bug by atest have finished
Dinternal_user_log.proto29 // Occurs after a SINGLE test reference has been resolved to a test or
39 // Occurs after the build finishes, either successfully or not.
59 // Occurs after all test runners and tests have finished
64 // Occurs after detection of catching bug by atest have finished
/tools/loganalysis/src/com/android/loganalysis/item/
DLogcatItem.java166 Date stop = logcat.getStopTime().after(getStopTime()) ? in merge()
168 Date overlapStart = logcat.getStartTime().after(getStartTime()) ? in merge()
177 if (eventTime.after(overlapStart) && eventTime.before(overlapStop) && in merge()
187 if (eventTime.after(overlapStart) && eventTime.before(overlapStop)) { in merge()
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/
Dbinding_test.py148 def after(*_, **__): function
154 binding = Binding(inner, after=after)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveConnectivityMonitorBaseTest.py580 after = call_statistics_after.get(stat_key, 0)
585 if after - before < 1:
588 (stat_key, before, after))
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DImportUtils.kt38 val after = System.nanoTime() in parseTrace() constant
41 val duration = (after - before) / 1000000 in parseTrace()
/tools/test/connectivity/acts_tests/tests/google/tel/config/
DREADME.md5 …il** - The default behavior of telephony tests is to capture a bug report after each failed test. …
8 …med in the event of a test failure. The test will be reported as a 'pass' after the first successf…
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunner.java251 protected void after() { in after() method in DeviceJUnit4ClassRunner.TestMetrics
313 protected void after() { in after() method in DeviceJUnit4ClassRunner.TestLogData
/tools/security/fuzzing/example_fuzzer/
DREADME.md94 Stack after return: f5
95 Stack use after scope: f8
/tools/test/openhst/
Dstress_test.proto87 // Files that should be moved to the local machine after every iteration of
121 // How many seconds to wait after executing the command/playing the sound in
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto68 // protoc guarantees that all proto_files will be written after
112 // The annotation can have arbitrary text before and after it on the line,
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_rotate.txt168 control of an app even after the signing certificate
202 2. Extend an existing SigningCertificateLineage to rotate again after previous rotation:
/tools/metalava/
DFORMAT.md101 nullable elements, we add "?" after the type, for unknown nullness we add "!",
325 Therefore, the v2 format allows default values to be specified after the type
/tools/tradefederation/core/
DTEST_MAPPING41 // TODO(b/144852628): Remove after actual platinum tests are added to TEST_MAPPING files.
/tools/tradefederation/core/src/com/android/tradefed/result/
DRetentionFileSaver.java62 return new Date().after(retentionDate); in shouldDelete()

123