/ohos5.0/base/startup/appspawn/modules/modulemgr/ |
H A D | appspawn_modulemgr.c | 139 hookInfo->stage, hookInfo->prio, diff, executionRetVal); in PostHookExec() 146 APPSPAWN_CHECK((stage >= STAGE_SERVER_PRELOAD) && (stage <= STAGE_SERVER_EXIT), in ServerStageHookExecute() 163 APPSPAWN_CHECK((stage >= STAGE_SERVER_PRELOAD) && (stage <= STAGE_SERVER_EXIT), in AddServerStageHook() 166 info.stage = stage; in AddServerStageHook() 194 hookInfo->stage, hookInfo->prio, diff, executionRetVal); in PostAppSpawnHookExec() 201 APPSPAWN_CHECK((stage >= STAGE_PARENT_PRE_FORK) && (stage <= STAGE_CHILD_PRE_RUN), in AppSpawnHookExecute() 246 APPSPAWN_CHECK((stage >= STAGE_PARENT_PRE_FORK) && (stage <= STAGE_CHILD_PRE_RUN), in AddAppSpawnHook() 249 info.stage = stage; in AddAppSpawnHook() 262 APPSPAWN_CHECK((stage >= STAGE_SERVER_APP_ADD) && (stage <= STAGE_SERVER_APP_UMOUNT), in ProcessMgrHookExecute() 282 APPSPAWN_CHECK((stage >= STAGE_SERVER_APP_ADD) && (stage <= STAGE_SERVER_APP_UMOUNT), in AddProcessMgrHook() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stage/ |
H A D | render_stage.cpp | 68 auto stage = weakRenderStage.Upgrade(); in WatchDragToBack() local 69 if (!stage || stage->GetDisableTouchEvent()) { in WatchDragToBack() 74 stage->HandleDragStart(); in WatchDragToBack() 77 auto stage = weakRenderStage.Upgrade(); in WatchDragToBack() local 78 if (!stage || stage->GetDisableTouchEvent()) { in WatchDragToBack() 82 stage->GetControllers(); in WatchDragToBack() 87 if (!stage || stage->GetDisableTouchEvent()) { in WatchDragToBack() 91 stage->HandleDragEnd(); in WatchDragToBack() 95 if (!stage || stage->GetDisableTouchEvent()) { in WatchDragToBack() 100 stage->HandleDragEnd(); in WatchDragToBack() [all …]
|
/ohos5.0/base/startup/init/interfaces/innerkits/hookmgr/ |
H A D | hookmgr.c | 34 HOOK_STAGE *stage; member 42 int stage; member 74 const HOOK_STAGE *stage; in hookStageCompare() local 78 return (stage->stage - compareStage); in hookStageCompare() 83 HOOK_STAGE *stage; in hookStageDestroy() local 87 stage = (HOOK_STAGE *)node; in hookStageDestroy() 89 free((void *)stage); in hookStageDestroy() 105 stageItem->stage = stage; in getHookStage() 156 hookItem->info.stage = hookStage->stage; in addHookToStage() 160 hookItem->stage = hookStage; in addHookToStage() [all …]
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | module-switch.md | 11 …stage model uses **name** to ensure application uniqueness. To ensure a successful switching from … 23 | colorMode | Color mode of the application.| / | This configuration is not supported in the stage … 27 | entryTheme | Keyword of an internal theme.| / | This configuration is not supported in the stage … 35 …Metadata of the ability return value.| / | This configuration is not supported in the stage model.| 38 …3** Comparison between customizeData under metaData in the FA model and metadata in the stage Model 59 | uri | URI of the ability.| / | This configuration is not supported in the stage model.| 62 | type | Ability type.| / | This configuration is not supported in the stage model.| 67 | mission | Mission stack of the ability.| / | This configuration is not supported in the stage mod… 71 …ther the ability can provide widgets.| / | This configuration is not supported in the stage model.| 73 …language used to develop the ability.| / | This configuration is not supported in the stage model.| [all …]
|
H A D | stage-model-development-overview.md | 6 The following figure illustrates the stage model. 10  19 …The stage model provides two types of application components: UIAbility and ExtensionAbility. Both… 24 - [WindowStage](../windowmanager/application-window-stage.md) 28 - [Context](application-context-stage.md) 30 …In the stage model, Context and its derived classes provide a variety of resources and capabilitie… 37 During application development based on the stage model, the following tasks are involved in the ap… 43 …stage model to develop your application.| - [Application- or Component-Level Configuration](applic… 44 … the process model and common IPC modes of the stage model.| [Process Model Overview](process-mode… 45 … common inter-thread communication modes of the stage model.| [Thread Model Overview](thread-model… [all …]
|
H A D | model-switch-overview.md | 4 …switch a declarative paradigm-based application developed based on the FA model to the stage model. 7 - Project switch: Create an application project of the stage model. 15 …stage model. The figure below shows only the switching from PageAbility to UIAbility. The left par… 19 …omponent of the stage model. In the figure below, **Service Widget** is FormAbility in the FA mode… 25 … APIs with the **FAModelOnly** tag used in the FA model to the recommended APIs in the stage model.
|
H A D | fa-stage-interaction-overview.md | 4 …stage model is recommended since API version 9. The FA model and stage model have their respective… 9 **Figure 1** Coexistent application components of the FA model and stage model 20 …n the **want** parameter to the bundle name and ability name of the UIAbility in the stage model.| 21 … parameter to the bundle name and ability name of the ServiceExtensionAbility in the stage model.| 23 | [Starting a PageAbility from the Stage Model](start-pageability-from-stage.md)| Set **bundleName*… 24 | [Connecting to a ServiceAbility from the Stage Model](bind-serviceability-from-stage.md)| Set **b…
|
H A D | storage-switch.md | 6 | GetStorageOptions | There is no corresponding API in the stage model.| The stage model uses **Pre… 7 | SetStorageOptions | There is no corresponding API in the stage model.| The stage model uses **Pre… 8 | ClearStorageOptions | There is no corresponding API in the stage model.| The stage model uses **P… 9 | DeleteStorageOptions | There is no corresponding API in the stage model.| The stage model uses **…
|
H A D | pageability-switch.md | 4 The PageAbility component in the FA model corresponds to the UIAbility component in the stage model… 7 1. [Create a UIAbility](uiability-usage.md) in the stage model. 15 …): void | The two methods have the same meaning and invoking time. In the stage model, parameters … 16 …dowStage: window.WindowStage): void| This method is available only in the stage model. The callbac… 17 ….ACTIVE | The two methods have the same meaning and invoking time. In the stage model, this method… 19 …): void | The two methods have the same meaning and invoking time. In the stage model, the **Launc… 20 …NACTIVE | The two methods have the same meaning and invoking time. In the stage model, this method… 22 …| NA | onWindowStageDestroy(): void | This method is available only in the stage model. The callba… 30 …- In the stage model, page loading is triggered through **windowStage.loadContent** in the **onWin… 41 In the stage model, implement the following API in **MainAbility**:
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/app_bar/ |
H A D | app_bar_test_ng.cpp | 93 auto atom = appBar->Create(stage); 121 auto atom = appBar->Create(stage); 216 auto atom = appBar->Create(stage); 243 auto atom = appBar->Create(stage); 263 auto atom = appBar->Create(stage); 288 auto atom = appBar->Create(stage); 319 auto atom = appBar->Create(stage); 356 auto atom = appBar->Create(stage); 378 auto atom = appBar->Create(stage); 396 auto atom = appBar->Create(stage); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | stage-model-development-overview.md | 9  23 - [WindowStage](../windowmanager/application-window-stage.md) 27 - [Context](application-context-stage.md) 42 …stage.md)<br/>- [UIAbility组件](uiability-overview.md)<br/>- [ExtensionAbility组件](extensio… 43 | 了解进程模型 | 本章节介绍了Stage模型的进程模型以及几种常用的进程间通信方式。 | [进程模型概述](process-model-stage.md)| 44 | 了解线程模型 | 本章节介绍了Stage模型的线程模型以及几种常用的线程间通信方式。 | [线程模型概述](thread-model-stage.md) | 45 | 应用配置文件 | 本章节介绍Stage模型中应用配置文件的开发要求。 | [Stage模型应用配置文件](config-file-stage.md) |
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | unpacking-tool.md | 213 … | String | 标识应用对应的入口代码路径 | stage模型新增 | 217 … | List\<String> | 列举JS Component中每个页面信息 | stage模型新增 | 280 | parameters | List\<MetaDataInfo> | 标识Metadata的参数信息 | FA模型特有,stage模型废弃 | 281 | results | List\<MetaDataInfo> | 标识Metadata的results信息 | FA模型特有,stage模型废弃 | 288 | name | String | 标识MetaDataInfo的name信息 | FA模型特有,stage模型废弃 | 289 | description | String | 标识MetaDataInfo的description信息 | FA模型特有,stage模型废弃 | 290 | type | String | 标识MetaDataInfo的type信息 | FA模型特有,stage模型废弃 | 296 | name | String | 标识CustomizeData的name信息 | 对应stage模型的metadata | 297 | value | String | 标识CustomizeData的value信息 | 对应stage模型的metadata | 298 | extra | String | 标识CustomizeData的extra信息 | 对应stage模型的metadata | [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | headers.rs | 38 pub(crate) stage: HeaderStatus, 48 stage: HeaderStatus::Start, in new() 58 match self.stage { in check_next() 71 self.stage = HeaderStatus::Colon; in check_next() 76 self.stage = HeaderStatus::Value; in check_next() 88 self.stage = HeaderStatus::Crlf; in check_next() 100 match self.stage { in encode() 121 pub(crate) stage: HeaderStatus, 130 stage: HeaderStatus::Start, in new() 139 match self.stage { in check_next() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/ |
H A D | object_radar_reporter.cpp | 20 void RadarReporter::ReportStateFinished(std::string func, int32_t scene, int32_t stage, int32_t sta… in ReportStateFinished() argument 37 .v = { .i32 = stage }, in ReportStateFinished() 57 void RadarReporter::ReportStage(std::string func, int32_t scene, int32_t stage, int32_t stageRes) in ReportStage() argument 74 .v = { .i32 = stage }, in ReportStage() 90 void RadarReporter::ReportStateStart(std::string func, int32_t scene, int32_t stage, int32_t stageR… in ReportStateStart() argument 108 .v = { .i32 = stage }, in ReportStateStart() 132 void RadarReporter::ReportStateError(std::string func, int32_t scene, int32_t stage, int32_t stageR… in ReportStateError() argument 150 .v = { .i32 = stage }, in ReportStateError() 174 void RadarReporter::ReportStageError(std::string func, int32_t scene, int32_t stage, in ReportStageError() argument 192 .v = { .i32 = stage }, in ReportStageError()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/ |
H A D | touch_listener_component.h | 47 void SetEvent(const EventMarker& eventMarker, uint32_t action, uint32_t stage, in SetEvent() argument 50 eventIds_[action][stage][eventType] = eventMarker; in SetEvent() 54 uint32_t action, uint32_t stage, uint32_t eventType) const in GetEvent() argument 56 return eventIds_[action][stage][eventType]; in GetEvent() 59 void SetSwipeEvent(const EventMarker& eventMarker, uint32_t action, uint32_t stage) in SetSwipeEvent() argument 61 swipeIds_[action][stage] = eventMarker; in SetSwipeEvent() 64 const EventMarker& GetSwipeEvent(uint32_t action, uint32_t stage) const in GetSwipeEvent() argument 66 return swipeIds_[action][stage]; in GetSwipeEvent()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/event/src/ |
H A D | softbus_event_virtual.c | 21 void ConnEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, ConnEventExtra *e… in ConnEventInner() argument 24 (void)stage; in ConnEventInner() 54 void DiscEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, DiscEventExtra *e… in DiscEventInner() argument 57 (void)stage; in DiscEventInner() 92 void LnnEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, LnnEventExtra *ext… in LnnEventInner() argument 95 (void)stage; in LnnEventInner() 130 void TransEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, TransEventExtra … in TransEventInner() argument 133 (void)stage; in TransEventInner()
|
H A D | trans_event.c | 21 void TransEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, TransEventExtra … in TransEventInner() argument 30 .stage = stage, in TransEventInner() 43 .stage = SOFTBUS_DEFAULT_STAGE, in TransAlarmInner() 60 .stage = SOFTBUS_DEFAULT_STAGE, in TransAuditInner()
|
H A D | conn_event.c | 21 void ConnEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, ConnEventExtra *e… in ConnEventInner() argument 30 .stage = stage, in ConnEventInner() 46 .stage = SOFTBUS_DEFAULT_STAGE, in ConnAlarmInner() 63 .stage = SOFTBUS_DEFAULT_STAGE, in ConnAuditInner()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/ |
H A D | raw.rs | 183 pub(crate) stage: UnsafeCell<Stage<T>>, 200 stage: UnsafeCell::new(Stage::Executing(task)), in new() 218 let stage = self.stage.get(); in turning_to_executed() localVariable 220 *stage = Stage::Executed; in turning_to_executed() 225 let stage = self.stage.get(); in turning_to_used_data() localVariable 227 *stage = Stage::UsedData; in turning_to_used_data() 232 let stage = self.stage.get(); in turning_to_store_data() localVariable 234 *stage = Stage::StoreData(output); in turning_to_store_data() 239 let stage = self.stage.get(); in turning_to_get_data() localVariable 248 let stage = self.stage.get(); in poll() localVariable [all …]
|
/ohos5.0/base/startup/init/initsync/src/ |
H A D | init_sync.c | 56 int SystemInitStage(QuickstartStage stage) in SystemInitStage() argument 58 if (stage >= QS_STAGE_LIMIT || stage < QS_STAGE1) { in SystemInitStage() 59 INIT_LOGE("[Init] the stage(%d) is not expected!", stage); in SystemInitStage() 62 return SendCmd(QUICKSTART_STAGE(stage), 0); in SystemInitStage()
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-common.md | 20 …PI version 11.<br>**Model restriction**: This API can be used only in the stage model. … 21 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 22 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 23 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 24 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 25 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 27 …e **VpnExtensionContext**.<br>**Model restriction**: This API can be used only in the stage model.| 28 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 30 …ices since API version 11.<br>**Model restriction**: This API can be used only in the stage model.| 32 …module **ConnectOptions**.<br>**Model restriction**: This API can be used only in the stage model.| [all …]
|
/ohos5.0/base/location/frameworks/location_common/common/source/ |
H A D | hook_utils.cpp | 33 LocationErrCode HookUtils::RegisterHook(LocationProcessStage stage, int prio, OhosHook hook) in RegisterHook() argument 35 auto ret = HookMgrAdd(GetLocationExtHookMgr(), static_cast<int>(stage), prio, hook); in RegisterHook() 40 __func__, static_cast<int>(stage), ret); in RegisterHook() 44 void HookUtils::UnregisterHook(LocationProcessStage stage, OhosHook hook) in UnregisterHook() argument 46 HookMgrDel(GetLocationExtHookMgr(), static_cast<int>(stage), hook); in UnregisterHook() 50 LocationProcessStage stage, void *executionContext, const HOOK_EXEC_OPTIONS *options) in ExecuteHook() argument 52 …auto ret = HookMgrExecute(GetLocationExtHookMgr(), static_cast<int>(stage), executionContext, opti… in ExecuteHook() 57 __func__, static_cast<int>(stage), ret); in ExecuteHook()
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | hookmgr.h | 82 int stage; /* hook stage */ member 98 int HookMgrAdd(HOOK_MGR *hookMgr, int stage, int prio, OhosHook hook); 120 void HookMgrDel(HOOK_MGR *hookMgr, int stage, OhosHook hook); 167 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *e… 213 int HookMgrGetHooksCnt(HOOK_MGR *hookMgr, int stage);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | swipe_recognizer.h | 58 bool HandleSwipeEvent(const TouchEvent& point, uint32_t stage); 62 void SetSwipeCallback(const SwipeCallback& eventCallback, uint32_t stage) in SetSwipeCallback() argument 64 swipeCallback_[stage] = eventCallback; in SetSwipeCallback() 67 void SetCatchEventCallback(const CatchSwipeCallback& eventCallback, uint32_t stage) in SetCatchEventCallback() argument 69 swipeCatchCallback_[stage] = eventCallback; in SetCatchEventCallback()
|
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-window.md | 5 Changed the enumerated listener types of the window stage lifecycle in version 3.2.10.5 and later. 19 | FOREGROUND | 1 | The window stage is running in the foreground.| 20 | BACKGROUND | 4 | The window stage is running in the background.| 25 | SHOWN | 1 | The window stage is running in the foreground.| 26 | HIDDEN | 4 | The window stage is running in the background.| 58 console.error('Failed to enable the listener for window stage event changes. Cause:' +
|