Home
last modified time | relevance | path

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

12

/system/chre/platform/shared/include/chre/platform/shared/generated/
Dhost_messages_generated.h331 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
332 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers…
391 bool Verify(flatbuffers::Verifier &verifier) const {
392 return VerifyTableStart(verifier) &&
393 VerifyField<uint64_t>(verifier, VT_APP_ID) &&
394 VerifyField<uint32_t>(verifier, VT_MESSAGE_TYPE) &&
395 VerifyField<uint16_t>(verifier, VT_HOST_ENDPOINT) &&
396 VerifyOffsetRequired(verifier, VT_MESSAGE) &&
397 verifier.VerifyVector(message()) &&
398 VerifyField<uint32_t>(verifier, VT_MESSAGE_PERMISSIONS) &&
[all …]
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
Dflatbuffers_types_generated.h50 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
51 return VerifyTableStart(verifier) && in Verify()
52 VerifyOffset(verifier, VT_SSID) && in Verify()
53 verifier.VerifyVector(ssid()) && in Verify()
54 verifier.EndTable(); in Verify()
106 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
107 return VerifyTableStart(verifier) && in Verify()
108 VerifyOffset(verifier, VT_SSID) && in Verify()
109 verifier.VerifyTable(ssid()) && in Verify()
110 VerifyField<uint8_t>(verifier, VT_SECURITY_MODES) && in Verify()
[all …]
/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/apps/power_test/common/include/generated/
Dchre_power_test_generated.h347 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
348 return VerifyTableStart(verifier) && in Verify()
349 VerifyField<uint8_t>(verifier, VT_ENABLE) && in Verify()
350 VerifyField<uint64_t>(verifier, VT_WAKEUP_INTERVAL_NS) && in Verify()
351 verifier.EndTable(); in Verify()
413 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
414 return VerifyTableStart(verifier) && in Verify()
415 VerifyField<uint8_t>(verifier, VT_ENABLE) && in Verify()
416 VerifyField<uint64_t>(verifier, VT_SCAN_INTERVAL_NS) && in Verify()
417 VerifyField<uint8_t>(verifier, VT_SCAN_TYPE) && in Verify()
[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/chre/host/common/include/chre_host/generated/
Dhost_messages_generated.h556 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
557 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers…
655 bool Verify(flatbuffers::Verifier &verifier) const {
656 return VerifyTableStart(verifier) &&
657 VerifyField<uint64_t>(verifier, VT_APP_ID) &&
658 VerifyField<uint32_t>(verifier, VT_MESSAGE_TYPE) &&
659 VerifyField<uint16_t>(verifier, VT_HOST_ENDPOINT) &&
660 VerifyOffsetRequired(verifier, VT_MESSAGE) &&
661 verifier.VerifyVector(message()) &&
662 VerifyField<uint32_t>(verifier, VT_MESSAGE_PERMISSIONS) &&
[all …]
/system/chre/apps/power_test/common/idl/
Dchre_power_test_generated.h373 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
374 return VerifyTableStart(verifier) && in Verify()
375 VerifyField<uint8_t>(verifier, VT_ENABLE) && in Verify()
376 VerifyField<uint64_t>(verifier, VT_WAKEUP_INTERVAL_NS) && in Verify()
377 verifier.EndTable(); in Verify()
476 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
477 return VerifyTableStart(verifier) && in Verify()
478 VerifyField<uint8_t>(verifier, VT_ENABLE) && in Verify()
479 VerifyField<uint64_t>(verifier, VT_SCAN_INTERVAL_NS) && in Verify()
480 VerifyField<uint8_t>(verifier, VT_SCAN_TYPE) && in Verify()
[all …]
/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.cc62 flatbuffers::Verifier verifier(static_cast<const uint8_t *>(message), in verifyMessage()
65 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/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_serialization.h118 flatbuffers::Verifier verifier(in_buffer, in_buffer_len);
119 if (!verifier.VerifyBuffer<typename SerializeType::FbsType>(nullptr)) {
/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.h792 Verifier verifier(data(), size());
793 return verifier.Verify<T>(nullptr);
2472 Verifier verifier(buf, len);
2473 return verifier.VerifyBuffer<T>(nullptr);
2578 bool VerifyTableStart(Verifier &verifier) const {
2579 return verifier.VerifyTableStart(data_);
2584 bool VerifyField(const Verifier &verifier, voffset_t field) const {
2589 return !field_offset || verifier.Verify<T>(data_, field_offset);
2594 bool VerifyFieldRequired(const Verifier &verifier, voffset_t field) const {
2596 return verifier.Check(field_offset != 0) &&
[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/chre/apps/power_test/common/
Drequest_manager.cc96 flatbuffers::Verifier verifier( in verifyMessage()
99 bool verified = verifier.VerifyBuffer<MessageClass>(nullptr); in verifyMessage()
/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/chre/host/common/test/power_test/
Dchre_power_test_client.cc284 flatbuffers::Verifier verifier(message.data(), message.size()); in handlePowerTestNanoappResponse() local
285 bool success = response->Verify(verifier); in handlePowerTestNanoappResponse()
/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/sepolicy/prebuilts/api/30.0/private/
Dpriv_app.te75 # Allow verifier to access staged apks.

12