Searched refs:canAdd (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 55 MOCK_METHOD2(canAdd, bool(const CallingContext&, const std::string& name)); 70 ON_CALL(*access, canAdd(_, _)).WillByDefault(Return(true)); in getPermissiveServiceManager() 121 EXPECT_CALL(*access, canAdd(_, _)).Times(0); in TEST() 142 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(false)); in TEST() 174 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST() 198 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST() 222 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST()
|
D | Access.h | 44 virtual bool canAdd(const CallingContext& ctx, const std::string& name);
|
D | ServiceManager.cpp | 190 if (!mAccess->canAdd(ctx, name)) { in addService() 388 if (!mAccess->canAdd(ctx, name)) { in registerClientCallback() 522 if (!mAccess->canAdd(ctx, name)) { in tryUnregisterService()
|
D | Access.cpp | 117 bool Access::canAdd(const CallingContext& ctx, const std::string& name) { in canAdd() function in android::Access
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 1912 bool canAdd = false; in startBag() local 1918 canAdd = true; in startBag() 1922 if (!canAdd) { in startBag()
|