Searched refs:SetProtection (Results 1 – 4 of 4) sorted by relevance
132 bool SetProtection(int protectionType);
62 static napi_value SetProtection(napi_env env, napi_callback_info info);
125 return ashmem->ashmem_->SetProtection(protectionType); in SetCAshmemProtection()
520 napi_value NAPIAshmem::SetProtection(napi_env env, napi_callback_info info) in SetProtection() function in OHOS::NAPIAshmem535 bool result = napiAshmem->GetAshmem()->SetProtection(protectionType); in SetProtection()566 napiAshmem->GetAshmem()->SetProtection(protectionType); in SetProtectionType()897 DECLARE_NAPI_FUNCTION("setProtection", NAPIAshmem::SetProtection), in AshmemExport()