/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_hci_event.c | 243 SMP_StepFunc GetPairTable(uint16_t step) in GetPairTable() argument 245 if (step >= SMP_LEGACY_PAIR_MASTER_STEP_1 && step <= SMP_LEGACY_PAIR_MASTER_STEP_18) { in GetPairTable() 247 } else if (step >= SMP_LEGACY_PAIR_SLAVE_STEP_1 && step <= SMP_LEGACY_PAIR_SLAVE_STEP_20) { in GetPairTable() 252 …} else if (step >= SMP_SC_PAIR_COMMON_MASTER_STEP_1 && step <= SMP_SC_PAIR_COMMON_MASTER_STEP_20) { in GetPairTable() 256 } else if (step >= SMP_SC_PAIR_OOB_MASTER_STEP_1 && step <= SMP_SC_PAIR_OOB_MASTER_STEP_15) { in GetPairTable() 261 … } else if (step >= SMP_SC_PAIR_COMMON_SLAVE_STEP_1 && step <= SMP_SC_PAIR_COMMON_SLAVE_STEP_21) { in GetPairTable() 265 } else if (step >= SMP_SC_PAIR_OOB_SLAVE_STEP_1 && step <= SMP_SC_PAIR_OOB_SLAVE_STEP_15) { in GetPairTable() 267 } else if (step >= SMP_GENERATE_SC_OOB_DATA_STEP_1 && step <= SMP_GENERATE_SC_OOB_DATA_STEP_4) { in GetPairTable() 269 } else if (step >= SMP_GENERATE_SIGNATURE_STEP_1 && step <= SMP_GENERATE_SIGNATURE_STEP_3) { in GetPairTable() 624 switch (step) { in SMP_OnReadLocalPubKeyCompStepDistribution() [all …]
|
H A D | smp_receive.c | 216 SMP_GetPairMng()->step = SMP_LEGACY_PAIR_SLAVE_STEP_1; in SMP_ReceivePairingRequest() 298 if (SMP_GetPairMng()->step != SMP_LEGACY_PAIR_MASTER_STEP_1) { in SMP_RecvPairRspJudgeException() 338 switch (step) { in SMP_RecvPairCfmStepDistribution() 365 LOG_ERROR("It's invalid step:%hu.", step); in SMP_RecvPairCfmStepDistribution() 390 switch (step) { in SMP_RecvPairRandStepDistribution() 416 LOG_ERROR("It's invalid step:%hu.", step); in SMP_RecvPairRandStepDistribution() 539 LOG_ERROR("Accepter, step :%hu.", SMP_GetPairMng()->step); in SMP_ReceivePairingFailed() 579 switch (step) { in SMP_RecvPairPubKeyStepDistribution() 602 LOG_ERROR("It's invalid step:%hu.", step); in SMP_RecvPairPubKeyStepDistribution() 622 switch (SMP_GetPairMng()->step) { in SMP_ReceivePairingDHKeyCheck() [all …]
|
H A D | smp_send.c | 164 int SMP_SendHciLeRandCmd(uint16_t step) in SMP_SendHciLeRandCmd() argument 166 if (step) { in SMP_SendHciLeRandCmd() 167 SMP_GetPairMng()->step = step; in SMP_SendHciLeRandCmd() 189 if (step) { in SMP_SendLeEncryptCmd() 190 if ((step >= SMP_PAIR_STEP_START) && (step <= SMP_PAIR_STEP_END)) { in SMP_SendLeEncryptCmd() 191 SMP_GetPairMng()->step = step; in SMP_SendLeEncryptCmd() 192 encCmd->step = step; in SMP_SendLeEncryptCmd() 194 encCmd->step = step; in SMP_SendLeEncryptCmd() 467 pEncCmd->step = 0x00; in SMP_AllocEncCmd() 500 switch (pEncCmd->step) { in SMP_EncCmdTimeoutTask() [all …]
|
/ohos5.0/base/startup/bootstrap_lite/services/source/ |
H A D | bootstrap_service.h | 23 #define APP_NAME(name, step) ".zinitcall.app." #name #step ".init" argument 24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init" argument 26 #define APP_CALL(name, step) \ argument 45 #define APP_BEGIN(name, step) \ argument 51 #define APP_END(name, step) \ argument 57 #define MODULE_BEGIN(name, step) \ argument 62 #define MODULE_END(name, step) \ argument 79 #define APP_BEGIN(name, step) __section_begin(APP_NAME(name, step)) 80 #define APP_END(name, step) __section_end(APP_NAME(name, step)) 81 #define MODULE_BEGIN(name, step) __section_begin(MODULE_NAME(name, step)) [all …]
|
H A D | core_main.h | 23 #define SYS_NAME(name, step) ".zinitcall.sys." #name #step ".init" argument 24 #define MODULE_NAME(name, step) ".zinitcall." #name #step ".init" argument 26 #define SYS_CALL(name, step) \ argument 46 #define SYS_BEGIN(name, step) \ argument 52 #define SYS_END(name, step) \ argument 58 #define MODULE_BEGIN(name, step) \ argument 63 #define MODULE_END(name, step) \ argument 81 #define SYS_BEGIN(name, step) __section_begin(SYS_NAME(name, step)) 82 #define SYS_END(name, step) __section_end(SYS_NAME(name, step)) 83 #define MODULE_BEGIN(name, step) __section_begin(MODULE_NAME(name, step)) [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | performance_analysis.cpp | 85 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LINE in InsertTimeRecord() 88 timeRecordData_.timeInfo[step] = timePair; in InsertTimeRecord() 97 timePair = timeRecordData_.timeInfo[step]; in GetTimeRecord() 133 (void)InsertTimeRecord(timePair, step); in StepTimeRecordStart() 146 bool errCode = GetTimeRecord(step, timePair); in StepTimeRecordEnd() 150 (void)InsertTimeRecord({0, 0}, step); in StepTimeRecordEnd() 163 stepTimeRecordInfo_[step].max = offset; in StepTimeRecordEnd() 166 stepTimeRecordInfo_[step].min = offset; in StepTimeRecordEnd() 168 counts_[step]++; in StepTimeRecordEnd() 170 stepTimeRecordInfo_[step].average = 0; in StepTimeRecordEnd() [all …]
|
/ohos5.0/drivers/hdf_core/framework/model/audio/core/src/ |
H A D | audio_parse.c | 184 int32_t step; in ParseAudioRegItem() local 207 step = AUDIO_REG_CFG_INDEX_MAX * index; in ParseAudioRegItem() 209 group->regCfgItem[index].reg = buf[step + AUDIO_REG_CFG_REG_INDEX]; in ParseAudioRegItem() 227 int32_t step; in ParseAudioEnumRegItem() local 251 step = AUDIO_ENUM_REG_CFG_INDEX_MAX * index; in ParseAudioEnumRegItem() 271 int32_t step; in ParseAudioSapmItem() local 294 step = AUDIO_SAPM_COMP_INDEX_MAX * index; in ParseAudioSapmItem() 313 int32_t step; in ParseAudioCtrlItem() local 336 step = AUDIO_CTRL_CFG_INDEX_MAX * index; in ParseAudioCtrlItem() 350 int32_t step; in ParseAudioAddrItem() local [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-stepper.md | 3 The **Stepper** component provides a step navigator, suitable for guiding users through a step-by-s… 71 | prevIndex | number | Yes | Index of the step page before the switching. | 88 | index | number | Yes | Index of the current step page.| 89 | pendingIndex | number | Yes | Index of the next step page.| 95 …en the **prevLabel** of the current **StepperItem** is clicked to switch to the previous step page. 105 | index | number | Yes | Index of the current step page.| 106 | pendingIndex | number | Yes | Index of the previous step page.| 141 // First step page 155 // Second step page 170 // Third step page [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/modifiers/ |
H A D | reverse.cpp | 30 bool Reverse::ProcessOnStep(StepData& step) const in ProcessOnStep() 32 step.progress = 1.f - step.progress; in ProcessOnStep() 33 step.reverse = !step.reverse; in ProcessOnStep()
|
H A D | speed.cpp | 37 bool SpeedImpl::ProcessOnStep(StepData& step) const in ProcessOnStep() 41 step.progress = 1.f - step.progress; in ProcessOnStep() 42 step.reverse = !step.reverse; in ProcessOnStep()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-animate-frame.md | 7 runframe在调用requestAnimationFrame时传入带有timestamp参数的回调函数step,将step中的timestamp赋予起始的startTime。当timestamp… 67 this.animation = requestAnimationFrame(this.step); 69 step(timestamp) { 78 console.log('callback step timestamp: ' + timestamp); 79 this.animation = requestAnimationFrame(this.step); 84 this.animation = requestAnimationFrame(this.step); 164 this.animation = requestAnimationFrame(this.step); 166 step(timestamp) { 170 this.animation = requestAnimationFrame(this.step); 174 this.animation = requestAnimationFrame(this.step);
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_pixfmt_rgba_blend.cpp | 39 int16_t step = NEON_STEP_8 * PIX_STEP; in CopyHLine() local 44 pixelPtr = pixelPtr->colors + step; in CopyHLine() 62 int16_t step = NEON_STEP_8 * PIX_STEP; in BlendHLine() local 65 pixelPtr = pixelPtr->colors + step; in BlendHLine() 101 int16_t step = NEON_STEP_8 * PIX_STEP; in BlendSolidHSpan() local 104 pixelPtr = pixelPtr->colors + step; in BlendSolidHSpan() 146 int16_t step = NEON_STEP_8 * PIX_STEP; in CopyColorHSpan() local 156 pixelPtr = pixelPtr->colors + step; in CopyColorHSpan() 185 int16_t step = NEON_STEP_8 * PIX_STEP; in BlendColorHSpan() local 196 pixelPtr = pixelPtr->colors + step; in BlendColorHSpan() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | performance_analysis.h | 81 void StepTimeRecordStart(uint32_t step); 83 void StepTimeRecordEnd(uint32_t step); 94 explicit PerformanceAnalysis(uint32_t step); 98 bool IsStepValid(uint32_t step) const; 102 bool InsertTimeRecord(const TimePair &timePair, uint32_t step); 104 bool GetTimeRecord(uint32_t step, TimePair &timePair) const;
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-container-stepper.md | 7 The **\<stepper>** component provides a step navigator. When multiple steps are required to complet… 48 | finish | - | Triggered when the last step on the navigator … 50 …the step navigator to switch between steps. **prevIndex** indicates the index of the previous step… 51 …step, and **pendingIndex** indicates that of the step to go. The return value is in { pendingIndex… 52 …step, and **pendingIndex** indicates that of the step to go. The return value is in Object: { pend… 61 …step navigator. **label** indicates the button text, and **status** indicates the button status. A… 178 message: 'Previous step index' + e.prevIndex + 'Current step index' + e.index
|
H A D | js-components-container-stepper-item.md | 6 The **\<stepper-item>** component displays a step in the step navigator. This component is the chil… 25 …step navigator. Dynamic modification is not supported. If this attribute is not set, **BACK** and … 31 | prevLabel | string | - | Text content of the previous button at the bottom of the step navigator.| 32 | nextLabel | string | - | Text content of the next button at the bottom of the step navigator.| 33 …nt step in the step navigator. Available values are as follows:<br>- **normal**: The right button … 62 | appear | - | Triggered when this step is displayed.| 63 | disappear | - | Triggered when this step disappears.|
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | staggered_animation_state.cpp | 186 …params.step.progress = MapTo01Range(parentProgress, segment.startProgress_, segment.endProgress_, … in TransformChild() 190 if (params.step.progress < 0.f) { in TransformChild() 192 } else if (params.step.progress >= 1.f) { in TransformChild() 200 params.step.progress = 1.f - params.step.progress; in TransformChild() 202 params.step.reverse = reverse; in TransformChild() 249 const auto step = ApplyStepModifiers(containerProgress); in Evaluate() local 252 …ernal->Move(TransformChild(segment, containerProgress, GetAnimationTargetState(), step.reverse))) { in Evaluate() 324 const auto step = ApplyStepModifiers(containerProgress); in Evaluate() local 327 auto active = GetActiveAnimation(containerProgress, step.reverse); in Evaluate() 332 …nternal->Move(TransformChild(segment, containerProgress, GetAnimationTargetState(), step.reverse)); in Evaluate() [all …]
|
H A D | animation_state.cpp | 127 const auto& step = move.step; in GetTargetState() local 131 const float progress = step.progress; in GetTargetState() 132 const bool reverse = step.reverse; in GetTargetState() 150 const auto& step = move.step; in Move() local 151 float progress = step.progress; in Move() 335 IAnimationModifier::StepData step(progress); in ApplyStepModifiers() local 337 mod->ProcessOnStep(step); in ApplyStepModifiers() 339 return step; in ApplyStepModifiers() 432 auto step = ApplyStepModifiers(data.progress); in EvaluateValue() local 433 auto progress = step.progress; in EvaluateValue()
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 测试子系统.md | 94 // input testsuit setup step,setup invoked before all testcases 104 // input testcase setup step,setup invoked before each testcases 120 // step 1:调用函数获取结果 184 //step 1:调用函数获取结果 237 // input testsuit setup step,setup invoked before all testcases 247 // input testcase setup step,setup invoked before each testcases 263 //step 1:调用函数获取结果 295 // input testsuit setup step,setup invoked before all testcases 300 // input testsuit teardown step,teardown invoked after all testcases 305 // input testcase setup step,setup invoked before each testcases [all …]
|
/ohos5.0/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | ui_auto_test.cpp | 178 void UIAutoTest::OnTestOneStep(TestSteps step, std::string className, size_t stepIndex) in OnTestOneStep() argument 180 if (step.eventID == TestEventID::TEST_CLICK_EVENT) { in OnTestOneStep() 181 ClickViewById(step.viewID.c_str()); in OnTestOneStep() 182 } else if (step.eventID == TestEventID::TEST_MOVE_EVENT) { in OnTestOneStep() 183 if (step.eventValue.size() < EVENT_VALUE_SIZE_TWO) { in OnTestOneStep() 187 int16_t x = static_cast<int16_t>(step.eventValue[0]); in OnTestOneStep() 188 int16_t y = static_cast<int16_t>(step.eventValue[1]); in OnTestOneStep() 189 DrageToView(step.viewID.c_str(), x, y); in OnTestOneStep() 192 if (step.saveCheckPoint) { in OnTestOneStep() 193 OnSaveFile(className, step.viewID, stepIndex); in OnTestOneStep()
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-animate-frame.md | 8 When **runframe** calls **requestAnimationFrame**, the **step** callback with the **timestamp** par… 68 this.animation = requestAnimationFrame(this.step); 70 step(timestamp) { 79 console.log('callback step timestamp: ' + timestamp); 80 this.animation = requestAnimationFrame(this.step); 85 this.animation = requestAnimationFrame(this.step); 165 this.animation = requestAnimationFrame(this.step); 167 step(timestamp) { 171 this.animation = requestAnimationFrame(this.step); 175 this.animation = requestAnimationFrame(this.step);
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/ |
H A D | dataobs_utils.h | 110 bool ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &data); 112 bool ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &data); 115 bool WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data); 117 bool WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data); 152 bool DataObsUtils::ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &… 160 if (step == index) { 166 return DataObsUtils::ReadVariant<_OutTp, _Rest...>(step + 1, index, output, data); 170 bool DataObsUtils::WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data) 176 bool DataObsUtils::WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data) 178 if (step == input.index()) { [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/framework/ |
H A D | plugin.cpp | 342 VersionParseStep step = VersionParseStep::STEP_MAJOR; in AnalyzeVersion() local 348 auto ret = ExecuteVersionAnalysis(tmp, step, versionArray); in AnalyzeVersion() 355 if (step == VersionParseStep::STEP_NANO) { in AnalyzeVersion() 359 step = VersionParseStep::STEP_FINISHED; in AnalyzeVersion() 362 if (step != VersionParseStep::STEP_FINISHED) { in AnalyzeVersion() 363 IMAGE_LOGE("analysis version failed, step = %{public}d.", step); in AnalyzeVersion() 381 switch (step) { in ExecuteVersionAnalysis() 388 step = VersionParseStep::STEP_MINOR; in ExecuteVersionAnalysis() 397 step = VersionParseStep::STEP_MICRO; in ExecuteVersionAnalysis() 406 step = VersionParseStep::STEP_NANO; in ExecuteVersionAnalysis() [all …]
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
H A D | pake_v1_client_protocol_task.c | 224 uint32_t step = ProtocolMessageIn(in); in Process() local 225 if (step == INVALID_MESSAGE) { in Process() 227 step = 1; in Process() 231 step = step + 1; /* when receive peer message code, need to do next step */ in Process() 232 switch (step) { in Process() 245 LOGE("Process step:%d failed, res: %x.", step, res); in Process() 248 if (step != STEP_THREE) { in Process() 249 res = ClientProtocolMessageOut(out, params->opCode, step); in Process()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tabs_pattern.cpp | 407 … FocusStep step, const WeakPtr<FocusHub>& currFocusNode, WeakPtr<FocusHub>& nextFocusNode) { in GetScopeFocusAlgorithm() argument 410 nextFocusNode = tabs->GetNextFocusNode(step, currFocusNode); in GetScopeFocusAlgorithm() 415 WeakPtr<FocusHub> TabsPattern::GetNextFocusNode(FocusStep step, const WeakPtr<FocusHub>& currentFoc… in GetNextFocusNode() argument 443 … ((tabBarPosition == BarPosition::START && axis == Axis::HORIZONTAL && step == FocusStep::DOWN) || in GetNextFocusNode() 445 (isRTL_ ? step == FocusStep::LEFT : step == FocusStep::RIGHT)) || in GetNextFocusNode() 446 (tabBarPosition == BarPosition::END && axis == Axis::HORIZONTAL && step == FocusStep::UP) || in GetNextFocusNode() 448 (isRTL_ ? step == FocusStep::RIGHT : step == FocusStep::LEFT)))) { in GetNextFocusNode() 454 (isRTL_ ? step == FocusStep::RIGHT : step == FocusStep::LEFT)) || in GetNextFocusNode() 457 (isRTL_ ? step == FocusStep::LEFT : step == FocusStep::RIGHT))) { in GetNextFocusNode() 460 … if (step == FocusStep::LEFT_END || step == FocusStep::RIGHT_END || step == FocusStep::UP_END || in GetNextFocusNode() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/serializable/ |
H A D | serializable.h | 110 …static bool ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t index, … 113 …static bool ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t index, … 116 static bool WriteVariant(json &node, uint32_t step, const _InTp &input); 119 static bool WriteVariant(json &node, uint32_t step, const _InTp &input); 231 bool Serializable::WriteVariant(json &node, uint32_t step, const _InTp &input) in WriteVariant() argument 237 bool Serializable::ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t i… in ReadVariant() argument 239 if (step == index) { in ReadVariant() 247 return Serializable::ReadVariant<_OutTp, _Rest...>(node, name, step + 1, index, output); in ReadVariant() 251 bool Serializable::WriteVariant(json &node, uint32_t step, const _InTp &input) in WriteVariant() argument 253 if (step == input.index()) { in WriteVariant() [all …]
|