Home
last modified time | relevance | path

Searched refs:typeCode (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_local_live_view_content_test.cpp38 int32_t typeCode = 1; variable
40 rrc->SetType(typeCode);
41 EXPECT_EQ(rrc->GetType(), typeCode);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_notification_analytics_util.cpp73 HaMetaMessage& HaMetaMessage::TypeCode(int32_t typeCode) in TypeCode() argument
75 typeCode_ = typeCode; in TypeCode()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Duser_cert_plugin.cpp45 uint32_t typeCode = FUNC_TO_OPERATE(funcCode); in OnHandlePolicy() local
46 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode); in OnHandlePolicy()
H A Dpower_policy_plugin.cpp46 uint32_t typeCode = FUNC_TO_OPERATE(funcCode); in OnHandlePolicy() local
47 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode); in OnHandlePolicy()
H A Ddisallowed_usb_devices_plugin.cpp44 uint32_t typeCode = FUNC_TO_OPERATE(funcCode); in OnHandlePolicy() local
45 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode); in OnHandlePolicy()
H A Dusb_read_only_plugin.cpp51 uint32_t typeCode = FUNC_TO_OPERATE(funcCode); in OnHandlePolicy() local
52 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode); in OnHandlePolicy()
H A Diptables_rule_plugin.cpp47 uint32_t typeCode = FUNC_TO_OPERATE(funcCode); in OnHandlePolicy() local
48 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode); in OnHandlePolicy()
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Djs_utils.h69 #define PARAM_CHECK_RETURN(env, condition, message, typeCode, retVal) \ argument
72 JsUtils::ThrowException(env, IMFErrorCode::EXCEPTION_PARAMCHECK, message, typeCode); \
/ohos5.0/docs/en/application-dev/notification/
H A Dlive-view-notification.md37 …mal text notification, the system live view notification provides the **typeCode**, **capsule**, *…
57 typeCode: 1, // Type of the invoking service.
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_message_sequence_read.cpp1132 int32_t typeCode = 0; in JS_readArrayBuffer() local
1133 napi_get_value_int32(env, argv[ARGV_INDEX_0], &typeCode); in JS_readArrayBuffer()
1134 if (typeCode < INT8_ARRAY || typeCode > BIGUINT64_ARRAY) { in JS_readArrayBuffer()
1135 ZLOGE(LOG_LABEL, "the value of parameter 1 is out of range. typeCode:%{public}d", typeCode); in JS_readArrayBuffer()
1139 return JS_readVectorByTypeCode(env, typeCode, napiSequence); in JS_readArrayBuffer()
1143 int32_t typeCode, in JS_readVectorByTypeCode() argument
1146 switch (typeCode) { in JS_readVectorByTypeCode()
1178 ZLOGE(LOG_LABEL, "unsupported typeCode:%{public}d", typeCode); in JS_readVectorByTypeCode()
H A Dnapi_message_sequence_write.cpp1878 int32_t typeCode = 0; in JS_checkWriteArrayBufferArgs() local
1879 napi_get_value_int32(env, argv[ARGV_INDEX_1], &typeCode); in JS_checkWriteArrayBufferArgs()
1880 if (typeCode < INT8_ARRAY || typeCode > BIGUINT64_ARRAY) { in JS_checkWriteArrayBufferArgs()
1932 int32_t typeCode = 0; in JS_writeArrayBuffer() local
1933 napi_get_value_int32(env, argv[ARGV_INDEX_1], &typeCode); in JS_writeArrayBuffer()
1935 bool writeSuccess = JS_writeVectorByTypeCode(typeCode, data, byteLength, napiSequence); in JS_writeArrayBuffer()
1946 bool NAPI_MessageSequence::JS_writeVectorByTypeCode(int32_t typeCode, in JS_writeVectorByTypeCode() argument
1955 switch (typeCode) { in JS_writeVectorByTypeCode()
1987 ZLOGE(LOG_LABEL, "unsupported typeCode:%{public}d", typeCode); in JS_writeVectorByTypeCode()
1995 napi_value typeCode = CreateTypeCodeEnum(env); in Export() local
[all …]
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/include/
H A Diplugin_template.tpp25 uint32_t typeCode = FUNC_TO_OPERATE(funcCode);
26 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode);
217 uint32_t typeCode = FUNC_TO_OPERATE(funcCode);
218 FuncOperateType type = FuncCodeUtils::ConvertOperateType(typeCode);
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_message_sequence.h130 static bool JS_writeVectorByTypeCode(int32_t typeCode, void *data,
132 …static napi_value JS_readVectorByTypeCode(napi_env env, int32_t typeCode, NAPI_MessageSequence *na…
/ohos5.0/docs/zh-cn/application-dev/notification/
H A Dlive-view-notification.md57 typeCode: 1, // 调用方的类型
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_analytics_util.h62 HaMetaMessage& TypeCode(int32_t typeCode);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/
H A Djs-apis-inner-notification-notificationContent.md97 | typeCode<sup>11+</sup> | number | 否 | 否 | 类型标识符,…
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/
H A Dsmart_reminder_center.cpp193 int32_t typeCode = reminderFilterContentJson[TYPE_CODE].get<int32_t>(); in ParseReminderFilterContent() local
196 localNotificationType.append(to_string(typeCode)); in ParseReminderFilterContent()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp122 HaMetaMessage& HaMetaMessage::TypeCode(int32_t typeCode) in TypeCode() argument
124 typeCode_ = typeCode; in TypeCode()
/ohos5.0/base/powermgr/power_manager/power_dialog/entry/src/main/ets/InjectNotice/
H A DInjectNoticeUtil.ts122 typeCode: 1,
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/
H A Djs-apis-inner-notification-notificationContent.md97 | typeCode<sup>11+</sup> | number | No | No | Type c…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-resourceschedule-backgroundTaskManager.md619 typeCode: 8, // 上传下载类型需要填写 8,当前仅支持此类型。保持不变
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-resourceschedule-backgroundTaskManager.md619typeCode: 8, // Set this parameter to 8 for the upload and download type. Currently, only the uplo…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ipc-kit/
H A Djs-apis-rpc.md3650 writeArrayBuffer(buf: ArrayBuffer, typeCode: TypeCode): void
3661 …| typeCode | [TypeCode](#typecode12) | 是 | ArrayBuffer数据具体是以哪一种TypedArray来访问和操作(会根据业务传递的类型枚举值…
3669 …br/> 3.The parameter type does not match; <br/> 4.The obtained value of typeCode is incorrect; <br…
3698 readArrayBuffer(typeCode: TypeCode): ArrayBuffer
3708 …| typeCode | [TypeCode](#typecode12) | 是 | ArrayBuffer数据具体是以哪一种TypedArray来访问和操作(会根据业务传递的类型枚举值去决定…
3722 …; <br/> 2.The parameter type does not match; <br/> 3.The obtained value of typeCode is incorrect; |
/ohos5.0/docs/en/application-dev/reference/apis-ipc-kit/
H A Djs-apis-rpc.md3634 writeArrayBuffer(buf: ArrayBuffer, typeCode: TypeCode): void
3645 | typeCode | [TypeCode](#typecode12) | Yes | TypedArray type of the ArrayBuffer data.<br>The un…
3653 … <br> 3.The parameter type does not match; <br> 4.The obtained value of typeCode is incorrect; <br…
3682 readArrayBuffer(typeCode: TypeCode): ArrayBuffer
3692 | typeCode | [TypeCode](#typecode12) | Yes | TypedArray type of the ArrayBuffer data.<br>The under…
3706 …ct; <br> 2.The parameter type does not match; <br> 3.The obtained value of typeCode is incorrect; |