/system/bt/osi/include/ |
H A D | log.h | 30 #define LOGWRAPPER(tag, fmt, args...) fprintf(stderr, "%s: " fmt "\n", tag, ## args) 45 #define LOG_VERBOSE(tag, fmt, args...) ALOG(LOG_VERBOSE, tag, fmt, ## args) 47 #define LOG_DEBUG(tag, fmt, args...) ALOG(LOG_DEBUG, tag, fmt, ## args ) 48 #define LOG_INFO(tag, fmt, args...) ALOG(LOG_INFO, tag, fmt, ## args) 49 #define LOG_WARN(tag, fmt, args...) ALOG(LOG_WARN, tag, fm [all...] |
/system/core/include/cutils/ |
H A D | klog.h | 43 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) 44 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) 45 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) 46 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) 47 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag " [all...] |
H A D | qtaguid.h | 31 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid); 46 * Delete all tag info that relates to the given tag an uid. 47 * If the tag is 0, then ALL info about the uid is freeded. 54 extern int qtaguid_deleteTagData(int tag, uid_t uid);
|
H A D | trace.h | 36 * following ATRACE_TAG_* macros. The trace tag is used to filter tracing in 51 #define ATRACE_TAG_NEVER 0 // This tag is never enabled. 52 #define ATRACE_TAG_ALWAYS (1<<0) // This tag is always enabled. 161 * Test if a given tag is currently enabled. 162 * Returns nonzero if the tag is enabled, otherwise zero. 166 static inline uint64_t atrace_is_tag_enabled(uint64_t tag) argument 168 return atrace_get_enabled_tags() & tag; 176 static inline void atrace_begin(uint64_t tag, const char* name) argument 178 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { 189 static inline void atrace_end(uint64_t tag) argument 206 atrace_async_begin(uint64_t tag, const char* name, int32_t cookie) argument 220 atrace_async_end(uint64_t tag, const char* name, int32_t cookie) argument 233 atrace_int(uint64_t tag, const char* name, int32_t value) argument 246 atrace_int64(uint64_t tag, const char* name, int64_t value) argument [all...] |
/system/connectivity/shill/bin/ |
H A D | ff_debug | 34 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 | se [all...] |
/system/core/include/log/ |
H A D | logd.h | 42 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);
|
H A D | event_tag_map.h | 30 * Open the specified file as an event log tag map. 42 * Look up a tag by index. Returns the tag string, or NULL if not found. 44 const char* android_lookupEventTag(const EventTagMap* map, int tag);
|
H A D | log.h | 60 * This is the local tag used for the following simplified 62 * before using the other macros to change the tag. 449 * The second argument may be NULL or "" to indicate the "global" tag. 452 #define ALOG(priority, tag, ...) \ 453 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__) 460 #define LOG_PRI(priority, tag, ...) \ 461 android_printLog(priority, tag, __VA_ARGS__) 468 #define LOG_PRI_VA(priority, tag, fmt, args) \ 469 android_vprintLog(priority, NULL, tag, fmt, args) 473 * Conditional given a desired logging priority and tag [all...] |
/system/media/camera/include/system/ |
H A D | camera_vendor_tags.h | 53 * Get the vendor section name for a vendor-specified entry tag. This will 59 * This must return NULL if the tag is outside the bounds of 62 * There may be different vendor-defined tag sections, for example the 69 const char *(*get_section_name)(const vendor_tag_ops_t *v, uint32_t tag); 72 * Get the tag name for a vendor-specified entry tag. This is only called 74 * vendor-defined tag. 79 const char *(*get_tag_name)(const vendor_tag_ops_t *v, uint32_t tag); 82 * Get tag type for a vendor-specified entry tag [all...] |
H A D | camera_metadata.h | 83 uint32_t tag; member in struct:camera_metadata_entry 102 uint32_t tag; member in struct:camera_metadata_ro_entry 134 * an integer tag to identify its meaning, 'type' and 'count' field, and the 142 * entries with the same tag are allowed. The packet will not dynamically resize 330 * left to add the entry, or if the tag is unknown. data_count is the number of 331 * entries in the data array of the tag's type, not a count of 341 uint32_t tag, 380 * Find an entry with given tag value. If not found, returns -ENOENT. Otherwise, 383 * If multiple entries with the same tag exist, does not have any guarantees on 389 uint32_t tag, [all...] |
/system/keymaster/include/keymaster/ |
H A D | keymaster_tags.h | 25 * example, it's an error to create a keymaster_param_t with tag == KM_TAG_PURPOSE and then to 32 * TypedTag and TypedEnumTag. These classes are templated on a tag type and a tag value, and in the 34 * keymaster tag, associating the tag type with the tag, and an instance of each specialization is 35 * created, and named the same as the keymaster tag, but with the KM_ prefix omitted. Because the 40 * particular tag. This enables template functions to be written that check that the correct 41 * parameter type is used for a given tag, and that use the correct union entry for the tag typ 193 Authorization(TypedTag<KM_BOOL, Tag> tag) argument 198 Authorization(TypedTag<KM_UINT, Tag> tag, uint32_t value) argument 203 Authorization(TypedTag<KM_UINT_REP, Tag> tag, uint32_t value) argument 208 Authorization(TypedTag<KM_ULONG, Tag> tag, uint64_t value) argument 213 Authorization(TypedTag<KM_ULONG_REP, Tag> tag, uint64_t value) argument 218 Authorization(TypedTag<KM_DATE, Tag> tag, uint64_t value) argument 223 Authorization(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) argument 229 Authorization(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) argument 235 Authorization(TypedTag<KM_BIGNUM, Tag> tag, const void* bytes, size_t bytes_len) argument 241 Authorization(TypedTag<KM_BIGNUM, Tag> tag, const keymaster_blob_t& blob) argument 247 Authorization(TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, KeymasterEnum value) argument 253 Authorization(TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, KeymasterEnum value) argument [all...] |
H A D | authorization_set.h | 185 * Returns the offset of the next entry that matches \p tag, starting from the element after \p 188 int find(keymaster_tag_t tag, int begin = -1) const; 217 * Returns true if the set contains at least one instance of \p tag 219 bool Contains(keymaster_tag_t tag) const { 220 return find(tag) != -1; 224 * Returns the number of \p tag entries. 226 size_t GetTagCount(keymaster_tag_t tag) const; 229 * Returns true if the set contains the specified tag and value. 232 bool Contains(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T val) const { argument 233 return ContainsEnumValue(tag, va 240 Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const argument 248 Contains(TypedTag<KM_UINT, Tag> tag, uint32_t val) const argument 257 GetTagValue(TypedTag<KM_UINT, T> tag, uint32_t* val) const argument 267 GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, uint32_t* val) const argument 276 GetTagValue(TypedTag<KM_ULONG, T> tag, uint64_t* val) const argument 286 GetTagValue(TypedTag<KM_ULONG_REP, Tag> tag, size_t instance, uint64_t* val) const argument 295 GetTagValue(TypedEnumTag<KM_ENUM, Tag, T> tag, T* val) const argument 305 GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, size_t instance, T* val) const argument 315 GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T* val) const argument 326 GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, typename TypedTag<KM_UINT_REP, Tag>::value_type* val) const argument 336 GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const argument 345 GetTagValue(TypedTag<KM_BIGNUM, Tag> tag, keymaster_blob_t* val) const argument 361 GetTagValue(TypedTag<Type, Tag> tag, typename TagValueType<Type>::value_type* val) const argument 385 push_back(TypedEnumTag<Type, Tag, KeymasterEnum> tag, KeymasterEnum val) argument 392 push_back(TypedTag<KM_BOOL, Tag> tag) argument 401 push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) argument 410 push_back(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) argument 419 push_back(TypedTag<KM_BIGNUM, Tag> tag, const void* bytes, size_t bytes_len) argument 424 push_back(TypedTag<Type, Tag> tag, typename TypedTag<Type, Tag>::value_type val) argument 429 push_back(TypedTag<Type, Tag> tag, const void* bytes, size_t bytes_len) argument 481 Authorization(TagType tag, ValueType value) argument 487 Authorization(TypedTag<KM_BOOL, Tag> tag) argument 493 Authorization(TypedTag<KM_INVALID, Tag> tag) argument 501 Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, size_t data_length) argument 508 Authorization(TypedTag<KM_BYTES, Tag> tag, const char* data, size_t data_length) argument [all...] |
/system/core/liblog/ |
H A D | logger_write.c | 254 const char *tag; local 261 tag = NULL; 284 tag = android_lookupEventTag(m, get4LE(vec[0].iov_base)); 287 tag, 296 /* Validate the incoming tag, tag content can not split across iovec */ 298 const char *tag = vec[0].iov_base; local 300 if (!tag) { 304 prio = *tag; 307 ++tag; 382 __android_log_write(int prio, const char *tag, const char *msg) argument 388 __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg) argument 430 __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument 440 __android_log_print(int prio, const char *tag, const char *fmt, ...) argument 453 __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument 467 __android_log_assert(const char *cond, const char *tag, const char *fmt, ...) argument 493 __android_log_bwrite(int32_t tag, const void *payload, size_t len) argument 506 __android_log_security_bwrite(int32_t tag, const void *payload, size_t len) argument 525 __android_log_btwrite(int32_t tag, char type, const void *payload, size_t len) argument 544 __android_log_bswrite(int32_t tag, const char *payload) argument 566 __android_log_security_bswrite(int32_t tag, const char *payload) argument [all...] |
H A D | log_event_write.c | 26 int tag, 34 android_log_context ctx = create_android_logger(tag); 25 __android_log_error_write( int tag, const char *subTag, int32_t uid, const char *data, uint32_t dataLen) argument
|
/system/media/camera/tests/ |
H A D | camera_metadata_tests_fake_vendor.h | 113 uint32_t tag); 115 uint32_t tag); 117 uint32_t tag); 131 uint32_t tag) { 133 int tag_section = (tag >> 16) - VENDOR_SECTION; 141 uint32_t tag) { 143 int tag_section = (tag >> 16) - VENDOR_SECTION; 146 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL; 147 int tag_index = tag & 0xFFFF; 152 uint32_t tag) { 130 get_fakevendor_section_name(const vendor_tag_ops_t *v, uint32_t tag) argument 140 get_fakevendor_tag_name(const vendor_tag_ops_t *v, uint32_t tag) argument 151 get_fakevendor_tag_type(const vendor_tag_ops_t *v, uint32_t tag) argument 178 unsigned int start, end, tag; local [all...] |
/system/core/include/android/ |
H A D | log.h | 43 * - a log tag 46 * The tag normally corresponds to the component that emits the log message, 99 int __android_log_write(int prio, const char *tag, const char *text); 104 int __android_log_print(int prio, const char *tag, const char *fmt, ...) 122 int __android_log_vprint(int prio, const char *tag, 129 void __android_log_assert(const char *cond, const char *tag,
|
/system/connectivity/shill/ |
H A D | routing_table_entry.h | 41 tag(kDefaultTag) {} 56 tag(kDefaultTag) {} 72 tag(tag_in) {} 89 tag(tag_in) {} 99 tag(b.tag) {} 109 tag = b.tag; 124 tag == b.tag); 134 int tag; member in struct:shill::RoutingTableEntry [all...] |
/system/keymaster/ |
H A D | auth_encrypted_key_blob.cpp | 33 const Buffer& nonce, const Buffer& tag, 36 encrypted_key_material.SerializedSize() + tag.SerializedSize() + 48 buf = tag.Serialize(buf, end); 61 Buffer* tag) { 66 if (!nonce->reserve(OCB_NONCE_LENGTH) || !tag->reserve(OCB_TAG_LENGTH)) 71 !copy_from_buf(buf_ptr, end, tag->peek_write(), OCB_TAG_LENGTH) || 77 if (!nonce->advance_write(OCB_NONCE_LENGTH) || !tag->advance_write(OCB_TAG_LENGTH)) 86 Buffer* tag) { 101 !tag->Deserialize(buf_ptr, end) || tag 29 SerializeAuthEncryptedBlob(const KeymasterKeyBlob& encrypted_key_material, const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, const Buffer& nonce, const Buffer& tag, KeymasterKeyBlob* key_blob) argument 57 DeserializeUnversionedBlob(const KeymasterKeyBlob& key_blob, KeymasterKeyBlob* encrypted_key_material, AuthorizationSet* hw_enforced, AuthorizationSet* sw_enforced, Buffer* nonce, Buffer* tag) argument 82 DeserializeAuthEncryptedBlob(const KeymasterKeyBlob& key_blob, KeymasterKeyBlob* encrypted_key_material, AuthorizationSet* hw_enforced, AuthorizationSet* sw_enforced, Buffer* nonce, Buffer* tag) argument [all...] |
H A D | auth_encrypted_key_blob.h | 31 const Buffer& nonce, const Buffer& tag, 38 Buffer* tag);
|
H A D | ae.h | 36 #define AE_INVALID (-1) /* Indicates bad tag during decryption */ 95 int ad_len, void* ct, void* tag, int final); 108 * tag - Pointer to receive authentication tag; or NULL 109 * if tag is to be bundled into the ciphertext. 125 int ad_len, void* pt, const void* tag, int final); 138 * tag - Pointer to tag_len (defined in ae_init) bytes; or NULL 139 * if tag is bundled into the ciphertext. Non-NULL tag is only
|
H A D | ocb_utils.h | 38 KeymasterKeyBlob* ciphertext, Buffer* tag); 44 const Buffer& tag, KeymasterKeyBlob* plaintext);
|
/system/core/libutils/ |
H A D | Log.cpp | 24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument 26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
|
/system/extras/tests/workloads/ |
H A D | capture.sh | 68 (0030) tag="majorTouch";; 69 (0031) tag="minorTouch";; 70 (003a) tag="pressure";; 71 (0039) tag="trackingId";; 74 printf "%-10s %-4d %-4d\n" $tag $x $y
|
/system/nativepower/daemon/ |
H A D | wake_lock_manager_stub.cc | 26 const std::string& tag, 29 return base::StringPrintf("%s,%s,%d", tag.c_str(), package.c_str(), uid); 43 return ConstructRequestString(req.tag, req.package, req.uid); 47 const std::string& tag, 50 requests_[client_binder] = Request(tag, package, uid); 25 ConstructRequestString( const std::string& tag, const std::string& package, uid_t uid) argument 46 AddRequest(sp<IBinder> client_binder, const std::string& tag, const std::string& package, uid_t uid) argument
|
/system/core/libcutils/ |
H A D | qtaguid.c | 101 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { argument 104 uint64_t kTag = ((uint64_t)tag << 32); 110 ALOGV("Tagging socket %d with tag %" PRIx64 "{%u,0} for uid %d", sockfd, kTag, tag, uid); 114 ALOGI("Tagging socket %d with tag %" PRIx64 "(%d) for uid %d failed errno=%d", 115 sockfd, kTag, tag, uid, res); 147 int qtaguid_deleteTagData(int tag, uid_t uid) { argument 150 uint64_t kTag = (uint64_t)tag << 32; 152 ALOGV("Deleting tag data with tag [all...] |