/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | WriterFuzzer.cpp | 68 [](FuzzedDataProvider *dataProvider, sp<MediaWriter> mediaWriter, sp<MetaData>, int tmpFd) { in __anonc34b20250202() 69 bool valid_fd = dataProvider->ConsumeBool(); in __anonc34b20250202() 78 [](FuzzedDataProvider *dataProvider, sp<MediaWriter> mediaWriter, sp<MetaData>, int tmpFd) { in __anonc34b20250302() 79 bool valid_fd = dataProvider->ConsumeBool(); in __anonc34b20250302() 86 [](FuzzedDataProvider *dataProvider, sp<MediaWriter> mediaWriter, sp<MetaData>, int) { in __anonc34b20250402() 87 mediaWriter->setCaptureRate(dataProvider->ConsumeFloatingPoint<float>()); in __anonc34b20250402() 89 [](FuzzedDataProvider *dataProvider, sp<MediaWriter> mediaWriter, sp<MetaData>, int) { in __anonc34b20250502() 90 mediaWriter->setMaxFileDuration(dataProvider->ConsumeIntegral<int64_t>()); in __anonc34b20250502() 92 [](FuzzedDataProvider *dataProvider, sp<MediaWriter> mediaWriter, sp<MetaData>, int) { in __anonc34b20250602() 93 mediaWriter->setStartTimeOffsetMs(dataProvider->ConsumeIntegral<int>()); in __anonc34b20250602() [all …]
|
D | FuzzerMediaUtility.cpp | 30 std::string genMimeType(FuzzedDataProvider *dataProvider) { in genMimeType() argument 31 uint8_t idx = dataProvider->ConsumeIntegralInRange<uint8_t>(0, kMimeTypes.size() - 1); in genMimeType() 35 sp<IMediaExtractor> genMediaExtractor(FuzzedDataProvider *dataProvider, std::string mimeType, in genMediaExtractor() argument 37 uint32_t dataBlobSize = dataProvider->ConsumeIntegralInRange<uint16_t>(0, maxDataAmount); in genMediaExtractor() 38 std::vector<uint8_t> data = dataProvider->ConsumeBytes<uint8_t>(dataBlobSize); in genMediaExtractor() 58 sp<MediaSource> genMediaSource(FuzzedDataProvider *dataProvider, uint16_t maxMediaBlobSize) { in genMediaSource() argument 59 std::string mime = genMimeType(dataProvider); in genMediaSource() 60 sp<IMediaExtractor> extractor = genMediaExtractor(dataProvider, mime, maxMediaBlobSize); in genMediaSource() 69 std::string trackMime = dataProvider->PickValueInArray(kTestedMimeTypes); in genMediaSource()
|
D | FuzzerMediaUtility.h | 90 std::string genMimeType(FuzzedDataProvider *dataProvider); 91 sp<IMediaExtractor> genMediaExtractor(FuzzedDataProvider *dataProvider, uint16_t dataAmount); 92 sp<MediaSource> genMediaSource(FuzzedDataProvider *dataProvider, uint16_t maxMediaBlobSize);
|
/frameworks/native/libs/input/ |
D | PropertyMap_fuzz.cpp | 30 [](FuzzedDataProvider* dataProvider, android::PropertyMap& propertyMap) -> void { in __anon5313a7440202() 31 std::string key = dataProvider->ConsumeRandomLengthString(MAX_STR_LEN); in __anon5313a7440202() 34 [](FuzzedDataProvider* dataProvider, android::PropertyMap& /*unused*/) -> void { in __anon5313a7440302() 37 std::string contents = dataProvider->ConsumeRandomLengthString(MAX_FILE_SIZE); in __anon5313a7440302() 46 [](FuzzedDataProvider* dataProvider, android::PropertyMap& propertyMap) -> void { in __anon5313a7440402() 47 std::string key = dataProvider->ConsumeRandomLengthString(MAX_STR_LEN); in __anon5313a7440402() 48 std::string val = dataProvider->ConsumeRandomLengthString(MAX_STR_LEN); in __anon5313a7440402() 53 FuzzedDataProvider dataProvider(data, size); in LLVMFuzzerTestOneInput() local 57 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput() 58 uint8_t op = dataProvider.ConsumeIntegralInRange<uint8_t>(0, operations.size() - 1); in LLVMFuzzerTestOneInput() [all …]
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | StabilityFuzz.cpp | 24 FuzzedDataProvider dataProvider(data, size); in LLVMFuzzerTestOneInput() local 28 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 29 callArbitraryFunction(&dataProvider, gStabilityOperations, bbinder); in LLVMFuzzerTestOneInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | SingleTapClassifier.java | 30 SingleTapClassifier(FalsingDataProvider dataProvider, in SingleTapClassifier() argument 32 super(dataProvider, touchSlop); in SingleTapClassifier()
|
D | LongTapClassifier.java | 29 LongTapClassifier(FalsingDataProvider dataProvider, in LongTapClassifier() argument 31 super(dataProvider, touchSlop); in LongTapClassifier()
|
D | TapClassifier.java | 28 TapClassifier(FalsingDataProvider dataProvider, in TapClassifier() argument 30 super(dataProvider); in TapClassifier()
|
D | PointerCountClassifier.java | 41 PointerCountClassifier(FalsingDataProvider dataProvider) { in PointerCountClassifier() argument 42 super(dataProvider); in PointerCountClassifier()
|
D | DoubleTapClassifier.java | 39 DoubleTapClassifier(FalsingDataProvider dataProvider, SingleTapClassifier singleTapClassifier, in DoubleTapClassifier() argument 42 super(dataProvider); in DoubleTapClassifier()
|
D | TypeClassifier.java | 42 TypeClassifier(FalsingDataProvider dataProvider) { in TypeClassifier() argument 43 super(dataProvider); in TypeClassifier()
|
D | FalsingClassifier.java | 33 FalsingClassifier(FalsingDataProvider dataProvider) { in FalsingClassifier() argument 34 mDataProvider = dataProvider; in FalsingClassifier()
|
D | DiagonalClassifier.java | 52 DiagonalClassifier(FalsingDataProvider dataProvider, DeviceConfigProxy deviceConfigProxy) { in DiagonalClassifier() argument 53 super(dataProvider); in DiagonalClassifier()
|
D | ProximityClassifier.java | 57 FalsingDataProvider dataProvider, DeviceConfigProxy deviceConfigProxy) { in ProximityClassifier() argument 58 super(dataProvider); in ProximityClassifier()
|
D | DistanceClassifier.java | 64 DistanceClassifier(FalsingDataProvider dataProvider, DeviceConfigProxy deviceConfigProxy) { in DistanceClassifier() argument 65 super(dataProvider); in DistanceClassifier()
|
D | ZigZagClassifier.java | 64 ZigZagClassifier(FalsingDataProvider dataProvider, DeviceConfigProxy deviceConfigProxy) { in ZigZagClassifier() argument 65 super(dataProvider); in ZigZagClassifier()
|
/frameworks/av/services/camera/libcameraservice/fuzzer/ |
D | DepthProcessorFuzzer.cpp | 32 FuzzedDataProvider dataProvider(data, size); in generateDepth16Buffer() local 34 (*depth16Buffer)[i] = dataProvider.ConsumeIntegral<uint16_t>(); in generateDepth16Buffer()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 279 LegacyPermissionDataProvider dataProvider) { 314 writePackageUserPermissionsProto(proto, PackageProto.USER_PERMISSIONS, users, dataProvider); 1060 List<UserInfo> users, LegacyPermissionDataProvider dataProvider) { 1066 runtimePermissionStates = dataProvider.getLegacyPermissionState(mAppId)
|