/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | DetectRegression.java | 121 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 …]
|
D | Metrics.java | 137 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/ |
D | Diff.kt | 30 fun getNativeDiff(before: File, after: File): String? { in getNativeDiff() 41 builder.addArgs("-u", before.path, after.path) in getNativeDiff() 59 fun getDiff(before: String, after: String, windowSize: Int): String { in getDiff() 62 after.split("\n".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray(), in getDiff() 69 after: Array<String>, in getDiff() 75 val m = after.size in getDiff() 81 if (before[i] == after[j]) { in getDiff() 92 if (before[i] == after[j]) { in getDiff() 110 while (i < n && j < m && before[i] != after[j]) { in getDiff() 121 if (!after[j].trim { it <= ' ' }.isEmpty()) { in getDiff() [all …]
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | DetectRegressionTest.java | 131 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/test/connectivity/acts/framework/acts/libs/test_binding/ |
D | binding.py | 16 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/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ExtraFieldTest.java | 225 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()
|
D | ZFileSortTest.java | 54 public final void after() throws Exception { in after() method in ZFileSortTest
|
/tools/test/connectivity/acts/framework/acts/libs/metrics/ |
D | bindings.py | 8 after=None): argument 44 after=_after) 52 if after: 53 after(inner, result, *args, **kwargs) 96 after=_after)
|
/tools/tradefederation/core/atest/proto/ |
D | external_user_log.proto | 23 // 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
|
D | internal_user_log.proto | 29 // 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/ |
D | LogcatItem.java | 166 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/ |
D | binding_test.py | 148 def after(*args, **kwargs): function 154 binding = Binding(inner, after=after)
|
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/ |
D | GAP_PTS_INSTRUCTIONS | 139 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
|
D | AVDTP_PTS_INSTUCTIONS | 19 #Before test run this and set it to false after the test is done.
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/ |
D | ImportUtils.kt | 38 val after = System.nanoTime() in parseTrace() constant 41 val duration = (after - before) / 1000000 in parseTrace()
|
/tools/test/connectivity/acts/tests/google/tel/config/ |
D | README.md | 5 …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/src/com/android/tradefed/testtype/ |
D | DeviceJUnit4ClassRunner.java | 249 protected void after() { in after() method in DeviceJUnit4ClassRunner.TestMetrics 311 protected void after() { in after() method in DeviceJUnit4ClassRunner.TestLogData
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | RetentionFileSaver.java | 62 return new Date().after(retentionDate); in shouldDelete()
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveConnectivityMonitorBaseTest.py | 580 after = call_statistics_after.get(stat_key, 0) 585 if after - before < 1: 588 (stat_key, before, after))
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/ |
D | plugin.proto | 68 // 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/test/connectivity/acts/tests/google/net/arduino/disconnect_wifi/ |
D | disconnect_wifi.ino | 4 delay(1000); // wait for a second to read from serial port after flashing
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_verify.txt | 26 the APK as the very last parameter, after all options.
|
/tools/test/connectivity/acts/tests/google/net/arduino/connect_wifi/ |
D | connect_wifi.ino | 14 delay(1000); // wait for a second to read from serial port after flashing
|
/tools/tradefederation/core/atest/ |
D | Android.bp | 30 // Remove this defaults after python3 migration is finished.
|
/tools/asuite/aidegen/ |
D | README.md | 46 A: Re-run AIDEGen after repo sync.
|