Home
last modified time | relevance | path

Searched refs:verifier (Results 1 – 25 of 26) sorted by relevance

12

/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h179 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
180 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers…
226 bool Verify(flatbuffers::Verifier &verifier) const {
227 return VerifyTableStart(verifier) &&
228 VerifyField<uint64_t>(verifier, VT_APP_ID) &&
229 VerifyField<uint32_t>(verifier, VT_MESSAGE_TYPE) &&
230 VerifyField<uint16_t>(verifier, VT_HOST_ENDPOINT) &&
231 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_MESSAGE) &&
232 verifier.Verify(message()) &&
233 verifier.EndTable();
[all …]
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_types_generated.h52 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
53 return VerifyTableStart(verifier) && in Verify()
54 VerifyField<flatbuffers::uoffset_t>(verifier, VT_SSID) && in Verify()
55 verifier.Verify(ssid()) && verifier.EndTable(); in Verify()
97 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
98 return VerifyTableStart(verifier) && in Verify()
99 VerifyField<flatbuffers::uoffset_t>(verifier, VT_SSID) && in Verify()
100 verifier.VerifyTable(ssid()) && in Verify()
101 VerifyField<uint8_t>(verifier, VT_SECURITY_MODES) && in Verify()
102 verifier.EndTable(); in Verify()
[all …]
Dflatbuffers_serialization.h118 flatbuffers::Verifier verifier(in_buffer, in_buffer_len);
119 if (!verifier.VerifyBuffer<typename SerializeType::FbsType>(nullptr)) {
/system/bt/gd/dumpsys/internal/test_data/
Dstruct_generated.h22 bool Verify(flatbuffers::Verifier& verifier) const { in Verify()
23 …return VerifyTableStart(verifier) && VerifyField<int32_t>(verifier, VT_PLACEHOLDER) && verifier.En… in Verify()
58 bool Verify(flatbuffers::Verifier& verifier) const { in Verify()
59 …return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_SUB_TABLE) && verifier.VerifyTable(… in Verify()
60 verifier.EndTable(); in Verify()
97 inline bool VerifyTestTableStructBuffer(flatbuffers::Verifier& verifier) { in VerifyTestTableStructBuffer() argument
98 return verifier.VerifyBuffer<testing::TestTableStruct>(nullptr); in VerifyTestTableStructBuffer()
101 inline bool VerifySizePrefixedTestTableStructBuffer(flatbuffers::Verifier& verifier) { in VerifySizePrefixedTestTableStructBuffer() argument
102 return verifier.VerifySizePrefixedBuffer<testing::TestTableStruct>(nullptr); in VerifySizePrefixedTestTableStructBuffer()
Dstring_generated.h19 bool Verify(flatbuffers::Verifier& verifier) const { in Verify()
20 return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TEST_STRING) && in Verify()
21 verifier.VerifyString(test_string()) && verifier.EndTable(); in Verify()
64 inline bool VerifyTestTableStringBuffer(flatbuffers::Verifier& verifier) { in VerifyTestTableStringBuffer() argument
65 return verifier.VerifyBuffer<testing::TestTableString>(nullptr); in VerifyTestTableStringBuffer()
68 inline bool VerifySizePrefixedTestTableStringBuffer(flatbuffers::Verifier& verifier) { in VerifySizePrefixedTestTableStringBuffer() argument
69 return verifier.VerifySizePrefixedBuffer<testing::TestTableString>(nullptr); in VerifySizePrefixedTestTableStringBuffer()
Dfloat_generated.h19 bool Verify(flatbuffers::Verifier& verifier) const { in Verify()
20 …return VerifyTableStart(verifier) && VerifyField<float>(verifier, VT_TEST_FLOAT) && verifier.EndTa… in Verify()
57 inline bool VerifyTestTableFloatBuffer(flatbuffers::Verifier& verifier) { in VerifyTestTableFloatBuffer() argument
58 return verifier.VerifyBuffer<testing::TestTableFloat>(nullptr); in VerifyTestTableFloatBuffer()
61 inline bool VerifySizePrefixedTestTableFloatBuffer(flatbuffers::Verifier& verifier) { in VerifySizePrefixedTestTableFloatBuffer() argument
62 return verifier.VerifySizePrefixedBuffer<testing::TestTableFloat>(nullptr); in VerifySizePrefixedTestTableFloatBuffer()
Dinteger_generated.h19 bool Verify(flatbuffers::Verifier& verifier) const { in Verify()
20 …return VerifyTableStart(verifier) && VerifyField<int32_t>(verifier, VT_TEST_INT) && verifier.EndTa… in Verify()
57 inline bool VerifyTestTableIntegerBuffer(flatbuffers::Verifier& verifier) { in VerifyTestTableIntegerBuffer() argument
58 return verifier.VerifyBuffer<testing::TestTableInteger>(nullptr); in VerifyTestTableIntegerBuffer()
61 inline bool VerifySizePrefixedTestTableIntegerBuffer(flatbuffers::Verifier& verifier) { in VerifySizePrefixedTestTableIntegerBuffer() argument
62 return verifier.VerifySizePrefixedBuffer<testing::TestTableInteger>(nullptr); in VerifySizePrefixedTestTableIntegerBuffer()
/system/bt/gd/
Dmodule_unittest_generated.h19 bool Verify(flatbuffers::Verifier& verifier) const { in Verify()
20 …return VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TITLE) && verifier.VerifyString(tit… in Verify()
21 verifier.EndTable(); in Verify()
64 inline bool VerifyModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) { in VerifyModuleUnitTestDataBuffer() argument
65 return verifier.VerifyBuffer<bluetooth::ModuleUnitTestData>(nullptr); in VerifyModuleUnitTestDataBuffer()
68 inline bool VerifySizePrefixedModuleUnitTestDataBuffer(flatbuffers::Verifier& verifier) { in VerifySizePrefixedModuleUnitTestDataBuffer() argument
69 return verifier.VerifySizePrefixedBuffer<bluetooth::ModuleUnitTestData>(nullptr); in VerifySizePrefixedModuleUnitTestDataBuffer()
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h293 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
294 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers…
369 bool Verify(flatbuffers::Verifier &verifier) const {
370 return VerifyTableStart(verifier) &&
371 VerifyField<uint64_t>(verifier, VT_APP_ID) &&
372 VerifyField<uint32_t>(verifier, VT_MESSAGE_TYPE) &&
373 VerifyField<uint16_t>(verifier, VT_HOST_ENDPOINT) &&
374 VerifyFieldRequired<flatbuffers::uoffset_t>(verifier, VT_MESSAGE) &&
375 verifier.Verify(message()) &&
376 verifier.EndTable();
[all …]
/system/update_engine/payload_consumer/
Dcertificate_parser_android_unittest.cc55 auto verifier = PayloadVerifier::CreateInstanceFromZipPath( in TEST() local
57 ASSERT_TRUE(verifier != nullptr); in TEST()
58 ASSERT_TRUE(verifier->VerifyRawSignature(sig_blob, hash_blob, nullptr)); in TEST()
/system/bt/gd/dumpsys/
Dreflection_schema.cc53 …flatbuffers::Verifier verifier(reinterpret_cast<const uint8_t*>(it->data()->Data()), it->data()->s… in FindInReflectionSchema()
54 if (!reflection::VerifySchemaBuffer(verifier)) { in FindInReflectionSchema()
79 …flatbuffers::Verifier verifier(reinterpret_cast<const uint8_t*>(it->data()->Data()), it->data()->s… in VerifyReflectionSchema()
80 if (!reflection::VerifySchemaBuffer(verifier)) { in VerifyReflectionSchema()
/system/chre/platform/shared/
Dhost_protocol_common.cc59 flatbuffers::Verifier verifier(static_cast<const uint8_t *>(message), in verifyMessage()
62 valid = fbs::VerifyMessageContainerBuffer(verifier); in verifyMessage()
/system/chre/apps/wifi_offload/test/
Doffloadtypes_test.cc58 flatbuffers::Verifier verifier(serialized_buff, serialized_size); in SerializationThenDeserializationCreatesEqualValue() local
59 ASSERT_TRUE(verifier.VerifyBuffer<typename TestType::FbsType>(nullptr)); in SerializationThenDeserializationCreatesEqualValue()
/system/extras/verity/
DUtils.java267 Signature verifier = Signature.getInstance(algName); in verify() local
268 verifier.initVerify(key); in verify()
269 verifier.update(input); in verify()
271 return verifier.verify(signature); in verify()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1643 Verifier verifier(buf, len);
1644 return verifier.VerifyBuffer<T>(nullptr);
1744 bool VerifyTableStart(Verifier &verifier) const {
1746 if (!verifier.Verify<soffset_t>(data_)) return false;
1749 return verifier.VerifyComplexity() &&
1750 verifier.Verify<voffset_t>(vtable) &&
1752 verifier.Verify(vtable, ReadScalar<voffset_t>(vtable));
1756 template<typename T> bool VerifyField(const Verifier &verifier,
1762 return !field_offset || verifier.Verify<T>(data_ + field_offset);
1766 template<typename T> bool VerifyFieldRequired(const Verifier &verifier,
[all …]
/system/bt/gd/dumpsys/bundler/
Dbundler.cc61 flatbuffers::Verifier verifier(raw_schema.data(), raw_schema.size()); in VerifyBinarySchema() local
62 if (!reflection::VerifySchemaBuffer(verifier)) { in VerifyBinarySchema()
/system/bt/gd/dumpsys/internal/
Dfilter_internal_test.cc46 flatbuffers::Verifier verifier(reflection_schema_.data(), reflection_schema_.size()); in ParseReflectionSchema() local
47 ASSERT_TRUE(reflection::VerifySchemaBuffer(verifier)); in ParseReflectionSchema()
/system/sepolicy/prebuilts/api/26.0/private/
Dpriv_app.te61 # Allow verifier to access staged apks.
/system/sepolicy/prebuilts/api/27.0/private/
Dpriv_app.te60 # Allow verifier to access staged apks.
/system/sepolicy/prebuilts/api/28.0/private/
Dpriv_app.te64 # Allow verifier to access staged apks.
/system/core/rootdir/
Dinit.rc829 # A/B update verifier that marks a successful boot.
836 # A/B update verifier that marks a successful boot.
843 # A/B update verifier that marks a successful boot.
983 # A/B update verifier that marks a successful boot.
988 # A/B update verifier that marks a successful boot.
/system/sepolicy/private/
Dpriv_app.te67 # Allow verifier to access staged apks.
/system/sepolicy/prebuilts/api/30.0/private/
Dpriv_app.te71 # Allow verifier to access staged apks.
/system/sepolicy/prebuilts/api/29.0/private/
Dpriv_app.te79 # Allow verifier to access staged apks.
/system/update_engine/
Dupdate_metadata.proto137 // a given key. And the payload verifier will truncate the signature to

12