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

123

/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.cpp84 inline std::string nameOf(NodeType *root) { argument
85 return root->Name() == NULL ? "" : root->Name();
88 inline std::string getText(NodeType *root) { argument
89 return root->GetText() == NULL ? "" : root->GetText();
110 inline bool getAttr(NodeType *root, const std::string &attrName, std::string *s) { argument
111 const char *c = root->Attribute(attrName.c_str());
148 NodeType *root = createNode(this->elementName(), d); local
149 this->mutateNode(o, root,
231 parseOptionalAttr(NodeType *root, const std::string &attrName, T &&defaultValue, T *attr) const argument
243 parseAttr(NodeType *root, const std::string &attrName, T *attr) const argument
253 parseAttr(NodeType *root, const std::string &attrName, std::string *attr) const argument
262 parseTextElement(NodeType *root, const std::string &elementName, std::string *s) const argument
274 parseOptionalTextElement(NodeType* root, const std::string& elementName, std::string&& defaultValue, std::string* s) const argument
281 parseTextElements(NodeType *root, const std::string &elementName, std::vector<std::string> *v) const argument
292 parseChild(NodeType *root, const XmlNodeConverter<T> &conv, T *t) const argument
307 parseOptionalChild(NodeType *root, const XmlNodeConverter<T> &conv, T &&defaultValue, T *t) const argument
322 parseChildren(NodeType *root, const XmlNodeConverter<T> &conv, std::vector<T> *v) const argument
336 parseChildren(NodeType *root, const XmlNodeConverter<T> &conv, std::set<T> *s) const argument
[all...]
/system/core/libcutils/
H A Dconfig_utils.c39 cnode* config_find(cnode *root, const char *name) argument
44 for(node = root->first_child; node; node = node->next)
51 static cnode* _config_create(cnode *root, const char *name) argument
57 if(root->last_child)
58 root->last_child->next = node;
60 root->first_child = node;
62 root->last_child = node;
67 int config_bool(cnode *root, const char *name, int _default) argument
71 node = config_find(root, name);
85 const char* config_str(cnode *root, cons argument
95 config_set(cnode *root, const char *name, const char *value) argument
262 parse_expr(cstate *cs, cnode *root) argument
292 config_load(cnode *root, char *data) argument
312 config_load_file(cnode *root, const char *fn) argument
319 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/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/connectivity/wifilogd/
H A Druntests.sh33 adb root
/system/connectivity/wificond/
H A Druntests.sh34 adb root
/system/media/audio_utils/tests/
H A Dbuild_and_run_all_unit_tests.sh18 adb root && adb wait-for-device remount
/system/tools/aidl/
H A Druntests.sh35 adb root
/system/core/sdcard/
H A Dsdcard.cpp59 // It must be run as root, but will drop to requested UID/GID as soon as it
102 derive_permissions_recursive_locked(global->fuse_default, &global->root);
243 memset(&global.root, 0, sizeof(global.root));
244 global.root.nid = FUSE_ROOT_ID; /* 1 */
245 global.root.refcount = 2;
246 global.root.namelen = strlen(source_path);
247 global.root.name = strdup(source_path);
248 global.root.userid = userid;
249 global.root
[all...]
/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/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/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/update_engine/scripts/
H A Dbrillo_update_payload324 local kernel root
327 root=$(create_tempfile "root.bin.XXXXXX")
328 CLEANUP_FILES+=("${root}")
332 --kern_path "${kernel}" --root_path "${root}" \
341 ZLIB_FINGERPRINT=$(e2cp "${root}":/etc/zlib_fingerprint -)
348 eval ${partitions_array}[system]=\""${root}"\"
/system/libufdt/include/
H A Dufdt_types.h84 struct ufdt_node *root; member in struct:ufdt
/system/tools/hidl/
H A DCoordinator.cpp59 void Coordinator::addDefaultPackagePath(const std::string& root, const std::string& path) { argument
60 if (std::find(mPackageRoots.begin(), mPackageRoots.end(), root) == mPackageRoots.end()) {
61 mPackageRoots.push_back(root);
193 // prefix:root is set to [ "android.hardware:hardware/interfaces",
195 // prefix "android.hardware" and the package root
212 << "Unable to find package root for " << fqName.string();
235 auto root = mPackageRootPaths[std::distance(mPackageRoots.begin(), it)]; local
236 return root;
248 auto root = mPackageRootPaths[std::distance(mPackageRoots.begin(), it)]; local
250 // Make sure the prefix ends on a '.' and the root pat
[all...]
/system/core/libmemunreachable/
H A DHeapWalker.cpp73 void HeapWalker::RecurseRoot(const Range& root) { argument
74 allocator::vector<Range> to_do(1, root, allocator_);
/system/extras/libfec/
H A Dfec_verity.cpp182 /* reads the verity hash tree, validates it against the root hash in `root',
185 static int verify_tree(fec_handle *f, const uint8_t *root) argument
191 check(root);
208 /* validate the root hash */
210 !verity_check_block(f, root, data)) {
213 !verity_check_block(f, root, data)) {
214 error("root hash invalid");
218 error("failed to rewrite the root block: %s", strerror(errno));
223 debug("root has
358 uint8_t root[SHA256_DIGEST_LENGTH]; local
[all...]
/system/extras/ioshark/
H A Dcollect-straces.sh65 adb root && adb wait-for-device
/system/extras/simpleperf/scripts/
H A Dreport.py278 root = Tk()
281 parent = root if i == 0 else Toplevel(root)
283 root.mainloop()

Completed in 538 milliseconds

123