/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 84 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 D | compatible_ability_info.cpp | 50 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 D | ability_info.cpp | 67 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 D | ability_info.h | 135 uint32_t backgroundModes = 0; member 225 uint32_t backgroundModes = 0; member
|
/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | ability_info.h | 123 uint32_t backgroundModes = 0; member
|
/foundation/multimedia/av_session/services/session/adapter/ |
H A D | bundle_status_adapter.cpp | 107 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 D | module_profile.cpp | 184 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 D | ability_info.cpp | 67 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 D | bundle_profile.cpp | 279 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 D | module_profile.cpp | 194 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 D | bms_bundle_clone_app_bundle_logic_test.cpp | 75 "backgroundModes":0,
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | bg_continuous_task_mgr.cpp | 467 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 D | bms_bundle_data_storage_database_test.cpp | 209 "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 D | bms_bundle_kit_service_base_test.cpp | 198 abilityInfo.backgroundModes = 1; in MockAbilityInfo()
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_common_ability_wrap_utils.cpp | 631 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 D | js_napi_common.cpp | 984 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 D | bms_bundle_kit_service_test.cpp | 955 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 D | bms_bundle_data_mgr_test.cpp | 792 abilityInfo.backgroundModes = 1; in MockAbilityInfo()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | bundle_mgr.cpp | 555 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()
|