Home
last modified time | relevance | path

Searched refs:hasCallback (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/base/telephony/core_service/frameworks/js/vcard/src/
H A Dnapi_vcard.cpp103 hasCallback = true; in MatchImportParameters()
122 hasCallback = true; in MatchImportParameters()
129 hasCallback = true; in MatchImportParameters()
195 bool hasCallback = false; in ImportVCard() local
213 if (hasCallback) { in ImportVCard()
283 hasCallback = true; in MatchExportParameters()
302 hasCallback = true; in MatchExportParameters()
309 hasCallback = true; in MatchExportParameters()
384 bool hasCallback = false; in ExportVCard() local
385 if (!MatchExportParameters(env, parameters, parameterCount, hasOption, hasCallback)) { in ExportVCard()
[all …]
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
H A Dbundle_manager_addon.cpp233 bool hasCallback = argc <= ARGS_SIZE_FIVE ? MatchValueType(env, argv[argc - 1], napi_function) : in CheckAndParseUninstallParamType() local
235 if (hasCallback) { in CheckAndParseUninstallParamType()
309 if (hasCallback) { in CheckAndParseInstallParamType()
336 bool hasCallback = false; in GetAllowedOrDisallowedInstallBundles() local
358 if (hasCallback) { in GetAllowedOrDisallowedInstallBundles()
441 hasCallback = false; in CheckAddInstallBundlesParamType()
449 hasCallback = true; in CheckAddInstallBundlesParamType()
454 hasCallback = false; in CheckAddInstallBundlesParamType()
460 hasCallback = true; in CheckAddInstallBundlesParamType()
474 bool hasCallback = false; in AddOrRemoveInstallBundles() local
[all …]
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/
H A Dapplication_manager_addon.cpp216 bool hasCallback = false; in GetDisallowedRunningBundles() local
224 …ASSERT_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasU… in GetDisallowedRunningBundles()
241 if (hasCallback) { in GetDisallowedRunningBundles()
302 napi_value* argv, bool &hasCallback, bool &hasUserId) in CheckAddDisallowedRunningBundlesParamType() argument
311 hasCallback = false; in CheckAddDisallowedRunningBundlesParamType()
319 hasCallback = true; in CheckAddDisallowedRunningBundlesParamType()
324 hasCallback = false; in CheckAddDisallowedRunningBundlesParamType()
330 hasCallback = true; in CheckAddDisallowedRunningBundlesParamType()
344 bool hasCallback = false; in AddOrRemovellowedRunningBundles() local
354 …CheckAddDisallowedRunningBundlesParamType(env, argc, argv, hasCallback, hasUserId), "Parameter typ… in AddOrRemovellowedRunningBundles()
[all …]
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dsms_send_callback_gtest.cpp35 void SmsSendCallbackGTest::HasDeliveryCallBack(bool hasCallback) in HasDeliveryCallBack() argument
37 hasDeliveryCallback_ = hasCallback; in HasDeliveryCallBack()
H A Dsms_send_callback_gtest.h34 void HasDeliveryCallBack(bool hasCallback);
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
H A Dadmin_manager_addon.cpp37 bool hasCallback = false; in EnableAdmin() local
46 …ASSERT_AND_THROW_PARAM_ERROR(env, CheckEnableAdminParamType(env, argc, argv, hasCallback, hasUserI… in EnableAdmin()
67 if (hasCallback) { in EnableAdmin()
103 hasCallback = false; in CheckEnableAdminParamType()
113 hasCallback = true; in CheckEnableAdminParamType()
120 hasCallback = false; in CheckEnableAdminParamType()
129 hasCallback = true; in CheckEnableAdminParamType()
148 bool hasCallback = false; in DisableAdmin() local
174 if (hasCallback) { in DisableAdmin()
420 bool hasCallback = false; in IsAdminEnabled() local
[all …]
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dsend_callback.cpp43 SendCallback::SendCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref callbackRe… in SendCallback() argument
44 : hasCallback_(hasCallback), env_(env), thisVarRef_(thisVarRef), callbackRef_(callbackRef) in SendCallback()
H A Ddelivery_callback.cpp28 DeliveryCallback::DeliveryCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref ca… in DeliveryCallback() argument
29 : hasCallback_(hasCallback), env_(env), thisVarRef_(thisVarRef), callbackRef_(callbackRef) in DeliveryCallback()
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Dcloud_sync_manager_impl.cpp454 bool hasCallback = false; in ResetProxyCallback() local
463 hasCallback = true; in ResetProxyCallback()
473 hasCallback = true; in ResetProxyCallback()
476 if (hasCallback) { in ResetProxyCallback()
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/include/
H A Ddelivery_callback.h32 DeliveryCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref callbackRef);
H A Dsend_callback.h33 SendCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref callbackRef);
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/common/src/
H A Dnapi_edm_common.cpp578 bool CheckAdminWithUserIdParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, … in CheckAdminWithUserIdParamType() argument
586 hasCallback = false; in CheckAdminWithUserIdParamType()
594 hasCallback = true; in CheckAdminWithUserIdParamType()
599 hasCallback = false; in CheckAdminWithUserIdParamType()
605 hasCallback = true; in CheckAdminWithUserIdParamType()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/sendable/
H A Dsendable_photo_access_helper_napi.cpp990 bool hasCallback) in GetAlbumFetchOption() argument
992 if (context->argc < (ARGS_ONE + hasCallback)) { in GetAlbumFetchOption()
998 napi_value fetchOption = context->argv[context->argc - 1 - hasCallback]; in GetAlbumFetchOption()
1105 bool hasCallback = false; in ParseArgsGetPhotoAlbum() local
1106 …GS(env, SendableMediaLibraryNapiUtils::HasCallback(env, context->argc, context->argv, hasCallback), in ParseArgsGetPhotoAlbum()
1115 switch (context->argc - hasCallback) { in ParseArgsGetPhotoAlbum()
1119 CHECK_NULLPTR_RET(GetAlbumFetchOption(env, context, hasCallback)); in ParseArgsGetPhotoAlbum()
1125 CHECK_NULLPTR_RET(GetAlbumFetchOption(env, context, hasCallback)); in ParseArgsGetPhotoAlbum()
1206 bool hasCallback = false; in ParseArgsGetHiddenAlbums() local
1207 …GS(env, SendableMediaLibraryNapiUtils::HasCallback(env, context->argc, context->argv, hasCallback), in ParseArgsGetHiddenAlbums()
[all …]
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/application_manager/include/
H A Dapplication_manager_addon.h67 napi_value* argv, bool &hasCallback, bool &hasUserId);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_system_manager.cpp846 bool hasCallback = false; in SaveCallback() local
850 hasCallback = true; in SaveCallback()
853 if (!hasCallback) { in SaveCallback()
1476 bool hasCallback = false; in SaveCallback() local
1480 hasCallback = true; in SaveCallback()
1483 if (!hasCallback) { in SaveCallback()
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/
H A Dbundle_manager_addon.h93 …ool CheckAddInstallBundlesParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback,
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/admin_manager/include/
H A Dadmin_manager_addon.h133 …atic bool CheckEnableAdminParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback,
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/common/include/
H A Dnapi_edm_common.h95 bool CheckAdminWithUserIdParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, …
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
H A Drestrictions_addon.cpp99 bool hasCallback = MatchValueType(env, argv[ARR_INDEX_TWO], napi_function); in SetPolicyDisabled() local
100 ASSERT_AND_THROW_PARAM_ERROR(env, hasCallback, "The third parameter must be function"); in SetPolicyDisabled()
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
H A Dusb_manager_addon.cpp91 bool hasCallback = MatchValueType(env, argv[ARR_INDEX_TWO], napi_function); in SetUsbPolicy() local
92 ASSERT_AND_THROW_PARAM_ERROR(env, hasCallback, "type callback error"); in SetUsbPolicy()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_napi.cpp6948 … GetAlbumFetchOption(napi_env env, unique_ptr<MediaLibraryAsyncContext> &context, bool hasCallback) in GetAlbumFetchOption() argument
6950 if (context->argc < (ARGS_ONE + hasCallback)) { in GetAlbumFetchOption()
6956 napi_value fetchOption = context->argv[context->argc - 1 - hasCallback]; in GetAlbumFetchOption()
7061 bool hasCallback = false; in ParseArgsGetPhotoAlbum() local
7062 …CHECK_ARGS(env, MediaLibraryNapiUtils::HasCallback(env, context->argc, context->argv, hasCallback), in ParseArgsGetPhotoAlbum()
7071 switch (context->argc - hasCallback) { in ParseArgsGetPhotoAlbum()
7075 CHECK_NULLPTR_RET(GetAlbumFetchOption(env, context, hasCallback)); in ParseArgsGetPhotoAlbum()
7081 CHECK_NULLPTR_RET(GetAlbumFetchOption(env, context, hasCallback)); in ParseArgsGetPhotoAlbum()
7772 bool hasCallback = false; in ParseArgsGetHiddenAlbums() local
7773 …CHECK_ARGS(env, MediaLibraryNapiUtils::HasCallback(env, context->argc, context->argv, hasCallback), in ParseArgsGetHiddenAlbums()
[all …]
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
H A Dnetwork_manager_addon.cpp875 bool hasCallback = MatchValueType(env, argv[ARGS_SIZE_TWO], napi_function); in SetGlobalHttpProxy() local
876 ASSERT_AND_THROW_PARAM_ERROR(env, hasCallback, "parameter callback error"); in SetGlobalHttpProxy()