Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 40) sorted by relevance

12

/system/media/camera/docs/
Dmetadata_model_test.py10 kind = Kind("some_root_kind", parent=None)
11 ins_outer = InnerNamespace("static", parent=kind)
14 ins1 = InnerNamespace("ins1", parent=ins_outer)
15 ins1a = InnerNamespace("ins1", parent=ins_outer) # same name deliberately
17 parent=ins1)
19 parent=ins1a)
21 parent=ins_outer)
38 self.assertEquals(kind, combined_children_namespace.parent)
55 section = Section("some_section", parent=None)
56 kind_static = Kind("static", parent=section)
[all …]
Dmetadata_model.py57 def parent(self): member in Node
126 parent = self.parent
128 while parent is not None:
129 if pred(parent):
130 yield parent
131 parent = parent.parent
178 if child.parent != self:
181 %(child, self, child.parent)
343 if p.parent is not None:
344 p.parent._entries.remove(p)
[all …]
Dmetadata_helpers_test.py77 plain_enum = Enum(parent=None, values=['ON', 'OFF'])
83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={
93 mixed_enum = Enum(parent=None,
Dmetadata_helpers.py635 enum_value_siblings = list(enum_value.parent.values)
1289 parent = navigable_string.parent
/system/extras/simpleperf/
Dcallchain.cpp63 static void SplitNode(CallChainNode* parent, size_t parent_length) { in SplitNode() argument
65 AllocateNode(parent->chain, parent_length, parent->period, parent->children_period); in SplitNode()
66 child->children = std::move(parent->children); in SplitNode()
67 parent->period = 0; in SplitNode()
68 parent->children_period = child->period + child->children_period; in SplitNode()
69 parent->chain.resize(parent_length); in SplitNode()
70 parent->children.clear(); in SplitNode()
71 parent->children.push_back(std::move(child)); in SplitNode()
Dthread_tree.cpp62 ThreadEntry* parent = FindThreadOrNew(ppid, ptid); in ForkThread() local
64 child->comm = parent->comm; in ForkThread()
65 child->maps = parent->maps; in ForkThread()
/system/core/logd/
DLogBufferElement.cpp110 LogBuffer *parent) { in populateDroppedMessage() argument
118 parent->lock(); in populateDroppedMessage()
119 const char *name = parent->uidToName(mUid); in populateDroppedMessage()
120 parent->unlock(); in populateDroppedMessage()
126 parent->lock(); in populateDroppedMessage()
127 commName = parent->pidToName(mPid); in populateDroppedMessage()
128 parent->unlock(); in populateDroppedMessage()
202 uint64_t LogBufferElement::flushTo(SocketClient *reader, LogBuffer *parent, in flushTo() argument
225 entry.len = populateDroppedMessage(buffer, parent); in flushTo()
DLogBufferElement.h55 LogBuffer *parent);
83 uint64_t flushTo(SocketClient *writer, LogBuffer *parent, bool privileged);
/system/core/include/utils/
DLruCache.h62 Entry* parent; member
65 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { in Entry()
249 entry.parent = mYoungest; in attachToCache()
257 if (entry.parent != NULL) { in detachFromCache()
258 entry.parent->child = entry.child; in detachFromCache()
263 entry.child->parent = entry.parent; in detachFromCache()
265 mYoungest = entry.parent; in detachFromCache()
268 entry.parent = NULL; in detachFromCache()
/system/core/adb/
Dadb_utils.cpp134 char* parent = dirname(&result[0]); in adb_dirname() local
138 result.assign(parent); in adb_dirname()
170 const std::string parent(adb_dirname(path)); in mkdirs() local
176 if (parent == path) { in mkdirs()
182 if (!mkdirs(parent)) { in mkdirs()
Dadb_utils_test.cpp37 static std::string subdir(const char* parent, const char* child) { in subdir() argument
38 std::string str(parent); in subdir()
/system/core/liblog/
Dlogger.h109 struct android_log_logger_list *parent; member
117 struct android_log_logger_list *parent; member
133 (transp->parent == (logger_list)); \
142 (logp->parent == (logger_list)); \
Dlogger_read.c112 transp->parent = logger_list; in init_transport_context()
133 ret = init_transport_context(logger_internal->parent); \
139 transport_context_for_each(transp, logger_internal->parent) { \
303 logger->parent = logger_list_internal; in android_logger_open()
/system/core/sdcard/
Dsdcard.c165 struct node *parent; /* containing directory */ member
297 static void add_node_to_parent_locked(struct node *node, struct node *parent) { in add_node_to_parent_locked() argument
298 node->parent = parent; in add_node_to_parent_locked()
299 node->next = parent->child; in add_node_to_parent_locked()
300 parent->child = node; in add_node_to_parent_locked()
301 acquire_node_locked(parent); in add_node_to_parent_locked()
306 if (node->parent) { in remove_node_from_parent_locked()
307 if (node->parent->child == node) { in remove_node_from_parent_locked()
308 node->parent->child = node->parent->child->next; in remove_node_from_parent_locked()
311 node2 = node->parent->child; in remove_node_from_parent_locked()
[all …]
/system/core/debuggerd/
Dsignal_sender.cpp77 pid_t parent = getpid(); in start_signal_sender() local
116 if (getppid() == parent) { in start_signal_sender()
117 kill(parent, SIGKILL); in start_signal_sender()
/system/connectivity/shill/test-scripts/
Dconnection_manager.js32 window.parent.postMessage(msg, chromeos.connectionManager.parent_page_url_);
40 window.parent.postMessage(msg, chromeos.connectionManager.parent_page_url_);
/system/core/init/
Ddevices.cpp422 const char *parent; in get_character_device_symlinks() local
439 parent = strchr(uevent->path + pdev->path_len, '/'); in get_character_device_symlinks()
440 if (!parent) in get_character_device_symlinks()
443 if (!strncmp(parent, "/usb", 4)) { in get_character_device_symlinks()
445 while (*++parent && *parent != '/'); in get_character_device_symlinks()
446 if (*parent) in get_character_device_symlinks()
447 while (*++parent && *parent != '/'); in get_character_device_symlinks()
448 if (!*parent) in get_character_device_symlinks()
450 slash = strchr(++parent, '/'); in get_character_device_symlinks()
453 width = slash - parent; in get_character_device_symlinks()
[all …]
/system/core/libnativeloader/
Ddlext_namespaces.h87 android_namespace_t* parent);
/system/core/gatekeeperd/
Dgatekeeperd.cpp273 int32_t parent = um->getCredentialOwnerProfile(uid); in getSecureUserId() local
274 if (parent < 0) { in getSecureUserId()
276 } else if (parent != (int32_t) uid) { in getSecureUserId()
277 return read_sid(parent); in getSecureUserId()
/system/sepolicy/
Dgatekeeperd.te20 # For parent user ID lookup
/system/extras/perfprofd/quipper/
Dperf_parser.cc554 PidTid parent = std::make_pair(event.ppid, event.ptid); in MapForkEvent() local
556 if (parent != child && in MapForkEvent()
557 pidtid_to_comm_map_.find(parent) != pidtid_to_comm_map_.end()) { in MapForkEvent()
558 pidtid_to_comm_map_[child] = pidtid_to_comm_map_[parent]; in MapForkEvent()
/system/tools/aidl/
Dast_cpp.cpp32 ClassDecl::ClassDecl(const std::string& name, const std::string& parent) in ClassDecl() argument
34 parent_(parent) {} in ClassDecl()
36 ClassDecl::ClassDecl(const std::string& name, const std::string& parent, in ClassDecl() argument
40 parent_(parent), in ClassDecl()
/system/keymaster/
Dkeymaster0_engine.h72 static void keyblob_free(void* parent, void* ptr, CRYPTO_EX_DATA* data, int index, long argl,
Dkeymaster1_engine.h100 static void free_key_data(void* parent, void* ptr, CRYPTO_EX_DATA* data, int index, long argl,
/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp181 std::function<void(pid_t)>&& parent) { in Fork() argument
202 parent(pid); in Fork()

12