Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 53) sorted by relevance

123

/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java118 Metrics before = 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()
143 List<Double> beforeMetrics = before.getRunMetrics().get(name); in runRegressionDetection()
152 before.getTestMetrics().keySet(), after.getTestMetrics().keySet()); in runRegressionDetection()
155 List<Double> beforeMetrics = before.getTestMetrics().get(id); in runRegressionDetection()
162 logResult(before, after, runMetricsResult, testMetricsResult); in runRegressionDetection()
168 Metrics before, in logResult() argument
[all …]
/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()
63 before.split("\n".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray(), in getDiff()
70 before: Array<String>, in getDiff()
76 val n = before.size in getDiff()
83 if (before[i] == after[j]) { in getDiff()
94 if (before[i] == after[j]) { in getDiff()
107 sb.append(before[context]) in getDiff()
112 while (i < n && j < m && before[i] != after[j]) { in getDiff()
[all …]
DDriver.kt1254 val before = path[endIndex - 1] in findRoot() constant
1255 if (before == '/' || before == '\\') { in findRoot()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DExtraFieldTest.java59 public final void before() throws Exception { in before() method in ExtraFieldTest
217 StoredEntry before = zf.get("before"); in addExtraFieldToExistingEntry() local
218 assertNotNull(before); in addExtraFieldToExistingEntry()
219 assertArrayEquals(new byte[] { 0, 1, 2 }, before.read()); in addExtraFieldToExistingEntry()
265 StoredEntry before = zf.get("before"); in removeExtraFieldFromExistingEntry() local
266 assertNotNull(before); in removeExtraFieldFromExistingEntry()
267 assertArrayEquals(new byte[] { 0, 1, 2 }, before.read()); in removeExtraFieldFromExistingEntry()
313 StoredEntry before = zf.get("before"); in updateExtraFieldOfExistingEntry() local
314 assertNotNull(before); in updateExtraFieldOfExistingEntry()
315 assertArrayEquals(new byte[] { 0, 1, 2 }, before.read()); in updateExtraFieldOfExistingEntry()
DZFileSortTest.java48 public final void before() throws Exception { in before() method in ZFileSortTest
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DDetectRegressionTest.java117 Metrics before = new Metrics(false); in testRunRegressionDetection() local
119 .forEach(e -> before.addRunMetric("metric-1", e)); in testRunRegressionDetection()
121 .forEach(e -> before.addRunMetric("metric-2", e)); in testRunRegressionDetection()
123 .forEach(e -> before.addRunMetric("metric-3", e)); in testRunRegressionDetection()
125 .forEach(e -> before.addTestMetric(id1, "metric-4", e)); in testRunRegressionDetection()
127 .forEach(e -> before.addTestMetric(id2, "metric-5", e)); in testRunRegressionDetection()
129 .forEach(e -> before.addTestMetric(id2, "metric-6", e)); in testRunRegressionDetection()
148 detector.runRegressionDetection(before, after); in testRunRegressionDetection()
151 eq(before), in testRunRegressionDetection()
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DSM_PTS_INSTRUCTIONS142 Note: Start advertiment and enter in random address to PTS before starting test
148 Note: Start advertiment and enter in random address to PTS before starting test
154 Note: Start advertiment and enter in random address to PTS before starting test
159 Note: Start advertiment and enter in random address to PTS before starting test
165 Note: Start advertiment and enter in random address to PTS before starting test
170 Note: Start advertiment and enter in random address to PTS before starting test
176 Note: Start advertiment and enter in random address to PTS before starting test
182 Note: Start advertiment and enter in random address to PTS before starting test
188 Note: Start advertiment and enter in random address to PTS before starting test
DGAP_PTS_INSTRUCTIONS242 [PTS Interaction] Enter PIN from PTS to phone (hit ok on phone before PTSbt )
273 Note: Send conenction request before pairing happens
529 Note: Run these commands before executing the testcase on PTS Side
537 Note: Run these commands before executing the testcase on PTS Side
548 Note: Run the first 4 commands before executing the testcase on PTS Side
562 Note: Run the first 4 commands before executing the testcase on PTS Side
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java1038 FileUseMapEntry<?> before = map.before(entry); in update() local
1039 if (before == null || !before.isFree()) { in update()
1049 storedEntry.getLocalExtra().size() + Ints.checkedCast(before.getSize()); in update()
1057 long newStart = before.getStart(); in update()
1058 long newSize = entry.getSize() + before.getSize(); in update()
1093 before.getSize() in update()
1209 FileUseMapEntry<?> before = map.before(entry); in packIfNecessary() local
1210 if (before == null || !before.isFree()) { in packIfNecessary()
1215 storedEntry.getLocalExtra().size() + Ints.checkedCast(before.getSize()); in packIfNecessary()
/tools/test/connectivity/acts/framework/acts/libs/test_binding/
Dbinding.py16 def __init__(self, inner, arg_modifier=None, before=None, after=None, argument
36 self.before = before
54 before=self.before,
68 if self.before:
69 self.before(self.inner, *full_args, **kwargs)
/tools/loganalysis/src/com/android/loganalysis/item/
DLogcatItem.java164 Date start = logcat.getStartTime().before(getStartTime()) ? in merge()
170 Date overlapStop = logcat.getStopTime().before(getStopTime()) ? 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/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto66 // appears before any file that imports it.
74 // memory at once before sending them to the plugin.
102 // CodeGeneratorResponse before writing files to disk.
112 // The annotation can have arbitrary text before and after it on the line,
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/
Dbinding_test.py129 def before(*_, **__): function
135 binding = Binding(inner, before=before)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveConnectivityMonitorBaseTest.py579 before = call_statistics_after.get(stat_key, 0)
585 if after - before < 1:
588 (stat_key, before, after))
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DRunBeforesWithInfo.java43 for (FrameworkMethod before : befores) { in evaluate()
44 before.invokeExplosively(null, testInfo); in evaluate()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto529 // we were already using them long before we decided to release Protocol
549 // we were already using them long before we decided to release Protocol
674 // 1 to each before displaying to a user.
678 // comments appearing before and after the declaration which appear to be
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DImportUtils.kt35 val before = System.nanoTime() in parseTrace() constant
41 val duration = (after - before) / 1000000 in parseTrace()
/tools/metalava/src/test/java/com/android/tools/metalava/
DSymlinkTest.kt38 val before = System.getProperty("user.dir") in <lambda>() constant
111 System.setProperty("user.dir", before) in <lambda>()
/tools/test/openhst/
Dstress_test.proto94 // Include any other device definitions before processing the contents of this
118 // How many seconds to wait before executing the command/playing the sound in
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt73 signer, KeyStore password is read before the key password
96 signer, KeyStore password is read before the key password
Dhelp_rotate.txt76 signer, KeyStore password is read before the key password
99 signer, KeyStore password is read before the key password
Dhelp_sign.txt124 signer, KeyStore password is read before the key password
147 signer, KeyStore password is read before the key password
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt418 before a Routing header and once before the upper-layer header).
657 before reaching the final destination.
794 before reaching the final destination.
1695 period before starting to allocate flow labels.
/tools/repohooks/
DREADME.md47 These config files will be loaded first before stacking `PREUPLOAD.cfg`
109 to the keyword, the previous argument will be repeated before each file.
/tools/test/connectivity/acts_tests/tests/google/net/arduino/disconnect_wifi/
Ddisconnect_wifi.ino62 delay(5000); // Wait a bit before scanning again

123