Searched refs:canFind (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 56 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()
|
D | Access.h | 43 virtual bool canFind(const CallingContext& ctx, const std::string& name);
|
D | ServiceManager.cpp | 150 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()
|
D | Access.cpp | 113 bool Access::canFind(const CallingContext& ctx,const std::string& name) { in canFind() function in android::Access
|