diff --git a/api/@ohos.application.abilityManager.d.ts b/api/@ohos.application.abilityManager.d.ts index 5221fc08a0..fd21468aa8 100644 --- a/api/@ohos.application.abilityManager.d.ts +++ b/api/@ohos.application.abilityManager.d.ts @@ -31,6 +31,7 @@ declare namespace abilityManager { * @name AbilityState * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi Hide this for inner system use. * @permission N/A */ export enum AbilityState { diff --git a/api/@ohos.application.appManager.d.ts b/api/@ohos.application.appManager.d.ts index eb086aec28..56349e16ed 100644 --- a/api/@ohos.application.appManager.d.ts +++ b/api/@ohos.application.appManager.d.ts @@ -94,7 +94,6 @@ declare namespace appManager { * * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @systemapi Hide this for inner system use. * @return Returns the array of {@link ProcessRunningInfo}. * @permission ohos.permission.GET_RUNNING_INFO */ diff --git a/api/app/abilityMissionInfo.d.ts b/api/app/abilityMissionInfo.d.ts deleted file mode 100644 index 082993e896..0000000000 --- a/api/app/abilityMissionInfo.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -import { ElementName } from '../bundle/elementName'; - -/** - * @name Mission information corresponding to ability - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @import import AbilityMissionInfo from 'app/abilityMissionInfo' - * @permission N/A - */ -export interface AbilityMissionInfo { - /** - * @default Unique identification of task stack information corresponding to ability - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - missionId: number; - - /** - * @default The component launched as the first ability in the task stack - * This can be considered the "application" of this task stack - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - bottomAbility: ElementName; - - /** - * @default The ability component at the top of the history stack of the task - * This is what the user is currently doing - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - topAbility: ElementName; - - /** - * @default The corresponding ability description information in the task stack - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - windowMode: number; -} - diff --git a/api/app/activeProcessInfo.d.ts b/api/app/activeProcessInfo.d.ts deleted file mode 100644 index 72ac4eb1bb..0000000000 --- a/api/app/activeProcessInfo.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -/** - * @name This class saves process information about an application - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @import import app from 'app/activeProcessInfo' - * @permission N/A - */ -export interface ActiveProcessInfo { - /** - * @default process id - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - pid: number; - - /** - * @default user id - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - uid: number; - - /** - * @default the name of the process - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - processName: string; - - /** - * @default an array of the bundleNames running in the process - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - */ - bundleNames: Array; -} diff --git a/api/application/AbilityRunningInfo.d.ts b/api/application/AbilityRunningInfo.d.ts index 243f1b4827..6ffba2b824 100644 --- a/api/application/AbilityRunningInfo.d.ts +++ b/api/application/AbilityRunningInfo.d.ts @@ -21,6 +21,7 @@ import abilityManager from '../@ohos.application.abilityManager'; * * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use * @permission N/A */ export interface AbilityRunningInfo { @@ -28,6 +29,7 @@ export interface AbilityRunningInfo { * @default ability element name * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ ability: ElementName; @@ -35,6 +37,7 @@ export interface AbilityRunningInfo { * @default process id * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ pid: number; @@ -42,6 +45,7 @@ export interface AbilityRunningInfo { * @default user id * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ uid: number; @@ -49,6 +53,7 @@ export interface AbilityRunningInfo { * @default the name of the process * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ processName: string; @@ -56,6 +61,7 @@ export interface AbilityRunningInfo { * @default ability start time * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ startTime: number; @@ -63,6 +69,7 @@ export interface AbilityRunningInfo { * @default Enumerates state of the ability state info * @since 8 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ abilityState: abilityManager.AbilityState; } \ No newline at end of file diff --git a/api/application/ExtensionRunningInfo.d.ts b/api/application/ExtensionRunningInfo.d.ts index 21b196d364..5021e879d1 100644 --- a/api/application/ExtensionRunningInfo.d.ts +++ b/api/application/ExtensionRunningInfo.d.ts @@ -21,6 +21,7 @@ import bundle from '../@ohos.bundle'; * * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use * @permission N/A */ export interface ExtensionRunningInfo { @@ -28,6 +29,7 @@ export interface ExtensionRunningInfo { * @default Indicates the extension of the extension info * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ extension: ElementName; @@ -35,6 +37,7 @@ export interface ExtensionRunningInfo { * @default process id * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ pid: number; @@ -42,6 +45,7 @@ export interface ExtensionRunningInfo { * @default user id * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ uid: number; @@ -49,6 +53,7 @@ export interface ExtensionRunningInfo { * @default the name of the process * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ processName: string; @@ -56,6 +61,7 @@ export interface ExtensionRunningInfo { * @default ability start time * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ startTime: number; @@ -63,6 +69,7 @@ export interface ExtensionRunningInfo { * @default All package names under the current process * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ clientPackage: Array; @@ -70,6 +77,7 @@ export interface ExtensionRunningInfo { * @default Enumerates types of the entension info * @since 9 * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @systemapi hide this for inner system use */ type: bundle.ExtensionAbilityType; } \ No newline at end of file