Home
last modified time | relevance | path

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

12

/development/tools/repo_diff/service/repodiff/interactors/
Dstrings_test.go29 diff := DistinctValues(s1, s2)
30 assert.Equal(t, expectedDiff, diff, "Output differential of s1 and s2")
37 diff := DistinctValues(s1, s2)
38 assert.Equal(t, 0, len(diff), "Output differential of s1 and s2")
51 diff := DistinctValues(s1, s2)
52 assert.Equal(t, expectedDiff, diff, "Output differential of s1 and s2")
69 diff := SetSubtract(s1, s2)
70 assert.Equal(t, expected, diff, "Discard of s2 from s1")
/development/vndk/tools/header-checker/tests/reference_dumps/arm64/
Dlibarray_diff.so.lsdump11 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
20 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
29 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
38 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
46 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
54 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
123 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
135 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
147 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
159 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSensorTest.java86 float[] diff = new float[3];
89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f);
90 if (Math.abs(diff[i]) > 0) {
101 event.values[2] + ")" + " diff(" + diff[0] +
102 " " + diff[1] + " " + diff[2] + ")");
109 float x = diff[0];
110 float y = diff[1];
/development/vndk/tools/image-diff-tool/
Dcompare_images_and_print.sh44 COMMON_ALLOWLIST=development/vndk/tools/image-diff-tool/allowlist.txt
48 cp common.csv diff.csv allowlisted_diff.csv "${DIST_DIR}"
56 cat >&2 diff.csv
DAndroid.bp23 main: "diff.py",
25 "diff.py",
Ddiff.py166 diff = []
179 diff.append(pretty_print(sha1, filename, targets, list_only))
181 diff = sorted(diff)
191 fout.writelines(diff)
/development/vndk/tools/header-checker/tests/
Dtest.py445 diff = self.prepare_and_run_abi_diff_all_archs(
449 self.assertEqual(6, diff.count('function_extension_diffs'))
451 diff = self.prepare_and_run_abi_diff_all_archs(
456 self.assertEqual(1, diff.count('function_extension_diffs'))
457 self.assertEqual(5, diff.count('function_diffs'))
463 diff = self.prepare_and_run_abi_diff_all_archs(
469 self.assertNotIn(f'"{type_id}"', diff,
474 self.assertIn(f'"{type_id}"', diff,
478 diff = self.prepare_and_run_abi_diff_all_archs(
482 self.assertIn('"ChangeType"', diff)
[all …]
/development/vndk/tools/elfcheck/
Dfix_android_bp_prebuilt.sh35 --diff
93 --diff)
181 diff -u "$ANDROID_BP" "$TEMP_ANDROID_BP" || true
/development/tools/etc1tool/
Detc1tool.cpp378 int diff = *pSrc++ - *pDest; in encode() local
379 diff *= diff; in encode()
380 diff <<= 3; in encode()
381 if (diff < 0) { in encode()
382 diff = 0; in encode()
383 } else if (diff > 255) { in encode()
384 diff = 255; in encode()
386 *pDest++ = (png_byte) diff; in encode()
/development/tools/repo_diff/
Drepo_diff_android.py147 def diff(manifest_url, manifest_branch, tag, function
190 repo_diff_trees.diff(
202 diff(args.manifest_url,
Drepo_diff_trees.py470 def diff(upstream_source_tree, downstream_source_tree, project_output_file, function
522 diff(upstream_source_tree, downstream_source_tree, project_output_file,
/development/vndk/tools/header-checker/
DAndroid.bp117 name: "header-abi-diff",
125 "src/diff/abi_diff.cpp",
126 "src/diff/abi_diff_wrappers.cpp",
127 "src/diff/header_abi_diff.cpp",
DREADME.md7 [header-abi-diff](#Header-ABI-Diff). The first two commands generate ABI dumps
60 `header-abi-diff` compares two header ABI dumps produced by
67 header-abi-diff -old <old-abi-dump> -new <new-abi-dump> -o <report>
70 For more command line options, run `header-abi-diff --help`.
82 header-abi-diff reads a config file named `config.json`. The config file must
87 flags for a specific version and a library. header-abi-diff chooses the library
121 "ignore_linker_set_keys" and "flags". header-abi-diff selects the config
139 The config file and the header-abi-diff CLI support the same set of `flags`. If
/development/tools/winscope/src/viewers/viewer_transitions/
Dviewer_transitions_component.ts388 const diff =
391 if (diff < 0) {
394 if (diff > 0) {
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetFrameRateEvent.java132 long diff = mEndTime - mStartTime; in injectEvent() local
133 mDuration = (float)(diff/1000.0); in injectEvent()
DMonkeyGetAppFrameRateEvent.java145 long diff = sEndTime - sStartTime; in injectEvent() local
146 sDuration = (float) (diff / 1000.0); in injectEvent()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameActivity.java95 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
97 if (!mPaused && (diff&SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0 in onSystemUiVisibilityChange()
DVideoPlayerActivity.java117 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
119 if ((diff&SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0 in onSystemUiVisibilityChange()
DContentBrowserNavActivity.java104 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
106 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0 in onSystemUiVisibilityChange()
DContentBrowserActivity.java103 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
105 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0 in onSystemUiVisibilityChange()
/development/vndk/tools/header-checker/Documentation/
DDevelopment.md20 To build `header-abi-dumper`, `header-abi-linker` and `header-abi-diff`:
/development/vndk/tools/header-checker/src/diff/
Dabi_diff_wrappers.h23 namespace diff {
Dabi_diff_wrappers.cpp23 namespace diff { namespace
Dabi_diff.h26 namespace diff {
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingListView.java480 float diff = i > index ? -yTranslateBottom : yTranslateTop;
481 animations.add(getAnimation(v, diff, diff));

12