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()
175 EXPECT_CALL(*access, canFind(_, _)).WillOnce(Return(false)); in TEST()
199 EXPECT_CALL(*access, canFind(_, _)).WillOnce(Return(true)); in TEST()
310 EXPECT_CALL(*access, canFind(_,_)).WillOnce(Return(false)); in TEST()
324 EXPECT_CALL(*access, canFind(_,_)).WillOnce(Return(false)); in TEST()
DAccess.h43 virtual bool canFind(const CallingContext& ctx, const std::string& name);
DServiceManager.cpp150 if (!mAccess->canFind(ctx, name)) { in tryGetService()
265 if (!mAccess->canFind(ctx, name)) { in registerForNotifications()
299 if (!mAccess->canFind(ctx, name)) { in unregisterForNotifications()
321 if (!mAccess->canFind(ctx, name)) { in isDeclared()
DAccess.cpp113 bool Access::canFind(const CallingContext& ctx,const std::string& name) { in canFind() function in android::Access