Home
last modified time | relevance | path

Searched refs:valuetype (Results 1 – 25 of 160) sorted by relevance

1234567

/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event_parse.cpp67 napi_valuetype valuetype; in ParseParametersByCreateSubscriber() local
126 napi_valuetype valuetype; in ParseParametersByIsOrderedCommonEvent() local
161 napi_valuetype valuetype; in ParseParametersByIsStickyCommonEvent() local
196 napi_valuetype valuetype; in ParseParametersByGetCode() local
232 napi_valuetype valuetype; in ParseParametersBySetCode() local
277 napi_valuetype valuetype; in ParseParametersBySetData() local
329 napi_valuetype valuetype; in ParseParametersBySetCodeAndData() local
399 napi_valuetype valuetype; in ParseParametersByGetData() local
435 napi_valuetype valuetype; in ParseParametersByClearAbort() local
470 napi_valuetype valuetype; in ParseParametersByAbort() local
[all …]
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dcommon_event_parse.cpp124 napi_valuetype valuetype; in ParseParametersByCreateSubscriber() local
183 napi_valuetype valuetype; in ParseParametersByGetSubscribeInfo() local
220 napi_valuetype valuetype; in ParseParametersByIsOrderedCommonEvent() local
256 napi_valuetype valuetype; in ParseParametersByIsStickyCommonEvent() local
293 napi_valuetype valuetype; in ParseParametersByGetCode() local
331 napi_valuetype valuetype; in ParseParametersBySetCode() local
425 napi_valuetype valuetype; in ParseParametersByGetData() local
464 napi_valuetype valuetype; in ParseParametersBySetData() local
505 napi_valuetype valuetype; in ParseParametersBySetCodeAndData() local
556 napi_valuetype valuetype; in ParseParametersByClearAbort() local
[all …]
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp88 if (valuetype != napi_number) { in GetNotificationSubscriberInfo()
112 if (valuetype != napi_object) { in GetNotificationUserInput()
145 if (valuetype != napi_string) { in GetNotificationUserInputByInputKey()
183 if (valuetype != napi_string) { in GetNotificationUserInputByTag()
235 if (valuetype != napi_string) { in GetNotificationUserInputByOptions()
345 if (valuetype != napi_number) { in GetNotificationUserInputByEditType()
374 if (valuetype != napi_object) { in GetNotificationUserInputByAdditionalData()
727 if (valuetype != napi_string) { in GetBundleOption()
770 if (valuetype != napi_string) { in GetButtonOption()
824 if (valuetype != napi_number) { in GetNotificationKey()
[all …]
H A Dnotification_napi_convert_request.cpp233 if (valuetype != napi_object) { in GetNotificationSmallIcon()
262 if (valuetype != napi_object) { in GetNotificationLargeIcon()
291 if (valuetype != napi_object) { in GetNotificationOverlayIcon()
412 if (valuetype != napi_number) { in GetNotificationId()
442 if (valuetype != napi_number) { in GetNotificationSlotType()
461 if (valuetype != napi_number) { in GetNotificationSlotType()
545 if (valuetype != napi_number) { in GetNotificationDeliveryTime()
595 if (valuetype != napi_object) { in GetNotificationWantAgent()
625 if (valuetype != napi_object) { in GetNotificationExtraInfo()
1145 if (valuetype != napi_string) { in GetNotificationActionButtonsDetailedBasicInfo()
[all …]
H A Dnotification_napi_convert_content.cpp133 if (valuetype != napi_object) { in GetNotificationBasicContent()
219 if (valuetype != napi_object) { in GetNotificationLongTextContent()
260 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
280 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
300 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
331 if (valuetype != napi_object) { in GetNotificationPictureContent()
370 if (valuetype != napi_string) { in GetNotificationPictureContentDetailed()
389 if (valuetype != napi_string) { in GetNotificationPictureContentDetailed()
408 if (valuetype != napi_object) { in GetNotificationPictureContentDetailed()
440 if (valuetype != napi_object) { in GetNotificationConversationalContent()
[all …]
H A Dnotification_napi_convert_liveview.cpp48 if (valuetype != napi_object) { in GetNotificationLocalLiveViewContent()
85 if (valuetype != napi_object) { in GetNotificationLocalLiveViewCapsule()
96 if (valuetype != napi_string) { in GetNotificationLocalLiveViewCapsule()
110 if (valuetype != napi_string) { in GetNotificationLocalLiveViewCapsule()
122 if (valuetype != napi_object) { in GetNotificationLocalLiveViewCapsule()
158 if (valuetype != napi_object) { in GetNotificationLocalLiveViewButton()
236 if (valuetype != napi_object) { in GetNotificationLocalLiveViewProgress()
247 if (valuetype != napi_number) { in GetNotificationLocalLiveViewProgress()
260 if (valuetype != napi_number) { in GetNotificationLocalLiveViewProgress()
302 if (valuetype != napi_object) { in GetNotificationLocalLiveViewTime()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcancel.cpp45 if (valuetype != napi_number && valuetype != napi_object) { in ParseParameters()
52 if (valuetype == napi_number) { in ParseParameters()
67 if (valuetype == napi_undefined || valuetype == napi_null) { in ParseParameters()
70 if (valuetype != napi_number && valuetype != napi_boolean && in ParseParameters()
71 valuetype != napi_string && valuetype != napi_function) { in ParseParameters()
77 if (valuetype == napi_number) { in ParseParameters()
95 if (valuetype != napi_number) { in ParseParameters()
134 if (valuetype != napi_string && valuetype != napi_number && valuetype != napi_boolean) { in ParseParameters()
140 if (valuetype == napi_string) { in ParseParameters()
369 if (valuetype != napi_number && valuetype != napi_object) { in ParseParameters()
[all …]
H A Dcommon_convert_request.cpp757 if (valuetype != napi_object) { in GetNotificationSmallIcon()
785 if (valuetype != napi_object) { in GetNotificationLargeIcon()
814 if (valuetype != napi_object) { in GetNotificationOverlayIcon()
934 if (valuetype != napi_number) { in GetNotificationId()
963 if (valuetype != napi_number) { in GetNotificationSlotType()
982 if (valuetype != napi_number) { in GetNotificationSlotType()
1065 if (valuetype != napi_number) { in GetNotificationDeliveryTime()
1114 if (valuetype != napi_object) { in GetNotificationWantAgent()
1143 if (valuetype != napi_object) { in GetNotificationExtraInfo()
1680 if (valuetype != napi_string) { in GetNotificationActionButtonsDetailedBasicInfo()
[all …]
H A Dcommon.cpp338 if (valuetype != napi_number) { in GetNotificationSubscriberInfo()
354 if (valuetype != napi_string) { in GetNotificationSubscriberInfo()
383 if (valuetype != napi_object) { in GetNotificationUserInput()
416 if (valuetype != napi_string) { in GetNotificationUserInputByInputKey()
454 if (valuetype != napi_string) { in GetNotificationUserInputByTag()
506 if (valuetype != napi_string) { in GetNotificationUserInputByOptions()
616 if (valuetype != napi_number) { in GetNotificationUserInputByEditType()
993 if (valuetype != napi_string) { in GetBundleOption()
1035 if (valuetype != napi_string) { in GetButtonOption()
1088 if (valuetype != napi_number) { in GetNotificationKey()
[all …]
H A Dcommon_convert_content.cpp521 if (valuetype != napi_object) { in GetNotificationBasicContent()
613 if (valuetype != napi_object) { in GetNotificationLongTextContent()
659 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
679 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
699 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
730 if (valuetype != napi_object) { in GetNotificationPictureContent()
773 if (valuetype != napi_string) { in GetNotificationPictureContentDetailed()
792 if (valuetype != napi_string) { in GetNotificationPictureContentDetailed()
811 if (valuetype != napi_object) { in GetNotificationPictureContentDetailed()
843 if (valuetype != napi_object) { in GetNotificationConversationalContent()
[all …]
H A Dpublish.cpp40 if (valuetype != napi_function) { in GetCallback()
64 if (valuetype != napi_object) { in ParseParameters()
79 if ((valuetype != napi_number) && (valuetype != napi_function)) { in ParseParameters()
84 if (valuetype == napi_number) { in ParseParameters()
200 if (valuetype != napi_string) { in GetStringProperty()
224 if (valuetype != napi_object) { in GetObjectProperty()
248 if (valuetype != napi_object) { in ParseShowOptions()
384 if (valuetype != napi_object) { in ParsePublishAsBundleParameters()
410 …if (valuetype != napi_string && valuetype != napi_number && valuetype != napi_boolean && valuetype in ParsePublishAsBundleParameters()
417 if (valuetype == napi_string) { in ParsePublishAsBundleParameters()
[all …]
H A Ddisturb_mode.cpp43 if (valuetype != napi_number) { in GetDoNotDisturbDate()
117 if (valuetype != napi_number) { in GetDoNotDisturbProfile()
136 if (valuetype != napi_string) { in GetDoNotDisturbProfile()
174 if (valuetype != napi_object) { in AnalyseTrustlist()
205 if (valuetype != napi_object) { in ParseParameters()
218 if ((valuetype != napi_number) && (valuetype != napi_function)) { in ParseParameters()
223 if (valuetype == napi_number) { in ParseParameters()
278 if (valuetype != napi_object) { in ParseProfilesParameters()
403 if ((valuetype != napi_number) && (valuetype != napi_function)) { in ParseParameters()
407 if (valuetype == napi_number) { in ParseParameters()
[all …]
H A Dcommon_convert_liveview.cpp399 if (valuetype != napi_object) { in GetNotificationLocalLiveViewContent()
441 if (valuetype != napi_object) { in GetNotificationLocalLiveViewCapsule()
452 if (valuetype != napi_string) { in GetNotificationLocalLiveViewCapsule()
466 if (valuetype != napi_string) { in GetNotificationLocalLiveViewCapsule()
479 if (valuetype != napi_string) { in GetNotificationLocalLiveViewCapsule()
492 if (valuetype != napi_object) { in GetNotificationLocalLiveViewCapsule()
579 if (valuetype != napi_object) { in GetNotificationLocalLiveViewButton()
685 if (valuetype != napi_object) { in GetNotificationLocalLiveViewProgress()
696 if (valuetype != napi_number) { in GetNotificationLocalLiveViewProgress()
751 if (valuetype != napi_object) { in GetNotificationLocalLiveViewTime()
[all …]
H A Ddisplay_badge.cpp41 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
42 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
43 if (valuetype != napi_object) { in ParseParameters()
58 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
59 if (valuetype != napi_boolean) { in ParseParameters()
70 if (valuetype != napi_function) { in ParseParameters()
96 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
97 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
99 if ((valuetype != napi_function) && (valuetype != napi_object)) { in ParseParameters()
106 if (valuetype == napi_object) { in ParseParameters()
[all …]
H A Dslot.cpp225 if (valuetype != napi_object && valuetype != napi_number) { in ParseParametersByAddSlot()
231 if (valuetype == napi_number) { in ParseParametersByAddSlot()
338 if (valuetype != napi_object) { in ParseParametersSetSlotByBundle()
353 if (valuetype != napi_object) { in ParseParametersSetSlotByBundle()
406 if (valuetype != napi_number) { in ParseParametersByGetSlot()
448 if (valuetype != napi_object) { in ParseParametersGetSlotNumByBundle()
590 if (valuetype != napi_object) { in ParseParametersGetSlotsByBundle()
634 if (valuetype != napi_object) { in ParseParametersGetSlotByBundle()
649 if (valuetype != napi_number) { in ParseParametersGetSlotByBundle()
691 if (valuetype != napi_number) { in ParseParametersByRemoveSlot()
[all …]
/ohos5.0/base/print/print_fwk/interfaces/kits/napi/scan_napi/src/
H A Dnapi_inner_scan.cpp151 napi_valuetype valuetype = napi_undefined; in OpenScanner() local
220 valuetype = napi_undefined; in GetScanOptionDesc()
259 valuetype = napi_undefined; in SetScanOption()
306 valuetype = napi_undefined; in SetScanAutoOption()
346 valuetype = napi_undefined; in GetScanOption()
352 valuetype = napi_undefined; in GetScanOption()
462 valuetype = napi_undefined; in GetSingleFrameFD()
532 valuetype = napi_undefined; in SetScanIOMode()
602 napi_valuetype valuetype = napi_undefined; in On() local
613 valuetype = napi_undefined; in On()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_api_module/xml/
H A Dnative_module_xml.cpp60 napi_valuetype valuetype; in XmlSerializerConstructor() local
94 napi_valuetype valuetype = napi_null; in XmlPullParserConstructor() local
95 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype)); in XmlPullParserConstructor()
148 napi_valuetype valuetype = napi_null; in SetAttributes() local
173 napi_valuetype valuetype; in AddEmptyElement() local
235 napi_valuetype valuetype = napi_null; in SetNamespace() local
259 napi_valuetype valuetype = napi_null; in SetComment() local
279 napi_valuetype valuetype = napi_null; in SetCData() local
299 napi_valuetype valuetype = napi_null; in SetText() local
319 napi_valuetype valuetype = napi_null; in SetDocType() local
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_utils.cpp69 napi_valuetype valuetype; in ParseString() local
72 if (valuetype != napi_string) { in ParseString()
95 napi_valuetype valuetype; in ParseInt32() local
97 if (valuetype != napi_number) { in ParseInt32()
107 napi_valuetype valuetype; in ParseBool() local
110 if (valuetype != napi_boolean) { in ParseBool()
122 napi_valuetype valuetype; in ParseArrayBuffer() local
125 if (valuetype != napi_object) { in ParseArrayBuffer()
540 napi_valuetype valuetype; in ParseNumberParams() local
586 napi_valuetype valuetype; in ParseBooleanParams() local
[all …]
/ohos5.0/commonlibrary/ets_utils/js_sys_module/process/
H A Dnative_module_process.cpp171 napi_valuetype valuetype; in Kill() local
317 napi_valuetype valuetype; in Chdir() local
348 napi_valuetype valuetype; in Exit() local
429 napi_valuetype valuetype; in IsAppUid() local
448 napi_valuetype valuetype; in GetUidForName() local
461 napi_valuetype valuetype; in GetThreadPriority() local
486 napi_valuetype valuetype; in GetSystemConfig() local
499 napi_valuetype valuetype; in GetEnvironmentVar() local
556 napi_valuetype valuetype; in ExitOfProcess() local
572 napi_valuetype valuetype; in GetSystemConfigOfProcess() local
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_remove_group.cpp35 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
44 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
45 if (valuetype != napi_object) { in ParseParameters()
59 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
60 if (valuetype != napi_string && valuetype != napi_number && valuetype != napi_boolean) { in ParseParameters()
66 if (valuetype == napi_string) { in ParseParameters()
71 } else if (valuetype == napi_number) { in ParseParameters()
82 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters()
83 if (valuetype != napi_function) { in ParseParameters()
/ohos5.0/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_inner_print.cpp174 napi_valuetype valuetype; in ConnectPrinter() local
214 napi_valuetype valuetype; in DisconnectPrinter() local
296 napi_valuetype valuetype; in CancelPrintJob() local
384 napi_valuetype valuetype; in QueryCapability() local
464 napi_valuetype valuetype; in QueryPrintJobById() local
508 napi_valuetype valuetype; in GetPrinterPreference() local
549 napi_valuetype valuetype; in SetPrinterPreference() local
594 napi_valuetype valuetype; in On() local
615 valuetype = napi_undefined; in On()
645 napi_valuetype valuetype; in Off() local
[all …]
H A Dnapi_print_ext.cpp192 napi_valuetype valuetype; in UpdatePrinterState() local
246 napi_valuetype valuetype; in UpdatePrintJobStateOnlyForSystemApp() local
300 napi_valuetype valuetype; in UpdateExtensionInfo() local
347 napi_valuetype valuetype; in AddPrinterToCups() local
401 napi_valuetype valuetype; in QueryPrinterCapabilityByUri() local
449 napi_valuetype valuetype; in DeletePrinterFromCups() local
523 napi_valuetype valuetype; in AddPrinterToDiscovery() local
524 napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype); in AddPrinterToDiscovery()
574 napi_valuetype valuetype; in UpdatePrinterInDiscovery() local
624 napi_valuetype valuetype; in RemovePrinterFromDiscovery() local
[all …]
/ohos5.0/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_string_napi.cpp31 napi_valuetype valuetype; in TestStringUtf16() local
32 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype)); in TestStringUtf16()
33 NAPI_ASSERT(env, valuetype == napi_string, "Wrong type of argment. Expects a string."); in TestStringUtf16()
51 napi_valuetype valuetype; in TestStringUtf16Insufficient() local
52 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype)); in TestStringUtf16Insufficient()
53 NAPI_ASSERT(env, valuetype == napi_string, "Wrong type of argment. Expects a string."); in TestStringUtf16Insufficient()
74 napi_valuetype valuetype; in TestStringUtf16Length() local
75 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype)); in TestStringUtf16Length()
76 NAPI_ASSERT(env, valuetype == napi_string, "Wrong type of argment. Expects a string."); in TestStringUtf16Length()
H A Djs_test_callback_scope_napi.cpp36 napi_valuetype valuetype; in ScopeRunInCallback() local
37 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype)); in ScopeRunInCallback()
38 …NAPI_ASSERT(env, valuetype == napi_object, "Wrong type of arguments. Expects an object as first ar… in ScopeRunInCallback()
40 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype)); in ScopeRunInCallback()
41 …NAPI_ASSERT(env, valuetype == napi_string, "Wrong type of arguments. Expects a string as second ar… in ScopeRunInCallback()
43 NAPI_CALL(env, napi_typeof(env, args[SCOPE_ARGC_TWO], &valuetype)); in ScopeRunInCallback()
44 …NAPI_ASSERT(env, valuetype == napi_function, "Wrong type of arguments. Expects a function as third… in ScopeRunInCallback()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/
H A Dnapi_data_ability_helper.cpp239 if (valuetype == napi_string) { in InsertWrap()
404 if (valuetype == napi_string) { in NotifyChangeWrap()
473 if (valuetype == napi_string) { in RegisterWrap()
487 if (valuetype == napi_string) { in RegisterWrap()
644 if (valuetype == napi_string) { in UnRegisterWrap()
809 if (valuetype == napi_string) { in GetTypeWrap()
866 if (valuetype == napi_string) { in GetFileTypesWrap()
872 if (valuetype == napi_string) { in GetFileTypesWrap()
930 if (valuetype == napi_string) { in NormalizeUriWrap()
987 if (valuetype == napi_string) { in DenormalizeUriWrap()
[all …]

1234567