/system/keymaster/ |
H A D | keymaster_tags.cpp | 22 const char* StringifyTag(keymaster_tag_t tag) { argument 23 switch (tag) { 119 // DEFINE_KEYMASTER_TAG is used to create TypedTag instances for each non-enum keymaster tag. 155 // DEFINE_KEYMASTER_ENUM_TAG is used to create TypedEnumTag instances for each enum keymaster tag.
|
H A D | keymaster_configuration_test.cpp | 23 int __android_log_print(int prio, const char* tag, const char* fmt); 24 int __android_log_print(int prio, const char* tag, const char* fmt) { argument 25 (void)prio, (void)tag, (void)fmt;
|
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 | ocb_utils.cpp | 122 KeymasterKeyBlob* ciphertext, Buffer* tag) { 123 assert(ciphertext && tag); 143 tag->peek_write(), 1 /* final */); 148 if (!tag->advance_write(OCB_TAG_LENGTH)) 158 const Buffer& tag, KeymasterKeyBlob* plaintext) { 161 if (nonce.available_read() != OCB_NONCE_LENGTH || tag.available_read() != OCB_TAG_LENGTH) 179 tag.peek_read(), 1 /* final */); 184 LOG_E("Failed to validate authentication tag during key decryption", 0); 118 OcbEncryptKey(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, const KeymasterKeyBlob& master_key, const KeymasterKeyBlob& plaintext, const Buffer& nonce, KeymasterKeyBlob* ciphertext, Buffer* tag) argument 154 OcbDecryptKey(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, const KeymasterKeyBlob& master_key, const KeymasterKeyBlob& ciphertext, const Buffer& nonce, const Buffer& tag, KeymasterKeyBlob* plaintext) argument
|
/system/core/include/utils/ |
H A D | Trace.h | 47 inline ScopedTrace(uint64_t tag, const char* name) argument 48 : mTag(tag) {
|
/system/core/liblog/ |
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/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/nativepower/client/ |
H A D | wake_lock.cc | 27 WakeLock::WakeLock(const std::string& tag, argument 31 tag_(tag),
|
H A D | power_manager_client.cc | 88 const std::string& tag, 90 std::unique_ptr<WakeLock> lock(new WakeLock(tag, package, this)); 87 CreateWakeLock( const std::string& tag, const std::string& package) argument
|
/system/core/init/ |
H A D | log.cpp | 28 static const char* tag = basename(getprogname()); local 36 size_t prefix_size = snprintf(buf, sizeof(buf), "<%d>%s: ", level, tag);
|
/system/core/toolbox/ |
H A D | log.c | 82 fprintf(stderr, "USAGE: %s [-p priorityChar] [-t tag] message\n", s); 93 const char *tag = "log"; local 110 tag = optarg; 141 __android_log_print(priority, tag, "%s", buffer);
|
/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
|
H A D | BnPowerManager.cc | 35 String16 tag = data.readString16(); local 38 return acquireWakeLock(flags, lock, tag, package_name); 44 String16 tag = data.readString16(); local 47 return acquireWakeLockWithUid(flags, lock, tag, package_name, uid);
|
H A D | wake_lock_manager.h | 40 const std::string& tag, 48 Request(const std::string& tag, const std::string& package, uid_t uid); 52 std::string tag; member in struct:android::WakeLockManagerInterface::Request 76 const std::string& tag,
|
H A D | wake_lock_manager.cc | 52 WakeLockManager::Request::Request(const std::string& tag, argument 55 : tag(tag), 83 const std::string& tag, 88 << client_binder.get() << ": tag=\"" << tag << "\"" 101 requests_[client_binder] = Request(tag, package, uid); 82 AddRequest(sp<IBinder> client_binder, const std::string& tag, const std::string& package, uid_t uid) argument
|
/system/vold/ |
H A D | Keymaster.h | 96 TypedTag<KM_BYTES, Tag> tag, 98 return params.Authorization(tag, val.data(), val.size()); 102 inline void addStringParam(AuthorizationSetBuilder* params, TypedTag<KM_BYTES, Tag> tag, argument 104 params->Authorization(tag, val.data(), val.size()); 95 addStringParam(AuthorizationSetBuilder&& params, TypedTag<KM_BYTES, Tag> tag, const std::string& val) argument
|
/system/extras/perfprofd/tests/ |
H A D | perfprofdmockutils.cc | 65 void perfprofd_mocklog(const char *tag, const char *fmt, va_list ap) argument 68 strcpy(buffer, tag); 69 vsnprintf(buffer+strlen(tag), LMAX, fmt, ap);
|
/system/connectivity/dhcp_client/ |
H A D | dhcp_options_writer.cc | 213 uint8_t tag = kDHCPOptionEnd; local 214 buffer->Append(ByteString(reinterpret_cast<const char*>(&tag),
|
/system/connectivity/shill/ |
H A D | routing_table.h | 53 Query() : sequence(0), tag(0), table_id(0) {} 59 tag(tag_in), 64 int tag; member in struct:shill::RoutingTable::Query 119 // Iterate over all routing tables removing routes tagged with |tag|. 121 virtual void FlushRoutesWithTag(int tag); 133 // a host route to that destination. When creating the route, tag our local 134 // entry with |tag|, so we can remove it later. Connections use their 135 // interface index as the tag, so that as they are destroyed, they can remove 141 int tag,
|
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...] |
H A D | external_task_unittest.cc | 83 void FakeUpRunningProcess(unsigned int tag, int pid); 85 void ExpectStop(unsigned int tag, int pid) { argument 140 void ExternalTaskTest::FakeUpRunningProcess(unsigned int tag, int pid) { argument
|
/system/core/debuggerd/test/ |
H A D | log_fake.cpp | 48 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { argument 50 g_fake_log_buf += tag; 56 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { argument 58 g_fake_log_print += tag;
|
/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...] |
/system/core/adb/ |
H A D | adb_trace.cpp | 41 const char* tag, const char* file, unsigned int line, 43 android::base::StderrLogger(id, severity, tag, file, line, message); 45 gLogdLogger(id, severity, tag, file, line, message); 40 AdbLogger(android::base::LogId id, android::base::LogSeverity severity, const char* tag, const char* file, unsigned int line, const char* message) argument
|
/system/core/include/log/ |
H A D | logprint.h | 59 const char * tag; member in struct:AndroidLogEntry_t 107 * and tag, and 0 if it should not 110 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri); 126 * If "map" is non-NULL, it will be used to convert the log tag number
|