/ohos5.0/docs/zh-cn/application-dev/task-management/ |
H A D | efficiency-resource-request.md | 38 | 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 D | efficiency_resources_jsunit.test.js | 62 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 D | efficiency_resource_info.h | 29 …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 D | efficiency_resources_operation.cpp | 107 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 D | resource_application_record.cpp | 25 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 D | js-apis-resourceschedule-backgroundTaskManager-sys.md | 59 isPersist: true, 131 | isPersist | boolean | 否 | 是否永久持有资源,默认为false。<br>- true表示永久持有,false表示有限时间内持有。|
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | ability_command.h | 226 …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 D | background_task_mgr_ffi.h | 37 bool isPersist; member
|
H A D | background_task_mgr_ffi.cpp | 88 request.isPersist, request.isProcess}; in CJ_ApplyEfficiencyResources()
|
/ohos5.0/docs/en/application-dev/task-management/ |
H A D | efficiency-resource-request.md | 38 | 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 D | js-apidiff-resource-scheduler.md | 11 | ohos.backgroundTaskManager | EfficiencyResourcesRequest | isPersist?: boolean; …
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/ |
H A D | resource_application_record.h | 36 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 D | js-apidiff-resource-scheduler.md | 11 | ohos.backgroundTaskManager | EfficiencyResourcesRequest | isPersist?: boolean; …
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_app_scheduler.h | 60 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
|
H A D | mock_application.h | 53 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
|
H A D | mock_ams_mgr_scheduler.h | 66 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
|
H A D | mock_app_mgr_service_inner.h | 72 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
|
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/ |
H A D | js-apis-resourceschedule-backgroundTaskManager-sys.md | 59 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 D | ability_command.cpp | 659 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 D | ams_mgr_scheduler.h | 265 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 D | ams_mgr_interface.h | 291 virtual int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) = 0;
|
H A D | ams_mgr_proxy.h | 253 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) override;
|
H A D | app_mgr_client.h | 632 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_test/ |
H A D | ams_mgr_scheduler_test.cpp | 1280 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 D | ams_mgr_scheduler.cpp | 574 int32_t AmsMgrScheduler::SetAppWaitingDebug(const std::string &bundleName, bool isPersist) in SetAppWaitingDebug() argument 580 return amsMgrServiceInner_->SetAppWaitingDebug(bundleName, isPersist); in SetAppWaitingDebug()
|