Home
last modified time | relevance | path

Searched refs:backgroundModes (Results 1 - 19 of 19) sorted by relevance

/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp84 abilityInfo.backgroundModes = 0; in GetBundleInfo()
90 abilityInfo.backgroundModes = ALL_NEED_CHECK_BGMODE; in GetBundleInfo()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dcompatible_ability_info.cpp50 backgroundModes = parcel.ReadUint32(); in ReadFromParcel()
171 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, backgroundModes); in Marshalling()
237 abilityInfo.backgroundModes = backgroundModes; in ConvertToAbilityInfo()
H A Dability_info.cpp67 const char* JSON_KEY_BACKGROUND_MODES = "backgroundModes";
199 backgroundModes = parcel.ReadUint32(); in ReadFromParcel()
402 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, backgroundModes); in Marshalling()
598 {JSON_KEY_BACKGROUND_MODES, abilityInfo.backgroundModes}, in to_json()
975 abilityInfo.backgroundModes, in from_json()
1282 compatibleAbilityInfo.backgroundModes = backgroundModes; in ConvertToCompatiableAbilityInfo()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dability_info.h135 uint32_t backgroundModes = 0; member
225 uint32_t backgroundModes = 0; member
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dability_info.h123 uint32_t backgroundModes = 0; member
/foundation/multimedia/av_session/services/session/adapter/
H A Dbundle_status_adapter.cpp107 flag = static_cast<int32_t>(abilityInfo.backgroundModes) == backgroundModeDemand ? true : false; in IsAudioPlayback()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dmodule_profile.cpp184 std::vector<std::string> backgroundModes; member
457 ability.backgroundModes, in from_json()
1515 uint32_t GetBackgroundModes(const std::vector<std::string> &backgroundModes) in GetBackgroundModes() argument
1518 for (const std::string &item : backgroundModes) { in GetBackgroundModes()
1575 abilityInfo.backgroundModes = GetBackgroundModes(ability.backgroundModes); in ToAbilityInfo()
H A Dability_info.cpp67 const std::string JSON_KEY_BACKGROUND_MODES = "backgroundModes";
171 {JSON_KEY_BACKGROUND_MODES, abilityInfo.backgroundModes}, in to_json()
591 abilityInfo.backgroundModes, in from_json()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp279 std::vector<std::string> backgroundModes; member
1246 ability.backgroundModes, in from_json()
2097 uint32_t GetBackgroundModes(const std::vector<std::string>& backgroundModes) in GetBackgroundModes() argument
2102 for (const auto& item : backgroundModes) { in GetBackgroundModes()
2259 abilityInfo.backgroundModes = GetBackgroundModes(ability.backgroundModes); in ToAbilityInfo()
H A Dmodule_profile.cpp194 std::vector<std::string> backgroundModes; member
484 ability.backgroundModes, in from_json()
2018 uint32_t GetBackgroundModes(const std::vector<std::string> &backgroundModes) in GetBackgroundModes() argument
2023 for (const std::string &item : backgroundModes) { in GetBackgroundModes()
2086 abilityInfo.backgroundModes = GetBackgroundModes(ability.backgroundModes); in ToAbilityInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
H A Dbms_bundle_clone_app_bundle_logic_test.cpp75 "backgroundModes":0,
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp467 if (abilityInfo.backgroundModes != INVALID_BGMODE) { in AddAbilityBgModeInfos()
468 cachedBundleInfo.abilityBgMode_.emplace(abilityInfo.name, abilityInfo.backgroundModes); in AddAbilityBgModeInfos()
471 abilityInfo.backgroundModes); in AddAbilityBgModeInfos()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp209 "backgroundModes":0,
793 "backgroundModes": 0,
872 "backgroundModes": 0,
942 "backgroundModes": 0,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/
H A Dbms_bundle_kit_service_base_test.cpp198 abilityInfo.backgroundModes = 1; in MockAbilityInfo()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dnapi_common_ability_wrap_utils.cpp631 NAPI_CALL(env, napi_create_int32(env, abilityInfo.backgroundModes, &proValue)); in BuildJsAbilityInfoNamedPropertyFirst()
632 NAPI_CALL(env, napi_set_named_property(env, result, "backgroundModes", proValue)); in BuildJsAbilityInfoNamedPropertyFirst()
H A Djs_napi_common.cpp984 napi_set_named_property(env, objContext, "backgroundModes", CreateJsValue(env, abilityInfo.backgroundModes)); in CreateAbilityInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp955 abilityInfo.backgroundModes = 1; in MockAbilityInfo()
1091 EXPECT_EQ(BACKGROUND_MODES, abilityInfo.backgroundModes); in CheckAbilityInfo()
1146 EXPECT_EQ(BACKGROUND_MODES, abilityInfo.backgroundModes); in CheckAbilityInfos()
H A Dbms_bundle_data_mgr_test.cpp792 abilityInfo.backgroundModes = 1; in MockAbilityInfo()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.cpp555 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, abilityInfo.backgroundModes, &nBackgroundModes)); in ConvertAbilityInfo()
559 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, objAbilityInfo, "backgroundModes", nBackgroundModes)); in ConvertAbilityInfo()

Completed in 68 milliseconds