Home
last modified time | relevance | path

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

123456

/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, hal_version="3.2")
19 parent=ins1a, hal_version="3.2")
21 parent=ins_outer, hal_version="3.2")
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,
/system/extras/simpleperf/
Dcallchain.h130 void SplitNode(NodeT* parent, size_t parent_length) { in SplitNode()
132 parent->chain, parent_length, parent->period, parent->children_period); in SplitNode()
133 child->children = std::move(parent->children); in SplitNode()
134 parent->period = 0; in SplitNode()
135 parent->children_period = child->period + child->children_period; in SplitNode()
136 parent->chain.resize(parent_length); in SplitNode()
137 parent->children.clear(); in SplitNode()
138 parent->children.push_back(std::move(child)); in SplitNode()
Dsample_tree.h161 EntryT* parent = nullptr; in ProcessSampleRecord() local
171 UpdateCallChainParentInfo(sample, parent); in ProcessSampleRecord()
172 parent = sample; in ProcessSampleRecord()
275 void UpdateCallChainParentInfo(EntryT* sample, EntryT* parent) { in UpdateCallChainParentInfo() argument
276 if (parent == nullptr) { in UpdateCallChainParentInfo()
282 info.parent = parent; in UpdateCallChainParentInfo()
285 } else if (it->second.parent != parent) { in UpdateCallChainParentInfo()
297 EntryT* parent; member
/system/chre/util/include/chre/util/
Dheap_impl.h36 size_t parent = (current - 1) / 2; in siftUp() local
37 if (compare(container[parent], container[current])) { in siftUp()
38 container.swap(parent, current); in siftUp()
39 current = parent; in siftUp()
100 size_t parent = (index - 1) / 2; in remove_heap() local
102 if (index > 0 && compare(container[parent], container[index])) { in remove_heap()
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h121 Return<sp<IChild>> castInterface(sp<IParent> parent, const char* childIndicator, bool emitError) { in castInterface() argument
122 if (parent.get() == nullptr) { in castInterface()
126 Return<bool> canCastRet = details::canCastInterface(parent.get(), childIndicator, emitError); in castInterface()
138 if (parent->isRemote()) { in castInterface()
140 return sp<IChild>(new BpChild(getOrCreateCachedBinder(parent.get()))); in castInterface()
143 return sp<IChild>(static_cast<IChild *>(parent.get())); in castInterface()
/system/libufdt/
Dufdt_node.c29 res->parent.fdt_tag_ptr = fdt_tag_ptr; in ufdt_node_construct()
30 res->parent.sibling = NULL; in ufdt_node_construct()
36 res->parent.fdt_tag_ptr = fdt_tag_ptr; in ufdt_node_construct()
37 res->parent.sibling = NULL; in ufdt_node_construct()
59 int ufdt_node_add_child(struct ufdt_node *parent, struct ufdt_node *child) { in ufdt_node_add_child() argument
60 if (!parent || !child) return -1; in ufdt_node_add_child()
61 if (ufdt_node_tag(parent) != FDT_BEGIN_NODE) return -1; in ufdt_node_add_child()
69 *((struct ufdt_node_fdt_node *)parent)->last_child_p = child; in ufdt_node_add_child()
70 ((struct ufdt_node_fdt_node *)parent)->last_child_p = &child->sibling; in ufdt_node_add_child()
/system/core/logd/
DLogBufferElement.cpp149 size_t LogBufferElement::populateDroppedMessage(char*& buffer, LogBuffer* parent, in populateDroppedMessage() argument
159 parent->wrlock(); in populateDroppedMessage()
160 const char* name = parent->uidToName(mUid); in populateDroppedMessage()
161 parent->unlock(); in populateDroppedMessage()
167 parent->wrlock(); in populateDroppedMessage()
168 commName = parent->pidToName(mPid); in populateDroppedMessage()
169 parent->unlock(); in populateDroppedMessage()
242 log_time LogBufferElement::flushTo(SocketClient* reader, LogBuffer* parent, in flushTo() argument
264 entry.len = populateDroppedMessage(buffer, parent, lastSame); in flushTo()
DLogBufferElement.h55 size_t populateDroppedMessage(char*& buffer, LogBuffer* parent,
96 log_time flushTo(SocketClient* writer, LogBuffer* parent, bool privileged,
/system/connectivity/wificond/tests/
Dmock_offload_scan_callback_interface_impl.cpp24 ScannerImpl* parent) in MockOffloadScanCallbackInterfaceImpl() argument
25 : OffloadScanCallbackInterfaceImpl(parent) {} in MockOffloadScanCallbackInterfaceImpl()
/system/core/libutils/include/utils/
DLruCache.h71 Entry* parent; variable
74 … Entry(TKey _key, TValue _value) : key(_key), value(_value), parent(nullptr), child(nullptr) { in Entry()
274 entry.parent = mYoungest; in attachToCache()
282 if (entry.parent != nullptr) { in detachFromCache()
283 entry.parent->child = entry.child; in detachFromCache()
288 entry.child->parent = entry.parent; in detachFromCache()
290 mYoungest = entry.parent; in detachFromCache()
293 entry.parent = nullptr; in detachFromCache()
/system/connectivity/wificond/scanning/
Doffload_scan_callback_interface_impl.cpp26 ScannerImpl* parent) in OffloadScanCallbackInterfaceImpl() argument
27 : scanner_impl_(parent) {} in OffloadScanCallbackInterfaceImpl()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DTreeNode.java29 private V parent; field in TreeNode
47 return parent; in getParent()
52 parent = newParent; in setParent()
/system/core/liblog/
Dlogger.h110 struct android_log_logger_list* parent; member
118 struct android_log_logger_list* parent; member
132 ((transp)->parent == (logger_list)); \
141 ((logp)->parent == (logger_list)); \
/system/tools/hidl/
DNamedType.cpp22 Scope* parent) in NamedType() argument
23 : Type(parent), mLocalName(localName), mFullName(fullName), mLocation(loc) {} in NamedType()
DDeathRecipientType.cpp24 DeathRecipientType::DeathRecipientType(Scope* parent) : Type(parent) {} in DeathRecipientType() argument
DTypeDef.cpp25 Scope* parent, const Reference<Type>& type) in TypeDef() argument
26 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
DPointerType.cpp24 PointerType::PointerType(Scope* parent) : Type(parent) {} in PointerType() argument
DMemoryType.cpp26 MemoryType::MemoryType(Scope* parent) : Type(parent) {} in MemoryType() argument
DScope.cpp32 Scope::Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent) in Scope() argument
33 : NamedType(localName, fullName, location, parent) {} in Scope()
238 Scope* parent) in RootScope() argument
239 : Scope(localName, fullName, location, parent) {} in RootScope()
DScope.h36 Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent);
97 Scope* parent);
/system/connectivity/wificond/scanning/offload/
Doffload_service_utils.cpp53 OffloadServiceUtils::GetOffloadScanCallbackInterface(ScannerImpl* parent) { in GetOffloadScanCallbackInterface() argument
54 return std::make_shared<OffloadScanCallbackInterfaceImpl>(parent); in GetOffloadScanCallbackInterface()
/system/libufdt/include/
Dufdt_types.h59 struct ufdt_node parent; member
64 struct ufdt_node parent; member
/system/core/adb/
Dadb_utils_test.cpp37 static std::string subdir(const char* parent, const char* child) { in subdir() argument
38 std::string str(parent); in subdir()

123456