/hardware/libhardware/modules/usbcamera/ |
D | Metadata.cpp | 64 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) { in addUInt8() argument 65 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8() 66 return add(tag, count, data); in addUInt8() 69 int Metadata::add1UInt8(uint32_t tag, const uint8_t data) { in add1UInt8() argument 70 return addUInt8(tag, 1, &data); in add1UInt8() 73 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) { in addInt32() argument 74 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32() 75 return add(tag, count, data); in addInt32() 78 int Metadata::addFloat(uint32_t tag, int count, const float *data) { in addFloat() argument 79 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat() [all …]
|
D | Metadata.h | 34 int addUInt8(uint32_t tag, int count, const uint8_t *data); 35 int add1UInt8(uint32_t tag, const uint8_t data); 36 int addInt32(uint32_t tag, int count, const int32_t *data); 37 int addFloat(uint32_t tag, int count, const float *data); 38 int addInt64(uint32_t tag, int count, const int64_t *data); 39 int addDouble(uint32_t tag, int count, const double *data); 40 int addRational(uint32_t tag, int count, 53 bool validate(uint32_t tag, int tag_type, int count); 55 int add(uint32_t tag, int count, const void *tag_data);
|
/hardware/libhardware/modules/camera/3_0/ |
D | Metadata.cpp | 68 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) in addUInt8() argument 70 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8() 71 return add(tag, count, data); in addUInt8() 74 int Metadata::add1UInt8(uint32_t tag, const uint8_t data) in add1UInt8() argument 76 return addUInt8(tag, 1, &data); in add1UInt8() 79 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) in addInt32() argument 81 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32() 82 return add(tag, count, data); in addInt32() 85 int Metadata::addFloat(uint32_t tag, int count, const float *data) in addFloat() argument 87 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat() [all …]
|
D | VendorTags.cpp | 93 const Section* getSection(uint32_t tag) in getSection() argument 95 uint32_t section = (tag - vendor_section_start) >> 16; in getSection() 97 if (tag < vendor_section_start) { in getSection() 98 ALOGE("%s: Tag 0x%x before vendor section", __func__, tag); in getSection() 103 ALOGE("%s: Tag 0x%x after vendor section", __func__, tag); in getSection() 111 const Entry* getEntry(uint32_t tag) in getEntry() argument 113 const Section* section = getSection(tag); in getEntry() 119 if (tag >= section->end) { in getEntry() 120 ALOGE("%s: Tag 0x%x outside section", __func__, tag); in getEntry() 124 index = tag - section->start; in getEntry() [all …]
|
D | Metadata.h | 34 int addUInt8(uint32_t tag, int count, const uint8_t *data); 35 int add1UInt8(uint32_t tag, const uint8_t data); 36 int addInt32(uint32_t tag, int count, const int32_t *data); 37 int addFloat(uint32_t tag, int count, const float *data); 38 int addInt64(uint32_t tag, int count, const int64_t *data); 39 int addDouble(uint32_t tag, int count, const double *data); 40 int addRational(uint32_t tag, int count, 53 bool validate(uint32_t tag, int tag_type, int count); 55 int add(uint32_t tag, int count, const void *tag_data);
|
/hardware/interfaces/camera/common/1.0/default/ |
D | VendorTagDescriptor.cpp | 98 const char* VendorTagDescriptor::getSectionName(uint32_t tag) const { in getSectionName() 99 ssize_t index = mTagToSectionMap.indexOfKey(tag); in getSectionName() 106 ssize_t VendorTagDescriptor::getSectionIndex(uint32_t tag) const { in getSectionIndex() 107 return mTagToSectionMap.valueFor(tag); in getSectionIndex() 110 const char* VendorTagDescriptor::getTagName(uint32_t tag) const { in getTagName() 111 ssize_t index = mTagToNameMap.indexOfKey(tag); in getTagName() 118 int VendorTagDescriptor::getTagType(uint32_t tag) const { in getTagType() 119 auto iter = mTagToTypeMap.find(tag); in getTagType() 130 …TagDescriptor::lookupTag(const String8& name, const String8& section, /*out*/uint32_t* tag) const { in lookupTag() 143 if (tag != NULL) { in lookupTag() [all …]
|
D | CameraMetadata.cpp | 173 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument 174 int tagType = get_camera_metadata_tag_type(tag); in checkType() 176 ALOGE("Update metadata entry: Unknown tag %d", tag); in checkType() 182 get_camera_metadata_tag_name(tag), tag, in checkType() 190 status_t CameraMetadata::update(uint32_t tag, in update() argument 197 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update() 200 return updateImpl(tag, (const void*)data, data_count); in update() 203 status_t CameraMetadata::update(uint32_t tag, in update() argument 210 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update() 213 return updateImpl(tag, (const void*)data, data_count); in update() [all …]
|
D | Exif.cpp | 266 ExifTag tag, 275 virtual std::unique_ptr<ExifEntry> addEntry(ExifIfd ifd, ExifTag tag); 279 ExifTag tag, 284 ExifTag tag, 289 ExifTag tag, 295 ExifTag tag, 301 ExifTag tag, 319 #define SET_SHORT(ifd, tag, value) \ argument 321 if (setShort(ifd, tag, value, #tag) == false) \ 325 #define SET_LONG(ifd, tag, value) \ argument [all …]
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata_common.h | 62 int32_t tag, in UpdateMetadata() argument 65 int res = metadata->update(tag, data, count); in UpdateMetadata() 67 HAL_LOGE("Failed to update metadata tag %d", tag); in UpdateMetadata() 76 int32_t tag, in UpdateMetadata() argument 78 return UpdateMetadata(metadata, tag, &val, 1); in UpdateMetadata() 84 int32_t tag, in UpdateMetadata() argument 86 return UpdateMetadata(metadata, tag, val.data(), val.size()); in UpdateMetadata() 92 int32_t tag, in UpdateMetadata() argument 94 return UpdateMetadata(metadata, tag, val.data(), N); in UpdateMetadata() 100 int32_t tag, in UpdateMetadata() argument [all …]
|
D | test_common.h | 35 int32_t tag, in ExpectMetadataEq() argument 38 camera_metadata_ro_entry_t entry = metadata.find(tag); in ExpectMetadataEq() 51 int32_t tag, in ExpectMetadataEq() argument 53 ExpectMetadataEq(metadata, tag, &expected, 1); in ExpectMetadataEq() 59 int32_t tag, in ExpectMetadataEq() argument 61 ExpectMetadataEq(metadata, tag, expected.data(), expected.size()); in ExpectMetadataEq() 67 int32_t tag, in ExpectMetadataEq() argument 69 ExpectMetadataEq(metadata, tag, expected.data(), N); in ExpectMetadataEq() 75 int32_t tag, in ExpectMetadataEq() argument 78 metadata, tag, expected.data(), expected.total_num_elements()); in ExpectMetadataEq() [all …]
|
D | control.h | 72 if (options_ && options_->tag() != DO_NOT_REPORT_OPTIONS) { in StaticTags() 73 result.push_back(options_->tag()); in StaticTags() 80 return {delegate_->tag()}; in ControlTags() 85 return {delegate_->tag()}; in DynamicTags() 92 delegate_->tag()); in PopulateStaticFields() 94 } else if (options_->tag() == DO_NOT_REPORT_OPTIONS) { in PopulateStaticFields() 98 delegate_->tag()); in PopulateStaticFields() 103 metadata, options_->tag(), options_->MetadataRepresentation()); in PopulateStaticFields() 114 return UpdateMetadata(metadata, delegate_->tag(), value); in PopulateDynamicFields() 134 return UpdateMetadata(metadata, delegate_->tag(), value); in PopulateTemplateRequest() [all …]
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | CameraMetadata.h | 133 status_t update(uint32_t tag, 135 status_t update(uint32_t tag, 137 status_t update(uint32_t tag, 139 status_t update(uint32_t tag, 141 status_t update(uint32_t tag, 143 status_t update(uint32_t tag, 145 status_t update(uint32_t tag, 151 status_t update(uint32_t tag, Vector<T> data) { in update() argument 152 return update(tag, data.array(), data.size()); in update() 159 bool exists(uint32_t tag) const; [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keystore_tags_utils.cpp | 28 template <TagType tag_type, Tag tag> 29 static TypedTag<tag_type, tag> chooseString(TypedTag<tag_type, tag> ttag, Tag runtime_tag, in chooseString() 31 if (tag == runtime_tag) { in chooseString() 32 *result = Tag2String<tag>::value(); in chooseString() 36 static const char* stringify(Tag tag) { in stringify() 38 [](Tags&&...) {}(chooseString(Tags(), tag, &result)...); in stringify() 43 const char* stringifyTag(Tag tag) { in stringifyTag() argument 44 return TagStringifier<all_tags_t>::stringify(tag); in stringifyTag()
|
D | keymaster_tags.h | 76 constexpr TagType typeFromTag(Tag tag) { in typeFromTag() argument 77 return static_cast<TagType>(static_cast<uint32_t>(tag) & static_cast<uint32_t>(0xf0000000)); in typeFromTag() 86 template <TagType tag_type, Tag tag> struct TypedTag { 91 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type"); in TypedTag() 93 constexpr operator Tag() { return tag; } in Tag() 95 return static_cast<long>(static_cast<uint32_t>(tag) & static_cast<uint32_t>(0x0fffffff)); in maskedTag() 99 template <Tag tag> struct Tag2TypedTag { typedef TypedTag<typeFromTag(tag), tag> type; }; 101 template <Tag tag> struct Tag2String; 176 extern const char* stringifyTag(Tag tag); 181 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \ [all …]
|
D | authorization_set.cpp | 35 if (a.tag != b.tag) return a.tag < b.tag; in keyParamLess() 37 switch (typeFromTag(a.tag)) { in keyParamLess() 69 if (a.tag != b.tag) return false; in keyParamEqual() 71 switch (typeFromTag(a.tag)) { in keyParamEqual() 106 if (prev->tag == Tag::INVALID) continue; in Deduplicate() 129 pos = find(i->tag, pos); in Subtract() 139 int AuthorizationSet::find(Tag tag, int begin) const { in find() argument 142 while (iter != data_.end() && iter->tag != tag) in find() 170 size_t AuthorizationSet::GetTagCount(Tag tag) const { in GetTagCount() 172 for (int pos = -1; (pos = find(tag, pos)) != -1;) in GetTagCount() [all …]
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
D | debug.h | 38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 41 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 42 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 43 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 45 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument
|
/hardware/libhardware/include/hardware/ |
D | keymaster_defs.h | 312 keymaster_tag_t tag; member 467 static inline keymaster_tag_type_t keymaster_tag_get_type(keymaster_tag_t tag) { in keymaster_tag_get_type() argument 468 return (keymaster_tag_type_t)(tag & (0xF << 28)); in keymaster_tag_get_type() 471 static inline uint32_t keymaster_tag_mask_type(keymaster_tag_t tag) { in keymaster_tag_mask_type() argument 472 return tag & 0x0FFFFFFF; in keymaster_tag_mask_type() 485 static inline bool keymaster_tag_repeatable(keymaster_tag_t tag) { in keymaster_tag_repeatable() argument 486 return keymaster_tag_type_repeatable(keymaster_tag_get_type(tag)); in keymaster_tag_repeatable() 491 inline keymaster_key_param_t keymaster_param_enum(keymaster_tag_t tag, uint32_t value) { in keymaster_param_enum() argument 495 param.tag = tag; in keymaster_param_enum() 500 inline keymaster_key_param_t keymaster_param_int(keymaster_tag_t tag, uint32_t value) { in keymaster_param_int() argument [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
D | debug.h | 38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 41 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 42 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 43 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 45 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
D | debug.h | 39 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 42 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 43 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 44 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 45 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 46 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
D | debug.h | 38 #define DLOG(tag, method, format, ...) Debug::Get()->method(tag, __CLASS__ "::%s: " format, \ argument 41 #define DLOGE_IF(tag, format, ...) DLOG(tag, Error, format, ##__VA_ARGS__) argument 42 #define DLOGW_IF(tag, format, ...) DLOG(tag, Warning, format, ##__VA_ARGS__) argument 43 #define DLOGI_IF(tag, format, ...) DLOG(tag, Info, format, ##__VA_ARGS__) argument 44 #define DLOGD_IF(tag, format, ...) DLOG(tag, Debug, format, ##__VA_ARGS__) argument 45 #define DLOGV_IF(tag, format, ...) DLOG(tag, Verbose, format, ##__VA_ARGS__) argument
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | keymaster_tags.h | 76 constexpr TagType typeFromTag(Tag tag) { in typeFromTag() argument 77 return static_cast<TagType>(static_cast<uint32_t>(tag) & static_cast<uint32_t>(0xf0000000)); in typeFromTag() 86 template <TagType tag_type, Tag tag> 92 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type"); in TypedTag() 94 operator Tag() const { return tag; } in Tag() 95 int32_t maskedTag() { return tag & 0x0FFFFFFF; } in maskedTag() 98 template <Tag tag> 100 typedef TypedTag<typeFromTag(tag), tag> type; 172 template <Tag tag> \ 173 struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \ [all …]
|
/hardware/google/av/codec2/docs/ |
D | doxygen.config | 20 # This tag specifies the encoding used for all characters in the config file 22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 43 # Using the PROJECT_BRIEF tag one can provide an optional one line description 49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included 56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | log.h | 285 #define MPL_LOG(priority, tag, fmt, ...) \ argument 286 MPL_LOG_PRI(priority, tag, fmt, ##__VA_ARGS__) 294 #define MPL_LOG_PRI(priority, tag, fmt, ...) \ argument 295 LOG(priority, tag, fmt, ##__VA_ARGS__) 297 #define MPL_LOG_PRI(priority, tag, fmt, ...) \ 298 pr_debug(MPL_##priority tag fmt, ##__VA_ARGS__) 300 #define MPL_LOG_PRI(priority, tag, fmt, ...) \ 301 _MLPrintLog(MPL_##priority, tag, fmt, ##__VA_ARGS__) 310 #define MPL_LOG_PRI_VA(priority, tag, fmt, args) \ argument 311 android_vprintLog(priority, NULL, tag, fmt, args) [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_debugger.cpp | 111 void HWCDebugHandler::Error(DebugTag tag, const char *format, ...) { in Error() argument 112 if (debug_flags_[tag]) { in Error() 119 void HWCDebugHandler::Warning(DebugTag tag, const char *format, ...) { in Warning() argument 120 if (debug_flags_[tag]) { in Warning() 127 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { in Info() argument 128 if (debug_flags_[tag]) { in Info() 135 void HWCDebugHandler::Debug(DebugTag tag, const char *format, ...) { in Debug() argument 136 if (debug_flags_[tag]) { in Debug() 143 void HWCDebugHandler::Verbose(DebugTag tag, const char *format, ...) { in Verbose() argument 144 if (debug_flags_[tag] && verbose_level_) { in Verbose()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_debugger.cpp | 111 void HWCDebugHandler::Error(DebugTag tag, const char *format, ...) { in Error() argument 112 if (debug_flags_[tag]) { in Error() 119 void HWCDebugHandler::Warning(DebugTag tag, const char *format, ...) { in Warning() argument 120 if (debug_flags_[tag]) { in Warning() 127 void HWCDebugHandler::Info(DebugTag tag, const char *format, ...) { in Info() argument 128 if (debug_flags_[tag]) { in Info() 135 void HWCDebugHandler::Debug(DebugTag tag, const char *format, ...) { in Debug() argument 136 if (debug_flags_[tag]) { in Debug() 143 void HWCDebugHandler::Verbose(DebugTag tag, const char *format, ...) { in Verbose() argument 144 if (debug_flags_[tag] && verbose_level_) { in Verbose()
|