Home
last modified time | relevance | path

Searched refs:MAX_URI_COUNT (Results 1 - 6 of 6) sorted by relevance

/foundation/ability/ability_runtime/interfaces/inner_api/uri_permission/src/
H A Duri_permission_manager_client.cpp29 const int MAX_URI_COUNT = 500; member
53 if (uriVec.empty() || uriVec.size() > MAX_URI_COUNT) { in GrantUriPermission()
54 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in GrantUriPermission()
69 if (uriVec.empty() || uriVec.size() > MAX_URI_COUNT) { in GrantUriPermissionPrivileged()
70 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in GrantUriPermissionPrivileged()
127 if (uriVec.empty() || uriVec.size() > MAX_URI_COUNT) { in CheckUriAuthorization()
128 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in CheckUriAuthorization()
H A Duri_permission_manager_stub.cpp24 const int MAX_URI_COUNT = 500; member
101 if (size == 0 || size > MAX_URI_COUNT) { in HandleBatchGrantUriPermission()
102 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in HandleBatchGrantUriPermission()
127 if (size == 0 || size > MAX_URI_COUNT) { in HandleGrantUriPermissionPrivileged()
128 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in HandleGrantUriPermissionPrivileged()
182 if (size == 0 || size > MAX_URI_COUNT) { in HandleCheckUriAuthorization()
183 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in HandleCheckUriAuthorization()
H A Duri_permission_manager_proxy.cpp25 const int MAX_URI_COUNT = 500; member
77 if (uriVec.empty() || uriVec.size() > MAX_URI_COUNT) { in GrantUriPermission()
78 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in GrantUriPermission()
130 if (uriVec.empty() || uriVec.size() > MAX_URI_COUNT) { in GrantUriPermissionPrivileged()
131 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in GrantUriPermissionPrivileged()
291 if (uriVec.empty() || uriVec.size() > MAX_URI_COUNT) { in CheckUriAuthorization()
292 TAG_LOGE(AAFwkTag::URIPERMMGR, "uriVec empty or exceed maxSize %{public}d", MAX_URI_COUNT); in CheckUriAuthorization()
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Duri_utils.cpp35 const int32_t MAX_URI_COUNT = 500; member
55 if (uriVec.size() > MAX_URI_COUNT) { in GetUriListFromWantDms()
56 TAG_LOGE(AAFwkTag::ABILITYMGR, "uri list size is more than %{public}u", MAX_URI_COUNT); in GetUriListFromWantDms()
248 if (uriStr.empty() && paramStreamUriCount > MAX_URI_COUNT) { in GetUriListFromWant()
250 uriVec.resize(MAX_URI_COUNT); in GetUriListFromWant()
254 if (!uriStr.empty() && paramStreamUriCount > MAX_URI_COUNT - 1) { in GetUriListFromWant()
256 uriVec.resize(MAX_URI_COUNT - 1); in GetUriListFromWant()
/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp70 constexpr const size_t MAX_URI_COUNT = 500; member
1028 size_t count = MAX_URI_COUNT; in GrantUriPermission()
1031 if (length - offset < MAX_URI_COUNT) { in GrantUriPermission()
1139 size_t count = MAX_URI_COUNT; in CheckAppUriPermission()
1141 if (length - offset < MAX_URI_COUNT) { in CheckAppUriPermission()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_record.cpp105 const int MAX_URI_COUNT = 500; member

Completed in 13 milliseconds