Home
last modified time | relevance | path

Searched refs:canAdd (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp55 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()
DAccess.h44 virtual bool canAdd(const CallingContext& ctx, const std::string& name);
DServiceManager.cpp190 if (!mAccess->canAdd(ctx, name)) { in addService()
388 if (!mAccess->canAdd(ctx, name)) { in registerClientCallback()
522 if (!mAccess->canAdd(ctx, name)) { in tryUnregisterService()
DAccess.cpp117 bool Access::canAdd(const CallingContext& ctx, const std::string& name) { in canAdd() function in android::Access
/frameworks/base/tools/aapt/
DResourceTable.cpp1912 bool canAdd = false; in startBag() local
1918 canAdd = true; in startBag()
1922 if (!canAdd) { in startBag()