Searched refs:FakeServiceManager (Results 1 – 9 of 9) sorted by relevance
20 using android::FakeServiceManager;25 FakeServiceManager::FakeServiceManager() {} in FakeServiceManager() function in android::FakeServiceManager27 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 …]
32 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 …]
14 "FakeServiceManager.cpp",
40 sp<FakeServiceManager> gFakeServiceManager;43 bool addService(const String16& serviceName, const sp<FakeServiceManager>& fakeServiceManager, in addService()55 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize()
38 sp<FakeServiceManager> gFakeServiceManager;41 bool addService(const String16& serviceName, const sp<FakeServiceManager>& fakeServiceManager, in addService()53 gFakeServiceManager = sp<FakeServiceManager>::make(); in LLVMFuzzerInitialize()
32 …static android::sp<android::FakeServiceManager> fakeServiceManager = new android::FakeServiceManag… in LLVMFuzzerTestOneInput()
32 class FakeServiceManager : public IServiceManager {34 FakeServiceManager();
29 using android::FakeServiceManager;41 struct MockServiceManager : FakeServiceManager {
402 sp<IServiceManager> fakeServiceManager = new FakeServiceManager(); in LLVMFuzzerInitialize()