Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 2129) sorted by relevance

12345678910>>...86

/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_value.h86 case Type::NONE: in NWebValue()
103 case Type::LIST: in NWebValue()
135 case Type::NONE:
152 case Type::LIST:
169 case Type::NONE:
186 case Type::LIST:
204 case Type::NONE:
214 case Type::LIST:
436 Type GetType() in GetType()
441 void SetType(Type type) in SetType()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_javascript_value.h71 case Type::NONE: in WebJavaScriptValue()
88 case Type::LIST: in WebJavaScriptValue()
118 case Type::NONE:
135 case Type::LIST:
151 case Type::NONE:
168 case Type::LIST:
185 case Type::NONE:
195 case Type::LIST:
391 Type GetType() in GetType()
396 void SetType(Type type) in SetType()
[all …]
H A Dweb_javascript_result_callback.cpp35 case NWebValue::Type::INTEGER: in GetWebJSValueHelper()
37 case NWebValue::Type::DOUBLE: in GetWebJSValueHelper()
39 case NWebValue::Type::BOOLEAN: in GetWebJSValueHelper()
41 case NWebValue::Type::STRING: in GetWebJSValueHelper()
43 case NWebValue::Type::LIST: { in GetWebJSValueHelper()
61 case NWebValue::Type::BINARY: { in GetWebJSValueHelper()
66 case NWebValue::Type::NONE: in GetWebJSValueHelper()
95 case WebJSValue::Type::DOUBLE: in GetBasicTypeWebViewValue()
103 case WebJSValue::Type::STRING: in GetBasicTypeWebViewValue()
125 case WebJSValue::Type::LIST: { in GetWebViewValue()
[all …]
/ohos5.0/base/msdp/device_status/test/unittest/libs/src/
H A Ddevice_status_algorithm_test.cpp149 ret = g_manager->Disable(Type::TYPE_ABSOLUTE_STILL);
181 int32_t ret = g_manager->Enable(Type::TYPE_INVALID);
185 ret = g_manager->Disable(Type::TYPE_INVALID);
220 int32_t ret = g_manager->Enable(Type::TYPE_LID_OPEN);
239 ret = g_manager->Disable(Type::TYPE_ABSOLUTE_STILL);
396 g_manager->GetSensorTypeId(Type::TYPE_INVALID);
514 g_manager->GetSensorTypeId(Type::TYPE_MAX);
527 int32_t ret = g_manager->Enable(Type::TYPE_MAX);
552 int32_t ret = g_manager->Enable(Type::TYPE_MAX);
554 g_manager->callAlgoNums_[Type::TYPE_MAX] = 1;
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_content.cpp53 contentType_ = NotificationContent::Type::PICTURE; in NotificationContent()
86 contentType_ = NotificationContent::Type::MEDIA; in NotificationContent()
242 case NotificationContent::Type::LONG_TEXT: in ReadFromParcel()
246 case NotificationContent::Type::MEDIA: in ReadFromParcel()
250 case NotificationContent::Type::MULTILINE: in ReadFromParcel()
254 case NotificationContent::Type::PICTURE: in ReadFromParcel()
263 case NotificationContent::Type::LIVE_VIEW: in ReadFromParcel()
307 case NotificationContent::Type::LONG_TEXT: in ConvertJsonToContent()
310 case NotificationContent::Type::MULTILINE: in ConvertJsonToContent()
313 case NotificationContent::Type::PICTURE: in ConvertJsonToContent()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dinterpolator.cpp43 …if (IsSetCompatibleWith<Type>(output) && IsGetCompatibleWith<Type>(from) && IsGetCompatibleWith<Ty… in Interpolate()
44 Type value0 = GetValue<Type>(from); in Interpolate()
45 Type value1 = GetValue<Type>(to); in Interpolate()
82 Type value0 = GetValue<Type>(from); in Interpolate()
83 Type value1 = GetValue<Type>(to); in Interpolate()
104 Type value0 = GetValue<Type>(from); in Interpolate()
105 Type value1 = GetValue<Type>(to); in Interpolate()
127 Type value0 = GetValue<Type>(from); in Interpolate()
128 Type value1 = GetValue<Type>(to); in Interpolate()
148 Type value0 = GetValue<Type>(from); in Interpolate()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dany.h29 template<typename Type>
48 return AnyPC<Type>::template GetCompatibleTypes<Type>(dir); in GetCompatibleTypes()
98 Type value; in CopyFrom()
123 return MetaType<Type>::name; in GetTypeIdString()
180 template<typename Type, typename Compare = DefaultCompare<Type>>
210 Type value_;
213 template<typename Type>
220 using ItemType = Type;
328 template<typename Type, typename Compare = DefaultCompare<BASE_NS::vector<Type>>>
455 template<class Type, class Compare = DefaultCompare<Type>>
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_status.cpp50 {WorkCondition::Type::NETWORK, "NETWORK"},
51 {WorkCondition::Type::CHARGER, "CHARGER"},
54 {WorkCondition::Type::STORAGE, "STORAGE"},
55 {WorkCondition::Type::TIMER, "TIMER"},
56 {WorkCondition::Type::GROUP, "GROUP"},
57 {WorkCondition::Type::DEEP_IDLE, "DEEP_IDLE"},
58 {WorkCondition::Type::STANDBY, "STANDBY"}
109 && type != WorkCondition::Type::TIMER in OnConditionChanged()
110 && type != WorkCondition::Type::GROUP) { in OnConditionChanged()
288 case WorkCondition::Type::NETWORK: { in IsBatteryAndNetworkReady()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/serialization/
H A Dserializer.h25 template<typename Type>
30 Type& value;
33 template<typename Type>
34 NamedValue(BASE_NS::string_view name, const Type& v) -> NamedValue<const Type>;
68 template<typename Type>
82 template<typename Type>
93 template<typename Type>
104 template<typename Type>
129 template<typename Type>
146 template<typename Type>
[all …]
H A Dcommon_value_serializers.h27 return f.ExportToNode(Any<Type>(static_cast<Type>(v))); in META_BEGIN_NAMESPACE()
34 using Type = BASE_NS::underlying_type_t<Plain>; in EnumImport() local
35 Any<Type> any; in EnumImport()
43 template<typename Type>
47 out = static_cast<Type>(n->GetValue()); in ExtractInteger()
51 out = static_cast<Type>(n->GetValue()); in ExtractInteger()
57 template<typename Type>
64 out = static_cast<Type>(n->GetValue()); in ExtractNumber()
68 out = static_cast<Type>(n->GetValue()); in ExtractNumber()
84 template<typename Type>
[all …]
H A Dvalue_serializer.h30 template<typename Type, typename ExportFunc, typename ImportFunc>
35 return UidFromType<Type>(); in GetTypeId()
39 Type v {}; in Export()
47 Type v {}; in Import()
48 return import_(f, node, v) ? IAny::Ptr(new Any<Type>(v)) : nullptr; in Import()
56 template<typename Type, typename Export, typename Import>
63 template<typename Type, typename Export, typename Import>
69 template<typename Type>
72 data.UnregisterValueSerializer(UidFromType<Type>()); in UnregisterSerializer()
75 template<typename Type>
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/engine/
H A Dinternal_access.h27 template<typename Type, typename AnyType, typename AccessType = Type> in META_BEGIN_NAMESPACE()
36 return MetaType<Type>::coreType == type; in META_BEGIN_NAMESPACE()
54 template<typename Type>
55 class EngineInternalValueAccess : public EngineInternalValueAccessImpl<Type, Any<Type>> {};
56 template<typename Type>
58 : public EngineInternalValueAccessImpl<BASE_NS::vector<Type>, ArrayAny<Type>> {};
60 template<typename Type>
63 using InternalType = BASE_NS::vector<Type>;
67 return IAny::Ptr(new ArrayAny<Type>); in CreateAny()
78 BASE_NS::vector<Type> vec; in SyncToEngine()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dinterface_traits.h155 template<typename Type>
156 …eConst = BASE_NS::conditional_t<BASE_NS::is_const_v<Type>, BASE_NS::remove_const_t<Type>, const Ty…
158 template<typename Type>
161 template<typename Type>
166 template<typename Type>
171 template<typename Type>
224 template<typename Type>
251 template<typename Type>
260 template<typename Type>
264 template<typename Type>
[all …]
H A Dcapture.h29 template<typename Type> in META_BEGIN_NAMESPACE()
30 Type&& CaptureWrap(Type&& obj) in META_BEGIN_NAMESPACE()
32 return BASE_NS::forward<Type>(obj); in META_BEGIN_NAMESPACE()
46 template<typename Type> in META_BEGIN_NAMESPACE()
47 CaptureWrapper<BASE_NS::weak_ptr<Type>> CaptureWrap(BASE_NS::shared_ptr<Type> p) in META_BEGIN_NAMESPACE()
55 template<typename Type> in META_BEGIN_NAMESPACE()
56 CaptureWrapper<BASE_NS::weak_ptr<Type>> CaptureWrap(BASE_NS::weak_ptr<Type> p) in META_BEGIN_NAMESPACE()
74 template<typename Type> in META_BEGIN_NAMESPACE()
75 CaptureUnWrapper<Type> CaptureUnWrap(Type&& obj) in META_BEGIN_NAMESPACE()
77 return CaptureUnWrapper<Type> { BASE_NS::forward<Type>(obj) }; in META_BEGIN_NAMESPACE()
[all …]
H A Dmeta_types.h61 template<typename Type>
64 template<typename Type>
67 template<typename Type>
73 template<typename Type>
80 template<typename Type>
118 template<typename Type>
135 template<typename Type>
149 template<typename Type>
153 return UidFromType<Type>(); in ArrayUidFromType()
155 return UidFromType<Type[]>(); in ArrayUidFromType()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dutil.h79 template<typename Type>
80 Type GetValue(const Property<Type>& p, NonDeduced_t<BASE_NS::remove_const_t<Type>> defaultValue = {…
84 template<typename Type>
89 template<typename Type>
95 template<typename Type>
96 Type GetValue(const IProperty::Ptr& p, NonDeduced_t<BASE_NS::remove_const_t<Type>> defaultValue = {…
101 template<typename Type>
107 template<typename Type>
108 bool SetValue(Property<Type> property, const NonDeduced_t<Type>& value) noexcept in SetValue()
112 template<typename Type>
[all …]
H A Dcall_context.h32 template<typename Type> in META_BEGIN_NAMESPACE()
43 template<typename Type>
65 template<typename Type>
69 Type t; in Get()
84 template<typename Type>
88 Type t; in GetResult()
102 template<typename Type>
113 template<typename Type>
122 template<typename Type>
201 Type t; in Type()
[all …]
/ohos5.0/base/msdp/device_status/services/native/include/
H A Ddevicestatus_msdp_client_impl.h36 ErrCode InitMsdpImpl(Type type);
37 ErrCode Disable(Type type);
38 ErrCode GetSensorHdi(Type type);
42 ErrCode StartMock(Type type);
56 ErrCode MockHandle(Type type);
57 ErrCode AlgoHandle(Type type);
58 ErrCode StartAlgo(Type type);
59 ErrCode AlgoDisable(Type type);
60 ErrCode MockDisable(Type type);
65 IMsdp* GetAlgoInst(Type type);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_paint_op.h36 enum class Type : uint8_t { enum
48 static constexpr auto kType = Type::SaveOp;
53 static constexpr auto kType = Type::RestoreOp;
58 static constexpr auto kType = Type::FillRectOp;
65 static constexpr auto kType = Type::FillTextOp;
131 static constexpr auto kType = Type::FillOp;
136 static constexpr auto kType = Type::Fill2DOp;
143 static constexpr auto kType = Type::MoveToOp;
248 static constexpr auto kType = Type::ClipOp;
267 static constexpr auto kType = Type::ArcOp;
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp326 case WorkCondition::Type::NETWORK: in Marshalling()
328 case WorkCondition::Type::STORAGE: { in Marshalling()
333 case WorkCondition::Type::CHARGER: in Marshalling()
345 case WorkCondition::Type::TIMER: { in Marshalling()
420 case WorkCondition::Type::NETWORK: in UnmarshallCondition()
422 case WorkCondition::Type::STORAGE: { in UnmarshallCondition()
428 case WorkCondition::Type::DEEP_IDLE: in UnmarshallCondition()
429 case WorkCondition::Type::CHARGER: { in UnmarshallCondition()
441 case WorkCondition::Type::TIMER: { in UnmarshallCondition()
505 case WorkCondition::Type::NETWORK: { in ParseConditionToJsonStr()
[all …]
/ohos5.0/base/msdp/device_status/test/unittest/interfaces/src/
H A Ddevicestatus_client_test.cpp45 EXPECT_TRUE(devicestatusData.type == Type::TYPE_VERTICAL_POSITION && in OnDeviceStatusChanged()
70 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_INVALID, activityEvent, cb);
85 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_LID_OPEN, activityEvent, cb);
88 result = stationaryMgr->SubscribeCallback(Type::TYPE_MAX, activityEvent, latency, cb);
90 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_MAX, activityEvent, cb);
106 Type type = Type::TYPE_ABSOLUTE_STILL;
110 type = Type::TYPE_VERTICAL_POSITION;
114 type = Type::TYPE_HORIZONTAL_POSITION;
118 type = Type::TYPE_LID_OPEN;
122 type = Type::TYPE_INVALID;
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_base64.h33 enum Type { enum
51 Type valueType = BASIC;
64 Type valueType = BASIC;
100 napi_value EncodeSync(napi_env env, napi_value src, Type valueType);
108 napi_value EncodeToStringSync(napi_env env, napi_value src, Type valueType);
116 napi_value DecodeSync(napi_env env, napi_value src, Type valueType);
124 napi_value Encode(napi_env env, napi_value src, Type valueType);
132 napi_value EncodeToString(napi_env env, napi_value src, Type valueType);
140 napi_value Decode(napi_env env, napi_value src, Type valueType);
145 int Finds(napi_env env, char ch, Type valueType);
[all …]
/ohos5.0/base/msdp/device_status/test/unittest/services/unittest/src/
H A Ddevicestatus_service_test.cpp39 Type g_type { Type::TYPE_INVALID };
71 g_type = Type::TYPE_ABSOLUTE_STILL;
86 g_type = Type::TYPE_ABSOLUTE_STILL;
103 g_type = Type::TYPE_ABSOLUTE_STILL;
117 g_type = Type::TYPE_CAR_BLUETOOTH;
132 g_type = Type::TYPE_CAR_BLUETOOTH;
149 g_type = Type::TYPE_CAR_BLUETOOTH;
209 g_type = Type::TYPE_RELATIVE_STILL;
255 g_type = Type::TYPE_STILL;
270 g_type = Type::TYPE_STILL;
[all …]
H A Ddevicestatus_agent_test.cpp32 Type DeviceStatusAgentTest::g_agentTest = Type::TYPE_INVALID;
76 g_agentTest = Type::TYPE_STILL;
77 Type type = g_agentTest;
96 g_agentTest = Type::TYPE_STILL;
97 Type type = g_agentTest;
125 g_agentTest = Type::TYPE_STILL;
126 Type type = g_agentTest;
193 Type type = g_agentTest;
234 Type type = g_agentTest;
266 Type type = g_agentTest;
[all …]
/ohos5.0/base/msdp/device_status/libs/src/
H A Ddevicestatus_algorithm_manager.cpp37 bool AlgoMgr::StartSensor(Type type) in StartSensor()
64 case Type::TYPE_ABSOLUTE_STILL: { in RegisterCallback()
76 case Type::TYPE_VERTICAL_POSITION: { in RegisterCallback()
116 int32_t AlgoMgr::GetSensorTypeId(Type type) in GetSensorTypeId()
120 case Type::TYPE_ABSOLUTE_STILL: { in GetSensorTypeId()
126 case Type::TYPE_VERTICAL_POSITION: { in GetSensorTypeId()
137 ErrCode AlgoMgr::Enable(Type type) in Enable()
146 case Type::TYPE_ABSOLUTE_STILL: { in Enable()
185 ErrCode AlgoMgr::Disable(Type type) in Disable()
196 case Type::TYPE_ABSOLUTE_STILL: { in Disable()
[all …]

12345678910>>...86