Home
last modified time | relevance | path

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

/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp56 MOCK_METHOD2(canFind, bool(const CallingContext&, const std::string& name));
71 ON_CALL(*access, canFind(_, _)).WillByDefault(Return(true)); in getPermissiveServiceManager()
195 EXPECT_CALL(*access, canFind(_, _)).WillOnce(Return(false)); in TEST()
219 EXPECT_CALL(*access, canFind(_, _)).WillOnce(Return(true)); in TEST()
330 EXPECT_CALL(*access, canFind(_,_)).WillOnce(Return(false)); in TEST()
344 EXPECT_CALL(*access, canFind(_,_)).WillOnce(Return(false)); in TEST()
DServiceManager.cpp214 if (!mAccess->canFind(ctx, name)) { in tryGetService()
331 if (!mAccess->canFind(ctx, name)) { in registerForNotifications()
367 if (!mAccess->canFind(ctx, name)) { in unregisterForNotifications()
389 if (!mAccess->canFind(ctx, name)) { in isDeclared()
412 if (mAccess->canFind(ctx, interface + "/" + instance)) { in getDeclaredInstances()
428 if (!mAccess->canFind(ctx, name)) { in updatableViaApex()
DAccess.h43 virtual bool canFind(const CallingContext& ctx, const std::string& name);
DAccess.cpp113 bool Access::canFind(const CallingContext& ctx,const std::string& name) { in canFind() function in android::Access