Searched refs:canAdd (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileAdapterDelegateTest.java | 130 when(mHolder.canAdd()).thenReturn(true); in testClickAddAction() 145 when(mHolder.canAdd()).thenReturn(false); in testClickRemoveAction() 161 when(mHolder.canAdd()).thenReturn(false); in testNoClickAction() 176 when(mHolder.canAdd()).thenReturn(true); in testAddToPositionAction() 186 when(mHolder.canAdd()).thenReturn(false); in testNoAddToPositionAction()
|
/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() 162 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(false)); in TEST() 194 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST() 218 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST() 242 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST()
|
D | Access.h | 44 virtual bool canAdd(const CallingContext& ctx, const std::string& name);
|
D | Access.cpp | 117 bool Access::canAdd(const CallingContext& ctx, const std::string& name) { in canAdd() function in android::Access
|
D | ServiceManager.cpp | 254 if (!mAccess->canAdd(ctx, name)) { in addService() 500 if (!mAccess->canAdd(ctx, name)) { in registerClientCallback() 635 if (!mAccess->canAdd(ctx, name)) { in tryUnregisterService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileAdapterDelegate.java | 105 if (holder.canAdd()) { in addClickAction() 144 if (holder.canAdd()) { in maybeAddActionAddToPosition()
|
D | TileAdapter.java | 592 boolean canAdd() { in canAdd() method in TileAdapter.Holder 597 if (canAdd()) { in toggleState()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 1912 bool canAdd = false; in startBag() local 1918 canAdd = true; in startBag() 1922 if (!canAdd) { in startBag()
|