Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 32) sorted by relevance

12

/tools/repohooks/rh/
Dhooks.py50 def __init__(self, diff=()): argument
56 self.diff = diff
131 return [x.file for x in self.diff if x.status != 'D']
160 def expand_vars(args, diff=()): argument
162 replacer = Placeholders(diff=diff)
165 def args(self, default_args=(), diff=()): argument
179 return self.expand_vars(args, diff=diff)
229 def _filter_diff(diff, include_list, exclude_list=()): argument
246 for d in diff:
299 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument
[all …]
Dhooks_unittest.py274 diff = [rh.git.RawDiffEntry(file=x) for x in files]
276 diff = []
278 ret = func(self.project, 'commit', desc, diff, options=self.options)
300 diff = [rh.git.RawDiffEntry(file=x) for x in files]
301 ret = func(self.project, 'commit', 'desc', diff, options=self.options)
319 diff = [rh.git.RawDiffEntry(file='Android.bp')]
321 self.project, 'commit', 'desc', diff, options=self.options)
697 diff = [rh.git.RawDiffEntry(file='foo.go')]
699 self.project, 'commit', 'desc', diff, options=self.options)
745 diff = [rh.git.RawDiffEntry(file='TEST_MAPPING')]
[all …]
Dshell_unittest.py45 diff = '\n'.join(list(self.differ.compare([test_output], [result])))
47 (func, test_input, test_output, result, diff))
Dgit.py148 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout
149 diff_lines = diff.strip().splitlines()
/tools/dexter/slicer/
Ddex_utf8.cc62 int diff = utf1 - utf2; in Utf8Cmp() local
64 if (diff != 0) { in Utf8Cmp()
65 return diff; in Utf8Cmp()
/tools/tradefederation/contrib/
DPREUPLOAD.cfg6 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format…
/tools/loganalysis/
DPREUPLOAD.cfg6 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format…
/tools/asuite/
DPREUPLOAD.cfg7 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format…
/tools/tradefederation/core/
DPREUPLOAD.cfg7 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format…
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimpleStats.java147 Double diff = meas - avg; in stdev() local
148 ssd += diff * diff; in stdev()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DRetryStatsHelper.java57 Set<TestDescription> diff = in updateSuccess() local
61 mStats.mRetrySuccess += diff.size(); in updateSuccess()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceSettingChecker.java113 MapDifference<String, String> diff = Maps.difference(oldSettings, newSettings); in postExecutionCheck() local
115 Map<String, ValueDifference<String>> entriesDiff = diff.entriesDiffering(); in postExecutionCheck()
126 Set<String> settingsOnlyInOld = diff.entriesOnlyOnLeft().keySet(); in postExecutionCheck()
134 Set<String> settingsOnlyInNew = diff.entriesOnlyOnRight().keySet(); in postExecutionCheck()
/tools/repohooks/tools/
Dgoogle-java-format.py86 diff = rh.utils.run(diff_cmd, capture_output=True).stdout
94 stdout = rh.utils.run(cmd, input=diff, capture_output=True,
/tools/platform-compat/build/
Dprocess-compat-config-test.py43 …diffs = [diff for diff in difflib.ndiff(got.split('\n'), expected.split('\n')) if not diff.startsw…
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/power/
Dpower_metrics_test.py99 diff = time_a - time_b
100 self.assertEqual(diff.value, 1.5)
101 self.assertEqual(diff._unit, HOUR)
/tools/external_updater/
Dupdate_package.sh49 for p in $tmp_dir/patches/*.diff
/tools/test/connectivity/acts/tests/google/bt/sar/
DBtSarTpcTest.py111 pwlv_derivative_bool = list(np.diff([pwlv_list[0]] + pwlv_list) == 1)
114 tx_power_derivative = np.diff([tx_power_list[0]] + tx_power_list)
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandboxRunner.java218 long diff = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); in printMemoryMessage() local
224 diff)); in printMemoryMessage()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java359 final int diff = Math.abs(topDiff - bottomDiff); in analyzeAmplitude() local
361 if (diff < amplitudeCenterDiffThreshold) { in analyzeAmplitude()
368 final String err = String.format(fmt, FN_TAG, topDiff, bottomDiff, amplitudeCenter, diff); in analyzeAmplitude()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java204 int diff = (arr1[i] & 0xff) - (arr2[i] & 0xff); in compare() local
205 if (diff != 0) { in compare()
206 return diff; in compare()
/tools/repohooks/
Dpre-upload.py306 diff = rh.git.get_affected_files(commit)
315 hook_results = hook(project, commit, desc, diff)
/tools/test/connectivity/acts/tests/google/net/
DSocketKeepaliveTest.py268 diff = int(round(t - prev))
269 self.log.info("KA interval: %s, expected: %s" % (diff, interval))
270 if diff != interval:
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py454 for diff in diff_iter:
455 print(diff)
/tools/metalava/
DREADME.md162 * Like doclava1, metalava can diff two APIs and warn about API compatibility
166 but not versa). It also lets you diff directly on a source tree; it does not
167 require you to create two signature files to diff.
344 file and the current set of source folders), and then you "diff" the two.
DAPI-LINT.md84 diff to make sure you're really only marking the issues you intended to include.

12