Home
last modified time | relevance | path

Searched refs:valuetype (Results 1 - 25 of 59) sorted by relevance

123

/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event_parse.cpp67 napi_valuetype valuetype; in ParseParametersByCreateSubscriber() local
70 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParametersByCreateSubscriber()
71 if (valuetype != napi_object) { in ParseParametersByCreateSubscriber()
78 NAPI_CALL(env, napi_typeof(env, argv[1], &valuetype)); in ParseParametersByCreateSubscriber()
79 if (valuetype != napi_function) { in ParseParametersByCreateSubscriber()
126 napi_valuetype valuetype; in ParseParametersByIsOrderedCommonEvent() local
130 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParametersByIsOrderedCommonEvent()
131 if (valuetype != napi_function) { in ParseParametersByIsOrderedCommonEvent()
161 napi_valuetype valuetype; in ParseParametersByIsStickyCommonEvent() local
165 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParametersByIsStickyCommonEvent()
196 napi_valuetype valuetype; ParseParametersByGetCode() local
232 napi_valuetype valuetype; ParseParametersBySetCode() local
277 napi_valuetype valuetype; ParseParametersBySetData() local
329 napi_valuetype valuetype; ParseParametersBySetCodeAndData() local
399 napi_valuetype valuetype; ParseParametersByGetData() local
435 napi_valuetype valuetype; ParseParametersByClearAbort() local
470 napi_valuetype valuetype; ParseParametersByAbort() local
505 napi_valuetype valuetype; ParseParametersByGetAbort() local
540 napi_valuetype valuetype; ParseParametersByFinish() local
578 napi_valuetype valuetype; ParseParametersBySubscribe() local
606 napi_valuetype valuetype; GetBundlenameByPublish() local
631 napi_valuetype valuetype; GetDataByPublish() local
662 napi_valuetype valuetype; GetCodeByPublish() local
685 napi_valuetype valuetype; GetSubscriberPermissionsByPublish() local
728 napi_valuetype valuetype; GetIsOrderedByPublish() local
750 napi_valuetype valuetype; GetIsStickyByPublish() local
772 napi_valuetype valuetype = napi_undefined; GetParametersByPublish() local
798 napi_valuetype valuetype; ParseParametersByPublish() local
891 napi_valuetype valuetype; ParseParametersByPublishAsUser() local
980 napi_valuetype valuetype; ParseParametersByUnsubscribe() local
1013 napi_valuetype valuetype; GetEventsByCreateSubscriber() local
1060 napi_valuetype valuetype = napi_undefined; GetPublisherPermissionByCreateSubscriber() local
1088 napi_valuetype valuetype = napi_undefined; GetPublisherDeviceIdByCreateSubscriber() local
1113 napi_valuetype valuetype = napi_undefined; GetUserIdByCreateSubscriber() local
1138 napi_valuetype valuetype = napi_undefined; GetPriorityByCreateSubscriber() local
[all...]
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp50 napi_valuetype valuetype = napi_undefined; in GetNotificationSubscriberInfo() local
71 NAPI_CALL(env, napi_typeof(env, nBundleName, &valuetype)); in GetNotificationSubscriberInfo()
72 if (valuetype != napi_string) { in GetNotificationSubscriberInfo()
87 NAPI_CALL(env, napi_typeof(env, nUserId, &valuetype)); in GetNotificationSubscriberInfo()
88 if (valuetype != napi_number) { in GetNotificationSubscriberInfo()
103 napi_valuetype valuetype = napi_undefined; in GetNotificationUserInput() local
111 NAPI_CALL(env, napi_typeof(env, userInputResult, &valuetype)); in GetNotificationUserInput()
112 if (valuetype != napi_object) { in GetNotificationUserInput()
131 napi_valuetype valuetype = napi_undefined; in GetNotificationUserInputByInputKey() local
144 NAPI_CALL(env, napi_typeof(env, value, &valuetype)); in GetNotificationUserInputByInputKey()
165 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByTag() local
199 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByOptions() local
252 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByPermitMimeTypes() local
300 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByPermitFreeFormInput() local
331 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByEditType() local
360 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByAdditionalData() local
393 napi_valuetype valuetype = napi_undefined; GetNotificationContentType() local
434 napi_valuetype valuetype = napi_undefined; GetNotificationSlot() local
491 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByString() local
537 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByBool() local
594 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByNumber() local
654 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByVibration() local
714 napi_valuetype valuetype = napi_undefined; GetBundleOption() local
757 napi_valuetype valuetype = napi_undefined; GetButtonOption() local
790 napi_valuetype valuetype = napi_undefined; GetHashCodes() local
813 napi_valuetype valuetype = napi_undefined; GetNotificationKey() local
863 napi_valuetype valuetype = napi_undefined; GetNotificationTemplate() local
892 napi_valuetype valuetype = napi_undefined; GetNotificationBundleOption() local
921 napi_valuetype valuetype = napi_undefined; GetNotificationTemplateInfo() local
[all...]
H A Dnotification_napi_convert_liveview.cpp38 napi_valuetype valuetype = napi_undefined; in GetNotificationLocalLiveViewContent() local
47 NAPI_CALL(env, napi_typeof(env, contentResult, &valuetype)); in GetNotificationLocalLiveViewContent()
48 if (valuetype != napi_object) { in GetNotificationLocalLiveViewContent()
72 napi_valuetype valuetype = napi_undefined; in GetNotificationLocalLiveViewCapsule() local
84 NAPI_CALL(env, napi_typeof(env, capsuleResult, &valuetype)); in GetNotificationLocalLiveViewCapsule()
85 if (valuetype != napi_object) { in GetNotificationLocalLiveViewCapsule()
95 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationLocalLiveViewCapsule()
96 if (valuetype != napi_string) { in GetNotificationLocalLiveViewCapsule()
109 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationLocalLiveViewCapsule()
110 if (valuetype ! in GetNotificationLocalLiveViewCapsule()
146 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewButton() local
226 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewProgress() local
292 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewTime() local
375 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewContentDetailed() local
[all...]
H A Dnotification_napi_convert_notification.cpp37 napi_valuetype valuetype = napi_undefined; in GetNotificationRequestDistributedOptions() local
45 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationRequestDistributedOptions()
46 if (valuetype != napi_object) { in GetNotificationRequestDistributedOptions()
75 napi_valuetype valuetype = napi_undefined; in GetNotificationIsDistributed() local
83 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationIsDistributed()
84 if (valuetype != napi_boolean) { in GetNotificationIsDistributed()
H A Dnotification_napi_convert_content.cpp123 napi_valuetype valuetype = napi_undefined; in GetNotificationBasicContent() local
132 NAPI_CALL(env, napi_typeof(env, contentResult, &valuetype)); in GetNotificationBasicContent()
133 if (valuetype != napi_object) { in GetNotificationBasicContent()
207 napi_valuetype valuetype = napi_undefined; in GetNotificationLongTextContent() local
218 NAPI_CALL(env, napi_typeof(env, contentResult, &valuetype)); in GetNotificationLongTextContent()
219 if (valuetype != napi_object) { in GetNotificationLongTextContent()
241 napi_valuetype valuetype = napi_undefined; in GetNotificationLongTextContentDetailed() local
259 NAPI_CALL(env, napi_typeof(env, longContentResult, &valuetype)); in GetNotificationLongTextContentDetailed()
260 if (valuetype != napi_string) { in GetNotificationLongTextContentDetailed()
279 NAPI_CALL(env, napi_typeof(env, longContentResult, &valuetype)); in GetNotificationLongTextContentDetailed()
320 napi_valuetype valuetype = napi_undefined; GetNotificationPictureContent() local
352 napi_valuetype valuetype = napi_undefined; GetNotificationPictureContentDetailed() local
428 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContent() local
474 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentByUser() local
521 napi_valuetype valuetype = napi_undefined; GetMessageUserByString() local
585 napi_valuetype valuetype = napi_undefined; GetMessageUserByBool() local
631 napi_valuetype valuetype = napi_undefined; GetMessageUserByCustom() local
661 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentTitle() local
691 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentGroup() local
720 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentMessages() local
781 napi_valuetype valuetype = napi_undefined; GetConversationalMessageBasicInfo() local
856 napi_valuetype valuetype = napi_undefined; GetConversationalMessageOtherInfo() local
905 napi_valuetype valuetype = napi_undefined; GetNotificationMultiLineContent() local
992 napi_valuetype valuetype = napi_undefined; GetNotificationMultiLineContentLines() local
[all...]
H A Dnotification_napi_convert_request.cpp225 napi_valuetype valuetype = napi_undefined; in GetNotificationSmallIcon() local
232 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationSmallIcon()
233 if (valuetype != napi_object) { in GetNotificationSmallIcon()
254 napi_valuetype valuetype = napi_undefined; in GetNotificationLargeIcon() local
261 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationLargeIcon()
262 if (valuetype != napi_object) { in GetNotificationLargeIcon()
283 napi_valuetype valuetype = napi_undefined; in GetNotificationOverlayIcon() local
290 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationOverlayIcon()
291 if (valuetype != napi_object) { in GetNotificationOverlayIcon()
314 napi_valuetype valuetype in GetNotificationSupportDisplayDevices() local
359 napi_valuetype valuetype = napi_undefined; GetNotificationSupportOperateDevices() local
403 napi_valuetype valuetype = napi_undefined; GetNotificationId() local
432 napi_valuetype valuetype = napi_undefined; GetNotificationSlotType() local
486 napi_valuetype valuetype = napi_undefined; GetNotificationIsOngoing() local
511 napi_valuetype valuetype = napi_undefined; GetNotificationIsUnremovable() local
536 napi_valuetype valuetype = napi_undefined; GetNotificationDeliveryTime() local
561 napi_valuetype valuetype = napi_undefined; GetNotificationtapDismissed() local
589 napi_valuetype valuetype = napi_undefined; GetNotificationWantAgent() local
617 napi_valuetype valuetype = napi_undefined; GetNotificationExtraInfo() local
646 napi_valuetype valuetype = napi_undefined; GetNotificationGroupName() local
675 napi_valuetype valuetype = napi_undefined; GetNotificationRemovalWantAgent() local
709 napi_valuetype valuetype = napi_undefined; GetNotificationMaxScreenWantAgent() local
737 napi_valuetype valuetype = napi_undefined; GetNotificationAutoDeletedTime() local
762 napi_valuetype valuetype = napi_undefined; GetNotificationClassification() local
808 napi_valuetype valuetype = napi_undefined; GetNotificationColor() local
837 napi_valuetype valuetype = napi_undefined; GetNotificationColorEnabled() local
862 napi_valuetype valuetype = napi_undefined; GetNotificationIsAlertOnce() local
887 napi_valuetype valuetype = napi_undefined; GetNotificationIsStopwatch() local
912 napi_valuetype valuetype = napi_undefined; GetNotificationIsCountDown() local
937 napi_valuetype valuetype = napi_undefined; GetNotificationStatusBarText() local
963 napi_valuetype valuetype = napi_undefined; GetNotificationLabel() local
989 napi_valuetype valuetype = napi_undefined; GetNotificationBadgeIconStyle() local
1014 napi_valuetype valuetype = napi_undefined; GetNotificationShowDeliveryTime() local
1039 napi_valuetype valuetype = napi_undefined; GetNotificationIsRemoveAllowed() local
1065 napi_valuetype valuetype = napi_undefined; GetNotificationActionButtons() local
1127 napi_valuetype valuetype = napi_undefined; GetNotificationActionButtonsDetailedBasicInfo() local
1196 napi_valuetype valuetype = napi_undefined; GetNotificationActionButtonsDetailedByExtras() local
1228 napi_valuetype valuetype = napi_undefined; GetNotificationBadgeNumber() local
1316 napi_valuetype valuetype = napi_undefined; GetNotificationControlFlags() local
[all...]
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dcommon_event_parse.cpp124 napi_valuetype valuetype; in ParseParametersByCreateSubscriber() local
127 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParametersByCreateSubscriber()
128 if (valuetype != napi_object) { in ParseParametersByCreateSubscriber()
137 NAPI_CALL(env, napi_typeof(env, argv[1], &valuetype)); in ParseParametersByCreateSubscriber()
138 if (valuetype != napi_function) { in ParseParametersByCreateSubscriber()
183 napi_valuetype valuetype; in ParseParametersByGetSubscribeInfo() local
187 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParametersByGetSubscribeInfo()
188 if (valuetype != napi_function) { in ParseParametersByGetSubscribeInfo()
220 napi_valuetype valuetype; in ParseParametersByIsOrderedCommonEvent() local
224 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParametersByIsOrderedCommonEvent()
256 napi_valuetype valuetype; ParseParametersByIsStickyCommonEvent() local
293 napi_valuetype valuetype; ParseParametersByGetCode() local
331 napi_valuetype valuetype; ParseParametersBySetCode() local
425 napi_valuetype valuetype; ParseParametersByGetData() local
464 napi_valuetype valuetype; ParseParametersBySetData() local
505 napi_valuetype valuetype; ParseParametersBySetCodeAndData() local
556 napi_valuetype valuetype; ParseParametersByClearAbort() local
593 napi_valuetype valuetype; ParseParametersByAbort() local
630 napi_valuetype valuetype; ParseParametersByGetAbort() local
667 napi_valuetype valuetype; ParseParametersByFinish() local
707 napi_valuetype valuetype; ParseParametersBySubscribe() local
741 napi_valuetype valuetype; GetBundlenameByPublish() local
768 napi_valuetype valuetype; GetDataByPublish() local
804 napi_valuetype valuetype; GetCodeByPublish() local
829 napi_valuetype valuetype; GetSubscriberPermissionsByPublish() local
875 napi_valuetype valuetype; GetIsOrderedByPublish() local
899 napi_valuetype valuetype; GetIsStickyByPublish() local
923 napi_valuetype valuetype = napi_undefined; GetParametersByPublish() local
952 napi_valuetype valuetype; ParseParametersByPublish() local
1049 napi_valuetype valuetype; ParseParametersByPublishAsUser() local
1144 napi_valuetype valuetype; ParseParametersByUnsubscribe() local
1193 napi_valuetype valuetype = napi_undefined; ParseParametersByRemoveSticky() local
1232 napi_valuetype valuetype; GetEventsByCreateSubscriber() local
1287 napi_valuetype valuetype = napi_undefined; GetPublisherPermissionByCreateSubscriber() local
1316 napi_valuetype valuetype = napi_undefined; GetPublisherDeviceIdByCreateSubscriber() local
1344 napi_valuetype valuetype = napi_undefined; GetUserIdByCreateSubscriber() local
1371 napi_valuetype valuetype = napi_undefined; GetPriorityByCreateSubscriber() local
1398 napi_valuetype valuetype = napi_undefined; GetPublisherBundleNameByCreateSubscriber() local
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcancel.cpp42 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
44 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
45 if (valuetype != napi_number && valuetype != napi_object) { in ParseParameters()
52 if (valuetype == napi_number) { in ParseParameters()
66 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
67 if (valuetype == napi_undefined || valuetype == napi_null) { in ParseParameters()
70 if (valuetype != napi_number && valuetype ! in ParseParameters()
131 napi_valuetype valuetype = napi_undefined; ParseParameters() local
366 napi_valuetype valuetype = napi_undefined; ParseParameters() local
[all...]
H A Dcommon_convert_request.cpp238 napi_valuetype valuetype = napi_undefined; in SetNotificationRequestByPixelMap() local
240 NAPI_CALL(env, napi_typeof(env, smallIconResult, &valuetype)); in SetNotificationRequestByPixelMap()
241 if (valuetype == napi_undefined) { in SetNotificationRequestByPixelMap()
253 napi_valuetype valuetype = napi_undefined; in SetNotificationRequestByPixelMap() local
255 NAPI_CALL(env, napi_typeof(env, largeIconResult, &valuetype)); in SetNotificationRequestByPixelMap()
256 if (valuetype == napi_undefined) { in SetNotificationRequestByPixelMap()
268 napi_valuetype valuetype = napi_undefined; in SetNotificationRequestByPixelMap() local
270 NAPI_CALL(env, napi_typeof(env, overlayIconResult, &valuetype)); in SetNotificationRequestByPixelMap()
271 if (valuetype == napi_undefined) { in SetNotificationRequestByPixelMap()
414 napi_valuetype valuetype in SetNotificationActionButton() local
749 napi_valuetype valuetype = napi_undefined; GetNotificationSmallIcon() local
777 napi_valuetype valuetype = napi_undefined; GetNotificationLargeIcon() local
806 napi_valuetype valuetype = napi_undefined; GetNotificationOverlayIcon() local
837 napi_valuetype valuetype = napi_undefined; GetNotificationSupportDisplayDevices() local
882 napi_valuetype valuetype = napi_undefined; GetNotificationSupportOperateDevices() local
925 napi_valuetype valuetype = napi_undefined; GetNotificationId() local
953 napi_valuetype valuetype = napi_undefined; GetNotificationSlotType() local
1006 napi_valuetype valuetype = napi_undefined; GetNotificationIsOngoing() local
1031 napi_valuetype valuetype = napi_undefined; GetNotificationIsUnremovable() local
1056 napi_valuetype valuetype = napi_undefined; GetNotificationDeliveryTime() local
1081 napi_valuetype valuetype = napi_undefined; GetNotificationtapDismissed() local
1108 napi_valuetype valuetype = napi_undefined; GetNotificationWantAgent() local
1135 napi_valuetype valuetype = napi_undefined; GetNotificationExtraInfo() local
1163 napi_valuetype valuetype = napi_undefined; GetNotificationGroupName() local
1192 napi_valuetype valuetype = napi_undefined; GetNotificationRemovalWantAgent() local
1226 napi_valuetype valuetype = napi_undefined; GetNotificationMaxScreenWantAgent() local
1254 napi_valuetype valuetype = napi_undefined; GetNotificationAutoDeletedTime() local
1279 napi_valuetype valuetype = napi_undefined; GetNotificationClassification() local
1344 napi_valuetype valuetype = napi_undefined; GetNotificationColor() local
1373 napi_valuetype valuetype = napi_undefined; GetNotificationColorEnabled() local
1398 napi_valuetype valuetype = napi_undefined; GetNotificationIsAlertOnce() local
1423 napi_valuetype valuetype = napi_undefined; GetNotificationIsStopwatch() local
1448 napi_valuetype valuetype = napi_undefined; GetNotificationIsCountDown() local
1473 napi_valuetype valuetype = napi_undefined; GetNotificationStatusBarText() local
1498 napi_valuetype valuetype = napi_undefined; GetNotificationLabel() local
1524 napi_valuetype valuetype = napi_undefined; GetNotificationBadgeIconStyle() local
1549 napi_valuetype valuetype = napi_undefined; GetNotificationShowDeliveryTime() local
1574 napi_valuetype valuetype = napi_undefined; GetNotificationIsRemoveAllowed() local
1600 napi_valuetype valuetype = napi_undefined; GetNotificationActionButtons() local
1662 napi_valuetype valuetype = napi_undefined; GetNotificationActionButtonsDetailedBasicInfo() local
1737 napi_valuetype valuetype = napi_undefined; GetNotificationActionButtonsDetailedByExtras() local
1769 napi_valuetype valuetype = napi_undefined; GetNotificationBadgeNumber() local
1857 napi_valuetype valuetype = napi_undefined; GetNotificationControlFlags() local
[all...]
H A Ddisturb_mode.cpp33 napi_valuetype valuetype = napi_undefined; in GetDoNotDisturbDate() local
42 NAPI_CALL(env, napi_typeof(env, value, &valuetype)); in GetDoNotDisturbDate()
43 if (valuetype != napi_number) { in GetDoNotDisturbDate()
115 napi_valuetype valuetype = napi_undefined; in GetDoNotDisturbProfile() local
116 NAPI_CALL_BASE(env, napi_typeof(env, obj, &valuetype), false); in GetDoNotDisturbProfile()
117 if (valuetype != napi_number) { in GetDoNotDisturbProfile()
135 NAPI_CALL_BASE(env, napi_typeof(env, obj, &valuetype), false); in GetDoNotDisturbProfile()
136 if (valuetype != napi_string) { in GetDoNotDisturbProfile()
172 napi_valuetype valuetype = napi_undefined; in AnalyseTrustlist() local
173 NAPI_CALL_BASE(env, napi_typeof(env, nOption, &valuetype), fals in AnalyseTrustlist()
203 napi_valuetype valuetype = napi_undefined; ParseParameters() local
257 napi_valuetype valuetype = napi_undefined; ParseProfilesParameters() local
399 napi_valuetype valuetype = napi_undefined; ParseParameters() local
564 napi_valuetype valuetype = napi_undefined; ParseParameters() local
[all...]
H A Dcommon.cpp300 napi_valuetype valuetype = napi_undefined; in GetNotificationSubscriberInfo() local
321 NAPI_CALL(env, napi_typeof(env, nBundleName, &valuetype)); in GetNotificationSubscriberInfo()
322 if (valuetype != napi_string) { in GetNotificationSubscriberInfo()
337 NAPI_CALL(env, napi_typeof(env, nUserId, &valuetype)); in GetNotificationSubscriberInfo()
338 if (valuetype != napi_number) { in GetNotificationSubscriberInfo()
353 NAPI_CALL(env, napi_typeof(env, nDeviceType, &valuetype)); in GetNotificationSubscriberInfo()
354 if (valuetype != napi_string) { in GetNotificationSubscriberInfo()
374 napi_valuetype valuetype = napi_undefined; in GetNotificationUserInput() local
382 NAPI_CALL(env, napi_typeof(env, userInputResult, &valuetype)); in GetNotificationUserInput()
383 if (valuetype ! in GetNotificationUserInput()
402 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByInputKey() local
436 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByTag() local
470 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByOptions() local
523 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByPermitMimeTypes() local
571 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByPermitFreeFormInput() local
602 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByEditType() local
631 napi_valuetype valuetype = napi_undefined; GetNotificationUserInputByAdditionalData() local
664 napi_valuetype valuetype = napi_undefined; GetNotificationContentType() local
705 napi_valuetype valuetype = napi_undefined; GetNotificationSlot() local
761 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByString() local
806 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByBool() local
862 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByNumber() local
921 napi_valuetype valuetype = napi_undefined; GetNotificationSlotByVibration() local
980 napi_valuetype valuetype = napi_undefined; GetBundleOption() local
1022 napi_valuetype valuetype = napi_undefined; GetButtonOption() local
1054 napi_valuetype valuetype = napi_undefined; GetHashCodes() local
1077 napi_valuetype valuetype = napi_undefined; GetNotificationKey() local
1175 napi_valuetype valuetype = napi_undefined; GetNotificationTemplate() local
1208 napi_valuetype valuetype = napi_undefined; GetNotificationBundleOption() local
1241 napi_valuetype valuetype = napi_undefined; GetNotificationTemplateInfo() local
[all...]
H A Dpublish.cpp38 napi_valuetype valuetype = napi_undefined; in GetCallback() local
39 NAPI_CALL(env, napi_typeof(env, value, &valuetype)); in GetCallback()
40 if (valuetype != napi_function) { in GetCallback()
62 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
63 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
64 if (valuetype != napi_object) { in ParseParameters()
78 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
79 if ((valuetype != napi_number) && (valuetype != napi_function)) { in ParseParameters()
84 if (valuetype in ParseParameters()
193 napi_valuetype valuetype = napi_undefined; GetStringProperty() local
221 napi_valuetype valuetype = napi_undefined; GetObjectProperty() local
246 napi_valuetype valuetype = napi_undefined; ParseShowOptions() local
382 napi_valuetype valuetype = napi_undefined; ParsePublishAsBundleParameters() local
[all...]
H A Dans_template.cpp37 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
39 NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype)); in ParseParameters()
40 if (valuetype != napi_string && valuetype != napi_number && valuetype != napi_boolean) { in ParseParameters()
46 if (valuetype == napi_string) { in ParseParameters()
51 } else if (valuetype == napi_number) { in ParseParameters()
63 NAPI_CALL(env, napi_typeof(env, argv[1], &valuetype)); in ParseParameters()
64 if (valuetype != napi_function) { in ParseParameters()
H A Dcommon_convert_content.cpp231 napi_valuetype valuetype = napi_undefined; in SetNotificationPictureContent() local
233 NAPI_CALL(env, napi_typeof(env, pictureResult, &valuetype)); in SetNotificationPictureContent()
234 if (valuetype == napi_undefined) { in SetNotificationPictureContent()
365 napi_valuetype valuetype = napi_undefined; in SetMessageUser() local
367 NAPI_CALL(env, napi_typeof(env, iconResult, &valuetype)); in SetMessageUser()
368 if (valuetype == napi_undefined) { in SetMessageUser()
511 napi_valuetype valuetype = napi_undefined; in GetNotificationBasicContent() local
520 NAPI_CALL(env, napi_typeof(env, contentResult, &valuetype)); in GetNotificationBasicContent()
521 if (valuetype != napi_object) { in GetNotificationBasicContent()
600 napi_valuetype valuetype in GetNotificationLongTextContent() local
639 napi_valuetype valuetype = napi_undefined; GetNotificationLongTextContentDetailed() local
718 napi_valuetype valuetype = napi_undefined; GetNotificationPictureContent() local
754 napi_valuetype valuetype = napi_undefined; GetNotificationPictureContentDetailed() local
830 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContent() local
881 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentByUser() local
927 napi_valuetype valuetype = napi_undefined; GetMessageUserByString() local
990 napi_valuetype valuetype = napi_undefined; GetMessageUserByBool() local
1035 napi_valuetype valuetype = napi_undefined; GetMessageUserByCustom() local
1065 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentTitle() local
1095 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentGroup() local
1124 napi_valuetype valuetype = napi_undefined; GetNotificationConversationalContentMessages() local
1184 napi_valuetype valuetype = napi_undefined; GetConversationalMessageBasicInfo() local
1256 napi_valuetype valuetype = napi_undefined; GetConversationalMessageOtherInfo() local
1305 napi_valuetype valuetype = napi_undefined; GetNotificationMultiLineContent() local
1397 napi_valuetype valuetype = napi_undefined; GetNotificationMultiLineContentLines() local
1461 napi_valuetype valuetype = napi_undefined; SetLockScreenPicture() local
[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()
69 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); 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 ! in ParseParameters()
[all...]
H A Dcommon_convert_liveview.cpp129 napi_valuetype valuetype = napi_undefined; in SetCapsule() local
131 NAPI_CALL(env, napi_typeof(env, iconResult, &valuetype)); in SetCapsule()
132 if (valuetype == napi_undefined) { in SetCapsule()
389 napi_valuetype valuetype = napi_undefined; in GetNotificationLocalLiveViewContent() local
398 NAPI_CALL(env, napi_typeof(env, contentResult, &valuetype)); in GetNotificationLocalLiveViewContent()
399 if (valuetype != napi_object) { in GetNotificationLocalLiveViewContent()
428 napi_valuetype valuetype = napi_undefined; in GetNotificationLocalLiveViewCapsule() local
440 NAPI_CALL(env, napi_typeof(env, capsuleResult, &valuetype)); in GetNotificationLocalLiveViewCapsule()
441 if (valuetype != napi_object) { in GetNotificationLocalLiveViewCapsule()
451 NAPI_CALL(env, napi_typeof(env, result, &valuetype)); in GetNotificationLocalLiveViewCapsule()
567 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewButton() local
675 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewProgress() local
741 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewTime() local
824 napi_valuetype valuetype = napi_undefined; GetNotificationLocalLiveViewContentDetailed() local
[all...]
H A Dslot.cpp222 napi_valuetype valuetype = napi_undefined; in ParseParametersByAddSlot() local
224 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParametersByAddSlot()
225 if (valuetype != napi_object && valuetype != napi_number) { in ParseParametersByAddSlot()
231 if (valuetype == napi_number) { in ParseParametersByAddSlot()
247 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParametersByAddSlot()
248 if (valuetype != napi_function) { in ParseParametersByAddSlot()
272 napi_valuetype valuetype = napi_undefined; in ParseParametersByAddSlots() local
293 NAPI_CALL(env, napi_typeof(env, nSlot, &valuetype)); in ParseParametersByAddSlots()
294 if (valuetype ! in ParseParametersByAddSlots()
328 napi_valuetype valuetype = napi_undefined; ParseParametersSetSlotByBundle() local
403 napi_valuetype valuetype = napi_undefined; ParseParametersByGetSlot() local
438 napi_valuetype valuetype = napi_undefined; ParseParametersGetSlotNumByBundle() local
483 napi_valuetype valuetype = napi_undefined; ParseParametersSetSlotFlagsByBundle() local
536 napi_valuetype valuetype = napi_undefined; ParseParametersGetSlotFlagsByBundle() local
580 napi_valuetype valuetype = napi_undefined; ParseParametersGetSlotsByBundle() local
624 napi_valuetype valuetype = napi_undefined; ParseParametersGetSlotByBundle() local
688 napi_valuetype valuetype = napi_undefined; ParseParametersByRemoveSlot() local
1366 napi_valuetype valuetype = napi_undefined; ParseEnableSlotCallBackParam() local
1432 napi_valuetype valuetype = napi_undefined; ParseParametersEnableSlot() local
1518 napi_valuetype valuetype = napi_undefined; ParseParametersIsEnableSlot() local
[all...]
H A Ddistributed.cpp43 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
46 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
47 if (valuetype != napi_boolean) { in ParseParameters()
57 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
58 if (valuetype != napi_function) { in ParseParameters()
83 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
84 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
85 if (valuetype != napi_object) { in ParseParameters()
99 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
100 if (valuetype ! in ParseParameters()
136 napi_valuetype valuetype = napi_undefined; ParseParameters() local
609 napi_valuetype valuetype = napi_undefined; ParseParameters() local
724 napi_valuetype valuetype = napi_undefined; ParseParameters() local
[all...]
H A Denable_notification.cpp47 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
48 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
49 if (valuetype != napi_object) { in ParseParameters()
63 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
64 if (valuetype != napi_boolean) { in ParseParameters()
74 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters()
75 if (valuetype != napi_function) { in ParseParameters()
99 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
100 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
101 if ((valuetype ! in ParseParameters()
[all...]
H A Dunsubscribe.cpp37 napi_valuetype valuetype = napi_undefined; in ParseParameters() local
39 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParameters()
40 if (valuetype != napi_object) { in ParseParameters()
55 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParameters()
56 if (valuetype != napi_function) { in ParseParameters()
H A Dremove.cpp175 napi_valuetype valuetype = napi_undefined; in ParseParametersByRemoveAll() local
176 NAPI_CALL(env, napi_typeof(env, argv[PARAM0], &valuetype)); in ParseParametersByRemoveAll()
177 if ((valuetype != napi_object) && (valuetype != napi_number) && (valuetype != napi_function)) { in ParseParametersByRemoveAll()
181 if (valuetype == napi_object) { in ParseParametersByRemoveAll()
190 } else if (valuetype == napi_number) { in ParseParametersByRemoveAll()
199 NAPI_CALL(env, napi_typeof(env, argv[PARAM1], &valuetype)); in ParseParametersByRemoveAll()
200 if (valuetype != napi_function) { in ParseParametersByRemoveAll()
218 napi_valuetype valuetype in ParseParameters() local
[all...]
/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()
[all...]
/base/print/print_fwk/interfaces/kits/napi/scan_napi/src/
H A Dnapi_inner_scan.cpp150 napi_valuetype valuetype = napi_undefined; in OpenScanner()
151 SCAN_CALL_BASE(env, napi_typeof(env, argv[NapiScanUtils::INDEX_ZERO], &valuetype), napi_invalid_arg); in OpenScanner()
152 SCAN_ASSERT_BASE(env, valuetype == napi_string, "scannerId is not a string", napi_string_expected); in OpenScanner()
182 napi_valuetype valuetype = napi_undefined; in CloseScanner()
183 SCAN_CALL_BASE(env, napi_typeof(env, argv[NapiScanUtils::INDEX_ZERO], &valuetype), napi_invalid_arg); in CloseScanner()
184 SCAN_ASSERT_BASE(env, valuetype == napi_string, "scannerId is not a string", napi_string_expected); in CloseScanner()
214 napi_valuetype valuetype = napi_undefined; in GetScanOptionDesc()
215 SCAN_CALL_BASE(env, napi_typeof(env, argv[NapiScanUtils::INDEX_ZERO], &valuetype), napi_invalid_arg); in GetScanOptionDesc()
216 SCAN_ASSERT_BASE(env, valuetype == napi_string, "scannerId is not a string", napi_string_expected); in GetScanOptionDesc()
219 valuetype in GetScanOptionDesc()
601 napi_valuetype valuetype = napi_undefined; On() local
[all...]
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_print_ext.cpp186 napi_valuetype valuetype; in UpdatePrinterState()
187 PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_arg); in UpdatePrinterState()
188 PRINT_ASSERT_BASE(env, valuetype == napi_string, "printerId is not a string", napi_string_expected); in UpdatePrinterState()
190 PRINT_CALL_BASE(env, napi_typeof(env, argv[1], &valuetype), napi_invalid_arg); in UpdatePrinterState()
191 PRINT_ASSERT_BASE(env, valuetype == napi_number, "printerStateis not a number", napi_number_expected); in UpdatePrinterState()
236 napi_valuetype valuetype; in UpdatePrintJobStateOnlyForSystemApp()
237 PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_ZERO], &valuetype), napi_invalid_arg); in UpdatePrintJobStateOnlyForSystemApp()
238 PRINT_ASSERT_BASE(env, valuetype == napi_string, "printJobId is not a string", napi_string_expected); in UpdatePrintJobStateOnlyForSystemApp()
240 PRINT_CALL_BASE(env, napi_typeof(env, argv[1], &valuetype), napi_invalid_arg); in UpdatePrintJobStateOnlyForSystemApp()
241 PRINT_ASSERT_BASE(env, valuetype in UpdatePrintJobStateOnlyForSystemApp()
[all...]
/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/
H A Dvibrator_napi_utils.cpp93 napi_valuetype valuetype = napi_undefined; in GetInt32Value() local
94 CHKCF(napi_typeof(env, value, &valuetype) == napi_ok, "napi_typeof failed"); in GetInt32Value()
95 CHKCF((valuetype == napi_number), "Wrong argument type. Number expected"); in GetInt32Value()
103 napi_valuetype valuetype = napi_undefined; in GetDoubleValue() local
104 CHKCF(napi_typeof(env, value, &valuetype) == napi_ok, "napi_typeof failed"); in GetDoubleValue()
105 CHKCF((valuetype == napi_number), "Wrong argument type. Number expected"); in GetDoubleValue()
113 napi_valuetype valuetype = napi_undefined; in GetInt64Value() local
114 CHKCF(napi_typeof(env, value, &valuetype) == napi_ok, "napi_typeof failed"); in GetInt64Value()
115 CHKCF((valuetype == napi_number), "Wrong argument type. Number expected"); in GetInt64Value()
123 napi_valuetype valuetype in GetBoolValue() local
133 napi_valuetype valuetype = napi_undefined; GetStringValue() local
[all...]

Completed in 20 milliseconds

123