Home
last modified time | relevance | path

Searched refs:fakeServiceManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/sensorservice/aidl/fuzzer/
Dfuzzer.cpp32 …static android::sp<android::FakeServiceManager> fakeServiceManager = new android::FakeServiceManag… in LLVMFuzzerTestOneInput() local
33 std::call_once(gSmOnce, [&] { setDefaultServiceManager(fakeServiceManager); }); in LLVMFuzzerTestOneInput()
34 fakeServiceManager->clear(); in LLVMFuzzerTestOneInput()
44 CHECK(android::NO_ERROR == fakeServiceManager->addService(android::String16("sensorservice"), in LLVMFuzzerTestOneInput()
/frameworks/av/services/audiopolicy/fuzzer/aidl/
Daudiopolicy_aidl_fuzzer.cpp43 bool addService(const String16& serviceName, const sp<FakeServiceManager>& fakeServiceManager, in addService() argument
49 CHECK_EQ(NO_ERROR, fakeServiceManager->addService(serviceName, binder)); in addService()
/frameworks/av/media/libaudioclient/aidl/fuzzer/
Daudioflinger_aidl_fuzzer.cpp41 bool addService(const String16& serviceName, const sp<FakeServiceManager>& fakeServiceManager, in addService() argument
47 CHECK_EQ(NO_ERROR, fakeServiceManager->addService(serviceName, binder)); in addService()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp402 sp<IServiceManager> fakeServiceManager = new FakeServiceManager(); in LLVMFuzzerInitialize() local
403 setDefaultServiceManager(fakeServiceManager); in LLVMFuzzerInitialize()
408 fakeServiceManager->addService(String16(MediaMetricsService::kServiceName), in LLVMFuzzerInitialize()