Home
last modified time | relevance | path

Searched refs:FakeServiceManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/fakeservicemanager/
DFakeServiceManager.cpp20 using android::FakeServiceManager;
25 FakeServiceManager::FakeServiceManager() {} in FakeServiceManager() function in android::FakeServiceManager
27 sp<IBinder> FakeServiceManager::getService( const String16& name) const { in getService()
32 sp<IBinder> FakeServiceManager::checkService( const String16& name) const { in checkService()
42 status_t FakeServiceManager::addService(const String16& name, const sp<IBinder>& service, in addService()
54 Vector<String16> FakeServiceManager::listServices(int /*dumpsysFlags*/) { in listServices()
65 IBinder* FakeServiceManager::onAsBinder() { in onAsBinder()
69 sp<IBinder> FakeServiceManager::waitForService(const String16& name) { in waitForService()
73 bool FakeServiceManager::isDeclared(const String16& name) { in isDeclared()
79 Vector<String16> FakeServiceManager::getDeclaredInstances(const String16& name) { in getDeclaredInstances()
[all …]
Dtest_sm.cpp32 using android::FakeServiceManager;
50 auto sm = new FakeServiceManager(); in TEST()
56 auto sm = new FakeServiceManager(); in TEST()
62 auto sm = new FakeServiceManager(); in TEST()
70 auto sm = new FakeServiceManager(); in TEST()
79 auto sm = new FakeServiceManager(); in TEST()
89 auto sm = new FakeServiceManager(); in TEST()
95 auto sm = new FakeServiceManager(); in TEST()
114 auto sm = new FakeServiceManager(); in TEST()
120 auto sm = new FakeServiceManager(); in TEST()
[all …]
DAndroid.bp14 "FakeServiceManager.cpp",
/frameworks/av/services/audiopolicy/fuzzer/aidl/
Daudiopolicy_aidl_fuzzer.cpp40 sp<FakeServiceManager> gFakeServiceManager;
43 bool addService(const String16& serviceName, const sp<FakeServiceManager>& fakeServiceManager, in addService()
55 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize()
/frameworks/av/media/libaudioclient/aidl/fuzzer/
Daudioflinger_aidl_fuzzer.cpp38 sp<FakeServiceManager> gFakeServiceManager;
41 bool addService(const String16& serviceName, const sp<FakeServiceManager>& fakeServiceManager, in addService()
53 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize()
/frameworks/native/services/sensorservice/aidl/fuzzer/
Dfuzzer.cpp32 …static android::sp<android::FakeServiceManager> fakeServiceManager = new android::FakeServiceManag… in LLVMFuzzerTestOneInput()
/frameworks/native/libs/fakeservicemanager/include/fakeservicemanager/
DFakeServiceManager.h32 class FakeServiceManager : public IServiceManager {
34 FakeServiceManager();
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test_host.cpp29 using android::FakeServiceManager;
41 struct MockServiceManager : FakeServiceManager {
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp402 sp<IServiceManager> fakeServiceManager = new FakeServiceManager(); in LLVMFuzzerInitialize()