Searched refs:mFuzzedDataProvider (Results 1 – 3 of 3) sorted by relevance
101 mCameraService(cs), mFuzzedDataProvider(fp) {}; in CameraFuzzer()108 std::shared_ptr<FuzzedDataProvider> mFuzzedDataProvider = nullptr; member in CameraFuzzer205 bool shouldPassInvalidCamType = mFuzzedDataProvider->ConsumeBool(); in getNumCameras()208 camType = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in getNumCameras()210 camType = kCamType[mFuzzedDataProvider->ConsumeBool()]; in getNumCameras()219 cameraIdStr, kCameraApiVersion[mFuzzedDataProvider->ConsumeBool()], &isSupported); in getCameraInformation()242 bool shouldPassInvalidPlaySound = mFuzzedDataProvider->ConsumeBool(); in invokeCameraSound()243 bool shouldPassInvalidLockSound = mFuzzedDataProvider->ConsumeBool(); in invokeCameraSound()247 mFuzzedDataProvider->ConsumeIntegral<size_t>()); in invokeCameraSound()250 kSoundKind[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(0, kNumSoundKind - 1)]; in invokeCameraSound()[all …]
133 FuzzedDataProvider *mFuzzedDataProvider = nullptr; member in DrmFuzzer146 String8 packageName(mFuzzedDataProvider->ConsumeRandomLengthString(kMaxStringLength).c_str()); in invokeDrmCreatePlugin()147 uint32_t uuidEnum = kUUID[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(0, kNumUUID - 1)]; in invokeDrmCreatePlugin()167 bool shouldPassRandomSecurityLevel = mFuzzedDataProvider->ConsumeBool(); in invokeDrmOpenSession()170 static_cast<DrmPlugin::SecurityLevel>(mFuzzedDataProvider->ConsumeIntegral<size_t>()); in invokeDrmOpenSession()172 securityLevel = kSecurityLevel[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>( in invokeDrmOpenSession()187 String8(kCipherAlgorithm[mFuzzedDataProvider->ConsumeBool()])); in invokeDrmSetAlgorithmAPI()188 mDrm->setMacAlgorithm(mSessionId, String8(kMacAlgorithm[mFuzzedDataProvider->ConsumeBool()])); in invokeDrmSetAlgorithmAPI()216 kMimeType[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(0, kNumMimeType - 1)]); in invokeDrmDecryptEncryptAPI()221 mFuzzedDataProvider->ConsumeRandomLengthString(kMaxStringLength).c_str()); in invokeDrmDecryptEncryptAPI()[all …]
167 delete mFuzzedDataProvider; in ~ResourceManagerServiceFuzzer()202 FuzzedDataProvider* mFuzzedDataProvider = nullptr; member in ResourceManagerServiceFuzzer206 mFuzzedDataProvider = new FuzzedDataProvider(data, size); in process()213 bool policyTypeIndex = mFuzzedDataProvider->ConsumeBool(); in setConfig()214 string policyValue = mFuzzedDataProvider->ConsumeRandomLengthString(kMaxStringLength); in setConfig()227 mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(kMinThreadPairs, kMaxThreadPairs); in setResources()234 threadArgs[k].pid = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in setResources()235 threadArgs[k].uid = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in setResources()236 int32_t mediaResourceType = mFuzzedDataProvider->ConsumeIntegralInRange<int32_t>( in setResources()238 int32_t mediaResourceSubType = mFuzzedDataProvider->ConsumeIntegralInRange<int32_t>( in setResources()[all …]