Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 160) sorted by relevance

1234567

/system/keymaster/include/keymaster/
Dauthorization_set.h177 int find(keymaster_tag_t tag, int begin = -1) const;
208 bool Contains(keymaster_tag_t tag) const { in Contains() argument
209 return find(tag) != -1; in Contains()
215 size_t GetTagCount(keymaster_tag_t tag) const;
221 bool Contains(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T val) const { in Contains() argument
222 return ContainsEnumValue(tag, val); in Contains()
229 bool Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const { in Contains() argument
230 return ContainsEnumValue(tag, val); in Contains()
237 bool Contains(TypedTag<KM_UINT, Tag> tag, uint32_t val) const { in Contains() argument
238 return ContainsIntValue(tag, val); in Contains()
[all …]
Dkeymaster_tags.h97 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag {
105 StaticAssert<(tag & tag_type) == tag_type>::check();
108 inline operator keymaster_tag_t() { return tag; }
109 inline long masked_tag() { return static_cast<long>(keymaster_tag_mask_type(tag)); }
112 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag, typename KeymasterEnum>
121 StaticAssert<(tag & tag_type) == tag_type>::check();
124 inline operator keymaster_tag_t() { return tag; }
125 inline long masked_tag() { return static_cast<long>(keymaster_tag_mask_type(tag)); }
129 const char* StringifyTag(keymaster_tag_t tag);
193 inline keymaster_key_param_t Authorization(TypedTag<KM_BOOL, Tag> tag) {
[all …]
/system/core/liblog/
Dlogger_write.c219 const char *tag; in __write_to_log_daemon() local
226 tag = NULL; in __write_to_log_daemon()
249 tag = android_lookupEventTag(m, get4LE(vec[0].iov_base)); in __write_to_log_daemon()
252 tag, in __write_to_log_daemon()
263 const char *tag = vec[0].iov_base; in __write_to_log_daemon() local
265 if (!tag) { in __write_to_log_daemon()
269 prio = *tag; in __write_to_log_daemon()
272 ++tag; in __write_to_log_daemon()
275 tag = ((const char *)vec[1].iov_base); in __write_to_log_daemon()
276 if (!tag) { in __write_to_log_daemon()
[all …]
/system/bt/osi/include/
Dlog.h30 #define LOGWRAPPER(tag, fmt, args...) fprintf(stderr, "%s: " fmt "\n", tag, ## args) argument
45 #define LOG_VERBOSE(tag, fmt, args...) ALOG(LOG_VERBOSE, tag, fmt, ## args) argument
47 #define LOG_DEBUG(tag, fmt, args...) ALOG(LOG_DEBUG, tag, fmt, ## args ) argument
48 #define LOG_INFO(tag, fmt, args...) ALOG(LOG_INFO, tag, fmt, ## args) argument
49 #define LOG_WARN(tag, fmt, args...) ALOG(LOG_WARN, tag, fmt, ## args) argument
50 #define LOG_ERROR(tag, fmt, args...) ALOG(LOG_ERROR, tag, fmt, ## args) argument
/system/core/include/cutils/
Dklog.h43 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) argument
44 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) argument
45 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) argument
46 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) argument
47 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) argument
Dtrace.h165 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) in atrace_is_tag_enabled() argument
167 return atrace_get_enabled_tags() & tag; in atrace_is_tag_enabled()
175 static inline void atrace_begin(uint64_t tag, const char* name) in atrace_begin() argument
177 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_begin()
188 static inline void atrace_end(uint64_t tag) in atrace_end() argument
190 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_end()
205 static inline void atrace_async_begin(uint64_t tag, const char* name, in atrace_async_begin() argument
208 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_begin()
219 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument
221 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_end()
[all …]
/system/media/camera/tests/
Dcamera_metadata_tests_fake_vendor.h113 uint32_t tag);
115 uint32_t tag);
117 uint32_t tag);
131 uint32_t tag) { in get_fakevendor_section_name() argument
133 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_section_name()
141 uint32_t tag) { in get_fakevendor_tag_name() argument
143 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_tag_name()
146 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL; in get_fakevendor_tag_name()
147 int tag_index = tag & 0xFFFF; in get_fakevendor_tag_name()
152 uint32_t tag) { in get_fakevendor_tag_type() argument
[all …]
/system/core/include/log/
Dlog.h452 #define ALOG(priority, tag, ...) \ argument
453 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
460 #define LOG_PRI(priority, tag, ...) \ argument
461 android_printLog(priority, tag, __VA_ARGS__)
468 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
469 android_vprintLog(priority, NULL, tag, fmt, args)
476 #define IF_ALOG(priority, tag) \ argument
477 if (android_testLog(ANDROID_##priority, tag))
578 android_log_context create_android_logger(uint32_t tag);
617 #define android_printLog(prio, tag, fmt...) \ argument
[all …]
Dlogd.h42 int __android_log_bwrite(int32_t tag, const void *payload, size_t len);
43 int __android_log_btwrite(int32_t tag, char type, const void *payload,
45 int __android_log_bswrite(int32_t tag, const char *payload);
47 int __android_log_security_bwrite(int32_t tag, const void *payload, size_t len);
48 int __android_log_security_bswrite(int32_t tag, const char *payload);
/system/keymaster/
Dauthorization_set.cpp31 static inline bool is_blob_tag(keymaster_tag_t tag) { in is_blob_tag() argument
32 return (keymaster_tag_get_type(tag) == KM_BYTES || keymaster_tag_get_type(tag) == KM_BIGNUM); in is_blob_tag()
96 if (is_blob_tag(elems_[i].tag)) in reserve_indirect()
159 if (elems_[i - 1].tag == KM_TAG_INVALID) in Deduplicate()
165 elems_[i - 1].tag = KM_TAG_INVALID; in Deduplicate()
169 if (size() > 0 && elems_[size() - 1].tag == KM_TAG_INVALID) in Deduplicate()
194 keymaster_tag_type_t type = keymaster_tag_get_type(src.tag); in CopyToParamSet()
203 int AuthorizationSet::find(keymaster_tag_t tag, int begin) const { in find() argument
208 while (i < (int)elems_size_ && elems_[i].tag != tag) in find()
268 if (is_blob_tag(elem.tag)) { in push_back()
[all …]
Dauth_encrypted_key_blob.cpp33 const Buffer& nonce, const Buffer& tag, in SerializeAuthEncryptedBlob() argument
36 encrypted_key_material.SerializedSize() + tag.SerializedSize() + in SerializeAuthEncryptedBlob()
48 buf = tag.Serialize(buf, end); in SerializeAuthEncryptedBlob()
61 Buffer* tag) { in DeserializeUnversionedBlob() argument
66 if (!nonce->reserve(OCB_NONCE_LENGTH) || !tag->reserve(OCB_TAG_LENGTH)) in DeserializeUnversionedBlob()
71 !copy_from_buf(buf_ptr, end, tag->peek_write(), OCB_TAG_LENGTH) || in DeserializeUnversionedBlob()
77 if (!nonce->advance_write(OCB_NONCE_LENGTH) || !tag->advance_write(OCB_TAG_LENGTH)) in DeserializeUnversionedBlob()
86 Buffer* tag) { in DeserializeAuthEncryptedBlob() argument
101 !tag->Deserialize(buf_ptr, end) || tag->available_read() != OCB_TAG_LENGTH || in DeserializeAuthEncryptedBlob()
132 sw_enforced, nonce, tag); in DeserializeAuthEncryptedBlob()
/system/media/audio_utils/
DDoxyfile.orig20 # 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 an logo or icon that is included in
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 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
[all …]
DDoxyfile20 # 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 an logo or icon that is included in
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 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
[all …]
/system/connectivity/shill/
Drouting_table_entry.h41 tag(kDefaultTag) {} in RoutingTableEntry()
56 tag(kDefaultTag) {} in RoutingTableEntry()
72 tag(tag_in) {} in RoutingTableEntry()
89 tag(tag_in) {} in RoutingTableEntry()
99 tag(b.tag) {} in RoutingTableEntry()
109 tag = b.tag;
124 tag == b.tag); in Equals()
134 int tag; member
/system/sepolicy/tools/
Dinsertkeys.py119 for tag in self.sections():
121 options = self.options(tag)
129 logging.info("Skipping " + tag + " : " + option +
134 if tag in keyMap:
135 sys.exit("Duplicate tag detected " + tag)
137 tag_path = os.path.expandvars(self.get(tag, option))
140 keyMap[tag] = GenerateKeys(path)
146 assert len(keyMap[tag]) == 1
174 def startElement(self, tag, attrs): argument
175 if tag == ReplaceTags.POLICY_TAG:
[all …]
/system/connectivity/shill/bin/
Dff_debug34 by an operator [+-], where + and - imply adding and removing of the tag immediately
58 Logs everything that "--level 0" does, plus SLOG(<tag>, <n>) messages,
59 where <tag> has been enabled for logging, and <n> <= 4. (NOTE: you must
60 negate SLOG levels for use with ff_debug. In this example, SLOG(<tag>, 4)
99 for tag in `echo "$1" | sed 's/[+-]/ &/g'`; do
101 # Skip the tag if it's not in the list of valid tags
102 if ! is_valid_tag "$FF_TAGLIST" "`echo $tag | sed 's/^[+-]//'`"; then
106 case $tag in
108 tag=`echo $tag | sed 's/-//'`
109 if [ -n "$tag" ]; then
[all …]
/system/core/init/
Dperfboot.py253 for tag in tags:
254 if tag in supported_tags:
255 filtered.append(tag)
257 logging.warning('Unknown tag \'%s\'. Ignoring...', tag)
261 def get_values(record, tag): argument
263 keys = [key for key in record.keys() if key[0] == tag]
267 def get_last_value(record, tag): argument
269 values = get_values(record, tag)
284 for tag in tags:
288 values_counter[tag] = max(values_counter.get(tag, 1),
[all …]
/system/media/camera/include/system/
Dcamera_metadata.h83 uint32_t tag; member
102 uint32_t tag; member
341 uint32_t tag,
389 uint32_t tag,
397 uint32_t tag,
432 const char *get_camera_metadata_section_name(uint32_t tag);
440 const char *get_camera_metadata_tag_name(uint32_t tag);
448 int get_camera_metadata_tag_type(uint32_t tag);
470 uint32_t tag);
478 uint32_t tag);
[all …]
/system/core/liblog/tests/
Dliblog_test.cpp906 char tag[sizeof(max_payload_tag)]; in TEST() local
907 memcpy(tag, max_payload_tag, sizeof(tag)); in TEST()
908 snprintf(tag + sizeof(tag) - 5, 5, "%04X", pid & 0xFFFF); in TEST()
911 tag, max_payload_buf)); in TEST()
934 if (strcmp(data, tag)) { in TEST()
1023 char tag[sizeof(big_payload_tag)]; in TEST() local
1024 memcpy(tag, big_payload_tag, sizeof(tag)); in TEST()
1025 snprintf(tag + sizeof(tag) - 5, 5, "%04X", pid & 0xFFFF); in TEST()
1030 ANDROID_LOG_INFO, tag, longString.c_str())); in TEST()
1051 if (strcmp(data, tag)) { in TEST()
[all …]
/system/media/camera/src/
Dcamera_metadata.c43 uint32_t tag; member
409 uint32_t tag_section = entry.tag >> 16; in validate_camera_metadata_structure()
410 int tag_type = get_camera_metadata_tag_type(entry.tag); in validate_camera_metadata_structure()
430 get_camera_metadata_tag_name(entry.tag) ?: "unknown", in validate_camera_metadata_structure()
449 get_camera_metadata_tag_name(entry.tag) ?: "unknown"); in validate_camera_metadata_structure()
520 uint32_t tag, in add_camera_metadata_entry_raw() argument
537 entry->tag = tag; in add_camera_metadata_entry_raw()
557 uint32_t tag, in add_camera_metadata_entry() argument
561 int type = get_camera_metadata_tag_type(tag); in add_camera_metadata_entry()
563 ALOGE("%s: Unknown tag %04x.", __FUNCTION__, tag); in add_camera_metadata_entry()
[all …]
/system/media/camera/docs/
Dmetadata_template.mako23 % for tag in metadata.tags:
24 % if tag.description and tag.description.strip():
25 <tag id="${tag.id}">${tag.description | x}</tag>
27 <tag id="${tag.id}"><!-- TODO: fill the tag description --></tag>
82 % for tag in prop.tags:
83 <tag id="${tag.id}" />
181 % for tag in prop.tags:
182 <tag id="${tag.id}" />
/system/core/libcutils/
Dqtaguid.c101 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { in qtaguid_tagSocket() argument
104 uint64_t kTag = ((uint64_t)tag << 32); in qtaguid_tagSocket()
110 ALOGV("Tagging socket %d with tag %" PRIx64 "{%u,0} for uid %d", sockfd, kTag, tag, uid); in qtaguid_tagSocket()
115 sockfd, kTag, tag, uid, res); in qtaguid_tagSocket()
147 int qtaguid_deleteTagData(int tag, uid_t uid) { in qtaguid_deleteTagData() argument
150 uint64_t kTag = (uint64_t)tag << 32; in qtaguid_deleteTagData()
152 ALOGV("Deleting tag data with tag %" PRIx64 "{%d,0} for uid %d", kTag, tag, uid); in qtaguid_deleteTagData()
160 kTag, tag, uid, cnt, errno); in qtaguid_deleteTagData()
/system/connectivity/shill/vpn/
Dopenvpn_management_server.cc239 string tag = ParsePasswordTag(message); in ProcessNeedPasswordMessage() local
240 if (tag == kPasswordTagAuth) { in ProcessNeedPasswordMessage()
242 PerformStaticChallenge(tag); in ProcessNeedPasswordMessage()
244 PerformAuthentication(tag); in ProcessNeedPasswordMessage()
246 } else if (base::StartsWith(tag, "User-Specific TPM Token", in ProcessNeedPasswordMessage()
248 SupplyTPMToken(tag); in ProcessNeedPasswordMessage()
286 void OpenVPNManagementServer::PerformStaticChallenge(const string& tag) { in PerformStaticChallenge() argument
287 LOG(INFO) << "Perform static challenge: " << tag; in PerformStaticChallenge()
316 SendUsername(tag, user); in PerformStaticChallenge()
317 SendPassword(tag, password_encoded); in PerformStaticChallenge()
[all …]
/system/nativepower/daemon/
Dwake_lock_manager_stub.cc26 const std::string& tag, in ConstructRequestString() argument
29 return base::StringPrintf("%s,%s,%d", tag.c_str(), package.c_str(), uid); in ConstructRequestString()
43 return ConstructRequestString(req.tag, req.package, req.uid); in GetRequestString()
47 const std::string& tag, in AddRequest() argument
50 requests_[client_binder] = Request(tag, package, uid); in AddRequest()
/system/extras/tests/workloads/
Dcapture.sh68 (0030) tag="majorTouch";;
69 (0031) tag="minorTouch";;
70 (003a) tag="pressure";;
71 (0039) tag="trackingId";;
74 printf "%-10s %-4d %-4d\n" $tag $x $y

1234567