/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/google/aemu/base/include/aemu/base/logging/ |
D | LogTags.h | 29 #define VERBOSE_ENABLE(tag) verbose_enable((int64_t)VERBOSE_##tag) argument 30 #define VERBOSE_DISABLE(tag) verbose_disable(int64_t) VERBOSE_##tag) argument 31 #define VERBOSE_CHECK(tag) verbose_check((int64_t)VERBOSE_##tag) argument 34 #define VERBOSE_PRINT(tag, ...) \ argument 35 if (VERBOSE_CHECK(tag)) { \ 39 #define VERBOSE_INFO(tag, ...) \ argument 40 if (VERBOSE_CHECK(tag)) { \ 44 #define VERBOSE_DPRINT(tag, ...) VERBOSE_PRINT(tag, __VA_ARGS__) argument
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/ |
D | checkLinks.py | 75 def checkTag(tag, value, dict, dictName, tagName): argument 78 tag + ': .', 'Try using the', tagName + ': tag.') 82 def foundError(errType, tag, value, fatal): argument 84 error('no such', errType, tag + ':' + value) 90 checkTag(tag, value, flags, 'flags', 'tlink/tname') 91 checkTag(tag, value, enums, 'enums', 'elink') 92 checkTag(tag, value, structs, 'structs', 'slink/sname') 93 checkTag(tag, value, handles, 'handles', 'slink/sname') 94 checkTag(tag, value, defines, 'defines', 'slink/sname') 95 checkTag(tag, value, consts, 'consts', 'ename') [all …]
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/log/ |
D | log_main.h | 82 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text) argument 84 #define android_printLog(prio, tag, ...) \ argument 85 __android_log_print(prio, tag, __VA_ARGS__) 87 #define android_vprintLog(prio, cond, tag, ...) \ argument 88 __android_log_vprint(prio, tag, __VA_ARGS__) 94 #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__) argument 101 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument 102 android_vprintLog(priority, NULL, tag, fmt, args) 122 #define android_printAssert(cond, tag, ...) \ argument 123 __android_log_assert(cond, tag, \ [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 | 34 int32_t tag, in ExpectMetadataEq() argument 37 camera_metadata_ro_entry_t entry = metadata.find(tag); in ExpectMetadataEq() 50 int32_t tag, in ExpectMetadataEq() argument 52 ExpectMetadataEq(metadata, tag, &expected, 1); in ExpectMetadataEq() 58 int32_t tag, in ExpectMetadataEq() argument 60 ExpectMetadataEq(metadata, tag, expected.data(), expected.size()); in ExpectMetadataEq() 66 int32_t tag, in ExpectMetadataEq() argument 68 ExpectMetadataEq(metadata, tag, expected.data(), N); in ExpectMetadataEq() 74 int32_t tag, in ExpectMetadataEq() argument 77 metadata, tag, expected.data(), expected.total_num_elements()); in ExpectMetadataEq() [all …]
|
D | control.h | 71 if (options_ && options_->tag() != DO_NOT_REPORT_OPTIONS) { in StaticTags() 72 result.push_back(options_->tag()); in StaticTags() 79 return {delegate_->tag()}; in ControlTags() 84 return {delegate_->tag()}; in DynamicTags() 91 delegate_->tag()); in PopulateStaticFields() 93 } else if (options_->tag() == DO_NOT_REPORT_OPTIONS) { in PopulateStaticFields() 97 delegate_->tag()); in PopulateStaticFields() 102 metadata, options_->tag(), options_->MetadataRepresentation()); in PopulateStaticFields() 113 return UpdateMetadata(metadata, delegate_->tag(), value); in PopulateDynamicFields() 133 return UpdateMetadata(metadata, delegate_->tag(), value); in PopulateTemplateRequest() [all …]
|
/hardware/interfaces/camera/common/default/ |
D | CameraMetadata.cpp | 162 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument 163 int tagType = get_local_camera_metadata_tag_type(tag, mBuffer); in checkType() 165 ALOGE("Update metadata entry: Unknown tag %d", tag); in checkType() 171 get_local_camera_metadata_tag_name(tag, mBuffer), tag, in checkType() 178 status_t CameraMetadata::update(uint32_t tag, const int32_t* data, size_t data_count) { in update() argument 184 if ((res = checkType(tag, TYPE_INT32)) != OK) { in update() 187 return updateImpl(tag, (const void*)data, data_count); in update() 190 status_t CameraMetadata::update(uint32_t tag, const uint8_t* data, size_t data_count) { in update() argument 196 if ((res = checkType(tag, TYPE_BYTE)) != OK) { in update() 199 return updateImpl(tag, (const void*)data, data_count); in update() [all …]
|
D | VendorTagDescriptor.cpp | 95 const char* VendorTagDescriptor::getSectionName(uint32_t tag) const { in getSectionName() 96 ssize_t index = mTagToSectionMap.indexOfKey(tag); in getSectionName() 103 ssize_t VendorTagDescriptor::getSectionIndex(uint32_t tag) const { in getSectionIndex() 104 return mTagToSectionMap.valueFor(tag); in getSectionIndex() 107 const char* VendorTagDescriptor::getTagName(uint32_t tag) const { in getTagName() 108 ssize_t index = mTagToNameMap.indexOfKey(tag); in getTagName() 115 int VendorTagDescriptor::getTagType(uint32_t tag) const { in getTagType() 116 auto iter = mTagToTypeMap.find(tag); in getTagType() 128 /*out*/ uint32_t* tag) const { in lookupTag() 141 if (tag != NULL) { in lookupTag() [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()
|
/hardware/nxp/keymint/KM200/ |
D | JavacardKeyMintUtils.cpp | 23 keymaster_key_param_t kInvalidTag{.tag = KM_TAG_INVALID, .integer = 0}; 26 switch (param.tag) { in kmEnumParam2Aidl() 61 auto tag = legacy_enum_conversion(param.tag); in kmParam2Aidl() local 62 switch (typeFromTag(param.tag)) { in kmParam2Aidl() 70 return KeyParameter{tag, in kmParam2Aidl() 76 tag, KeyParameterValue::make<KeyParameterValue::longInteger>(param.long_integer)}; in kmParam2Aidl() 80 return KeyParameter{tag, in kmParam2Aidl() 85 return KeyParameter{tag, param.boolean}; in kmParam2Aidl() 90 return {tag, KeyParameterValue::make<KeyParameterValue::blob>( in kmParam2Aidl() 121 auto tag = legacy_enum_conversion(param.tag); in aidlEnumParam2Km() local [all …]
|
/hardware/nxp/keymint/KM300/ |
D | JavacardKeyMintUtils.cpp | 25 keymaster_key_param_t kInvalidTag{.tag = KM_TAG_INVALID, .integer = 0}; 28 switch (param.tag) { in kmEnumParam2Aidl() 62 auto tag = legacy_enum_conversion(param.tag); in kmParam2Aidl() local 63 switch (typeFromTag(param.tag)) { in kmParam2Aidl() 71 return KeyParameter{tag, in kmParam2Aidl() 77 tag, KeyParameterValue::make<KeyParameterValue::longInteger>(param.long_integer)}; in kmParam2Aidl() 81 return KeyParameter{tag, in kmParam2Aidl() 86 return KeyParameter{tag, param.boolean}; in kmParam2Aidl() 91 return {tag, KeyParameterValue::make<KeyParameterValue::blob>( in kmParam2Aidl() 122 auto tag = legacy_enum_conversion(param.tag); in aidlEnumParam2Km() local [all …]
|
/hardware/interfaces/camera/common/default/include/ |
D | CameraMetadata.h | 132 status_t update(uint32_t tag, const uint8_t* data, size_t data_count); 133 status_t update(uint32_t tag, const int32_t* data, size_t data_count); 134 status_t update(uint32_t tag, const float* data, size_t data_count); 135 status_t update(uint32_t tag, const int64_t* data, size_t data_count); 136 status_t update(uint32_t tag, const double* data, size_t data_count); 137 status_t update(uint32_t tag, const camera_metadata_rational_t* data, size_t data_count); 138 status_t update(uint32_t tag, const String8& string); 142 status_t update(uint32_t tag, Vector<T> data) { in update() argument 143 return update(tag, data.array(), data.size()); in update() 150 bool exists(uint32_t tag) const; [all …]
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/cutils/ |
D | trace.h | 148 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) in atrace_is_tag_enabled() argument 150 return atrace_get_enabled_tags() & tag; in atrace_is_tag_enabled() 158 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() argument 160 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_begin() 171 static inline void atrace_end(uint64_t tag) in atrace_end() argument 173 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_end() 188 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() argument 191 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_begin() 202 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 204 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_end() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/ |
D | registry.adoc | 72 members, are described in mixed-mode tag containing C declarations of the 94 Please tag your issues with `[Registry]` in the subject line to help us 133 If you build at the latest repository tag, the resulting headers should be 210 The format of the Vulkan registry is a top level tag:registry tag containing 211 tag:types, tag:enums, tag:commands, tag:feature, and tag:extension tags 244 The attr:api attribute of the tag:feature tag and the attr:supported 245 attribute of the tag:extensions tag must be comma-separated lists of one or 259 = Registry Root (tag:registry Tag) 261 A tag:registry contains the entire definition of one or more related APIs. 263 == Attributes of tag:registry Tags [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/interfaces/security/keymint/support/include/keymint_support/ |
D | keymint_tags.h | 34 constexpr TagType typeFromTag(Tag tag) { in typeFromTag() argument 35 return static_cast<TagType>(static_cast<uint32_t>(tag) & static_cast<uint32_t>(0xf0000000)); in typeFromTag() 44 template <TagType tag_type, Tag tag> 50 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type"); in TypedTag() 52 operator Tag() const { return tag; } in Tag() 53 int32_t maskedTag() { return static_cast<uint32_t>(tag) & 0x0FFFFFFF; } in maskedTag() 56 template <Tag tag> 58 typedef TypedTag<typeFromTag(tag), tag> type; 167 template <Tag tag> \ 168 struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \ [all …]
|
/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; 187 template <Tag tag> \ 188 struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \ [all …]
|
/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/qcom/sm8150/display/libdebug/ |
D | debug_handler.h | 38 #define DLOG_IF(tag, method, format, ...) \ argument 39 if (display::DebugHandler::GetLogMask()[tag]) { \ 43 #define DLOGE_IF(tag, format, ...) DLOG_IF(tag, Error, format, ##__VA_ARGS__) argument 44 #define DLOGW_IF(tag, format, ...) DLOG_IF(tag, Warning, format, ##__VA_ARGS__) argument 45 #define DLOGI_IF(tag, format, ...) DLOG_IF(tag, Info, format, ##__VA_ARGS__) argument 46 #define DLOGD_IF(tag, format, ...) DLOG_IF(tag, Debug, format, ##__VA_ARGS__) argument 47 #define DLOGV_IF(tag, format, ...) DLOG_IF(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
|