/system/media/camera/docs/ |
H A D | CameraMetadataKeys.mako | 29 <%def name="generate_key(entry)">\ 34 if entry.description: 35 description = dedent(entry.description) + "\n\n" 37 if entry.details: 38 details = dedent(entry.details) 40 extra_detail = generate_extra_javadoc_detail(entry)("") 46 % if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')): 47 % for value in entry [all...] |
H A D | metadata_validate.py | 43 def fully_qualified_name(entry): 45 Calculates the fully qualified name for an entry by walking the path 49 entry: a BeautifulSoup Tag corresponding to an <entry ...> XML node, 53 ValueError: if entry does not correspond to one of the above XML nodes 60 parents = [i['name'] for i in entry.parents if i.name in filter_tags] 62 if entry.name == 'entry': 63 name = entry['name'] 64 elif entry [all...] |
H A D | CameraMetadataEnums.mako | 27 <%def name="generate_enum(entry, target_class)">\ 29 // Enumeration values for ${target_class}#${entry.name | jkey_identifier} 32 % for value in entry.enum.values: 37 * @see ${target_class}#${entry.name | jkey_identifier} 38 % if entry.applied_visibility in ('hidden', 'ndk_public') or value.hidden: 45 public static final int ${jenum_value(entry, value)} = ${enum_calculate_value_string(value)}; 59 % for entry in filter_visibility(inner_namespace.entries, ('hidden','public', 'ndk_public', 'java_public')): 60 % if entry.enum \ 61 and not (entry.typedef and entry [all...] |
H A D | ACameraMetadata.mako | 27 % for entry in filter_visibility(inner_namespace.merged_entries, ('public','ndk_public')): 28 % if not entry.synthetic: 29 case ${ndk(entry.name) | csym}: 35 % for entry in filter_visibility( \ 38 % if not entry.synthetic: 39 case ${ndk(entry.name) | csym}: 70 % for entry in remove_synthetic(find_unique_entries(sec)): 71 % if entry.applied_visibility == "system": 72 ${entry.name | csym},
|
H A D | metadata_parser_xml.py | 138 entry_filter = lambda x: x.name == 'entry' or x.name == 'clone' 139 for entry in self.soup.find_all(entry_filter): 140 if entry.name == 'entry': 142 'name': fully_qualified_name(entry), 143 'type': entry['type'], 144 'kind': find_kind(entry), 145 'type_notes': entry.attrs.get('type_notes') 148 d2 = self._parse_entry(entry) 152 'name': entry['entr [all...] |
H A D | ndk_camera_metadata_tags.mako | 47 def annotated_type(entry): 48 type = entry.type 49 if entry.container == 'array': 50 type += '[' + '*'.join(entry.container_sizes) + ']' 51 if entry.enum: 52 type += ' (acamera_metadata_enum_%s_t)'%(csym(entry.name).lower()) 88 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))): 89 % if entry.applied_ndk_visible == "true": 90 % if entry.deprecated: 91 ${ndk(entry [all...] |
H A D | CameraDeviceInfo.mako | 26 % for entry in find_unique_entries(sec): 27 % if entry.kind == 'static' and entry.visibility in ("public", "java_public"): 28 charsKeyNames.add(CameraCharacteristics.${jkey_identifier(entry.name)}.getName());
|
H A D | CaptureResultTest.mako | 26 % for entry in find_unique_entries(sec): 27 % if entry.kind == 'dynamic' and entry.visibility in ("public", "java_public"): 28 resultKeys.add(CaptureResult.${jkey_identifier(entry.name)});
|
H A D | camera_metadata_tags.mako | 31 def annotated_type(entry): 32 if entry.enum: 35 type = entry.type 36 if entry.container == 'array': 78 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))): 80 ${entry.name + " = " | csym,ljust(50)}// ${annotated_type(entry) | ljust(12)} | ${entry.applied_visibility} 81 ${path_name(find_parent_section(entry)) | csym}_START, 83 ${entry [all...] |
H A D | metadata_helpers.py | 64 def find_parent_section(entry): 69 entry: an Entry or Clone node 74 return entry.find_parent_first(_is_sec_or_ins) 85 A sequence of MergedEntry nodes representing an entry 89 one entry (e.g. if there are multiple entries in different kinds). 101 for entry in i.entries: 102 d[entry.name] = entry 137 name: name string of an entry 147 def protobuf_type(entry) [all...] |
/system/core/logd/ |
H A D | FlushCommand.cpp | 51 LogTimeEntry* entry = NULL; local 57 entry = (*it); 58 if (entry->mClient == client) { 59 if (entry->mTimeout.tv_sec || entry->mTimeout.tv_nsec) { 67 if (((entry->mEnd + entry->mTimeout) > now) && 68 (now > entry->mEnd)) { 73 entry->triggerReader_Locked(); 74 if (entry [all...] |
/system/core/libcutils/ |
H A D | hashmap.c | 118 Entry* entry = map->buckets[i]; local 119 while (entry != NULL) { 120 Entry* next = entry->next; 121 size_t index = calculateIndex(newBucketCount, entry->hash); 122 entry->next = newBuckets[index]; 123 newBuckets[index] = entry; 124 entry = next; 146 Entry* entry = map->buckets[i]; local 147 while (entry != NULL) { 148 Entry* next = entry 174 Entry* entry = malloc(sizeof(Entry)); local 232 Entry* entry = map->buckets[index]; local 247 Entry* entry = map->buckets[index]; local 318 Entry* entry = map->buckets[i]; local 338 Entry* entry = map->buckets[i]; local [all...] |
/system/extras/kexec_tools/ |
H A D | kexec.h | 19 static inline long kexec_load(unsigned int entry, unsigned long nr_segments, argument 21 return syscall(__NR_kexec_load, entry, nr_segments, segment, flags);
|
/system/extras/ext4_utils/include/ext4_utils/ |
H A D | xattr.h | 38 #define EXT4_XATTR_NEXT(entry) \ 40 (char *)(entry) + EXT4_XATTR_LEN((entry)->e_name_len))) 43 #define IS_LAST_ENTRY(entry) (*(uint32_t *)(entry) == 0)
|
/system/core/libbacktrace/ |
H A D | ThreadEntry.cpp | 51 ThreadEntry* entry = list_; local 52 while (entry != nullptr) { 53 if (entry->Match(pid, tid)) { 56 entry = entry->next_; 59 if (!entry) { 61 entry = new ThreadEntry(pid, tid); 64 entry->ref_count_++; 68 return entry; 71 void ThreadEntry::Remove(ThreadEntry* entry) { argument [all...] |
H A D | BacktraceCurrent.cpp | 124 ThreadEntry* entry = ThreadEntry::Get(getpid(), gettid(), false); local 125 if (!entry) { 126 BACK_ASYNC_SAFE_LOGE("pid %d, tid %d entry not found", getpid(), gettid()); 130 entry->CopyUcontextFromSigcontext(sigcontext); 133 entry->Wake(); 139 if (entry->Wait(2)) { 140 // Do not remove the entry here because that can result in a deadlock 142 entry->Wake(); 144 // At this point, it is possible that entry has been freed, so just exit. 154 ThreadEntry* entry local [all...] |
/system/core/libziparchive/include/ziparchive/ |
H A D | zip_archive_stream_entry.h | 33 static ZipArchiveStreamEntry* Create(ZipArchiveHandle handle, const ZipEntry& entry); 34 static ZipArchiveStreamEntry* CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry); 39 virtual bool Init(const ZipEntry& entry);
|
/system/core/include/log/ |
H A D | log_read.h | 63 char msg[0]; /* the entry's payload */ 82 char msg[0]; /* the entry's payload */ 101 char msg[0]; /* the entry's payload */ 121 char msg[0]; /* the entry's payload */ 127 * The maximum size of the log entry payload that can be 129 * this amount will result in a truncated log entry. 134 * The maximum size of a log entry which can be read. 145 struct logger_entry_v4 entry; member in union:log_msg::__anon1467 154 return (entry.sec == T.entry [all...] |
/system/core/liblog/include/log/ |
H A D | log_read.h | 63 char msg[0]; /* the entry's payload */ 82 char msg[0]; /* the entry's payload */ 101 char msg[0]; /* the entry's payload */ 121 char msg[0]; /* the entry's payload */ 127 * The maximum size of the log entry payload that can be 129 * this amount will result in a truncated log entry. 134 * The maximum size of a log entry which can be read. 145 struct logger_entry_v4 entry; member in union:log_msg::__anon1560 154 return (entry.sec == T.entry [all...] |
/system/core/liblog/include_vndk/log/ |
H A D | log_read.h | 63 char msg[0]; /* the entry's payload */ 82 char msg[0]; /* the entry's payload */ 101 char msg[0]; /* the entry's payload */ 121 char msg[0]; /* the entry's payload */ 127 * The maximum size of the log entry payload that can be 129 * this amount will result in a truncated log entry. 134 * The maximum size of a log entry which can be read. 145 struct logger_entry_v4 entry; member in union:log_msg::__anon1571 154 return (entry.sec == T.entry [all...] |
/system/core/include/utils/ |
H A D | LruCache.h | 88 size_t operator() (const KeyedEntry* entry) const { 89 return hash_type(entry->getKey()); 103 void attachToCache(Entry& entry); 104 void detachFromCache(Entry& entry); 197 Entry *entry = reinterpret_cast<Entry*>(*find_result); local 198 detachFromCache(*entry); 199 attachToCache(*entry); 200 return entry->value; 227 Entry* entry = reinterpret_cast<Entry*>(*find_result); local 228 mSet->erase(entry); 270 attachToCache(Entry& entry) argument 281 detachFromCache(Entry& entry) argument [all...] |
/system/core/libutils/include/utils/ |
H A D | LruCache.h | 88 size_t operator() (const KeyedEntry* entry) const { 89 return hash_type(entry->getKey()); 103 void attachToCache(Entry& entry); 104 void detachFromCache(Entry& entry); 197 Entry *entry = reinterpret_cast<Entry*>(*find_result); local 198 detachFromCache(*entry); 199 attachToCache(*entry); 200 return entry->value; 227 Entry* entry = reinterpret_cast<Entry*>(*find_result); local 228 mSet->erase(entry); 270 attachToCache(Entry& entry) argument 281 detachFromCache(Entry& entry) argument [all...] |
/system/core/liblog/ |
H A D | stderr_write.c | 153 AndroidLogEntry entry; local 162 log_msg.entry.len = 0; 163 log_msg.entry.hdr_size = sizeof(log_msg.entry); 164 log_msg.entry.pid = getpid(); 166 log_msg.entry.tid = gettid(); 168 log_msg.entry.tid = getpid(); 170 log_msg.entry.sec = ts->tv_sec; 171 log_msg.entry.nsec = ts->tv_nsec; 172 log_msg.entry [all...] |
/system/core/libunwindstack/ |
H A D | Symbols.cpp | 73 SymType entry; local 74 if (!elf_memory->Read(cur_offset_, &entry, sizeof(entry))) { 81 if (entry.st_shndx != SHN_UNDEF && ELF32_ST_TYPE(entry.st_info) == STT_FUNC) { 83 uint64_t start_offset = entry.st_value; 84 if (entry.st_shndx != SHN_ABS) { 87 uint64_t end_offset = start_offset + entry.st_size; 90 symbols_.emplace_back(start_offset, end_offset, str_offset_ + entry.st_name); 95 uint64_t offset = str_offset_ + entry [all...] |
/system/core/libziparchive/ |
H A D | zip_archive_stream_entry.cc | 40 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { argument 42 off64_t data_offset = entry.offset; 47 crc32_ = entry.crc32; 62 bool Init(const ZipEntry& entry) override; 71 bool ZipArchiveStreamEntryUncompressed::Init(const ZipEntry& entry) { argument 72 if (!ZipArchiveStreamEntry::Init(entry)) { 76 length_ = entry.uncompressed_length; 125 bool Init(const ZipEntry& entry) override; 145 bool ZipArchiveStreamEntryCompressed::Init(const ZipEntry& entry) { argument 146 if (!ZipArchiveStreamEntry::Init(entry)) { 265 Init(const ZipEntry& entry) argument 278 Create(ZipArchiveHandle handle, const ZipEntry& entry) argument 294 CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry) argument [all...] |