Home
last modified time | relevance | path

Searched refs:allowCommonEvent (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/basic-services/common-event/
H A Dcommon-event-static-subscription.md101 …,设备开机启动时会读取该配置文件,在应用安装时会对在文件中配置的`allowCommonEvent`公共事件类型进行授权。预授权配置文件字段内容包括`bundleName`、`app_signat…
105 - `allowCommonEvent`字段配置为允许静态广播拉起的公共事件项。
113 "allowCommonEvent": ["usual.event.AIRPLANE_MODE"] // 允许静态广播拉起的公共事件项
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_scan_info.h46 std::vector<std::string> allowCommonEvent; member
74 allowCommonEvent.clear(); in Reset()
H A Dinner_bundle_info.h1702 void SetAllowCommonEvent(const std::vector<std::string> &allowCommonEvent) in SetAllowCommonEvent() argument
1704 baseApplicationInfo_->allowCommonEvent.clear(); in SetAllowCommonEvent()
1705 for (const auto &event : allowCommonEvent) { in SetAllowCommonEvent()
1706 baseApplicationInfo_->allowCommonEvent.emplace_back(event); in SetAllowCommonEvent()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-app-privilege-config-guide.md60 | allowCommonEvent | string[] | - | 是否允许静态广播拉起。 |
91 "allowCommonEvent": [“usual.event.SCREEN_ON”, “usual.event.THERMAL_LEVEL_CHANGED”],
/ohos5.0/docs/en/application-dev/basic-services/common-event/
H A Dcommon-event-static-subscription.md101 …ring application installation, the common event type specified by **allowCommonEvent** in the file…
105 - **allowCommonEvent**: type of common event that can be started by static broadcast.
113 …"allowCommonEvent": ["usual.event.AIRPLANE_MODE"] // Type of common event that can be started by s…
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta3/
H A Dchangelog-v3.2-beta3.md88 | allowCommonEvent | string[] | - | 是否允许静态广播拉起 |
116 "allowCommonEvent": ["usual.event.SCREEN_ON", "usual.event.THERMAL_LEVEL_CHANGED"]
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dapplication_info.h119 std::vector<std::string> allowCommonEvent; member
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
H A Dbms_bundle_clone_app_bundle_logic_test.cpp161 "allowCommonEvent":[
189 "allowCommonEvent":[
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-app-privilege-config-guide.md60 | allowCommonEvent | string[] | - | Allows an application to be started by a static broad…
91 "allowCommonEvent": ["usual.event.SCREEN_ON", "usual.event.THERMAL_LEVEL_CHANGED"]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dapplication_info.cpp415 CONTAINER_SECURITY_VERIFY(parcel, allowCommonEventSize, &allowCommonEvent); in ReadFromParcel()
417 allowCommonEvent.emplace_back(Str16ToStr8(parcel.ReadString16())); in ReadFromParcel()
644 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, allowCommonEvent.size()); in Marshalling()
645 for (auto &event : allowCommonEvent) { in Marshalling()
951 {APPLICATION_ALLOW_COMMON_EVENT, applicationInfo.allowCommonEvent}, in to_json()
1080 applicationInfo.allowCommonEvent, JsonType::ARRAY, false, parseResult, ArrayType::STRING); in from_json()
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta3/
H A Dchangelog-v3.2-beta3.md90 | allowCommonEvent | string[] | - | Allows the application to be started by a static broa…
118 "allowCommonEvent": ["usual.event.SCREEN_ON", "usual.event.THERMAL_LEVEL_CHANGED"]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dapplication_info.h227 std::vector<std::string> allowCommonEvent; member
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dapplication_info.cpp183 {APPLICATION_ALLOW_COMMON_EVENT, applicationInfo.allowCommonEvent}, in to_json()
446 applicationInfo.allowCommonEvent, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_bundle_profile.cpp229 preBundleConfigInfo.allowCommonEvent, in TransformTo()
H A Dbundle_mgr_service_event_handler.cpp2696 appInfo.allowCommonEvent = preBundleConfigInfo.allowCommonEvent; in UpdateTrustedPrivilegeCapability()
H A Dbundle_install_checker.cpp743 newInfo.SetAllowCommonEvent(preBundleConfigInfo.allowCommonEvent); in GetPrivilegeCapability()
H A Dinner_bundle_info.cpp1979 SetAllowCommonEvent(applicationInfo.allowCommonEvent); in UpdatePrivilegeCapability()
/ohos5.0/base/notification/common_event_service/services/src/
H A Dstatic_subscriber_manager.cpp61 std::vector<std::string> allowCommonEvents = appInfo.allowCommonEvent; in InitAllowList()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp84 "allowCommonEvent":[
297 "allowCommonEvent":[
417 "allowCommonEvent":[
1141 "allowCommonEvent": [],
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp7029 std::vector<std::string> allowCommonEvent; variable
7045 allowCommonEvent.emplace_back("allow1");
7050 info.allowCommonEvent = allowCommonEvent;
H A Dbms_bundle_data_mgr_test.cpp192 "allowCommonEvent":[],