Searched refs:root (Results 1 - 25 of 76) sorted by relevance

1234

/system/core/include/cutils/
H A Dconfig_utils.h37 void config_load(cnode *root, char *data);
40 void config_load_file(cnode *root, const char *fn);
46 cnode* config_find(cnode *root, const char *name);
49 int config_bool(cnode *root, const char *name, int _default);
52 const char* config_str(cnode *root, const char *name, const char *_default);
55 void config_set(cnode *root, const char *name, const char *value);
58 void config_free(cnode *root);
/system/core/libcutils/include/cutils/
H A Dconfig_utils.h37 void config_load(cnode *root, char *data);
40 void config_load_file(cnode *root, const char *fn);
46 cnode* config_find(cnode *root, const char *name);
49 int config_bool(cnode *root, const char *name, int _default);
52 const char* config_str(cnode *root, const char *name, const char *_default);
55 void config_set(cnode *root, const char *name, const char *value);
58 void config_free(cnode *root);
/system/core/libcutils/include_vndk/cutils/
H A Dconfig_utils.h37 void config_load(cnode *root, char *data);
40 void config_load_file(cnode *root, const char *fn);
46 cnode* config_find(cnode *root, const char *name);
49 int config_bool(cnode *root, const char *name, int _default);
52 const char* config_str(cnode *root, const char *name, const char *_default);
55 void config_set(cnode *root, const char *name, const char *value);
58 void config_free(cnode *root);
/system/bt/osi/src/
H A Dbuffer.cc30 buffer_t* root; member in struct:buffer_t
42 buffer->root = buffer;
61 ret->root = buf->root;
65 ++buf->root->refcount;
73 if (buffer->root != buffer) {
74 // We're a leaf node. Delete the root node if we're the last referent.
75 if (--buffer->root->refcount == 0) osi_free(buffer->root);
78 // We're a root nod
[all...]
/system/libvintf/
H A Dparse_xml.cpp86 inline std::string nameOf(NodeType *root) { argument
87 return root->Name() == NULL ? "" : root->Name();
90 inline std::string getText(NodeType *root) { argument
91 return root->GetText() == NULL ? "" : root->GetText();
112 inline bool getAttr(NodeType *root, const std::string &attrName, std::string *s) { argument
113 const char *c = root->Attribute(attrName.c_str());
154 NodeType *root = createNode(this->elementName(), d); local
155 this->mutateNode(o, root,
165 deserialize(Object* object, NodeType* root) argument
173 deserialize(Object* object, NodeType* root, std::string* error) const argument
247 parseOptionalAttr(NodeType* root, const std::string& attrName, T&& defaultValue, T* attr, std::string* ) const argument
259 parseAttr(NodeType* root, const std::string& attrName, T* attr, std::string* error) const argument
270 parseAttr(NodeType* root, const std::string& attrName, std::string* attr, std::string* error) const argument
280 parseTextElement(NodeType* root, const std::string& elementName, std::string* s, std::string* error) const argument
292 parseOptionalTextElement(NodeType* root, const std::string& elementName, std::string&& defaultValue, std::string* s, std::string* ) const argument
300 parseTextElements(NodeType* root, const std::string& elementName, std::vector<std::string>* v, std::string* ) const argument
311 parseChild(NodeType* root, const XmlNodeConverter<T>& conv, T* t, std::string* error) const argument
323 parseOptionalChild(NodeType* root, const XmlNodeConverter<T>& conv, T&& defaultValue, T* t, std::string* error) const argument
334 parseChildren(NodeType* root, const XmlNodeConverter<T>& conv, std::vector<T>* v, std::string* error) const argument
349 parseChildren(NodeType* root, const XmlNodeConverter<T>& conv, std::set<T>* s, std::string* error) const argument
[all...]
/system/core/libcutils/
H A Dconfig_utils.cpp38 cnode* config_find(cnode *root, const char *name) argument
43 for(node = root->first_child; node; node = node->next)
50 static cnode* _config_create(cnode *root, const char *name) argument
56 if(root->last_child)
57 root->last_child->next = node;
59 root->first_child = node;
61 root->last_child = node;
66 int config_bool(cnode *root, const char *name, int _default) argument
70 node = config_find(root, name);
84 const char* config_str(cnode *root, cons argument
94 config_set(cnode *root, const char *name, const char *value) argument
261 parse_expr(cstate *cs, cnode *root) argument
291 config_load(cnode *root, char *data) argument
311 config_load_file(cnode *root, const char *fn) argument
318 config_free(cnode *root) argument
[all...]
/system/update_engine/common/
H A Dhwid_override.cc37 string HwidOverride::Read(const base::FilePath& root) { argument
39 lsb_release.Load(base::FilePath(root.value() + "/etc/lsb-release"));
H A Dhwid_override.h28 // Class that allows HWID to be read from <root>/etc/lsb-release.
34 // Read HWID from an /etc/lsb-release file under given root.
36 static std::string Read(const base::FilePath& root);
/system/connectivity/wificond/
H A Druntests.sh35 adb root
44 adb root
/system/connectivity/wifilogd/
H A Druntests.sh34 adb root
43 adb root
/system/extras/tests/bootloader/
H A Dhaltest.py30 self.device.root()
47 self.device.root()
56 self.device.root()
69 self.device.root()
78 self.device.root()
91 self.device.root()
95 self.device.root()
103 self.device.root()
111 self.device.root()
/system/core/init/
H A Dfirmware_handler.cpp39 static void LoadFirmware(const Uevent& uevent, const std::string& root, int fw_fd, size_t fw_size, argument
47 PLOG(ERROR) << "firmware: sendfile failed { '" << root << "', '" << uevent.firmware
65 std::string root = "/sys" + uevent.path; local
66 std::string loading = root + "/loading";
67 std::string data = root + "/data";
90 LoadFirmware(uevent, root, fw_fd, sb.st_size, loading_fd, data_fd);
/system/extras/perfprofd/scripts/
H A Dperf_proto_stack_sqlite_flame.py102 self.root = Callsite("root", "root")
154 chain = self.root
163 self.root.child_count_to_self()
164 global_threshold = global_threshold_in_percent * 0.01 * self.root.count
165 self.root.trim(local_threshold_in_percent, global_threshold)
168 self.root.print_callsite_ascii(depth, 0, self.dsos, self.syms)
172 self.root.svgrenderer_compat(self.dsos, self.syms)
173 self.root
[all...]
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
H A DCountryZoneTree.java131 private final ZoneNode root; field in class:CountryZoneTree
136 String countryIso, ZoneNode root, Instant startInclusive, Instant endExclusive) {
138 this.root = root;
176 // The algorithm constructs a tree. The root of the tree contains all ZoneInfos, and at each
336 // Create a root node with all the information needed to grow the whole tree.
337 ZoneNode root = new ZoneNode("0", zoneInfos, 0, 0);
339 // We call growTree() to build all the branches and leaves from the root.
340 growTree(root);
344 compressTree(root);
135 CountryZoneTree( String countryIso, ZoneNode root, Instant startInclusive, Instant endExclusive) argument
367 growTree(ZoneNode root) argument
425 compressTree(ZoneNode root) argument
[all...]
/system/core/libnativeloader/test/
H A Druntest.sh2 adb root
/system/tools/aidl/
H A Druntests.sh35 adb root
/system/security/keystore/
H A Dtest-keystore76 # basic tests as system/root
78 log "root does not have permission to run test"
79 keystore root t
124 log "root can read system user keys (as can wifi or vpn users)"
125 keystore root g baz
243 keystore root g baz
254 keystore root g baz
/system/tools/hidl/
H A DCoordinator.h51 status_t addPackagePath(const std::string& root, const std::string& path, std::string* error);
53 void addDefaultPackagePath(const std::string& root, const std::string& path);
98 // Given package-root paths of ["hardware/interfaces",
111 status_t getPackageRoot(const FQName& fqName, std::string* root) const;
150 FQName root; // e.x. android.hardware@0.0 member in struct:android::Coordinator::PackageRoot
156 // Given package-root paths of ["hardware/interfaces",
168 std::string mRootPath; // root of android source tree (to locate package roots)
169 std::string mOutputPath; // root of output directory
H A DCoordinator.cpp80 status_t Coordinator::addPackagePath(const std::string& root, const std::string& path, std::string* error) { argument
81 FQName package = FQName(root, "0.0", "");
83 if (packageRoot.root.inPackage(root) || package.inPackage(packageRoot.root.package())) {
86 packageRoot.root.package() +
88 root;
98 void Coordinator::addDefaultPackagePath(const std::string& root, const std::string& path) { argument
99 addPackagePath(root, path, nullptr /* error */);
364 // prefix:root i
[all...]
/system/libufdt/tests/
H A DverifyDTBO.sh10 adb root
/system/libufdt/
H A Dufdt_convert.c42 res_ufdt->root = NULL;
56 ufdt_node_destruct(tree->root, pool);
167 ufdt_node_print(tree->root, 0);
191 ufdt_node_get_node_by_path(tree->root, "/aliases");
205 ufdt_node_get_node_by_path_len(tree->root, alias_path, path_len);
210 return ufdt_node_get_node_by_path_len(tree->root, path, len);
277 res.len = count_phandle_node(tree->root);
280 set_phandle_table_entry(tree->root, res.data, &cur);
298 res_tree->root =
442 err = _ufdt_output_node_to_fdt(tree, buf, tree->root,
[all...]
/system/vold/
H A DLoop.cpp113 std::string root = "/dev/block/"; local
114 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(root.c_str()), closedir);
126 auto path = root + de->d_name;
/system/core/libdiskconfig/
H A Ddiskconfig.c92 load_partitions(cnode *root, struct disk_info *dinfo) argument
97 for (partnode = root->first_child; partnode; partnode = partnode->next) {
144 cnode *root = config_node("", ""); local
160 config_load_file(root, fn);
161 if (root->first_child == NULL) {
166 if (!(devroot = config_find(root, "device"))) {
/system/extras/simpleperf/scripts/
H A Dreport.py279 root = Tk()
282 parent = root if i == 0 else Toplevel(root)
285 root.after(self_kill_after_sec * 1000, lambda: root.destroy())
286 root.mainloop()
/system/media/audio_utils/tests/
H A Dbuild_and_run_all_unit_tests.sh18 adb root && adb wait-for-device remount

Completed in 878 milliseconds

1234