• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "app_domain_verify_agent_ext.h"
17 #include "app_domain_verify_error.h"
18 
19 namespace OHOS {
20 namespace AppDomainVerify {
CompleteVerifyRefresh(const BundleVerifyStatusInfo & bundleVerifyStatusInfo,TaskType type)21 ErrorCode AppDomainVerifyAgentExt::CompleteVerifyRefresh(
22     const BundleVerifyStatusInfo& bundleVerifyStatusInfo, TaskType type)
23 {
24     return ErrorCode::E_EXTENSIONS_LIB_NOT_FOUND;
25 }
SingleVerify(const AppVerifyBaseInfo & appVerifyBaseInfo,const VerifyResultInfo & verifyResultInfo)26 ErrorCode AppDomainVerifyAgentExt::SingleVerify(
27     const AppVerifyBaseInfo& appVerifyBaseInfo, const VerifyResultInfo& verifyResultInfo)
28 {
29     return ErrorCode::E_EXTENSIONS_LIB_NOT_FOUND;
30 }
ConvertToExplicitWant(AAFwk::Want & implicitWant,sptr<IConvertCallback> & callback)31 ErrorCode AppDomainVerifyAgentExt::ConvertToExplicitWant(AAFwk::Want& implicitWant, sptr<IConvertCallback>& callback)
32 {
33     return ErrorCode::E_EXTENSIONS_LIB_NOT_FOUND;
34 }
UpdateWhiteList()35 ErrorCode AppDomainVerifyAgentExt::UpdateWhiteList()
36 {
37     return ErrorCode::E_EXTENSIONS_LIB_NOT_FOUND;
38 }
UpdateAppDetails()39 ErrorCode AppDomainVerifyAgentExt::UpdateAppDetails()
40 {
41     return ErrorCode::E_EXTENSIONS_LIB_NOT_FOUND;
42 }
CommonTransact(uint32_t opcode,const std::string & request,std::string & response)43 ErrorCode AppDomainVerifyAgentExt::CommonTransact(uint32_t opcode, const std::string& request, std::string& response)
44 {
45     return ErrorCode::E_EXTENSIONS_LIB_NOT_FOUND;
46 }
47 }
48 }