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() 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()
|
D | ServiceManager.cpp | 214 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()
|
D | Access.h | 43 virtual bool canFind(const CallingContext& ctx, const std::string& name);
|
D | Access.cpp | 113 bool Access::canFind(const CallingContext& ctx,const std::string& name) { in canFind() function in android::Access
|