mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
支持云侧pgo接口适配
Signed-off-by: 18242988924 <zhangxinyu74@huawei.com> Change-Id: If128bb2c577c9478a6b46ceef609537d8a30c2c4
This commit is contained in:
parent
104b624cdb
commit
33b12e2de9
40
api/@ohos.bundle.installer.d.ts
vendored
40
api/@ohos.bundle.installer.d.ts
vendored
@ -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>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -515,6 +515,7 @@ persistable
|
||||
perso
|
||||
personalisation
|
||||
pertaining
|
||||
pgo
|
||||
photographing
|
||||
pickers
|
||||
pixelmap
|
||||
|
Loading…
Reference in New Issue
Block a user