• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
16import { paramMock } from "../../utils"
17import { AbilityType, AbilitySubType, DisplayOrientation, LaunchMode, SupportWindowMode } from "./../ohos_bundle"
18import { ApplicationInfo } from "./applicationInfo"
19import { CustomizeData } from "./customizeData"
20import { Metadata } from "./metadata"
21
22
23export const AbilityInfo = {
24    name: "[PC preview] unknown name",
25    bundleName: "[PC preview] unknown bundleName",
26    moduleName: "[PC preview] unknown moduleName",
27    process: "[PC preview] unknown process",
28    targetAbility: "[PC preview] unknown targetAbility",
29    backgroundModes: "[PC preview] unknown backgroundModes",
30    isVisible: "[PC preview] unknown isVisible",
31    formEnabled: "[PC preview] unknown formEnabled",
32    type: AbilityType,
33    subType: AbilitySubType,
34    orientation: DisplayOrientation,
35    launchMode: LaunchMode,
36    permissions: [paramMock.paramStringMock],
37    deviceTypes: [paramMock.paramStringMock],
38    deviceCapabilities: [paramMock.paramNumberMock],
39    readPermission: '[PC Preview] unknow readPermission',
40    writePermission: '[PC Preview] unknow writePermission',
41    appId: '[PC Preview] unknow appId',
42    label: "[PC preview] unknown label",
43    description: "[PC preview] unknown description",
44    icon: "[PC preview] unknown icon",
45    labelId: "[PC preview] unknown labelId",
46    iconId: "[PC preview] unknown iconId",
47    uid: '[PC Preview] unknow uid',
48    installTime: '[PC Preview] unknow installTime',
49    updateTime: '[PC Preview] unknow updateTime',
50    descriptionId: '[PC Preview] unknow descriptionId',
51    applicationInfo: ApplicationInfo,
52    metaData: [CustomizeData],
53    uri: "[PC preview] unknown uri",
54    metadata: [Metadata],
55    enabled: "[PC preview] unknown enabled",
56    supportWindowMode: [SupportWindowMode],
57    maxWindowRatio: "[PC preview] unknown maxWindowRatio",
58    minWindowRatio: "[PC preview] unknown minWindowRatio",
59    maxWindowWidth: "[PC preview] unknown maxWindowWidth",
60    minWindowWidth: "[PC preview] unknown minWindowWidth",
61    maxWindowHeight: "[PC preview] unknown maxWindowHeight",
62    minWindowHeight: "[PC preview] unknown minWindowHeight",
63    formEntity: "[PC preview] unknown formEntity",
64    minFormHeight: "[PC preview] unknown minFormHeight",
65    defaultFormHeight: "[PC preview] unknown defaultFormHeight",
66    minFormWidth: "[PC preview] unknown minFormWidth",
67    defaultFormWidth: "[PC preview] unknown defaultFormWidth",
68}