1/* 2 * Copyright (c) 2021-2022 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 16export const BundleFlag = { 17 GET_BUNDLE_DEFAULT : 0x00000000, 18 GET_BUNDLE_WITH_ABILITIES : 0x00000001, 19 GET_ABILITY_INFO_WITH_PERMISSION : 0x00000002, 20 GET_ABILITY_INFO_WITH_APPLICATION : 0x00000004, 21 GET_APPLICATION_INFO_WITH_PERMISSION : 0x00000008, 22 GET_BUNDLE_WITH_REQUESTED_PERMISSION : 0x00000010, 23 GET_ALL_APPLICATION_INFO : 0xFFFF0000, 24 /** 25 * @since 8 26 */ 27 GET_ABILITY_INFO_WITH_METADATA : 0x00000020, 28 /** 29 * @since 8 30 */ 31 GET_APPLICATION_INFO_WITH_METADATA : 0x00000040, 32 /** 33 * @since 8 34 */ 35 GET_ABILITY_INFO_SYSTEMAPP_ONLY : 0x00000080 36} 37 38export const USER_ID: number = 100