支持云侧pgo接口适配

Signed-off-by: 18242988924 <zhangxinyu74@huawei.com>
Change-Id: If128bb2c577c9478a6b46ceef609537d8a30c2c4
This commit is contained in:
18242988924 2023-10-27 06:37:34 +00:00
parent 104b624cdb
commit 33b12e2de9
2 changed files with 41 additions and 0 deletions

View File

@ -699,6 +699,36 @@ declare namespace installer {
signatureFilePath: string;
}
/**
* Provides parameters required for PGOParam.
*
* @typedef PGOParam
* @syscap SystemCapability.BundleManager.BundleFramework.Core
* @systemapi
* @since 11
*/
export interface PGOParam {
/**
* Indicates the moduleName that need to store profile-guided optimization(PGO) file.
*
* @type { string }
* @syscap SystemCapability.BundleManager.BundleFramework.Core
* @systemapi
* @since 11
*/
moduleName: string;
/**
* Indicates the path where the profile-guided optimization(PGO) file is stored.
*
* @type { string }
* @syscap SystemCapability.BundleManager.BundleFramework.Core
* @systemapi
* @since 11
*/
pgoFilePath: string;
}
/**
* Provides parameters required for installing or uninstalling an application.
*
@ -789,6 +819,16 @@ declare namespace installer {
* @since 10
*/
verifyCodeParams?: Array<VerifyCodeParam>;
/**
* Indicates the profile-guided optimization(PGO) params.
*
* @type { ?Array<PGOParam> }
* @syscap SystemCapability.BundleManager.BundleFramework.Core
* @systemapi
* @since 11
*/
pgoParams?: Array<PGOParam>;
}
/**

View File

@ -515,6 +515,7 @@ persistable
perso
personalisation
pertaining
pgo
photographing
pickers
pixelmap