From a4835a68021ecf9f858a77cdc364e4e8da0e4dca Mon Sep 17 00:00:00 2001 From: zhaogan Date: Wed, 18 Oct 2023 17:03:50 +0800 Subject: [PATCH] =?UTF-8?q?Issue:=20#I893OL=20Description:=E5=8C=85?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20Sig:=20SIG=5FApplicaitonFramework=20Feature=20or=20?= =?UTF-8?q?Bugfix:=20Bugfix=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhaogan --- .../bundle/include/bundle_mgr_proxy_native.h | 54 ------------------- 1 file changed, 54 deletions(-) delete mode 100644 bundlemanager/bundle_framework/bundle/include/bundle_mgr_proxy_native.h diff --git a/bundlemanager/bundle_framework/bundle/include/bundle_mgr_proxy_native.h b/bundlemanager/bundle_framework/bundle/include/bundle_mgr_proxy_native.h deleted file mode 100644 index 6cf1c447081..00000000000 --- a/bundlemanager/bundle_framework/bundle/include/bundle_mgr_proxy_native.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FOUNDATION_APPEXECFWK_KITS_APPKIT_NATIVE_BUNDLE_INCLUDE_BUNDLE_MGR_PROXY_NATIVE_H -#define FOUNDATION_APPEXECFWK_KITS_APPKIT_NATIVE_BUNDLE_INCLUDE_BUNDLE_MGR_PROXY_NATIVE_H - -#include - -#include "application_info.h" -#include "bundle_info.h" -#include "iremote_broker.h" -#include "iremote_object.h" - -namespace OHOS { -namespace AppExecFwk { -class BundleMgrProxyNative { -public: - BundleMgrProxyNative() = default; - virtual ~BundleMgrProxyNative() = default; - - /** - * @brief Obtains the BundleInfo based on calling uid. - * @param bundleName Indicates the application bundle name to be queried. - * @param flags Indicates the information contained in the BundleInfo object to be returned. - * @param bundleInfo Indicates the obtained BundleInfo object. - * @param userId Indicates the user ID. - * @return Returns true if the BundleInfo is successfully obtained; returns false otherwise. - */ - bool GetBundleInfoForSelf(int32_t flags, BundleInfo &bundleInfo); - - enum { - GET_BUNDLE_INFO_FOR_SELF_NATIVE = 98 - }; -private: - sptr GetBmsProxy(); - template - bool GetParcelableInfo(uint32_t code, MessageParcel &data, T &parcelableInfo); - bool SendTransactCmd(uint32_t code, MessageParcel &data, MessageParcel &reply); -}; -} // namespace AppExecFwk -} // namespace OHOS -#endif // FOUNDATION_APPEXECFWK_KITS_APPKIT_NATIVE_BUNDLE_INCLUDE_BUNDLE_MGR_PROXY_NATIVE_H \ No newline at end of file -- Gitee