Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 57) sorted by relevance

123

/development/vndk/tools/header-checker/src/utils/
Dcollect_exported_headers_test.cpp25 const std::string root = "/root/dir"; in TEST() local
26 EXPECT_EQ("", NormalizePath(root, root)); in TEST()
27 EXPECT_EQ("/unit/test", NormalizePath("/unit/test", root)); in TEST()
28 EXPECT_EQ("/root/unit/test", NormalizePath(root + "/../unit/test", root)); in TEST()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DDensityActivity.java52 LinearLayout root = new LinearLayout(this); in onCreate() local
53 root.setOrientation(LinearLayout.VERTICAL); in onCreate()
59 addLabelToRoot(root, "Prescaled bitmap in drawable"); in onCreate()
60 addChildToRoot(root, layout); in onCreate()
66 addLabelToRoot(root, "Autoscaled bitmap in drawable"); in onCreate()
67 addChildToRoot(root, layout); in onCreate()
73 addLabelToRoot(root, "Prescaled resource drawable"); in onCreate()
74 addChildToRoot(root, layout); in onCreate()
77 addLabelToRoot(root, "Inflated layout"); in onCreate()
78 addChildToRoot(root, layout); in onCreate()
[all …]
/development/scripts/
Dlldbclient.py37 def read_toolchain_config(root): argument
42 config_path = os.path.join(root, 'build', 'soong', 'cc', 'config',
57 def get_gdbserver_path(root, arch): argument
60 return path.format(root, arch, "64")
62 return path.format(root, arch, "")
73 def get_lldb_server_path(root, clang_base, clang_version, arch): argument
80 return os.path.join(root, clang_base, "linux-x86",
135 def verify_device(root, device): argument
268 def generate_vscode_lldb_script(root, sysroot, binary_name, port, solib_search_path): argument
279 "relativePathBase": root,
[all …]
Dgdbclient.py37 def read_toolchain_config(root): argument
42 config_path = os.path.join(root, 'build', 'soong', 'cc', 'config',
57 def get_gdbserver_path(root, arch): argument
60 return path.format(root, arch, "64")
62 return path.format(root, arch, "")
73 def get_lldb_server_path(root, clang_base, clang_version, arch): argument
80 return os.path.join(root, clang_base, "linux-x86",
135 def verify_device(root, device): argument
268 def generate_vscode_lldb_script(root, sysroot, binary_name, port, solib_search_path): argument
279 "relativePathBase": root,
[all …]
/development/tools/winscope/libs/virtualList/
DVirtualList.js100 const { root } = this.$refs
101 return root ? Math.ceil(root[this.directionKey]) : 0
111 const { root } = this.$refs
112 return root ? Math.ceil(root[key]) : 0
122 const { root } = this.$refs
123 return root ? Math.ceil(root[key]) : 0
133 const { root } = this.$refs
134 if (root) {
135 root[this.directionKey] = offset
172 const { root } = this.$refs
[all …]
/development/tools/line_endings/
Dline_endings.c62 Node* root = malloc(sizeof(Node)); in main() local
63 Node* node = root; in main()
93 while (root) { in main()
94 ssize_t amt2 = strlen(root->buf); in main()
96 ssize_t amt = write(fd, root->buf, amt2); in main()
102 node = root; in main()
103 root = root->next; in main()
/development/tools/winscope/
Dtrace.sh57 adb shell su root service call SurfaceFlinger 1020 i32 1 >/dev/null
58 adb shell su root service call SurfaceFlinger 1025 i32 1 >/dev/null
66 adb shell su root service call SurfaceFlinger 1020 i32 0 >/dev/null
67 adb shell su root service call SurfaceFlinger 1025 i32 0 >/dev/null
79 adb exec-out su root cat /data/misc/wmtrace/transaction_trace$WINSCOPE_EXT >"$outfileTrans"
80 adb exec-out su root cat /data/misc/wmtrace/layers_trace$WINSCOPE_EXT >"$outfileSurf"
/development/tools/winscope/loaders/
Dproto-loader.js27 var root = new protobuf.Root();
32 root.resolvePath = function pbjsResolvePath(origin, target) {
54 root.loadSync(self.resourcePath).resolveAll();
56 var result = JSON.stringify(root, null, 2);
/development/tools/idegen/
DREADME20 From the project's root directory...
47 From the project's root directory...
53 3) Import the project root directory into your Eclipse workspace. If you
60 project root) that should be excluded from the IDE configuration. We
64 "excluded-paths" file in the project's root directory. For example, you
68 Controlling source root ordering (Eclipse)
71 create a file named "path-precedence" in your project's root directory.
72 Each line in the file is a regular expression that matches a source root
73 path (relative to the project's root directory). If a given source root's
75 source root will come earlier in the generated configuration. If a source
[all …]
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DRuntimePermissionsFragment.java33 View root = inflater.inflate(R.layout.fragment_main, null); in onCreateView() local
45 root.findViewById(R.id.button_contacts).setVisibility(View.GONE); in onCreateView()
49 return root; in onCreateView()
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DInlineContentClipView.java162 private void clipDescendantInlineContentViews(@Nullable View root) { in clipDescendantInlineContentViews() argument
163 if (root == null) { in clipDescendantInlineContentViews()
167 if (root instanceof InlineContentView) { in clipDescendantInlineContentViews()
168 final InlineContentView inlineContentView = (InlineContentView) root; in clipDescendantInlineContentViews()
176 if (root instanceof ViewGroup) { in clipDescendantInlineContentViews()
177 final ViewGroup rootGroup = (ViewGroup) root; in clipDescendantInlineContentViews()
/development/vndk/snapshot/
Dutils.py84 def join_realpath(root, *args): argument
85 return os.path.realpath(os.path.join(root, *args))
147 for root, _, files in os.walk(path):
150 abspath = os.path.abspath(os.path.join(root, file_name))
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java206 String getDirectoryContents(File root) { in getDirectoryContents() argument
208 list(sb, root, "", 0, "testDir"); in getDirectoryContents()
254 private static void deleteDir(File root) { in deleteDir() argument
255 if (root.exists()) { in deleteDir()
256 File[] files = root.listFiles(); in deleteDir()
266 root.delete(); in deleteDir()
/development/tools/compare_failed_tests/
Dcompare_failed_tests.py35 def get_test_info(root): argument
42 node = root
102 root = tree.getroot()
105 test_result['info'] = get_test_info(root)
110 for module in root.iter('Module'):
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentContextMenu.java53 View root = inflater.inflate(R.layout.fragment_context_menu, container, false); in onCreateView() local
54 registerForContextMenu(root.findViewById(R.id.long_press)); in onCreateView()
55 return root; in onCreateView()
/development/tools/repo_diff/
Drepo_diff_trees.py40 root = tree.getroot()
42 for project in root.findall('project'):
149 for root in downstream_root_commits:
150 if root in upstream_root_commits:
151 upstream_project_list = upstream_root_commits[root]
327 for root in find_root_commits_in_path(path):
328 root_list = root_commits.get(root, [])
333 root_commits[root] = root_list
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreviewFragment.java78 View root = inflater.inflate(R.layout.fragment_camera, null); in onCreateView() local
86 FrameLayout preview = (FrameLayout) root.findViewById(R.id.camera_preview); in onCreateView()
89 return root; in onCreateView()
/development/tools/repo_diff/service/repodiff/static/
Ddocker_git_config2 cookiefile = /root/.gitcookies
/development/testrunner/test_defs/
Dnative_test.py157 for root, dirs, files in os.walk(path):
160 return os.path.join(root, f)
162 found = self._FindFileRecursively(os.path.join(root, d), match)
/development/build/
DREADME.md3 This directory contains configuration for building Android SDK. The root
/development/vndk/tools/
Dsystem_image_diff.py46 for root, dirs, files in os.walk(system_prefix, topdown=True):
49 if not os.path.islink(os.path.join(root, file)):
50 system_files.append(os.path.join(root[system_prefix_len:], file))
/development/sdk/
Dsdk.properties2 # This file is copied in the root folder of each platform component.
/development/gsi/gsi_util/gsi_util/utils/
Dadb_utils.py24 def root(serial_num=None): function
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset_auto.py55 root, ext = os.path.splitext(eligible_list_path)
56 return root + '-properties' + ext
/development/tools/findunused/
Dfind_unused_resources.rb35 def findResDirectories(root) argument
37 Find.find(root) do |path|

123