Home
last modified time | relevance | path

Searched refs:isPersist (Results 1 – 25 of 47) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/task-management/
H A Defficiency-resource-request.md38 | isPersist | boolean | 否 | 是否为永久持有资源,默认为false<br/>- true表示永久持有<br/>- false表示有限时间内持有 |
72 isPersist: true, // 永久持有资源
90 isPersist: true,
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/efficiency_resources_jsunittest/
H A Defficiency_resources_jsunit.test.js62 isPersist: false, property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000600.resRequest
198 isPersist: false, property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000c00.resRequest
245 isPersist: true, property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000e00.resRequest
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Defficiency_resource_info.h29 …bool isPersist = false, bool isProcess = false) : resourceNumber_(resourceNumber), isApply_(isAppl…
30 timeOut_(timeOut), reason_(reason), isPersist_(isPersist), isProcess_(isProcess) {}
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp107 bool isPersist {false}; in ParseParameters() local
126 if (!GetNamedBoolValue(env, argv[0], "isPersist", isPersist, false)) { in ParseParameters()
134 … params = EfficiencyResourceInfo {resourceNumber, isApply, timeOut, reason, isPersist, isProcess}; in ParseParameters()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dresource_application_record.cpp25 PersistTime::PersistTime(const uint32_t resourceIndex, const bool isPersist, const int64_t endTime, in PersistTime() argument
26 …const std::string &reason) : resourceIndex_(resourceIndex), isPersist_(isPersist), endTime_(endTim… in PersistTime()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-resourceschedule-backgroundTaskManager-sys.md59 isPersist: true,
131 | isPersist | boolean | 否 | 是否永久持有资源,默认为false。<br>- true表示永久持有,false表示有限时间内持有。|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Dability_command.h226 …bool SwitchOptionForAppDebug(int32_t option, std::string &bundleName, bool &isPersist, bool &isCan…
227 …bool ParseAppDebugParameter(std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet);
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/cj/background_task_mgr/
H A Dbackground_task_mgr_ffi.h37 bool isPersist; member
H A Dbackground_task_mgr_ffi.cpp88 request.isPersist, request.isProcess}; in CJ_ApplyEfficiencyResources()
/ohos5.0/docs/en/application-dev/task-management/
H A Defficiency-resource-request.md38 | isPersist | boolean | No| Whether the resource is permanently held. The default value is **false*…
72 isPersist: true, // The resources are permanently held.
90 isPersist: true,
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-resource-scheduler.md11 | ohos.backgroundTaskManager | EfficiencyResourcesRequest | isPersist?: boolean; …
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dresource_application_record.h36 PersistTime(const uint32_t resourceIndex, const bool isPersist, const int64_t endTime,
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-resource-scheduler.md11 | ohos.backgroundTaskManager | EfficiencyResourcesRequest | isPersist?: boolean; …
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_scheduler.h60 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_application.h53 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_ams_mgr_scheduler.h66 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_app_mgr_service_inner.h72 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-resourceschedule-backgroundTaskManager-sys.md59 isPersist: true,
131 | isPersist | boolean | No | Whether the resource is permanently held. The default value is…
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp659 int32_t option, std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet) in SwitchOptionForAppDebug() argument
673 isPersist = true; in SwitchOptionForAppDebug()
694 std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet) in ParseAppDebugParameter() argument
734 if (SwitchOptionForAppDebug(option, bundleName, isPersist, isCancel, isGet)) { in ParseAppDebugParameter()
745 bool isPersist = false; in RunAsAppDebugDebugCommand() local
755 if (!ParseAppDebugParameter(bundleName, isPersist, isCancel, isGet)) { in RunAsAppDebugDebugCommand()
767 … result = DelayedSingleton<AppMgrClient>::GetInstance()->SetAppWaitingDebug(bundleName, isPersist); in RunAsAppDebugDebugCommand()
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dams_mgr_scheduler.h265 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) override;
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dams_mgr_interface.h291 virtual int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) = 0;
H A Dams_mgr_proxy.h253 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) override;
H A Dapp_mgr_client.h632 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_test/
H A Dams_mgr_scheduler_test.cpp1280 bool isPersist = true; variable
1281 auto iret = amsMgrScheduler->SetAppWaitingDebug(bundleName, isPersist);
1300 bool isPersist = true; variable
1301 auto iret = amsMgrScheduler->SetAppWaitingDebug(bundleName, isPersist);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dams_mgr_scheduler.cpp574 int32_t AmsMgrScheduler::SetAppWaitingDebug(const std::string &bundleName, bool isPersist) in SetAppWaitingDebug() argument
580 return amsMgrServiceInner_->SetAppWaitingDebug(bundleName, isPersist); in SetAppWaitingDebug()

12