/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_liveview.cpp | 40 bool hasProperty = false; in GetNotificationLocalLiveViewContent() local 41 NAPI_CALL(env, napi_has_named_property(env, result, "systemLiveView", &hasProperty)); in GetNotificationLocalLiveViewContent() 42 if (!hasProperty) { in GetNotificationLocalLiveViewContent() 73 bool hasProperty = false; in GetNotificationLocalLiveViewCapsule() local 81 NAPI_CALL(env, napi_has_named_property(env, contentResult, "capsule", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 92 NAPI_CALL(env, napi_has_named_property(env, capsuleResult, "title", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 93 if (hasProperty) { in GetNotificationLocalLiveViewCapsule() 106 NAPI_CALL(env, napi_has_named_property(env, capsuleResult, "backgroundColor", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 107 if (hasProperty) { in GetNotificationLocalLiveViewCapsule() 118 NAPI_CALL(env, napi_has_named_property(env, capsuleResult, "icon", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 150 bool hasProperty = false; GetNotificationLocalLiveViewButton() local 227 bool hasProperty = false; GetNotificationLocalLiveViewProgress() local 293 bool hasProperty = false; GetNotificationLocalLiveViewTime() local 372 bool hasProperty = false; GetNotificationLocalLiveViewContentDetailed() local [all...] |
H A D | notification_napi_convert_content.cpp | 125 bool hasProperty = false; in GetNotificationBasicContent() local 126 NAPI_CALL(env, napi_has_named_property(env, result, "normal", &hasProperty)); in GetNotificationBasicContent() 127 if (!hasProperty) { in GetNotificationBasicContent() 153 bool hasProperty = false; in GetNotificationBasicContentDetailed() local 186 NAPI_CALL(env, napi_has_named_property(env, contentResult, "additionalText", &hasProperty)); in GetNotificationBasicContentDetailed() 187 if (hasProperty) { in GetNotificationBasicContentDetailed() 209 bool hasProperty = false; in GetNotificationLongTextContent() local 211 NAPI_CALL(env, napi_has_named_property(env, result, "longText", &hasProperty)); in GetNotificationLongTextContent() 212 if (!hasProperty) { in GetNotificationLongTextContent() 243 bool hasProperty in GetNotificationLongTextContentDetailed() local 322 bool hasProperty = false; GetNotificationPictureContent() local 354 bool hasProperty = false; GetNotificationPictureContentDetailed() local 430 bool hasProperty = false; GetNotificationConversationalContent() local 475 bool hasProperty = false; GetNotificationConversationalContentByUser() local 522 bool hasProperty = false; GetMessageUserByString() local 586 bool hasProperty = false; GetMessageUserByBool() local 632 bool hasProperty = false; GetMessageUserByCustom() local 663 bool hasProperty = false; GetNotificationConversationalContentTitle() local 693 bool hasProperty = false; GetNotificationConversationalContentGroup() local 722 bool hasProperty = false; GetNotificationConversationalContentMessages() local 782 bool hasProperty = false; GetConversationalMessageBasicInfo() local 857 bool hasProperty = false; GetConversationalMessageOtherInfo() local 908 bool hasProperty = false; GetNotificationMultiLineContent() local 1029 bool hasProperty = false; GetLockScreenPicture() local [all...] |
H A D | notification_napi_convert_notification.cpp | 39 bool hasProperty = false; in GetNotificationRequestDistributedOptions() local 42 NAPI_CALL(env, napi_has_named_property(env, value, "distributedOption", &hasProperty)); in GetNotificationRequestDistributedOptions() 43 if (hasProperty) { in GetNotificationRequestDistributedOptions() 77 bool hasProperty = false; in GetNotificationIsDistributed() local 80 NAPI_CALL(env, napi_has_named_property(env, value, "isDistributed", &hasProperty)); in GetNotificationIsDistributed() 81 if (hasProperty) { in GetNotificationIsDistributed()
|
H A D | notification_napi.cpp | 48 bool hasProperty = false; in GetNotificationSubscriberInfo() local 53 NAPI_CALL(env, napi_has_named_property(env, value, "bundleNames", &hasProperty)); in GetNotificationSubscriberInfo() 54 if (hasProperty) { in GetNotificationSubscriberInfo() 83 NAPI_CALL(env, napi_has_named_property(env, value, "userId", &hasProperty)); in GetNotificationSubscriberInfo() 84 if (hasProperty) { in GetNotificationSubscriberInfo() 105 bool hasProperty = false; in GetNotificationUserInput() local 108 NAPI_CALL(env, napi_has_named_property(env, actionButton, "userInput", &hasProperty)); in GetNotificationUserInput() 109 if (hasProperty) { in GetNotificationUserInput() 133 bool hasProperty = false; in GetNotificationUserInputByInputKey() local 138 NAPI_CALL(env, napi_has_named_property(env, userInputResult, "inputKey", &hasProperty)); in GetNotificationUserInputByInputKey() 167 bool hasProperty = false; GetNotificationUserInputByTag() local 201 bool hasProperty = false; GetNotificationUserInputByOptions() local 254 bool hasProperty = false; GetNotificationUserInputByPermitMimeTypes() local 301 bool hasProperty = false; GetNotificationUserInputByPermitFreeFormInput() local 332 bool hasProperty = false; GetNotificationUserInputByEditType() local 362 bool hasProperty = false; GetNotificationUserInputByAdditionalData() local 492 bool hasProperty = false; GetNotificationSlotByString() local 538 bool hasProperty = false; GetNotificationSlotByBool() local 595 bool hasProperty = false; GetNotificationSlotByNumber() local 655 bool hasProperty = false; GetNotificationSlotByVibration() local 865 bool hasProperty = false; GetNotificationTemplate() local 894 bool hasProperty = false; GetNotificationBundleOption() local 923 bool hasProperty = false; GetNotificationTemplateInfo() local [all...] |
H A D | notification_napi_convert_request.cpp | 227 bool hasProperty = false; in GetNotificationSmallIcon() local 229 NAPI_CALL(env, napi_has_named_property(env, value, "smallIcon", &hasProperty)); in GetNotificationSmallIcon() 230 if (hasProperty) { in GetNotificationSmallIcon() 256 bool hasProperty = false; in GetNotificationLargeIcon() local 258 NAPI_CALL(env, napi_has_named_property(env, value, "largeIcon", &hasProperty)); in GetNotificationLargeIcon() 259 if (hasProperty) { in GetNotificationLargeIcon() 285 bool hasProperty = false; in GetNotificationOverlayIcon() local 287 NAPI_CALL(env, napi_has_named_property(env, value, "overlayIcon", &hasProperty)); in GetNotificationOverlayIcon() 288 if (hasProperty) { in GetNotificationOverlayIcon() 313 bool hasProperty in GetNotificationSupportDisplayDevices() local 358 bool hasProperty = false; GetNotificationSupportOperateDevices() local 405 bool hasProperty = false; GetNotificationId() local 488 bool hasProperty = false; GetNotificationIsOngoing() local 513 bool hasProperty = false; GetNotificationIsUnremovable() local 538 bool hasProperty = false; GetNotificationDeliveryTime() local 563 bool hasProperty = false; GetNotificationtapDismissed() local 586 bool hasProperty = false; GetNotificationWantAgent() local 619 bool hasProperty = false; GetNotificationExtraInfo() local 648 bool hasProperty = false; GetNotificationGroupName() local 672 bool hasProperty = false; GetNotificationRemovalWantAgent() local 706 bool hasProperty = false; GetNotificationMaxScreenWantAgent() local 739 bool hasProperty = false; GetNotificationAutoDeletedTime() local 764 bool hasProperty = false; GetNotificationClassification() local 786 bool hasProperty = false; GetNotificationAppMessageId() local 810 bool hasProperty = false; GetNotificationColor() local 839 bool hasProperty = false; GetNotificationColorEnabled() local 864 bool hasProperty = false; GetNotificationIsAlertOnce() local 889 bool hasProperty = false; GetNotificationIsStopwatch() local 914 bool hasProperty = false; GetNotificationIsCountDown() local 939 bool hasProperty = false; GetNotificationStatusBarText() local 965 bool hasProperty = false; GetNotificationLabel() local 991 bool hasProperty = false; GetNotificationBadgeIconStyle() local 1016 bool hasProperty = false; GetNotificationShowDeliveryTime() local 1041 bool hasProperty = false; GetNotificationIsRemoveAllowed() local 1068 bool hasProperty = false; GetNotificationActionButtons() local 1128 bool hasProperty = false; GetNotificationActionButtonsDetailedBasicInfo() local 1198 bool hasProperty = false; GetNotificationActionButtonsDetailedByExtras() local 1230 bool hasProperty = false; GetNotificationBadgeNumber() local 1257 bool hasProperty = false; GetNotificationUnifiedGroupInfo() local 1318 bool hasProperty = false; GetNotificationControlFlags() local [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_request.cpp | 751 bool hasProperty = false; in GetNotificationSmallIcon() local 753 NAPI_CALL(env, napi_has_named_property(env, value, "smallIcon", &hasProperty)); in GetNotificationSmallIcon() 754 if (hasProperty) { in GetNotificationSmallIcon() 779 bool hasProperty = false; in GetNotificationLargeIcon() local 781 NAPI_CALL(env, napi_has_named_property(env, value, "largeIcon", &hasProperty)); in GetNotificationLargeIcon() 782 if (hasProperty) { in GetNotificationLargeIcon() 808 bool hasProperty = false; in GetNotificationOverlayIcon() local 810 NAPI_CALL(env, napi_has_named_property(env, value, "overlayIcon", &hasProperty)); in GetNotificationOverlayIcon() 811 if (hasProperty) { in GetNotificationOverlayIcon() 836 bool hasProperty in GetNotificationSupportDisplayDevices() local 881 bool hasProperty = false; GetNotificationSupportOperateDevices() local 927 bool hasProperty = false; GetNotificationId() local 1008 bool hasProperty = false; GetNotificationIsOngoing() local 1033 bool hasProperty = false; GetNotificationIsUnremovable() local 1058 bool hasProperty = false; GetNotificationDeliveryTime() local 1083 bool hasProperty = false; GetNotificationtapDismissed() local 1105 bool hasProperty = false; GetNotificationWantAgent() local 1137 bool hasProperty = false; GetNotificationExtraInfo() local 1165 bool hasProperty = false; GetNotificationGroupName() local 1189 bool hasProperty = false; GetNotificationRemovalWantAgent() local 1223 bool hasProperty = false; GetNotificationMaxScreenWantAgent() local 1256 bool hasProperty = false; GetNotificationAutoDeletedTime() local 1281 bool hasProperty = false; GetNotificationClassification() local 1303 bool hasProperty = false; GetNotificationAppMessageId() local 1323 bool hasProperty = false; GetNotificationSound() local 1346 bool hasProperty = false; GetNotificationColor() local 1375 bool hasProperty = false; GetNotificationColorEnabled() local 1400 bool hasProperty = false; GetNotificationIsAlertOnce() local 1425 bool hasProperty = false; GetNotificationIsStopwatch() local 1450 bool hasProperty = false; GetNotificationIsCountDown() local 1475 bool hasProperty = false; GetNotificationStatusBarText() local 1500 bool hasProperty = false; GetNotificationLabel() local 1526 bool hasProperty = false; GetNotificationBadgeIconStyle() local 1551 bool hasProperty = false; GetNotificationShowDeliveryTime() local 1576 bool hasProperty = false; GetNotificationIsRemoveAllowed() local 1603 bool hasProperty = false; GetNotificationActionButtons() local 1663 bool hasProperty = false; GetNotificationActionButtonsDetailedBasicInfo() local 1739 bool hasProperty = false; GetNotificationActionButtonsDetailedByExtras() local 1771 bool hasProperty = false; GetNotificationBadgeNumber() local 1798 bool hasProperty = false; GetNotificationUnifiedGroupInfo() local 1859 bool hasProperty = false; GetNotificationControlFlags() local [all...] |
H A D | common_convert_content.cpp | 513 bool hasProperty = false; in GetNotificationBasicContent() local 514 NAPI_CALL(env, napi_has_named_property(env, result, "normal", &hasProperty)); in GetNotificationBasicContent() 515 if (!hasProperty) { in GetNotificationBasicContent() 546 bool hasProperty = false; in GetNotificationBasicContentDetailed() local 579 NAPI_CALL(env, napi_has_named_property(env, contentResult, "additionalText", &hasProperty)); in GetNotificationBasicContentDetailed() 580 if (hasProperty) { in GetNotificationBasicContentDetailed() 602 bool hasProperty = false; in GetNotificationLongTextContent() local 604 NAPI_CALL(env, napi_has_named_property(env, result, "longText", &hasProperty)); in GetNotificationLongTextContent() 605 if (!hasProperty) { in GetNotificationLongTextContent() 641 bool hasProperty in GetNotificationLongTextContentDetailed() local 720 bool hasProperty = false; GetNotificationPictureContent() local 756 bool hasProperty = false; GetNotificationPictureContentDetailed() local 832 bool hasProperty = false; GetNotificationConversationalContent() local 882 bool hasProperty = false; GetNotificationConversationalContentByUser() local 928 bool hasProperty = false; GetMessageUserByString() local 991 bool hasProperty = false; GetMessageUserByBool() local 1036 bool hasProperty = false; GetMessageUserByCustom() local 1067 bool hasProperty = false; GetNotificationConversationalContentTitle() local 1097 bool hasProperty = false; GetNotificationConversationalContentGroup() local 1126 bool hasProperty = false; GetNotificationConversationalContentMessages() local 1185 bool hasProperty = false; GetConversationalMessageBasicInfo() local 1257 bool hasProperty = false; GetConversationalMessageOtherInfo() local 1308 bool hasProperty = false; GetNotificationMultiLineContent() local 1434 bool hasProperty = false; GetLockScreenPicture() local [all...] |
H A D | common.cpp | 298 bool hasProperty = false; in GetNotificationSubscriberInfo() local 303 NAPI_CALL(env, napi_has_named_property(env, value, "bundleNames", &hasProperty)); in GetNotificationSubscriberInfo() 304 if (hasProperty) { in GetNotificationSubscriberInfo() 333 NAPI_CALL(env, napi_has_named_property(env, value, "userId", &hasProperty)); in GetNotificationSubscriberInfo() 334 if (hasProperty) { in GetNotificationSubscriberInfo() 347 NAPI_CALL(env, napi_has_named_property(env, value, "deviceType", &hasProperty)); in GetNotificationSubscriberInfo() 348 if (hasProperty) { in GetNotificationSubscriberInfo() 376 bool hasProperty = false; in GetNotificationUserInput() local 379 NAPI_CALL(env, napi_has_named_property(env, actionButton, "userInput", &hasProperty)); in GetNotificationUserInput() 380 if (hasProperty) { in GetNotificationUserInput() 404 bool hasProperty = false; GetNotificationUserInputByInputKey() local 438 bool hasProperty = false; GetNotificationUserInputByTag() local 472 bool hasProperty = false; GetNotificationUserInputByOptions() local 525 bool hasProperty = false; GetNotificationUserInputByPermitMimeTypes() local 572 bool hasProperty = false; GetNotificationUserInputByPermitFreeFormInput() local 603 bool hasProperty = false; GetNotificationUserInputByEditType() local 633 bool hasProperty = false; GetNotificationUserInputByAdditionalData() local 762 bool hasProperty = false; GetNotificationSlotByString() local 807 bool hasProperty = false; GetNotificationSlotByBool() local 863 bool hasProperty = false; GetNotificationSlotByNumber() local 922 bool hasProperty = false; GetNotificationSlotByVibration() local 1177 bool hasProperty = false; GetNotificationTemplate() local 1210 bool hasProperty = false; GetNotificationBundleOption() local 1243 bool hasProperty = false; GetNotificationTemplateInfo() local [all...] |
H A D | common_convert_liveview.cpp | 391 bool hasProperty = false; in GetNotificationLocalLiveViewContent() local 392 NAPI_CALL(env, napi_has_named_property(env, result, "systemLiveView", &hasProperty)); in GetNotificationLocalLiveViewContent() 393 if (!hasProperty) { in GetNotificationLocalLiveViewContent() 429 bool hasProperty = false; in GetNotificationLocalLiveViewCapsule() local 437 NAPI_CALL(env, napi_has_named_property(env, contentResult, "capsule", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 448 NAPI_CALL(env, napi_has_named_property(env, capsuleResult, "title", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 449 if (hasProperty) { in GetNotificationLocalLiveViewCapsule() 462 NAPI_CALL(env, napi_has_named_property(env, capsuleResult, "backgroundColor", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 463 if (hasProperty) { in GetNotificationLocalLiveViewCapsule() 475 NAPI_CALL(env, napi_has_named_property(env, capsuleResult, "content", &hasProperty)); in GetNotificationLocalLiveViewCapsule() 571 bool hasProperty = false; GetNotificationLocalLiveViewButton() local 676 bool hasProperty = false; GetNotificationLocalLiveViewProgress() local 742 bool hasProperty = false; GetNotificationLocalLiveViewTime() local 821 bool hasProperty = false; GetNotificationLocalLiveViewContentDetailed() local [all...] |
H A D | common_convert_notification.cpp | 173 bool hasProperty = false; in GetNotificationRequestDistributedOptions() local 176 NAPI_CALL(env, napi_has_named_property(env, value, "distributedOption", &hasProperty)); in GetNotificationRequestDistributedOptions() 177 if (hasProperty) { in GetNotificationRequestDistributedOptions() 211 bool hasProperty = false; in GetNotificationIsDistributed() local 214 NAPI_CALL(env, napi_has_named_property(env, value, "isDistributed", &hasProperty)); in GetNotificationIsDistributed() 215 if (hasProperty) { in GetNotificationIsDistributed()
|
H A D | disturb_mode.cpp | 32 bool hasProperty = false; in GetDoNotDisturbDate() local 35 NAPI_CALL(env, napi_has_named_property(env, argv, "type", &hasProperty)); in GetDoNotDisturbDate() 36 if (!hasProperty) { in GetDoNotDisturbDate() 60 NAPI_CALL(env, napi_has_named_property(env, argv, "begin", &hasProperty)); in GetDoNotDisturbDate() 61 if (!hasProperty) { in GetDoNotDisturbDate() 80 NAPI_CALL(env, napi_has_named_property(env, argv, "end", &hasProperty)); in GetDoNotDisturbDate() 81 if (!hasProperty) { in GetDoNotDisturbDate() 106 bool hasProperty = false; in GetDoNotDisturbProfile() local 107 NAPI_CALL_BASE(env, napi_has_named_property(env, value, "id", &hasProperty), false); in GetDoNotDisturbProfile() 108 if (!hasProperty) { in GetDoNotDisturbProfile() 149 bool hasProperty = false; AnalyseTrustlist() local [all...] |
H A D | subscribe.cpp | 1103 bool hasProperty = false; in GetNotificationSubscriber() local 1125 NAPI_CALL(env, napi_has_named_property(env, value, "onConsume", &hasProperty)); in GetNotificationSubscriber() 1126 if (hasProperty) { in GetNotificationSubscriber() 1140 NAPI_CALL(env, napi_has_named_property(env, value, "onCancel", &hasProperty)); in GetNotificationSubscriber() 1141 if (hasProperty) { in GetNotificationSubscriber() 1155 NAPI_CALL(env, napi_has_named_property(env, value, "onUpdate", &hasProperty)); in GetNotificationSubscriber() 1156 if (hasProperty) { in GetNotificationSubscriber() 1170 NAPI_CALL(env, napi_has_named_property(env, value, "onConnect", &hasProperty)); in GetNotificationSubscriber() 1171 if (hasProperty) { in GetNotificationSubscriber() 1185 NAPI_CALL(env, napi_has_named_property(env, value, "onDisconnect", &hasProperty)); in GetNotificationSubscriber() [all...] |
/base/location/frameworks/js/napi/source/ |
H A D | location_napi_system.cpp | 63 bool hasProperty = false; in GetAllCallback() local 67 NAPI_CALL_RETURN_VOID(env, napi_has_named_property(env, argv, "success", &hasProperty)); in GetAllCallback() 68 if (hasProperty) { in GetAllCallback() 72 hasProperty = false; in GetAllCallback() 73 NAPI_CALL_RETURN_VOID(env, napi_has_named_property(env, argv, "fail", &hasProperty)); in GetAllCallback() 74 if (hasProperty) { in GetAllCallback() 78 hasProperty = false; in GetAllCallback() 79 NAPI_CALL_RETURN_VOID(env, napi_has_named_property(env, argv, "complete", &hasProperty)); in GetAllCallback() 80 if (hasProperty) { in GetAllCallback() 104 bool hasProperty in GetLocation() local 167 bool hasProperty = false; GetLocationType() local 228 bool hasProperty = false; Subscribe() local [all...] |
/base/customization/enterprise_device_management/interfaces/kits/common/src/ |
H A D | napi_edm_common.cpp | 282 bool hasProperty = false; in JsObjectToInt() local 283 if (napi_has_named_property(env, object, filedStr, &hasProperty) != napi_ok) { in JsObjectToInt() 287 if (isNecessaryProp && !hasProperty) { in JsObjectToInt() 290 if (hasProperty) { in JsObjectToInt() 299 bool hasProperty = false; in JsObjectToUint() local 300 if (napi_has_named_property(env, object, filedStr, &hasProperty) != napi_ok) { in JsObjectToUint() 304 if (isNecessaryProp && !hasProperty) { in JsObjectToUint() 307 if (hasProperty) { in JsObjectToUint() 316 bool hasProperty = false; in JsObjectToLong() local 317 if (napi_has_named_property(env, object, filedStr, &hasProperty) ! in JsObjectToLong() 333 bool hasProperty = false; JsObjectToBool() local 351 bool hasProperty = false; JsObjectToString() local 369 bool hasProperty = false; JsObjectToCharArray() local 390 bool hasProperty = false; GetJsProperty() local 436 bool hasProperty = false; JsObjectToStringVector() local [all...] |
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
H A D | napi_util.cpp | 56 bool hasProperty = false; in JsObjectToString() local 57 napi_has_named_property(env, object, fieldStr.c_str(), &hasProperty); in JsObjectToString() 58 if (hasProperty) { in JsObjectToString() 84 bool hasProperty = false; in JsObjectGetProperty() local 85 napi_has_named_property(env, object, fieldStr.c_str(), &hasProperty); in JsObjectGetProperty() 86 if (hasProperty) { in JsObjectGetProperty() 91 return hasProperty; in JsObjectGetProperty() 96 bool hasProperty = false; in JsObjectToBool() local 97 napi_has_named_property(env, object, fieldStr.c_str(), &hasProperty); in JsObjectToBool() 98 if (hasProperty) { in JsObjectToBool() 114 bool hasProperty = false; JsObjectToInt() local 133 bool hasProperty = false; JsObjectToUint() local [all...] |
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/ |
H A D | common_event_parse.cpp | 610 bool hasProperty = false; in GetBundlenameByPublish() local 612 NAPI_CALL(env, napi_has_named_property(env, value, "bundleName", &hasProperty)); in GetBundlenameByPublish() 613 if (hasProperty) { in GetBundlenameByPublish() 635 bool hasProperty = false; in GetDataByPublish() local 637 NAPI_CALL(env, napi_has_named_property(env, value, "data", &hasProperty)); in GetDataByPublish() 638 if (hasProperty) { in GetDataByPublish() 664 bool hasProperty = false; in GetCodeByPublish() local 666 NAPI_CALL(env, napi_has_named_property(env, value, "code", &hasProperty)); in GetCodeByPublish() 667 if (hasProperty) { in GetCodeByPublish() 690 bool hasProperty in GetSubscriberPermissionsByPublish() local 730 bool hasProperty = false; GetIsOrderedByPublish() local 752 bool hasProperty = false; GetIsStickyByPublish() local 774 bool hasProperty = false; GetParametersByPublish() local 1014 bool hasProperty = false; GetEventsByCreateSubscriber() local 1059 bool hasProperty = false; GetPublisherPermissionByCreateSubscriber() local 1085 bool hasProperty = false; GetPublisherDeviceIdByCreateSubscriber() local 1136 bool hasProperty = false; GetPriorityByCreateSubscriber() local [all...] |
/base/global/i18n/interfaces/js/kits/src/ |
H A D | variable_convertor.cpp | 46 bool hasProperty = false; in GetOptionValue() local 47 napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetOptionValue() 48 if (propStatus == napi_ok && hasProperty) { in GetOptionValue() 74 bool hasProperty = false; in GetBoolOptionValue() local 75 status = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetBoolOptionValue() 76 if (status != napi_ok || !hasProperty) { in GetBoolOptionValue()
|
/base/time/time_service/framework/js/napi/system_timer/src/ |
H A D | napi_system_timer.cpp | 182 bool hasProperty = false; in GetTimerOptions() local 185 napi_has_named_property(env, value, "type", &hasProperty); in GetTimerOptions() 186 CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, context, hasProperty, in GetTimerOptions() 192 napi_has_named_property(env, value, "repeat", &hasProperty); in GetTimerOptions() 193 CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, context, hasProperty, in GetTimerOptions() 199 napi_has_named_property(env, value, "interval", &hasProperty); in GetTimerOptions() 200 if (hasProperty) { in GetTimerOptions() 206 napi_has_named_property(env, value, "wantAgent", &hasProperty); in GetTimerOptions() 207 if (hasProperty) { in GetTimerOptions() 213 napi_has_named_property(env, value, "callback", &hasProperty); in GetTimerOptions() [all...] |
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
H A D | common_event_parse.cpp | 744 bool hasProperty = false; in GetBundlenameByPublish() local 747 NAPI_CALL(env, napi_has_named_property(env, value, "bundleName", &hasProperty)); in GetBundlenameByPublish() 748 if (hasProperty) { in GetBundlenameByPublish() 771 bool hasProperty = false; in GetDataByPublish() local 774 NAPI_CALL(env, napi_has_named_property(env, value, "data", &hasProperty)); in GetDataByPublish() 775 if (hasProperty) { in GetDataByPublish() 806 bool hasProperty = false; in GetCodeByPublish() local 808 NAPI_CALL(env, napi_has_named_property(env, value, "code", &hasProperty)); in GetCodeByPublish() 809 if (hasProperty) { in GetCodeByPublish() 833 bool hasProperty in GetSubscriberPermissionsByPublish() local 877 bool hasProperty = false; GetIsOrderedByPublish() local 901 bool hasProperty = false; GetIsStickyByPublish() local 925 bool hasProperty = false; GetParametersByPublish() local 1233 bool hasProperty = false; GetEventsByCreateSubscriber() local 1285 bool hasProperty = false; GetPublisherPermissionByCreateSubscriber() local 1314 bool hasProperty = false; GetPublisherDeviceIdByCreateSubscriber() local 1369 bool hasProperty = false; GetPriorityByCreateSubscriber() local [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
H A D | reminder_common.cpp | 456 bool hasProperty = false; in GenReminder() local 457 NAPI_CALL(env, napi_has_named_property(env, value, ReminderAgentNapi::REMINDER_TYPE, &hasProperty)); in GenReminder() 458 if (!hasProperty) { in GenReminder() 618 bool hasProperty = false; in GetStringUtf8() local 623 NAPI_CALL_BASE(env, napi_has_named_property(env, value, propertyName, &hasProperty), false); in GetStringUtf8() 624 if (hasProperty) { in GetStringUtf8() 633 return hasProperty; in GetStringUtf8() 639 bool hasProperty = false; in GetBool() local 642 NAPI_CALL_BASE(env, napi_has_named_property(env, value, propertyName, &hasProperty), false); in GetBool() 643 if (!hasProperty) { in GetBool() 689 bool hasProperty = false; GetPropertyValIfExist() local 711 bool hasProperty = false; GetObject() local 734 bool hasProperty = false; GetDate() local [all...] |
/base/telephony/core_service/frameworks/js/napi/ |
H A D | napi_util.cpp | 209 bool hasProperty = false; in HasNamedProperty() local 210 NAPI_CALL_BASE(env, napi_has_named_property(env, object, propertyName.data(), &hasProperty), false); in HasNamedProperty() 211 return hasProperty; in HasNamedProperty() 217 bool hasProperty = false; in HasNamedTypeProperty() local 218 NAPI_CALL_BASE(env, napi_has_named_property(env, object, propertyName.data(), &hasProperty), false); in HasNamedTypeProperty() 219 if (hasProperty) { in HasNamedTypeProperty() 244 bool hasProperty = false; in MatchOptionPropertyType() local 245 NAPI_CALL_BASE(env, napi_has_named_property(env, object, propertyName.data(), &hasProperty), false); in MatchOptionPropertyType() 246 if (hasProperty) { in MatchOptionPropertyType() 270 bool hasProperty in GetNamedProperty() local [all...] |
/base/print/print_fwk/frameworks/helper/print_helper/include/ |
H A D | printer_capability_helper.h | 74 bool hasProperty = NapiPrintUtils::HasNamedProperty(env, jsValue, propertyName); in ProcessJsArrayProperty() local 75 if (!hasProperty) { in ProcessJsArrayProperty()
|
/base/account/os_account/interfaces/kits/napi/common/include/ |
H A D | napi_account_common.h | 64 bool GetOptionIntProperty(napi_env env, napi_value obj, int32_t &property, bool &hasProperty);
75 std::string &property, bool &hasProperty);
77 int32_t &numberProperty, bool &hasProperty);
|
/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | napi_scan_utils.cpp | 44 bool hasProperty = false; in HasNamedProperty() local 45 SCAN_CALL_BASE(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty), false); in HasNamedProperty() 46 return hasProperty; in HasNamedProperty() 52 bool hasProperty = false; in GetNamedProperty() local 53 SCAN_CALL(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty)); in GetNamedProperty() 54 if (!hasProperty) { in GetNamedProperty()
|
/base/print/print_fwk/frameworks/helper/print_helper/src/ |
H A D | napi_print_utils.cpp | 40 bool hasProperty = false; in HasNamedProperty() local 41 PRINT_CALL_BASE(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty), false); in HasNamedProperty() 42 return hasProperty; in HasNamedProperty() 48 bool hasProperty = false; in GetNamedProperty() local 49 PRINT_CALL(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty)); in GetNamedProperty() 50 if (!hasProperty) { in GetNamedProperty()
|