Home
last modified time | relevance | path

Searched refs:gFakeServiceManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/fuzzer/aidl/
Daudiopolicy_aidl_fuzzer.cpp40 sp<FakeServiceManager> gFakeServiceManager; variable
55 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize()
56 setDefaultServiceManager(gFakeServiceManager); in LLVMFuzzerInitialize()
82 if (!addService(String16(service), gFakeServiceManager, fdp)) { in LLVMFuzzerTestOneInput()
92 gFakeServiceManager->addService(String16(IAudioFlinger::DEFAULT_SERVICE_NAME), in LLVMFuzzerTestOneInput()
99 gFakeServiceManager->addService(String16("media.audio_policy"), in LLVMFuzzerTestOneInput()
/frameworks/av/media/libaudioclient/aidl/fuzzer/
Daudioflinger_aidl_fuzzer.cpp38 sp<FakeServiceManager> gFakeServiceManager; variable
53 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize()
54 setDefaultServiceManager(gFakeServiceManager); in LLVMFuzzerInitialize()
80 if (!addService(String16(service), gFakeServiceManager, fdp)) { in LLVMFuzzerTestOneInput()
90 gFakeServiceManager->addService(String16(IAudioFlinger::DEFAULT_SERVICE_NAME), in LLVMFuzzerTestOneInput()
97 gFakeServiceManager->addService(String16("media.audio_policy"), audioPolicyService, in LLVMFuzzerTestOneInput()
/frameworks/native/libs/fakeservicemanager/
DFakeServiceManager.cpp141 [[clang::no_destroy]] static sp<FakeServiceManager> gFakeServiceManager; variable
150 gFakeServiceManager = new FakeServiceManager(); in setupFakeServiceManager()
151 android::setDefaultServiceManager(gFakeServiceManager); in setupFakeServiceManager()
157 …LOG_ALWAYS_FATAL_IF(gFakeServiceManager == nullptr, "Fake Service Manager is not available. Forgot… in clearFakeServiceManager()
158 gFakeServiceManager->clear(); in clearFakeServiceManager()