Home
last modified time | relevance | path

Searched refs:MAX_POLICY_NUM (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/mac/
H A Dmac_adapter.cpp35 const size_t MAX_POLICY_NUM = 8; variable
48 struct PathInfo pathInfos[MAX_POLICY_NUM];
114 for (size_t offset = 0; offset < policyNum; offset += MAX_POLICY_NUM) { in SetSandboxPolicy()
115 size_t curBatchSize = std::min(MAX_POLICY_NUM, policyNum - offset); in SetSandboxPolicy()
134 offset / MAX_POLICY_NUM, errno); in SetSandboxPolicy()
161 for (size_t offset = 0; offset < policyNum; offset += MAX_POLICY_NUM) { in QuerySandboxPolicy()
162 size_t curBatchSize = std::min(MAX_POLICY_NUM, policyNum - offset); in QuerySandboxPolicy()
176 offset / MAX_POLICY_NUM, errno); in QuerySandboxPolicy()
218 offset / MAX_POLICY_NUM, errno); in CheckSandboxPolicy()
264 offset / MAX_POLICY_NUM, errno); in UnSetSandboxPolicy()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dsamgr_mini_ipc_adapter.c141 if (*policyNum > MAX_POLICY_NUM) { in GetRemotePolicy()
142 *policyNum = MAX_POLICY_NUM; in GetRemotePolicy()
H A Dsamgr_ipc_adapter.h63 #define MAX_POLICY_NUM 8 macro
H A Dsamgr_small_ipc_adapter.c330 if (*policyNum > MAX_POLICY_NUM) { in GetRemotePolicy()
331 *policyNum = MAX_POLICY_NUM; in GetRemotePolicy()
H A Dendpoint.c46 #define MAX_POLICY_NUM 8 macro
627 if (*policyNum > MAX_POLICY_NUM) { in GetRemotePolicy()
628 *policyNum = MAX_POLICY_NUM; in GetRemotePolicy()
/ohos5.0/base/accesscontrol/sandbox_manager/interfaces/innerkits/sandbox_manager/test/unittest/src/
H A Dsandbox_manager_kit_test.cpp55 const size_t MAX_POLICY_NUM = 8; variable
98 struct PathInfo pathInfos[MAX_POLICY_NUM];