Home
last modified time | relevance | path

Searched refs:backgroundModes (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dserviceability-configuration.md4 …ility的相关配置在config.json配置文件的"module"对象的"abilities"对象中,与PageAbility的区别在于"type"属性及"backgroundModes"属性。
12 | backgroundModes | 表示后台服务的类型,可以为一个服务配置多个后台服务类型。该标签仅适用于service类型的Ability。取值范围如下:<br/>dataTransfer:通…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-backgroundtasks-kit/
H A Derrorcode-backgroundTaskMgr.md96 3. bgMode无效,应用配置文件属性backgroundModes没有配置任何长时任务类型。
104 4. 请检查应用配置属性backgroundModes
/ohos5.0/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()
/ohos5.0/docs/en/application-dev/application-models/
H A Dserviceability-configuration.md4 …rence between a ServiceAbility and PageAbility lies in the **type** and **backgroundModes** fields.
12 | backgroundModes | Background service type of the ability. You can assign multiple background serv…
/ohos5.0/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.cpp199 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()
1025 abilityInfo.backgroundModes, in from_json()
1372 compatibleAbilityInfo.backgroundModes = backgroundModes; in ConvertToCompatiableAbilityInfo()
/ohos5.0/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
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundle-AbilityInfo.md26 | backgroundModes | number | 是 | 否 …
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/
H A Derrorcode-backgroundTaskMgr.md96 …ode** is invalid because no continuous task type is configured for **backgroundModes** in the appl…
104 4. Check the value of **backgroundModes**.
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/
H A Dmodule.json538 "backgroundModes": [
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dability_info.h123 uint32_t backgroundModes = 0; member
/ohos5.0/foundation/multimedia/av_session/services/session/adapter/
H A Dbundle_status_adapter.cpp108 … flag = static_cast<int32_t>(abilityInfo.backgroundModes) == backgroundModeDemand ? true : false; in IsAudioPlayback()
/ohos5.0/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.cpp171 {JSON_KEY_BACKGROUND_MODES, abilityInfo.backgroundModes}, in to_json()
591 abilityInfo.backgroundModes, in from_json()
/ohos5.0/docs/zh-cn/application-dev/task-management/
H A Dcontinuous-task.md91 "backgroundModes": [
359 "backgroundModes": [
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundle-AbilityInfo.md27 | backgroundModes | number | Yes | No …
/ohos5.0/docs/zh-cn/application-dev/faqs/
H A Dfaqs-ability.md427 "backgroundModes": [
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp273 std::vector<std::string> backgroundModes; member
1370 ability.backgroundModes, in from_json()
2279 uint32_t GetBackgroundModes(const std::vector<std::string>& backgroundModes) in GetBackgroundModes() argument
2282 for (const auto& item : backgroundModes) { in GetBackgroundModes()
2436 abilityInfo.backgroundModes = GetBackgroundModes(ability.backgroundModes); in ToAbilityInfo()
H A Dmodule_profile.cpp160 std::vector<std::string> backgroundModes; member
496 ability.backgroundModes, in from_json()
2193 uint32_t GetBackgroundModes(const std::vector<std::string> &backgroundModes) in GetBackgroundModes() argument
2196 for (const std::string &item : backgroundModes) { in GetBackgroundModes()
2256 abilityInfo.backgroundModes = GetBackgroundModes(ability.backgroundModes); in ToAbilityInfo()
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Dunpacking-tool.md262 | backgroundModes | List\<String> | 标识ability中的backgroundModes信息 | NA …
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dmodule-structure.md216 | backgroundModes | 标识后台服务的类型,可以为一个服务配置多个后台服务类型。该标签仅适用于service类型的Ability。取值范围如下:<br/>dataTransfer:通…
352 "backgroundModes": [
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-ability.md415 "backgroundModes": [
431 [ServiceAbility Configuration Items - backgroundModes](../application-models/serviceability-configu…
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dreasonable-running-backgroundTask.md160 "backgroundModes": [
/ohos5.0/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,
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp462 if (abilityInfo.backgroundModes != INVALID_BGMODE) { in AddAbilityBgModeInfos()
463 cachedBundleInfo.abilityBgMode_.emplace(abilityInfo.name, abilityInfo.backgroundModes); in AddAbilityBgModeInfos()
466 abilityInfo.backgroundModes); in AddAbilityBgModeInfos()

12