Home
last modified time | relevance | path

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

12

/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.kt1025 val before = path[endIndex - 1] in findRoot() constant
1026 if (before == '/' || before == '\\') { in findRoot()
/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/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/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/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/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/tests/libs/test_bindings/
Dbinding_test.py129 def before(*_, **__): function
135 binding = Binding(inner, before=before)
/tools/metalava/src/test/java/com/android/tools/metalava/
DSymlinkTest.kt37 val before = System.getProperty("user.dir") in <lambda>() constant
109 System.setProperty("user.dir", before) in <lambda>()
/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/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/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/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveConnectivityMonitorBaseTest.py578 before = call_statistics_after.get(stat_key, 0)
584 if after - before < 1:
587 (stat_key, before, after))
/tools/test/connectivity/tools/
D.gitignore30 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/tools/test/connectivity/acts_tests/
D.gitignore30 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/tools/test/connectivity/acts/
D.gitignore30 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/tools/platform-compat/java/android/compat/testing/app/
DSharedLibraryInfoDeviceTest.java59 public void before() { in before() method in SharedLibraryInfoDeviceTest
/tools/test/connectivity/acts_tests/tests/google/net/arduino/disconnect_wifi/
Ddisconnect_wifi.ino62 delay(5000); // Wait a bit before scanning again
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt77 signer, KeyStore password is read before the key password
100 signer, KeyStore password is read before the key password
Dhelp_rotate.txt83 signer, KeyStore password is read before the key password
106 signer, KeyStore password is read before the key password
/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/asuite/atest/bazel/rules/
Dsoong_prebuilt.bzl51 "please make sure that the module is built with Soong before " +
/tools/asuite/atest/docs/
Ddevelop_test_finders.md56 it. The find methods will be collected and executed before the default find

12