Home
last modified time | relevance | path

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

/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.py554 enum_value_siblings = list(enum_value.parent.values)
1099 parent = navigable_string.parent
/system/core/logd/
DLogBufferElement.cpp106 LogBuffer *parent) { in populateDroppedMessage() argument
114 parent->lock(); in populateDroppedMessage()
115 char *name = parent->uidToName(mUid); in populateDroppedMessage()
116 parent->unlock(); in populateDroppedMessage()
122 parent->lock(); in populateDroppedMessage()
123 commName = parent->pidToName(mPid); in populateDroppedMessage()
124 parent->unlock(); in populateDroppedMessage()
193 uint64_t LogBufferElement::flushTo(SocketClient *reader, LogBuffer *parent) { in flushTo() argument
212 entry.len = populateDroppedMessage(buffer, parent); in flushTo()
DLogBufferElement.h73 LogBuffer *parent);
101 uint64_t flushTo(SocketClient *writer, LogBuffer *parent);
/system/core/include/utils/
DLruCache.h85 Entry* parent; member
88 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { in Entry()
212 entry.parent = mYoungest; in attachToCache()
220 if (entry.parent != NULL) { in detachFromCache()
221 entry.parent->child = entry.child; in detachFromCache()
226 entry.child->parent = entry.parent; in detachFromCache()
228 mYoungest = entry.parent; in detachFromCache()
231 entry.parent = NULL; in detachFromCache()
/system/core/sdcard/
Dsdcard.c158 struct node *parent; /* containing directory */ member
290 static void add_node_to_parent_locked(struct node *node, struct node *parent) { in add_node_to_parent_locked() argument
291 node->parent = parent; in add_node_to_parent_locked()
292 node->next = parent->child; in add_node_to_parent_locked()
293 parent->child = node; in add_node_to_parent_locked()
294 acquire_node_locked(parent); in add_node_to_parent_locked()
299 if (node->parent) { in remove_node_from_parent_locked()
300 if (node->parent->child == node) { in remove_node_from_parent_locked()
301 node->parent->child = node->parent->child->next; in remove_node_from_parent_locked()
304 node2 = node->parent->child; in remove_node_from_parent_locked()
[all …]
/system/core/init/
Ddevices.cpp414 const char *parent; in get_character_device_symlinks() local
431 parent = strchr(uevent->path + pdev->path_len, '/'); in get_character_device_symlinks()
432 if (!parent) in get_character_device_symlinks()
435 if (!strncmp(parent, "/usb", 4)) { in get_character_device_symlinks()
437 while (*++parent && *parent != '/'); in get_character_device_symlinks()
438 if (*parent) in get_character_device_symlinks()
439 while (*++parent && *parent != '/'); in get_character_device_symlinks()
440 if (!*parent) in get_character_device_symlinks()
442 slash = strchr(++parent, '/'); in get_character_device_symlinks()
445 width = slash - parent; in get_character_device_symlinks()
[all …]
/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/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/keymaster/
Dkeymaster0_engine.h70 static void keyblob_free(void* parent, void* ptr, CRYPTO_EX_DATA* data, int index, long argl,
Dkeymaster1_engine.h98 static void free_key_data(void* parent, void* ptr, CRYPTO_EX_DATA* data, int index, long argl,
/system/core/logwrapper/
Dlogwrap.c293 static int parent(const char *tag, int parent_read, pid_t pid, in parent() function
548 rc = parent(argv[0], parent_ptty, pid, status, log_target, in android_fork_execvp_ext()
/system/core/libpixelflinger/codeflinger/
DMIPSAssembler.h244 MIPSAssembler(const sp<Assembly>& assembly, ArmToMipsAssembler *parent);
DMIPSAssembler.cpp1251 MIPSAssembler::MIPSAssembler(const sp<Assembly>& assembly, ArmToMipsAssembler *parent) in MIPSAssembler() argument
1252 : mParent(parent), in MIPSAssembler()