Home
last modified time | relevance | path

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

1234

/development/tools/external_crates/crate_health/src/
Drepo_path.rs20 root: PathBuf, field
31 pub fn new<P: Into<PathBuf>, Q: Into<PathBuf>>(root: P, path: Q) -> RepoPath { in new()
32 let root: PathBuf = root.into(); in new() localVariable
34 assert!(root.is_absolute()); in new()
36 RepoPath { root, path } in new()
38 pub fn root(&self) -> &Path { in root() method
39 self.root.as_path() in root()
45 self.root.join(&self.path) in abs()
48 RepoPath::new(self.root.clone(), self.path.join(path)) in join()
51 RepoPath::new(self.root.clone(), path) in with_same_root()
[all …]
Dcrate_type.rs63 root: P, in new()
66 let root: PathBuf = root.into(); in new() localVariable
69 path: RepoPath::new(root.clone(), relpath), in new()
75 pub fn from<P: Into<PathBuf>>(cargo_toml: &impl AsRef<Path>, root: P) -> Result<Crate> { in from()
76 let root: PathBuf = root.into(); in from() localVariable
81 let relpath = manifest_dir.strip_prefix(&root)?.to_path_buf(); in from()
86 cargo::core::EitherManifest::Real(r) => Ok(Crate::new(r, root, relpath)), in from()
215 &self.path.root(), in diff_android_bp()
337 root: &impl AsRef<Path>, in diff_android_bp()
353 .current_dir(root) in diff_android_bp()
/development/tools/winscope/src/parsers/
Dhierarchy_tree_builder.ts22 protected root: PropertiesProvider | undefined; property in HierarchyTreeBuilder
27 this.root = value;
42 if (!this.root) {
54 const root = this.buildHierarchyTree(this.root, identifierToChildren); constant
57 computation.setRoot(root).executeInPlace(),
60 return root;
64 root: PropertiesProvider,
67 const rootProperties = root.getEagerProperties();
68 const node = this.makeNode(rootProperties.id, rootProperties.name, root);
/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/tools/winscope/src/parsers/surface_flinger/computations/
Dz_order_paths_computation.ts23 private root: HierarchyTreeNode | undefined; property in ZOrderPathsComputation
26 this.root = value;
31 if (!this.root) {
35 this.updateZOrderParents(this.root);
36 this.root.forEachNodeDfs((node) => {
49 private updateZOrderParents(root: HierarchyTreeNode) {
51 root.forEachNodeDfs((node) => {
59 root.forEachNodeDfs((node) => {
Drects_computation.ts118 private root: HierarchyTreeNode | undefined; property in RectsComputation
122 this.root = value;
127 if (!this.root) {
133 this.root.getEagerPropertyByName('displays')?.getAllChildren() ?? [];
135 this.root.setRects(displayRects);
141 const layersWithRects = this.extractLayersWithRects(this.root);
/development/tools/winscope/src/parsers/view_capture/perfetto/
Dparser_view_capture_window_test.ts59 const root = await parser.getEntry(1); constant
60 expect(root).toBeInstanceOf(HierarchyTreeNode);
61 expect(root.name).toEqual(
64 expect(root.getRects()?.length).toEqual(1);
66 const children = root.getAllChildren();
73 const root = await parser.getEntry(1); constant
74 const properties = await root.getAllProperties();
Dhierarchy_tree_builder_vc.ts41 root: HierarchyTreeNode,
46 root.getEagerPropertyByName('id'),
56 ? root
/development/gki/
Drun-script-test.sh26 su root insmod /data/local/tmp/kmi_sym-a12-$LINUX_VER.ko
29 su root dmesg | grep kmi_sym: | tail -21 >&2
34 su root rmmod kmi_sym
37 su root dmesg | tail -21 >&2
/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/src/parsers/view_capture/computations/
Dvisibility_computation.ts25 private root: HierarchyTreeNode | undefined; property in VisibilityComputation
28 this.root = value;
33 if (!this.root) {
37 this.root.forEachNodeDfs((node) => {
/development/tools/winscope/src/trace/tree_node/
Dproperty_tree_node_factory.ts130 root: PropertyTreeNode,
135 this.addArrayProperties(root, value, source);
137 this.addObjectProperties(root, value, source);
142 root: PropertyTreeNode,
147 root.addOrReplaceChild(this.makeProperty(`${root.id}`, key, source, val));
152 root: PropertyTreeNode,
159 root.addOrReplaceChild(
160 this.makeProperty(`${root.id}`, key, source, value[key]),
Dproperties_provider.ts59 const root = DEFAULT_PROPERTY_TREE_NODE_FACTORY.makePropertyRoot( constant
81 children.forEach((child) => root.addOrReplaceChild(child));
83 root.setIsRoot(true);
85 this.allPropertiesRoot = root;
/development/vndk/tools/header-checker/src/utils/
Dconfig_file.cpp60 Json::Value root; in Load() local
63 if (!Json::parseFromStream(builder, istream, &root, &errorMessage)) { in Load()
67 for (auto &key : root.getMemberNames()) { in Load()
70 config_section.map_ = LoadFlags(root[GLOBAL_SECTION_NAME]); in Load()
72 LoadIgnoreLinkerSetKeys(root[GLOBAL_SECTION_NAME]); in Load()
75 for (auto &section : root[key]) { in Load()
/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 or your vendor
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/tools/winscope/src/parsers/input_method/
Dhierarchy_tree_builder_input_method_test.ts58 const root = builder.setRoot(entry).setChildren([]).build(); constant
72 expect(root).toEqual(expectedRoot);
90 const root = builder.setRoot(entry).setChildren([childProvider]).build(); constant
107 expect(root).toEqual(expectedRoot);
/development/scripts/
Dlldbclient.py42 def read_toolchain_config(root: str) -> str:
58 def get_lldb_server_path(root: str, clang_base: str, clang_version: str, arch: str) -> str:
66 return os.path.join(root, clang_base, "linux-x86",
314 def generate_vscode_lldb_script(root: str, sysroot: str, binary_name: str, port: str | int, solib_s…
325 "relativePathBase": root,
326 "sourceMap": { "/b/f/w" : root, '': root, '.': root },
335 def generate_lldb_script(root: str, sysroot: str, binary_name: str, port: str | int, solib_search_p…
342 commands.append("settings append target.source-map '/b/f/w' '{}'".format(root))
343 commands.append("settings append target.source-map '' '{}'".format(root))
353 root = os.environ["ANDROID_BUILD_TOP"]
[all …]
Dgdbclient.py42 def read_toolchain_config(root: str) -> str:
58 def get_lldb_server_path(root: str, clang_base: str, clang_version: str, arch: str) -> str:
66 return os.path.join(root, clang_base, "linux-x86",
314 def generate_vscode_lldb_script(root: str, sysroot: str, binary_name: str, port: str | int, solib_s…
325 "relativePathBase": root,
326 "sourceMap": { "/b/f/w" : root, '': root, '.': root },
335 def generate_lldb_script(root: str, sysroot: str, binary_name: str, port: str | int, solib_search_p…
342 commands.append("settings append target.source-map '/b/f/w' '{}'".format(root))
343 commands.append("settings append target.source-map '' '{}'".format(root))
353 root = os.environ["ANDROID_BUILD_TOP"]
[all …]
/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/tools/winscope/src/parsers/view_capture/legacy/
Dtampered_protos.ts19 import root from 'protos/viewcapture/udc/json';
22 root.lookupType('com.android.app.viewcapture.data.ExportedData'),
Dhierarchy_tree_builder_vc_test.ts78 const root = builder.setRoot(entry).setChildren([]).build(); constant
92 expect(root).toEqual(expectedRoot);
130 const root = builder.setRoot(entry).setChildren([node1Provider]).build(); constant
147 expect(root).toEqual(expectedRoot);
202 const root = builder constant
231 expect(root).toEqual(expectedRoot);
/development/tools/winscope/src/parsers/surface_flinger/
Dhierarchy_tree_builder_sf_test.ts58 const root = builder.setRoot(entry).setChildren([]).build(); constant
78 expect(root).toEqual(expectedRoot);
103 const root = builder.setRoot(entry).setChildren([layer1Provider]).build(); constant
126 expect(root).toEqual(expectedRoot);
179 const root = builder constant
214 expect(root).toEqual(expectedRoot);
287 const root = builder constant
328 expect(root).toEqual(expectedRoot);
/development/tools/winscope/src/parsers/window_manager/
Dhierarchy_tree_builder_wm_test.ts58 const root = builder.setRoot(entry).setChildren([]).build(); constant
72 expect(root).toEqual(expectedRoot);
114 const root = builder constant
138 expect(root).toEqual(expectedRoot);
199 const root = builder constant
229 expect(root).toEqual(expectedRoot);
/development/tools/winscope/src/parsers/operations/
Dadd_defaults_test.ts22 import root from 'protos/test/fake_proto/json';
36 rootField = TamperedMessageType.tamper(root.lookupType('RootMessage'))
106 function checkAllNodesAreDefault(root: PropertyTreeNode) {
107 root.getAllChildren().forEach((child) => {

1234