/system/media/camera/docs/ |
D | metadata_model_test.py | 10 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 …]
|
D | metadata_model.py | 57 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 …]
|
D | metadata_helpers_test.py | 77 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,
|
D | metadata_helpers.py | 635 enum_value_siblings = list(enum_value.parent.values) 1289 parent = navigable_string.parent
|
/system/extras/simpleperf/ |
D | callchain.cpp | 63 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()
|
D | thread_tree.cpp | 62 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/ |
D | LogBufferElement.cpp | 110 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()
|
D | LogBufferElement.h | 55 LogBuffer *parent); 83 uint64_t flushTo(SocketClient *writer, LogBuffer *parent, bool privileged);
|
/system/core/include/utils/ |
D | LruCache.h | 62 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/ |
D | adb_utils.cpp | 134 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()
|
D | adb_utils_test.cpp | 37 static std::string subdir(const char* parent, const char* child) { in subdir() argument 38 std::string str(parent); in subdir()
|
/system/core/liblog/ |
D | logger.h | 109 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)); \
|
D | logger_read.c | 112 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/ |
D | sdcard.c | 165 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/ |
D | signal_sender.cpp | 77 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/ |
D | connection_manager.js | 32 window.parent.postMessage(msg, chromeos.connectionManager.parent_page_url_); 40 window.parent.postMessage(msg, chromeos.connectionManager.parent_page_url_);
|
/system/core/init/ |
D | devices.cpp | 422 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/ |
D | dlext_namespaces.h | 87 android_namespace_t* parent);
|
/system/core/gatekeeperd/ |
D | gatekeeperd.cpp | 273 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/ |
D | gatekeeperd.te | 20 # For parent user ID lookup
|
/system/extras/perfprofd/quipper/ |
D | perf_parser.cc | 554 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/ |
D | ast_cpp.cpp | 32 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/ |
D | keymaster0_engine.h | 72 static void keyblob_free(void* parent, void* ptr, CRYPTO_EX_DATA* data, int index, long argl,
|
D | keymaster1_engine.h | 100 static void free_key_data(void* parent, void* ptr, CRYPTO_EX_DATA* data, int index, long argl,
|
/system/core/libmemunreachable/tests/ |
D | ThreadCapture_test.cpp | 181 std::function<void(pid_t)>&& parent) { in Fork() argument 202 parent(pid); in Fork()
|