Lines Matching refs:appManager

1 # @ohos.application.appManager (appManager)
3 appManager模块提供App管理的能力,包括查询当前是否处于稳定性测试场景、查询是否为ram受限设备、获取应用程序的内存大小、获取有关运行进程的信息等。
7 …ersion 8 开始支持,从API version 9废弃,替换模块为[@ohos.app.ability.appManager](js-apis-app-ability-appManager.…
12 import appManager from '@ohos.application.appManager';
15 ## appManager.isRunningInStabilityTest
32 import appManager from '@ohos.application.appManager';
34 appManager.isRunningInStabilityTest((error, flag) => {
44 ## appManager.isRunningInStabilityTest
61 import appManager from '@ohos.application.appManager';
64 appManager.isRunningInStabilityTest().then((flag) => {
72 ## appManager.isRamConstrainedDevice<sup>7+<sup>
89 import appManager from '@ohos.application.appManager';
92 appManager.isRamConstrainedDevice().then((data) => {
99 ## appManager.isRamConstrainedDevice<sup>7+<sup>
116 import appManager from '@ohos.application.appManager';
118 appManager.isRamConstrainedDevice((error, data) => {
127 ## appManager.getAppMemorySize<sup>7+<sup>
144 import appManager from '@ohos.application.appManager';
147 appManager.getAppMemorySize().then((data) => {
154 ## appManager.getAppMemorySize<sup>7+<sup>
171 import appManager from '@ohos.application.appManager';
173 appManager.getAppMemorySize((error, data) => {
181 ## appManager.getProcessRunningInfos<sup>(deprecated)</sup>
187 > 从 API Version 9 开始废弃,建议使用[appManager.getRunningProcessInformation](js-apis-app-ability-appManager
202 import appManager from '@ohos.application.appManager';
205 appManager.getProcessRunningInfos().then((data) => {
212 ## appManager.getProcessRunningInfos<sup>(deprecated)</sup>
218 > 从 API Version 9 开始废弃,建议使用[appManager.getRunningProcessInformation](js-apis-app-ability-appManager
233 import appManager from '@ohos.application.appManager';
235 appManager.getProcessRunningInfos((error, data) => {