Home
last modified time | relevance | path

Searched refs:isPersist (Results 1 - 25 of 27) sorted by relevance

12

/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Defficiency_resource_info.h29 bool isPersist = false, bool isProcess = false) : resourceNumber_(resourceNumber), isApply_(isApply), in EfficiencyResourceInfo()
30 timeOut_(timeOut), reason_(reason), isPersist_(isPersist), isProcess_(isProcess) {} in EfficiencyResourceInfo()
/foundation/ability/ability_runtime/tools/test/unittest/aa/
H A Daa_command_ability_first_test.cpp898 bool isPersist; in HWTEST_F() local
901 EXPECT_EQ(cmd.SwitchOptionForAppDebug(option, bundleName, isPersist, isCancel, isGet), true); in HWTEST_F()
918 bool isPersist; in HWTEST_F() local
921 EXPECT_EQ(cmd.SwitchOptionForAppDebug(option, bundleName, isPersist, isCancel, isGet), false); in HWTEST_F()
922 EXPECT_EQ(isPersist, true); in HWTEST_F()
939 bool isPersist; in HWTEST_F() local
942 EXPECT_EQ(cmd.SwitchOptionForAppDebug(option, bundleName, isPersist, isCancel, isGet), true); in HWTEST_F()
961 bool isPersist; in HWTEST_F() local
964 EXPECT_EQ(cmd.SwitchOptionForAppDebug(option, bundleName, isPersist, isCancel, isGet), true); in HWTEST_F()
983 bool isPersist; in HWTEST_F() local
1173 bool isPersist; HWTEST_F() local
1195 bool isPersist; HWTEST_F() local
1219 bool isPersist; HWTEST_F() local
1242 bool isPersist; HWTEST_F() local
1265 bool isPersist; HWTEST_F() local
[all...]
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp106 bool isPersist {false}; in ParseParameters()
125 if (!GetNamedBoolValue(env, argv[0], "isPersist", isPersist, false)) { in ParseParameters()
133 params = EfficiencyResourceInfo {resourceNumber, isApply, timeOut, reason, isPersist, isProcess}; in ParseParameters()
/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_(endTime), in PersistTime()
78 info["isPersist"] = iter.isPersist_; in ParseToJson()
112 if (!CommonUtils::CheckJsonValue(persistTime, {"resourceIndex", "isPersist", "endTime", "reason"}) || in ParseFromJson()
113 !persistTime.at("resourceIndex").is_number_integer() || !persistTime.at("isPersist").is_boolean() || in ParseFromJson()
119 bool isPersist_ = persistTime.at("isPersist").get<bool>(); in ParseFromJson()
/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()
/foundation/ability/ability_runtime/tools/aa/include/
H A Dability_command.h226 bool SwitchOptionForAppDebug(int32_t option, std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet);
227 bool ParseAppDebugParameter(std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet);
/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,
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_scheduler_client.h60 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_app_scheduler.h60 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_app_mgr_service_inner.h69 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_ams_mgr_scheduler.h62 MOCK_METHOD2(SetAppWaitingDebug, int32_t(const std::string &bundleName, bool isPersist));
H A Dmock_application_proxy.h54 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));
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dams_mgr_interface.h327 * @param isPersist The persist flag.
330 virtual int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) = 0;
H A Dams_mgr_proxy.h289 * @param isPersist The persist flag.
292 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) override;
H A Dapp_mgr_client.h625 * @param isPersist The persist flag.
628 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist);
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dams_mgr_scheduler.h321 * @param isPersist The persist flag.
324 int32_t SetAppWaitingDebug(const std::string &bundleName, bool isPersist) override;
/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp660 int32_t option, std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet) in SwitchOptionForAppDebug()
674 isPersist = true; in SwitchOptionForAppDebug()
695 std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet) in ParseAppDebugParameter()
735 if (SwitchOptionForAppDebug(option, bundleName, isPersist, isCancel, isGet)) { in ParseAppDebugParameter()
746 bool isPersist = false; in RunAsAppDebugDebugCommand() local
756 if (!ParseAppDebugParameter(bundleName, isPersist, isCancel, isGet)) { in RunAsAppDebugDebugCommand()
768 result = DelayedSingleton<AppMgrClient>::GetInstance()->SetAppWaitingDebug(bundleName, isPersist); in RunAsAppDebugDebugCommand()
659 SwitchOptionForAppDebug( int32_t option, std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet) SwitchOptionForAppDebug() argument
694 ParseAppDebugParameter( std::string &bundleName, bool &isPersist, bool &isCancel, bool &isGet) ParseAppDebugParameter() argument
/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_test/
H A Dams_mgr_scheduler_test.cpp1191 bool isPersist = true; in HWTEST_F() local
1192 auto iret = amsMgrScheduler->SetAppWaitingDebug(bundleName, isPersist); in HWTEST_F()
1211 bool isPersist = true; in HWTEST_F() local
1212 auto iret = amsMgrScheduler->SetAppWaitingDebug(bundleName, isPersist); in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dams_mgr_scheduler.cpp544 int32_t AmsMgrScheduler::SetAppWaitingDebug(const std::string &bundleName, bool isPersist) in SetAppWaitingDebug() argument
550 return amsMgrServiceInner_->SetAppWaitingDebug(bundleName, isPersist); in SetAppWaitingDebug()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dams_mgr_stub.cpp640 auto isPersist = data.ReadBool(); in HandleSetAppWaitingDebug() local
641 auto result = SetAppWaitingDebug(bundleName, isPersist); in HandleSetAppWaitingDebug()
H A Dams_mgr_proxy.cpp965 int32_t AmsMgrProxy::SetAppWaitingDebug(const std::string &bundleName, bool isPersist) in SetAppWaitingDebug() argument
979 if (!data.WriteBool(isPersist)) { in SetAppWaitingDebug()
H A Dapp_mgr_client.cpp992 int32_t AppMgrClient::SetAppWaitingDebug(const std::string &bundleName, bool isPersist) in SetAppWaitingDebug() argument
998 return amsService_->SetAppWaitingDebug(bundleName, isPersist); in SetAppWaitingDebug()
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/
H A Dapp_mgr_client_test.cpp1185 bool isPersist = true; in HWTEST_F() local
1186 appMgrClient->SetAppWaitingDebug(bundleName, isPersist); in HWTEST_F()

Completed in 29 milliseconds

12