Home
last modified time | relevance | path

Searched refs:dataProvider (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/keymaster/4.0/support/fuzzer/
Dkeymaster4_common.h62 AuthorizationSet createAuthorizationSet(std::unique_ptr<FuzzedDataProvider>& dataProvider) { in createAuthorizationSet() argument
63 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 …]
/hardware/interfaces/security/keymint/support/fuzzer/
Dkeymint_common.h81 AuthorizationSet createAuthSetForAttestKey(FuzzedDataProvider* dataProvider) { in createAuthSetForAttestKey() argument
82 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() argument
126 dataProvider->ConsumeIntegralInRange<uint32_t>(AuthSet::RSA_KEY, AuthSet::BLOCK_MODE); in createAuthorizationSet()
[all …]
/hardware/google/pixel/powerstats/
DPowerStats.cpp41 void PowerStats::setRailDataProvider(std::unique_ptr<IRailDataProvider> dataProvider) { in setRailDataProvider() argument
42 mRailDataProvider = std::move(dataProvider); in setRailDataProvider()
160 auto dataProvider = mStateResidencyDataProviders.find(id); in getPowerEntityStateResidencyData() local
162 if (dataProvider == mStateResidencyDataProviders.end()) { in getPowerEntityStateResidencyData()
169 if (!dataProvider->second->getResults(stateResidencies)) { in getPowerEntityStateResidencyData()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp379 auto dataProvider = mStateResidencyDataProviders.find(id); in getPowerEntityStateResidencyData() local
381 if (dataProvider == mStateResidencyDataProviders.end()) { in getPowerEntityStateResidencyData()
388 if (!dataProvider->second->getResults(stateResidencies)) { in getPowerEntityStateResidencyData()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DPowerStats.h82 void setRailDataProvider(std::unique_ptr<IRailDataProvider> dataProvider);