/foundation/window/window_manager/utils/include/ |
H A D | class_var_definition.h | 20 #define DEFINE_VAR(type, memberName) \
22 type memberName##_;
24 #define DEFINE_VAR_WITH_LOCK(type, memberName) \
27 type memberName##_;
29 #define DEFINE_VAR_DEFAULT(type, memberName, defaultValue) \
31 type memberName##_ {defaultValue};
33 #define DEFINE_FUNC_GET(type, funcName, memberName) \
35 type Get##funcName() const \
40 #define DEFINE_FUNC_GET_WITH_LOCK(type, funcName, memberName) \
42 type Ge [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | interface_macros.h | 25 #define META_READONLY_PROPERTY_TYPED_IMPL(type, name) \ 26 META_NS::ConstProperty<type> name() const noexcept \ 28 return META_NS::ConstProperty<type> { this->Property##name() }; \ 31 #define META_PROPERTY_TYPED_IMPL(type, name) \ 32 META_NS::Property<type> name() noexcept \ 34 return META_NS::Property<type> { this->Property##name() }; \ 37 #define META_EVENT_TYPED_IMPL(type, name) \ 38 ::META_NS::Event<type> name() const \ 44 * @brief Define read-only property with given type and name. 47 #define META_READONLY_PROPERTY(type, nam [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/common/trans_pending_pkt_test/ |
H A D | trans_pending_pkt_test.cpp | 46 * @tc.type: FUNC 51 int32_t type = -88; in HWTEST_F() local 52 int32_t ret = PendingInit(type); in HWTEST_F() 55 type = 999; in HWTEST_F() 56 ret = PendingInit(type); in HWTEST_F() 59 type = PENDING_TYPE_DIRECT; in HWTEST_F() 60 ret = PendingInit(type); in HWTEST_F() 67 * @tc.type: FUNC 72 int32_t type = -21; in HWTEST_F() local 73 PendingDeinit(type); in HWTEST_F() 113 int32_t type = PENDING_TYPE_BUTT + 1; HWTEST_F() local 135 int32_t type = PENDING_TYPE_BUTT + 1; HWTEST_F() local 157 int32_t type = PENDING_TYPE_BUTT + 1; HWTEST_F() local 180 int32_t type = 1; HWTEST_F() local 223 int32_t type = 1; HWTEST_F() local 243 int32_t type = 1; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | path_test.h | 27 PathTransformWithPerspectiveClip(int type, bool bClip) : TestBase(type), applyPerspectiveClip(bClip) in PathTransformWithPerspectiveClip() argument 40 PathSetFillType(int type, OH_Drawing_PathFillType fillType) : TestBase(type), fType(fillType) in PathSetFillType() argument 53 PathGetLength(int type, bool bForceClosed) : TestBase(type), bClosed(bForceClosed) in PathGetLength() argument 66 explicit PathClose(int type) : TestBase(type) in PathClose() argument 78 explicit PathOffset(int type) : TestBase(type) in PathOffset() argument 90 PathReset(int type) PathReset() argument 102 PathCubicTo(int type) PathCubicTo() argument 114 PathRMoveTo(int type) PathRMoveTo() argument 126 PathRLineTo(int type) PathRLineTo() argument 138 PathRQuadTo(int type) PathRQuadTo() argument 150 PathRConicTo(int type) PathRConicTo() argument 162 PathRCubicTo(int type) PathRCubicTo() argument 174 PathAddRect(int type) PathAddRect() argument 186 PathAddRectWithInitialCorner(int type) PathAddRectWithInitialCorner() argument 198 PathAddRoundRect(int type) PathAddRoundRect() argument 210 PathAddPath(int type) PathAddPath() argument 222 PathAddPathWithMode(int type, OH_Drawing_PathAddMode mode) PathAddPathWithMode() argument 235 PathAddPathWithOffsetAndMode(int type, OH_Drawing_PathAddMode mode) PathAddPathWithOffsetAndMode() argument 248 PathEffectCreateDashPathEffect(int type) PathEffectCreateDashPathEffect() argument 259 PathCreate(int type) PathCreate() argument 270 PathLineTo(int type) PathLineTo() argument 281 PathArcTo(int type) PathArcTo() argument 292 PathQuadTo(int type) PathQuadTo() argument 303 PathCopy(int type) PathCopy() argument 314 PathConicTo(int type) PathConicTo() argument 325 PathAddPathWithMatrixAndMode(int type) PathAddPathWithMatrixAndMode() argument 335 PathAddOvalWithInitialPoint(int type) PathAddOvalWithInitialPoint() argument 349 PathAddArc(int type) PathAddArc() argument 362 PathTransform(int type) PathTransform() argument 371 PathAddOval(int type) PathAddOval() argument 380 PathContains(int type) PathContains() argument [all...] |
H A D | canvas_test.h | 27 explicit CanvasDrawRect(int type) : TestBase(type) {}; in CanvasDrawRect() argument 38 explicit CanvasDrawImageRect(int type) : TestBase(type) {}; in CanvasDrawImageRect() argument 52 explicit CanvasRotate(int type) : TestBase(type) {}; in CanvasRotate() argument 64 explicit CanvasTranslate(int type) : TestBase(type) {}; in CanvasTranslate() argument 76 explicit CanvasScale(int type) : TestBase(type) {}; in CanvasScale() argument 87 CanvasConcatMatrix(int type) CanvasConcatMatrix() argument 99 CanvasClear(int type) CanvasClear() argument 111 CanvasSetMatrix(int type) CanvasSetMatrix() argument 122 CanvasResetMatrix(int type) CanvasResetMatrix() argument 133 CanvasDrawImageRectWithSrc(int type) CanvasDrawImageRectWithSrc() argument 145 CanvasReadPixels(int type) CanvasReadPixels() argument 156 CanvasReadPixelsToBitmap(int type) CanvasReadPixelsToBitmap() argument 167 CanvasDrawShadow(int type) CanvasDrawShadow() argument 178 CanvasSkew(int type) CanvasSkew() argument 189 CanvasDrawVertices(int type) CanvasDrawVertices() argument 200 CanvasDrawPath(int type) CanvasDrawPath() argument 209 CanvasRestoreToCount(int type) CanvasRestoreToCount() argument 219 CanvasDrawPoints(int type) CanvasDrawPoints() argument 229 CanvasDrawLine(int type) CanvasDrawLine() argument 238 CanvasDrawLayer(int type) CanvasDrawLayer() argument 247 CanvasDrawBitmap(int type) CanvasDrawBitmap() argument 256 CanvasDrawBackground(int type) CanvasDrawBackground() argument 265 CanvasDrawRegion(int type) CanvasDrawRegion() argument 274 CanvasDrawPixelMapRect(int type) CanvasDrawPixelMapRect() argument 283 CanvasSave(int type) CanvasSave() argument 292 CanvasDrawBitmapRect(int type) CanvasDrawBitmapRect() argument 304 CanvasDrawCircle(int type) CanvasDrawCircle() argument 316 CanvasDrawOval(int type) CanvasDrawOval() argument 328 CanvasDrawArc(int type) CanvasDrawArc() argument 340 CanvasDrawRoundRect(int type) CanvasDrawRoundRect() argument 352 CanvasDrawTextBlob(int type) CanvasDrawTextBlob() argument 364 CanvasClipRect(int type) CanvasClipRect() argument 376 CanvasClipRoundRect(int type) CanvasClipRoundRect() argument 388 CanvasClipPath(int type) CanvasClipPath() argument 400 CanvasGetTotalMatrix(int type) CanvasGetTotalMatrix() argument 412 CanvasRestore(int type) CanvasRestore() argument 424 CanvasGetLocalClipBounds(int type) CanvasGetLocalClipBounds() argument 436 CanvasGetSaveCount(int type) CanvasGetSaveCount() argument 448 CanvasGetWidth(int type) CanvasGetWidth() argument 460 CanvasGetHeight(int type) CanvasGetHeight() argument [all...] |
H A D | matrix_test.h | 27 explicit MatrixReset(int type) : TestBase(type) in MatrixReset() argument 39 explicit MatrixConcat(int type) : TestBase(type) in MatrixConcat() argument 51 explicit MatrixInvert(int type) : TestBase(type) in MatrixInvert() argument 63 explicit MatrixSetPolyToPoly(int type) : TestBase(type) in MatrixSetPolyToPoly() argument 75 explicit MatrixPreRotate(int type) : TestBase(type) in MatrixPreRotate() argument 87 MatrixPostScale(int type) MatrixPostScale() argument 99 MatrixPostTranslate(int type) MatrixPostTranslate() argument 111 MatrixIsEqual(int type) MatrixIsEqual() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | json.h | 51 enum class type : char {
class 66 // parses 'data' and return JSON structure. the value::type will be 'uninitialized' if parsing failed.
79 type type{ type::uninitialized };
88 value() : type{ type::uninitialized } {}
in value() 89 value(object&& value) : type{ type::object }, object_(std::move(value)) {}
in move() 90 value(array&& value) : type{ typ in move() [all...] |
/foundation/bundlemanager/app_domain_verify/frameworks/common/include/ |
H A D | app_domain_verify_parcel_util.h | 22 #define WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(type, parcel, data) \ 24 if (!(parcel).Write##type(data)) { \ 25 APP_DOMAIN_VERIFY_HILOGE(APP_DOMAIN_VERIFY_MODULE_COMMON, "fail to write %{public}s type", #type); \ 30 #define WRITE_PARCEL_AND_RETURN_IF_FAIL(type, parcel, data) \ 32 if (!(parcel).Write##type(data)) { \ 33 APP_DOMAIN_VERIFY_HILOGE(APP_DOMAIN_VERIFY_MODULE_COMMON, "fail to write %{public}s type", #type); \ 38 #define WRITE_PARCEL_AND_RETURN_INT_IF_FAIL(type, parcel, data) \ 40 if (!(parcel).Write##type(dat [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_property.cpp | 164 #define UPDATE_TO_RENDER(Command, value, type) \ 169 std::unique_ptr<RSCommand> command = std::make_unique<Command>(node->GetId(), value, id_, type); \ 173 std::make_unique<Command>(node->GetId(), value, id_, type); \ 180 void RSProperty<bool>::UpdateToRender(const bool& value, PropertyUpdateType type) const in UpdateToRender() 182 UPDATE_TO_RENDER(RSUpdatePropertyBool, value, type); in UpdateToRender() 185 void RSProperty<float>::UpdateToRender(const float& value, PropertyUpdateType type) const in UpdateToRender() 187 UPDATE_TO_RENDER(RSUpdatePropertyFloat, value, type); in UpdateToRender() 190 void RSProperty<int>::UpdateToRender(const int& value, PropertyUpdateType type) const in UpdateToRender() 192 UPDATE_TO_RENDER(RSUpdatePropertyInt, value, type); in UpdateToRender() 195 void RSProperty<Color>::UpdateToRender(const Color& value, PropertyUpdateType type) cons [all...] |
/foundation/multimodalinput/input/service/delegate_task/src/ |
H A D | delegate_interface.cpp | 56 InputHandlerType type, std::shared_ptr<PointerEvent> event) const
in OnInputEvent() 59 OnInputEventHandler(type, event);
in OnInputEvent() 65 InputHandlerType type, std::shared_ptr<PointerEvent> event) const
in OnInputEventHandler() 70 if (handler.first != type) {
in OnInputEventHandler() 74 if (type == InputHandlerType::MONITOR &&
in OnInputEventHandler() 81 if (type == InputHandlerType::INTERCEPTOR &&
in OnInputEventHandler() 98 int32_t DelegateInterface::AddHandler(InputHandlerType type, const HandlerSummary &summary)
in AddHandler() argument 106 const HandleEventType currentType = GetEventType(type);
in AddHandler() 107 uint32_t currentTags = GetDeviceTags(type);
in AddHandler() 108 handlers.emplace(type, summar in AddHandler() 55 OnInputEvent( InputHandlerType type, std::shared_ptr<PointerEvent> event) const OnInputEvent() argument 64 OnInputEventHandler( InputHandlerType type, std::shared_ptr<PointerEvent> event) const OnInputEventHandler() argument 169 RemoveLocal(InputHandlerType type, const std::string &name, uint32_t &deviceTags) RemoveLocal() argument 196 RemoveHandler(InputHandlerType type, const std::string &name) RemoveHandler() argument [all...] |
/foundation/arkui/ace_engine/frameworks/base/thread/ |
H A D | task_executor.h | 69 * @param type FrontendType of task, used to specify the thread. 74 Task&& task, TaskType type, const std::string& name, PriorityType priorityType = PriorityType::LOW) const in PostTask() 76 return PostDelayedTask(std::move(task), type, 0, name, priorityType); in PostTask() 83 * @param type FrontendType of task, used to specify the thread. 87 bool PostTask(const Task& task, TaskType type, const std::string& name, in PostTask() argument 90 return PostDelayedTask(task, type, 0, name, priorityType); in PostTask() 97 * @param type FrontendType of task, used to specify the thread. 102 bool PostTaskWithTraceId(Task&& task, TaskType type, int32_t id, const std::string& name) const in PostTaskWithTraceId() argument 105 return PostDelayedTask(std::move(wrappedTask), type, 0, name); in PostTaskWithTraceId() 112 * @param type FrontendTyp 73 PostTask( Task&& task, TaskType type, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostTask() argument 117 PostTaskWithTraceId(const Task& task, TaskType type, int32_t id, const std::string& name) const PostTaskWithTraceId() argument 133 PostDelayedTask(Task&& task, TaskType type, uint32_t delayTime, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostDelayedTask() argument 152 PostDelayedTask(const Task& task, TaskType type, uint32_t delayTime, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostDelayedTask() argument 167 PostSyncTask( Task&& task, TaskType type, const std::string& name, PriorityType priorityType = PriorityType::IMMEDIATE) const PostSyncTask() argument 189 PostSyncTaskTimeout(const Task& task, TaskType type, uint32_t timeoutMs, const std::string& name) const PostSyncTaskTimeout() argument 210 PostSyncTask(const Task& task, TaskType type, const std::string& name) const PostSyncTask() argument 224 PostSyncTask(CancelableTask&& task, TaskType type, const std::string& name) const PostSyncTask() argument 245 PostSyncTask(const CancelableTask& task, TaskType type, const std::string& name) const PostSyncTask() argument 262 PostDelayedTaskWithoutTraceId(Task&& task, TaskType type, uint32_t delayTime, const std::string& name, PriorityType priorityType = PriorityType::LOW) const PostDelayedTaskWithoutTraceId() argument 276 GetTid(TaskType type) GetTid() argument 281 GetTotalTaskNum(TaskType type) GetTotalTaskNum() argument 304 PostTaskAndWait(CancelableTask&& task, TaskType type, const std::string& name, std::chrono::milliseconds timeoutMs = 0ms, PriorityType priorityType = PriorityType::IMMEDIATE) const PostTaskAndWait() argument 334 SingleTaskExecutor(RefPtr<TaskExecutor>&& taskExecutor, TaskType type) SingleTaskExecutor() argument 337 SingleTaskExecutor(const RefPtr<TaskExecutor>& taskExecutor, TaskType type) SingleTaskExecutor() argument 342 Make(RefPtr<TaskExecutor>&& taskExecutor, TaskType type) Make() argument 347 Make(const RefPtr<TaskExecutor>& taskExecutor, TaskType type) Make() argument [all...] |
/foundation/multimodalinput/input/intention/dfx/src/ |
H A D | cooperate_hisysevent.cpp | 61 FI_HILOGE("serialStr_ can't find the cooperate hisysevent type"); in WriteInputFunc() 78 int32_t CooperateDFX::WriteEnable(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteEnable() argument 80 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteEnable() 81 return WriteInputFunc(CooperateType::ENABLE_SUCC, type); in WriteEnable() 83 return WriteInputFunc(CooperateType::ENABLE_FAIL, type); in WriteEnable() 86 int32_t CooperateDFX::WriteDisable(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteDisable() argument 88 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteDisable() 89 return WriteInputFunc(CooperateType::DISABLE_SUCC, type); in WriteDisable() 91 return WriteInputFunc(CooperateType::DISABLE_FAIL, type); in WriteDisable() 94 int32_t CooperateDFX::WriteLocalStart(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteLocalStart() argument 102 WriteRemoteStart(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteRemoteStart() argument 110 WriteLocalStop(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteLocalStop() argument 118 WriteRemoteStop(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteRemoteStop() argument 126 WriteOpenSession(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteOpenSession() argument 134 WriteStart(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteStart() argument 142 WriteStop(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteStop() argument 159 auto type = OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR; WriteCooperateState() local [all...] |
/foundation/communication/dsoftbus/core/transmission/common/src/ |
H A D | trans_pending_pkt.c | 45 static int32_t IsPendingListTypeLegal(int type) in IsPendingListTypeLegal() argument 47 if (type < PENDING_TYPE_PROXY || type >= PENDING_TYPE_BUTT) { in IsPendingListTypeLegal() 53 int32_t PendingInit(int32_t type) in PendingInit() argument 55 int32_t ret = IsPendingListTypeLegal(type); in PendingInit() 57 TRANS_LOGE(TRANS_SVC, "type illegal. type=%{public}d ", type); in PendingInit() 61 g_pendingList[type] = CreateSoftBusList(); in PendingInit() 62 if (g_pendingList[type] in PendingInit() 69 PendingDeinit(int32_t type) PendingDeinit() argument 116 FormalizeTimeFormat(SoftBusSysTime *outTime, int32_t type) FormalizeTimeFormat() argument 131 AddPendingPacket(int32_t channelId, int32_t seqNum, int32_t type) AddPendingPacket() argument 163 GetPendingPacket(int32_t channelId, int32_t seqNum, int32_t type) GetPendingPacket() argument 192 DelPendingPacketbyChannelId(int32_t channelId, int32_t seqNum, int32_t type) DelPendingPacketbyChannelId() argument 225 ProcPendingPacket(int32_t channelId, int32_t seqNum, int32_t type) ProcPendingPacket() argument 257 SetPendingPacket(int32_t channelId, int32_t seqNum, int32_t type) SetPendingPacket() argument 287 DelPendingPacket(int32_t channelId, int32_t type) DelPendingPacket() argument [all...] |
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | interface_manager.cpp | 26 int InterfaceManager::UpdateInterface(InterfaceInfo::InterfaceType type, const Updater &updater) in UpdateInterface() argument 29 return updater(interfaces_[static_cast<int>(type)]); in UpdateInterface() 32 int InterfaceManager::ReadInterface(InterfaceInfo::InterfaceType type, const Reader &reader) in ReadInterface() argument 35 return reader(interfaces_[static_cast<int>(type)]); in ReadInterface() 38 bool InterfaceManager::IsInterfaceAvailable(InterfaceInfo::InterfaceType type, bool forShare) const in IsInterfaceAvailable() argument 41 auto info = interfaces_[static_cast<int>(type)]; in IsInterfaceAvailable() 43 CONN_LOGW(CONN_WIFI_DIRECT, "isEnable=0, interface type=%{public}d", static_cast<int>(type)); in IsInterfaceAvailable() 56 void InterfaceManager::LockInterface(InterfaceInfo::InterfaceType type, const std::string &owner) in LockInterface() argument 60 WifiDirectAnonymizeDeviceId(exclusives_[static_cast<int>(type)] in LockInterface() 67 UnlockInterface(InterfaceInfo::InterfaceType type) UnlockInterface() argument 76 InitInterface(InterfaceInfo::InterfaceType type) InitInterface() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/ |
H A D | json.h | 38 enum class type : uint8_t { class 69 /** Parses 'data' and returns JSON structure. the value::type will be 'uninitialized' if parsing failed. 111 type type { type::uninitialized }; 122 value_t() noexcept : type { type::uninitialized } {} 124 value_t(object&& value) noexcept : type { type::object }, object_(BASE_NS::move(value)) {} in move() 126 value_t(array&& value) noexcept : type { typ [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_event.h | 24 * @param type enum event_type
28 static __always_inline void output_to_user(enum event_type type, void *data, __u32 len)
in output_to_user() argument 36 e->type = type;
in output_to_user() 39 switch (type) {
in output_to_user() 109 static __always_inline void log_dbg_any(enum debug_type type, __u32 arg1)
in log_dbg_any() argument 112 .type = type,
in log_dbg_any() 119 static __always_inline void log_dbg(enum debug_type type, enum stream_dir dir, __u32 arg1)
in log_dbg() argument 122 .type in log_dbg() 130 log_dbg2(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2) log_dbg2() argument 142 log_dbg3(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2, __u32 arg3) log_dbg3() argument 155 log_dbg4(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2, __u32 arg3, __u32 arg4) log_dbg4() argument 170 log_dbg5(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2, __u32 arg3, __u32 arg4, __u32 arg5) log_dbg5() argument [all...] |
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_key.c | 38 uint32_t type; member 67 AUTH_LOGI(AUTH_FSM, "session key num reach max, remove the oldest, index=%{public}d, type=%{public}u", in RemoveOldKey() 68 oldKey->index, oldKey->type); in RemoveOldKey() 79 static bool SessionKeyHasAuthLinkType(uint32_t authType, AuthLinkType type) in SessionKeyHasAuthLinkType() argument 81 return (authType & (1 << (uint32_t)type)) != 0; in SessionKeyHasAuthLinkType() 84 static void SetAuthLinkType(uint32_t *authType, AuthLinkType type) in SetAuthLinkType() argument 86 *authType = (*authType) | (1 << (uint32_t)type); in SetAuthLinkType() 89 static void ClearAuthLinkType(uint32_t *authType, AuthLinkType type) in ClearAuthLinkType() argument 91 *authType = (*authType) & (~(1 << (uint32_t)type)); in ClearAuthLinkType() 94 static void UpdateLatestUseTime(SessionKeyItem *item, AuthLinkType type) in UpdateLatestUseTime() argument 109 CheckSessionKeyListExistType(const SessionKeyList *list, AuthLinkType type) CheckSessionKeyListExistType() argument 121 CheckSessionKeyListHasOldKey(const SessionKeyList *list, AuthLinkType type) CheckSessionKeyListHasOldKey() argument 133 ClearOldKey(const SessionKeyList *list, AuthLinkType type) ClearOldKey() argument 185 uint32_t type = 0; GetSessionKeyTypeByIndex() local 204 GetLatestAvailableSessionKeyTime(const SessionKeyList *list, AuthLinkType type) GetLatestAvailableSessionKeyTime() argument 250 AddSessionKey(SessionKeyList *list, int32_t index, const SessionKey *key, AuthLinkType type, bool isOldKey) AddSessionKey() argument 280 GetLatestSessionKey(const SessionKeyList *list, AuthLinkType type, int32_t *index, SessionKey *key) GetLatestSessionKey() argument 322 SetSessionKeyAuthLinkType(const SessionKeyList *list, int32_t index, AuthLinkType type) SetSessionKeyAuthLinkType() argument 345 GetSessionKeyByIndex(const SessionKeyList *list, int32_t index, AuthLinkType type, SessionKey *key) GetSessionKeyByIndex() argument 371 RemoveSessionkeyByIndex(SessionKeyList *list, int32_t index, AuthLinkType type) RemoveSessionkeyByIndex() argument 397 ClearSessionkeyByAuthLinkType(int64_t authId, SessionKeyList *list, AuthLinkType type) ClearSessionkeyByAuthLinkType() argument 418 EncryptData(const SessionKeyList *list, AuthLinkType type, const InDataInfo *inDataInfo, uint8_t *outData, uint32_t *outLen) EncryptData() argument 452 DecryptData(const SessionKeyList *list, AuthLinkType type, const InDataInfo *inDataInfo, uint8_t *outData, uint32_t *outLen) DecryptData() argument 484 EncryptInner(const SessionKeyList *list, AuthLinkType type, const InDataInfo *inDataInfo, uint8_t **outData, uint32_t *outLen) EncryptInner() argument 508 DecryptInner(const SessionKeyList *list, AuthLinkType type, const InDataInfo *inDataInfo, uint8_t **outData, uint32_t *outLen) DecryptInner() argument [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_event_report_test/ |
H A D | fms_form_event_report_test.cpp | 51 * @tc.type: FUNC 58 HiSysEventType type = HiSysEventType::BEHAVIOR; in HWTEST_F() local 60 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F() 66 * @tc.type: FUNC 73 HiSysEventType type = HiSysEventType::BEHAVIOR; in HWTEST_F() local 75 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F() 81 * @tc.type: FUNC 88 HiSysEventType type = HiSysEventType::BEHAVIOR; in HWTEST_F() local 90 FormEventReport::SendFormEvent(eventName, type, eventInfo); in HWTEST_F() 96 * @tc.type 103 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 118 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 133 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 148 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 163 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 178 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 193 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 208 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 223 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 238 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 253 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 268 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 283 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local 297 HiSysEventType type = HiSysEventType::BEHAVIOR; HWTEST_F() local [all...] |
/foundation/window/window_manager/window_scene/common/include/ |
H A D | session_helper.h | 82 static inline bool IsBelowSystemWindow(WindowType type) in IsBelowSystemWindow() argument 84 return (type >= WindowType::BELOW_APP_SYSTEM_WINDOW_BASE && type < WindowType::BELOW_APP_SYSTEM_WINDOW_END); in IsBelowSystemWindow() 87 static inline bool IsAboveSystemWindow(WindowType type) in IsAboveSystemWindow() argument 89 return (type >= WindowType::ABOVE_APP_SYSTEM_WINDOW_BASE && type < WindowType::ABOVE_APP_SYSTEM_WINDOW_END); in IsAboveSystemWindow() 92 static inline bool IsSystemSubWindow(WindowType type) in IsSystemSubWindow() argument 94 return (type >= WindowType::SYSTEM_SUB_WINDOW_BASE && type < WindowType::SYSTEM_SUB_WINDOW_END); in IsSystemSubWindow() 97 static inline bool IsSystemWindow(WindowType type) in IsSystemWindow() argument 102 IsMainWindow(WindowType type) IsMainWindow() argument 107 IsSubWindow(WindowType type) IsSubWindow() argument 112 IsNonSecureToUIExtension(WindowType type) IsNonSecureToUIExtension() argument 137 AreaType type; GetAreaType() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/ |
H A D | set_object_prop_value_data.cpp | 54 MEDIA_ERR_LOG("SetObjectPropValueData::parser unsupported type"); in Parser() 108 bool SetObjectPropValueData::ReadIntValue(const std::vector<uint8_t> &buffer, size_t &offset, int type, in ReadIntValue() argument 111 if ((type == MTP_TYPE_INT8_CODE) || (type == MTP_TYPE_UINT8_CODE)) { in ReadIntValue() 112 if (!ReadInt8Value(buffer, offset, type, int64Value)) { in ReadIntValue() 117 if ((type == MTP_TYPE_INT16_CODE) || (type == MTP_TYPE_UINT16_CODE)) { in ReadIntValue() 118 if (!ReadInt16Value(buffer, offset, type, int64Value)) { in ReadIntValue() 123 if ((type == MTP_TYPE_INT32_CODE) || (type in ReadIntValue() 140 ReadInt8Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt8Value() argument 163 ReadInt16Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt16Value() argument 186 ReadInt32Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt32Value() argument 209 ReadInt64Value(const std::vector<uint8_t> &buffer, size_t &offset, int type, int64_t& int64Value) ReadInt64Value() argument [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_manager_agent_controller_test.cpp | 56 * @tc.type: FUNC 61 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS; in HWTEST_F() local 64 windowManagerAgent, type, pid)); in HWTEST_F() 66 windowManagerAgent, type, pid)); in HWTEST_F() 72 * @tc.type: FUNC 77 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS; in HWTEST_F() local 80 windowManagerAgent, type, pid)); in HWTEST_F() 83 windowManagerAgent, type, pid)); in HWTEST_F() 89 * @tc.type: FUNC 94 WindowManagerAgentType type in HWTEST_F() local 112 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_WINDOW_MODE; HWTEST_F() local 129 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS; HWTEST_F() local 148 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS; HWTEST_F() local 165 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS; HWTEST_F() local 186 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_VISIBLE_WINDOW_NUM; HWTEST_F() local 202 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS; HWTEST_F() local 215 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_CAMERA_WINDOW; HWTEST_F() local 233 WindowManagerAgentType type = WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_WINDOW_STYLE; HWTEST_F() local [all...] |
/foundation/multimodalinput/input/service/delegate_task/test/ |
H A D | delegate_interface_test.cpp | 40 * @tc.type: FUNC
50 InputHandlerType type = InputHandlerType::MONITOR;
in HWTEST_F() local 51 uint32_t ret = delegateInterface.GetDeviceTags(type);
in HWTEST_F() 54 type = InputHandlerType::NONE;
in HWTEST_F() 56 uint32_t ret2 = delegateInterface.GetDeviceTags(type);
in HWTEST_F() 63 * @tc.type: FUNC
73 InputHandlerType type = InputHandlerType::INTERCEPTOR;
in HWTEST_F() local 79 uint32_t ret1 = delegateInterface.GetDeviceTags(type);
in HWTEST_F() 82 type = InputHandlerType::NONE;
in HWTEST_F() 83 uint32_t ret2 = delegateInterface.GetDeviceTags(type);
in HWTEST_F() 100 InputHandlerType type = InputHandlerType::NONE; HWTEST_F() local 131 InputHandlerType type = InputHandlerType::INTERCEPTOR; HWTEST_F() local 158 InputHandlerType type = InputHandlerType::MONITOR; HWTEST_F() local 177 InputHandlerType type = InputHandlerType::MONITOR; HWTEST_F() local 222 InputHandlerType type = InputHandlerType::NONE; HWTEST_F() local 259 InputHandlerType type = InputHandlerType::MONITOR; HWTEST_F() local 288 InputHandlerType type = InputHandlerType::MONITOR; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_model_ng.cpp | 22 void XComponentModelNG::Create(const std::optional<std::string>& id, XComponentType type, in Create() argument 30 V2::XCOMPONENT_ETS_TAG, nodeId, [id, type, libraryname, xcomponentController]() { in Create() 31 return AceType::MakeRefPtr<XComponentPattern>(id, type, libraryname, xcomponentController); in Create() 34 ACE_UPDATE_LAYOUT_PROPERTY(XComponentLayoutProperty, XComponentType, type); in Create() 38 XComponentType type, const std::string& libraryname, in Create() 45 V2::XCOMPONENT_ETS_TAG, nodeId, [id, type, libraryname, xcomponentController, calcWidth, calcHeight]() { in Create() 46 return AceType::MakeRefPtr<XComponentPattern>(id, type, libraryname, xcomponentController, in Create() 53 layoutProperty->UpdateXComponentType(type); in Create() 63 auto type = GetTypeImpl(node); in InitXComponent() local 64 if (type in InitXComponent() 37 Create(int32_t nodeId, float width, float height, const std::string& id, XComponentType type, const std::string& libraryname, const std::shared_ptr<InnerXComponentController>& xcomponentController) Create() argument 76 auto type = GetTypeImpl(frameNode); GetLibraryName() local 103 auto type = GetTypeImpl(frameNode); SetSoPath() local 116 auto type = GetTypeImpl(frameNode); SetOnLoad() local 129 auto type = GetTypeImpl(node); SetOnLoad() local 150 auto type = GetTypeImpl(frameNode); SetOnDestroy() local 163 auto type = GetTypeImpl(node); SetOnDestroy() local 209 auto type = GetTypeImpl(frameNode); SetDetachCallback() local 222 auto type = GetTypeImpl(frameNode); SetControllerOnCreated() local 235 auto type = GetTypeImpl(frameNode); SetControllerOnChanged() local 248 auto type = GetTypeImpl(frameNode); SetControllerOnDestroyed() local 261 auto type = GetTypeImpl(frameNode); SetRenderFit() local 293 CreateFrameNode(int32_t nodeId, const std::string& id, XComponentType type, const std::optional<std::string>& libraryname) CreateFrameNode() argument 309 auto type = params->type; CreateTypeNode() local 332 SetXComponentType(FrameNode* frameNode, XComponentType type) SetXComponentType() argument 381 auto type = GetTypeImpl(frameNode); EnableAnalyzer() local 394 auto type = GetTypeImpl(node); EnableAnalyzer() local 407 auto type = GetTypeImpl(frameNode); SetImageAIOptions() local 428 auto type = GetTypeImpl(node); SetControllerOnCreated() local 441 auto type = GetTypeImpl(node); SetControllerOnChanged() local 454 auto type = GetTypeImpl(node); SetControllerOnDestroyed() local 467 auto type = GetTypeImpl(node); SetDetachCallback() local 480 auto type = GetTypeImpl(node); SetImageAIOptions() local [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/defaultappmgr_fuzzer/ |
H A D | defaultappmgr_fuzzer.cpp | 31 std::string type(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 35 reinterpret_cast<uintptr_t>(data), type, bundleInfo); in DoSomethingInterestingWithMyAPI() 41 reinterpret_cast<uintptr_t>(data), type, element); in DoSomethingInterestingWithMyAPI() 42 errorCode = DefaultAppMgr::GetInstance().ResetDefaultApplication(reinterpret_cast<uintptr_t>(data), type); in DoSomethingInterestingWithMyAPI() 43 errorCode = DefaultAppMgr::GetInstance().IsDefaultApplication(reinterpret_cast<uintptr_t>(data), type, ret); in DoSomethingInterestingWithMyAPI() 46 DefaultAppMgr::GetInstance().HandleUninstallBundle(reinterpret_cast<uintptr_t>(data), type); in DoSomethingInterestingWithMyAPI() local 47 auto normalizedTypeVector = DefaultAppMgr::GetInstance().Normalize(type); in DoSomethingInterestingWithMyAPI() 49 reinterpret_cast<uintptr_t>(data), type, bundleInfo); in DoSomethingInterestingWithMyAPI() 56 auto isAppType = DefaultAppMgr::GetInstance().IsAppType(type); in DoSomethingInterestingWithMyAPI() 57 ret = DefaultAppMgr::GetInstance().GetBundleInfo(reinterpret_cast<uintptr_t>(data), type, elemen in DoSomethingInterestingWithMyAPI() [all...] |
/foundation/multimedia/ringtone_library/test/unittest/ringtone_setting_test/src/ |
H A D | ringtone_metadata_test.cpp | 46 auto type = g_ringtoneMetadata->GetToneType(); in HWTEST_F() local 47 EXPECT_EQ(toneType, type); in HWTEST_F() 54 auto type = g_ringtoneMetadata->GetSourceType(); in HWTEST_F() local 55 EXPECT_EQ(sourceType, type); in HWTEST_F() 62 auto type = g_ringtoneMetadata->GetShotToneType(); in HWTEST_F() local 63 EXPECT_EQ(shotToneType, type); in HWTEST_F() 70 auto type = g_ringtoneMetadata->GetShotToneSourceType(); in HWTEST_F() local 71 EXPECT_EQ(setShotToneSourceType, type); in HWTEST_F() 78 auto type = g_ringtoneMetadata->GetNotificationToneType(); in HWTEST_F() local 79 EXPECT_EQ(setNotificationToneType, type); in HWTEST_F() 86 auto type = g_ringtoneMetadata->GetNotificationToneSourceType(); HWTEST_F() local 94 auto type = g_ringtoneMetadata->GetRingToneType(); HWTEST_F() local 102 auto type = g_ringtoneMetadata->GetRingToneSourceType(); HWTEST_F() local 110 auto type = g_ringtoneMetadata->GetAlarmToneType(); HWTEST_F() local 118 auto type = g_ringtoneMetadata->GetAlarmToneSourceType(); HWTEST_F() local [all...] |