Home
last modified time | relevance | path

Searched refs:canList (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/hwservicemanager/
H A DAccessControl.h39 bool canList(const CallingContext& callingContext);
H A DAccessControl.cpp78 bool AccessControl::canList(const CallingContext& callingContext) { in canList() function in android::AccessControl
H A DServiceManager.cpp476 if (!mAcl.canList(getBinderCallingContext())) { in list()
767 if (!mAcl.canList(getBinderCallingContext())) { in debugDump()
/aosp12/frameworks/native/cmds/servicemanager/
H A DAccess.h45 virtual bool canList(const CallingContext& ctx);
H A Dtest_sm.cpp57 MOCK_METHOD1(canList, bool(const CallingContext&));
72 ON_CALL(*access, canList(_)).WillByDefault(Return(true)); in getPermissiveServiceManager()
262 EXPECT_CALL(*access, canList(_)).WillOnce(Return(false)); in TEST()
H A DAccess.cpp121 bool Access::canList(const CallingContext& ctx) { in canList() function in android::Access
H A DServiceManager.cpp302 if (!mAccess->canList(mAccess->getCallingContext())) { in listServices()
685 if (!mAccess->canList(mAccess->getCallingContext())) { in getServiceDebugInfo()