Home
last modified time | relevance | path

Searched refs:tag (Results 126 – 150 of 339) sorted by relevance

12345678910>>...14

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp99 void expectUidTag(uint64_t cookie, uid_t uid, uint32_t tag) { in expectUidTag() argument
103 EXPECT_EQ(tag, tagResult.value().tag); in expectUidTag()
106 void populateFakeStats(uid_t uid, uint32_t tag, uint32_t ifaceIndex, uint32_t counterSet, in populateFakeStats() argument
109 .uid = (uint32_t)uid, .tag = tag, .counterSet = counterSet, .ifaceIndex = ifaceIndex}; in populateFakeStats()
127 int counterSet, uint32_t tag, const stats_line& result) { in expectStatsLineEqual() argument
131 EXPECT_EQ(tag, (uint32_t)result.tag); in expectStatsLineEqual()
144 UidTagValue tag = {.uid = TEST_UID1, .tag = TEST_TAG}; in TEST_F() local
145 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY)); in TEST_F()
173 UidTagValue tag = {.uid = TEST_UID1, .tag = TEST_TAG}; in TEST_F() local
174 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY)); in TEST_F()
[all …]
/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp49 int setup(uint64_t tag);
50 bool checkTag(uint64_t tag, uid_t uid);
107 int SockInfo::setup(uint64_t tag) { in setup() argument
113 if (doCtrlCommand("t %d %" PRIu64, fd, tag) < 0) { in setup()
118 if (!checkTag(tag, getuid())) { in setup()
260 uint64_t tag = valid_tag2 + ((uint64_t)cnt << 32); in TEST_F() local
261 EXPECT_GE(doCtrlCommand("t %d %" PRIu64 " %u", sock0.fd, tag , fake_uid2), 0) in TEST_F()
263 EXPECT_TRUE(sock0.checkTag(tag, fake_uid2))<< "Unexpected results: tag not found"; in TEST_F()
/system/netd/tests/
Dbpf_base_test.cpp98 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
116 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
152 StatsKey key = {.uid = TEST_UID, .tag = TEST_TAG, .counterSet = TEST_COUNTERSET, in TEST_F()
156 key.tag = 0; in TEST_F()
166 key.tag = TEST_TAG; in TEST_F()
/system/tools/aidl/
Dcomments.cpp113 std::string tag; in BlockTags() local
117 if (tag.empty()) { in BlockTags()
122 tags.push_back({tag, Join(paragraph, " ")}); in BlockTags()
123 tag.clear(); in BlockTags()
143 tag = line.substr(idx, end_idx - idx); in BlockTags()
/system/logging/liblog/tests/
Dliblog_host_test.cpp36 static std::string MakeLogPattern(int priority, const char* tag, const char* message) { in MakeLogPattern() argument
43 return StringPrintf("%s %c \\d+-\\d+ \\d+:\\d+:\\d+ \\s*\\d+ \\s*\\d+ %s", tag, log_char, in MakeLogPattern()
47 static void CheckMessage(bool expected, const std::string& output, int priority, const char* tag, in CheckMessage() argument
49 std::regex message_regex(MakeLogPattern(priority, tag, message)); in CheckMessage()
/system/keymaster/cppcose/
Dcppcose.cpp89 auto tag = generateCoseMac0Mac(macFunction, externalAad, payload); in constructCoseMac0() local
90 if (!tag) return tag.moveMessage(); in constructCoseMac0()
96 .add(std::pair(tag->begin(), tag->end())); in constructCoseMac0()
109 auto tag = mac->get(kCoseMac0Tag)->asBstr(); in verifyAndParseCoseMac0() local
110 if (!protectedParms || !unprotectedParms || !payload || !tag) { in verifyAndParseCoseMac0()
129 if (macTag->size() != tag->value().size() || in verifyAndParseCoseMac0()
130 CRYPTO_memcmp(macTag->data(), tag->value().data(), macTag->size()) != 0) { in verifyAndParseCoseMac0()
450 bytevec tag(ciphertextWithTag.end() - kAesGcmTagSize, ciphertextWithTag.end()); in aesGcmDecrypt() local
451 if (!EVP_CIPHER_CTX_ctrl(ctx->get(), EVP_CTRL_GCM_SET_TAG, kAesGcmTagSize, tag.data())) { in aesGcmDecrypt()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp184 void FatalOnlyLogger(LogId logid, LogSeverity severity, const char* tag, const char* file, in FatalOnlyLogger() argument
187 StderrLogger(logid, severity, tag, file, line, message); in FatalOnlyLogger()
191 StderrLogger(logid, severity, tag, __FILE__, __LINE__, in FatalOnlyLogger()
194 StderrLogger(logid, severity, tag, __FILE__, __LINE__, "Current corpus is nullptr."); in FatalOnlyLogger()
198 StderrLogger(logid, severity, tag, __FILE__, __LINE__, in FatalOnlyLogger()
201 StderrLogger(logid, severity, tag, __FILE__, __LINE__, content.c_str()); in FatalOnlyLogger()
301 if (FuzzFunction::tag != field_desc->number()) { in Execute()
/system/tools/xsdc/
DREADME.md46 To remove a tag, add an annotation tag with the name of "Deprecated" into the
47 tag to be deleted. Partners are not allowed to create new vendor images using
77 like when adding a tag. In the above example, a @Deprecate annotation is added.
79 After 2 years we can delete the tag. When deleting, delete the tag in the xsd
/system/logging/liblog/include/log/
Dlogprint.h63 const char* tag; member
112 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag,
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DUnionWithFd.java134 private void _assertTag(int tag) { in _assertTag() argument
135 if (getTag() != tag) { in _assertTag()
136 …throw new IllegalStateException("bad access: " + _tagString(tag) + ", " + _tagString(getTag()) + "… in _assertTag()
/system/media/camera/docs/
Dcamera_metadata_tag_info.mako22 * maintaining the tag info.
72 int camera_metadata_enum_snprint(uint32_t tag,
79 switch(tag) {
108 int camera_metadata_enum_value(uint32_t tag,
119 switch(tag) {
Dmetadata_validate.py105 def find_all_child_tags(element, tag): argument
130 matching_tags = [i for i in element.children if isinstance(i, Tag) and i.name == tag]
133 def find_child_tag(element, tag): argument
155 matching_tags = find_all_child_tags(element, tag)
Dmetadata_parser_xml.py125 for tag in tags.find_all('tag'):
126 self.metadata.insert_tag(tag['id'], tag.string)
309 for tag in entry.find_all('tag'):
310 tag_ids.append(tag['id'])
/system/extras/profcollectd/libprofcollectd/
Dsimpleperf_etm_trace_provider.rs37 fn trace(&self, trace_dir: &Path, tag: &str, sampling_period: &Duration) { in trace()
38 let trace_file = trace_provider::get_path(trace_dir, tag, ETM_TRACEFILE_EXTENSION); in trace()
Dlib.rs78 pub fn trace_once(tag: &str) -> Result<()> { in trace_once()
79 get_profcollectd_service()?.trace_once(tag)?; in trace_once()
/system/logging/logcat/
Dlogpersist21 log_tag_property=persist.log.tag
133 tag="${log_tag#Settings}"
134 if [ X"${log_tag}" != X"${tag}" ]; then
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/unions/
DEnumUnion.java137 private void _assertTag(int tag) { in _assertTag() argument
138 if (getTag() != tag) { in _assertTag()
139 …throw new IllegalStateException("bad access: " + _tagString(tag) + ", " + _tagString(getTag()) + "… in _assertTag()
/system/libufdt/
Dufdt_node.c24 uint32_t tag = fdt32_to_cpu(*fdt_tag_ptr); in ufdt_node_construct() local
25 if (tag == FDT_PROP) { in ufdt_node_construct()
263 uint32_t tag; in ufdt_node_print() local
264 tag = ufdt_node_tag(node); in ufdt_node_print()
266 switch (tag) { in ufdt_node_print()
/system/security/keystore2/src/
Dsecurity_level.rs280 let purpose = operation_parameters.iter().find(|p| p.tag == Tag::PURPOSE).map_or( in create_operation()
293 operation_parameters.iter().filter(|p| p.tag != Tag::PURPOSE).cloned().collect(); in create_operation()
401 if params.iter().any(|kp| kp.tag == Tag::CREATION_DATETIME) { in add_required_parameters()
409 tag: Tag::CREATION_DATETIME, in add_required_parameters()
427 if params.iter().any(|kp| kp.tag == Tag::ATTESTATION_CHALLENGE) { in add_required_parameters()
439 tag: Tag::ATTESTATION_APPLICATION_ID, in add_required_parameters()
444 if params.iter().any(|kp| kp.tag == Tag::INCLUDE_UNIQUE_ID) { in add_required_parameters()
453 tag: Tag::RESET_SINCE_ID_ROTATION, in add_required_parameters()
461 if params.iter().any(|kp| is_device_id_attestation_tag(kp.tag)) { in add_required_parameters()
470 match params.iter().find(|kp| kp.tag == Tag::ALGORITHM) { in add_required_parameters()
[all …]
/system/extras/simpleperf/runtest/
Druntest.py210 assert root.tag == 'runtests'
212 assert test.tag == 'test'
222 if test_item.tag == 'executable':
224 elif test_item.tag == 'disable_host':
226 elif test_item.tag == 'record':
228 elif test_item.tag == 'report':
230 elif (test_item.tag == 'symbol_overhead' or
231 test_item.tag == 'symbol_children_overhead'):
233 assert symbol_item.tag == 'symbol'
247 if test_item.tag == 'symbol_overhead':
[all …]
/system/tools/hidl/test/error_test/tag_name_does_not_exist/1.0/
Drequired_error1 tag_does_not_exist is not a supported tag
/system/tools/xsdc/src/com/android/xsdc/tag/
DNullability.java17 package com.android.xsdc.tag;
/system/security/keystore2/src/crypto/
Dcrypto.hpp27 const uint8_t* key, size_t key_size, const uint8_t* iv, uint8_t* tag);
30 const uint8_t* tag);
/system/tools/sysprop/stub/android/util/
DLog.java21 public static int v(String tag, String msg) { in v() argument
/system/logging/logd/
Dmain.cpp203 const char* tag, const char* file, unsigned int line, const char* message) { in main() argument
204 if (tag && strcmp(tag, "logd") != 0) { in main()
205 auto prefixed_message = android::base::StringPrintf("%s: %s", tag, message); in main()

12345678910>>...14