Searched refs:dataProvider (Results 1 – 5 of 5) sorted by relevance
62 AuthorizationSet createAuthorizationSet(std::unique_ptr<FuzzedDataProvider>& dataProvider) { in createAuthorizationSet() argument63 uint32_t authSet = dataProvider->ConsumeEnum<AuthSet>(); in createAuthorizationSet()66 Digest digest = dataProvider->PickValueInArray(kDigest); in createAuthorizationSet()67 PaddingMode padding = dataProvider->PickValueInArray(kPaddingMode); in createAuthorizationSet()76 Digest digest = dataProvider->PickValueInArray(kDigest); in createAuthorizationSet()77 PaddingMode padding = dataProvider->PickValueInArray(kPaddingMode); in createAuthorizationSet()86 EcCurve ecCurve = dataProvider->PickValueInArray(kCurve); in createAuthorizationSet()87 Digest digest = dataProvider->PickValueInArray(kDigest); in createAuthorizationSet()95 Digest digest = dataProvider->PickValueInArray(kDigest); in createAuthorizationSet()103 Digest digest = dataProvider->PickValueInArray(kDigest); in createAuthorizationSet()[all …]
81 AuthorizationSet createAuthSetForAttestKey(FuzzedDataProvider* dataProvider) { in createAuthSetForAttestKey() argument82 uint32_t attestAuthSet = dataProvider->ConsumeBool() ? AttestAuthSet::RSA_ATTEST_KEY in createAuthSetForAttestKey()84 uint64_t timestamp = dataProvider->ConsumeIntegral<uint64_t>(); in createAuthSetForAttestKey()85 Digest digest = dataProvider->PickValueInArray(kDigest); in createAuthSetForAttestKey()86 PaddingMode padding = dataProvider->PickValueInArray(kPaddingMode); in createAuthSetForAttestKey()87 std::string challenge = dataProvider->ConsumeRandomLengthString(kStringSize); in createAuthSetForAttestKey()88 std::string id = dataProvider->ConsumeRandomLengthString(kStringSize); in createAuthSetForAttestKey()105 EcCurve ecCurve = dataProvider->PickValueInArray(kCurve); in createAuthSetForAttestKey()124 AuthorizationSet createAuthorizationSet(FuzzedDataProvider* dataProvider) { in createAuthorizationSet() argument126 dataProvider->ConsumeIntegralInRange<uint32_t>(AuthSet::RSA_KEY, AuthSet::BLOCK_MODE); in createAuthorizationSet()[all …]
41 void PowerStats::setRailDataProvider(std::unique_ptr<IRailDataProvider> dataProvider) { in setRailDataProvider() argument42 mRailDataProvider = std::move(dataProvider); in setRailDataProvider()160 auto dataProvider = mStateResidencyDataProviders.find(id); in getPowerEntityStateResidencyData() local162 if (dataProvider == mStateResidencyDataProviders.end()) { in getPowerEntityStateResidencyData()169 if (!dataProvider->second->getResults(stateResidencies)) { in getPowerEntityStateResidencyData()
379 auto dataProvider = mStateResidencyDataProviders.find(id); in getPowerEntityStateResidencyData() local381 if (dataProvider == mStateResidencyDataProviders.end()) { in getPowerEntityStateResidencyData()388 if (!dataProvider->second->getResults(stateResidencies)) { in getPowerEntityStateResidencyData()
82 void setRailDataProvider(std::unique_ptr<IRailDataProvider> dataProvider);