/base/update/updater/utils/include/ |
D | macros.h | 53 #define REPEAT_1(MACRO, element, ...) MACRO(0, element) argument 54 #define REPEAT_2(MACRO, element, ...) MACRO(1, element) REPEAT_1(MACRO, __VA_ARGS__) argument 55 #define REPEAT_3(MACRO, element, ...) MACRO(2, element) REPEAT_2(MACRO, __VA_ARGS__) argument 56 #define REPEAT_4(MACRO, element, ...) MACRO(3, element) REPEAT_3(MACRO, __VA_ARGS__) argument 57 #define REPEAT_5(MACRO, element, ...) MACRO(4, element) REPEAT_4(MACRO, __VA_ARGS__) argument 58 #define REPEAT_6(MACRO, element, ...) MACRO(5, element) REPEAT_5(MACRO, __VA_ARGS__) argument 59 #define REPEAT_7(MACRO, element, ...) MACRO(6, element) REPEAT_6(MACRO, __VA_ARGS__) argument 60 #define REPEAT_8(MACRO, element, ...) MACRO(7, element) REPEAT_7(MACRO, __VA_ARGS__) argument 61 #define REPEAT_9(MACRO, element, ...) MACRO(8, element) REPEAT_8(MACRO, __VA_ARGS__) argument 62 #define REPEAT_10(MACRO, element, ...) MACRO(9, element) REPEAT_9(MACRO, __VA_ARGS__) argument
|
/base/update/update_app/feature/ota/src/main/ets/util/ |
D | ChangelogParseUtils.ets | 81 let element = root['_elements'][index - 1]; 82 if (!element) { 83 logError('element is null! ' + JSON.stringify(element)); 86 if (element['_type'] === 'element' && element['_name'] === 'default-language') { 87 let attribute = element['_attributes']['name']; 91 if (element['_type'] === 'element' && element['_name'] === 'displayType') { 92 let attribute = element['_elements']?.[0]?.['_text']; 96 if (element['_type'] === 'element' && element['_name'] === 'icons') { 97 let iconsElement = element['_elements']; 100 parseLanguage(element, icons); [all …]
|
/base/account/os_account/services/accountmgr/test/mock/common/ |
D | ability_manager_adapter.cpp | 71 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility() local 72 connect->OnAbilityConnectDone(element, mockServicePtr_, resultCode); in ConnectAbility() 76 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility() local 82 ACCOUNT_LOGI("mock enter GetAbilityName = %{public}s", element.GetAbilityName().c_str()); in ConnectAbility() 83 if (element.GetAbilityName() == STRING_ABILITY_NAME_WITH_CONNECT_FAILED) { in ConnectAbility() 86 if (element.GetAbilityName() == STRING_ABILITY_NAME_WITH_NO_PROXY) { in ConnectAbility() 87 connect->OnAbilityConnectDone(element, nullptr, resultCode); in ConnectAbility() 90 connect->OnAbilityConnectDone(element, authorizationService, resultCode); in ConnectAbility() 93 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility() local 94 connect->OnAbilityConnectDone(element, nullptr, resultCode); in ConnectAbility()
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_powerdialog_test.cpp | 93 AppExecFwk::ElementName element; variable 94 …shutdownDialog.dialogConnectionCallback_->OnAbilityConnectDone(element, sptrRemoteObj, RESULT_CODE… 108 AppExecFwk::ElementName element; variable 111 …shutdownDialog.dialogConnectionCallback_->OnAbilityConnectDone(element, sptrRemoteObj, RESULT_CODE… 125 AppExecFwk::ElementName element; variable 127 …shutdownDialog.dialogConnectionCallback_->OnAbilityConnectDone(element, sptrRemoteObj, RESULT_CODE… 141 AppExecFwk::ElementName element; variable 144 …shutdownDialog.dialogConnectionCallback_->OnAbilityConnectDone(element, sptrRemoteObj, RESULT_CODE… 157 AppExecFwk::ElementName element; variable 158 shutdownDialog.dialogConnectionCallback_->OnAbilityDisconnectDone(element, RESULT_CODE);
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
D | js_print_extension_connection.cpp | 38 void JSPrintExtensionConnection::OnAbilityConnectDone(const AppExecFwk::ElementName &element, in OnAbilityConnectDone() argument 47 auto task = [connection, element, remoteObject, resultCode]() { in OnAbilityConnectDone() 53 connectionSptr->HandleOnAbilityConnectDone(element, remoteObject, resultCode); in OnAbilityConnectDone() 58 void JSPrintExtensionConnection::HandleOnAbilityConnectDone(const AppExecFwk::ElementName &element, in HandleOnAbilityConnectDone() argument 63 …napiElementName = OHOS::AppExecFwk::WrapElementName(reinterpret_cast<napi_env>(&engine_), element); in HandleOnAbilityConnectDone() 92 void JSPrintExtensionConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, in… in OnAbilityDisconnectDone() argument 100 auto task = [connection, element, resultCode]() { in OnAbilityDisconnectDone() 106 connectionSptr->HandleOnAbilityDisconnectDone(element, resultCode); in OnAbilityDisconnectDone() 111 …d JSPrintExtensionConnection::HandleOnAbilityDisconnectDone(const AppExecFwk::ElementName &element, in HandleOnAbilityDisconnectDone() argument 115 …napiElementName = OHOS::AppExecFwk::WrapElementName(reinterpret_cast<napi_env>(&engine_), element); in HandleOnAbilityDisconnectDone() [all …]
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | napi_context_common.cpp | 144 napi_value element; in ConvertActiveChangeResponse() local 145 NAPI_CALL_BASE(env, napi_create_uint32(env, result.tokenID, &element), false); in ConvertActiveChangeResponse() 146 NAPI_CALL_BASE(env, napi_set_named_property(env, value, "tokenId", element), false); in ConvertActiveChangeResponse() 147 element = nullptr; in ConvertActiveChangeResponse() 149 NAPI_AUTO_LENGTH, &element), false); in ConvertActiveChangeResponse() 150 NAPI_CALL_BASE(env, napi_set_named_property(env, value, "permissionName", element), false); in ConvertActiveChangeResponse() 151 element = nullptr; in ConvertActiveChangeResponse() 153 NAPI_AUTO_LENGTH, &element), false); in ConvertActiveChangeResponse() 154 NAPI_CALL_BASE(env, napi_set_named_property(env, value, "deviceId", element), false); in ConvertActiveChangeResponse() 155 element = nullptr; in ConvertActiveChangeResponse() [all …]
|
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
D | wallpaper_js_util.cpp | 71 napi_value element = nullptr; in Convert2JSRgbaArray() local 72 napi_create_object(env, &element); in Convert2JSRgbaArray() 73 napi_set_named_property(env, element, "red", red); in Convert2JSRgbaArray() 74 napi_set_named_property(env, element, "green", green); in Convert2JSRgbaArray() 75 napi_set_named_property(env, element, "blue", blue); in Convert2JSRgbaArray() 76 napi_set_named_property(env, element, "alpha", alpha); in Convert2JSRgbaArray() 77 napi_set_element(env, result, index++, element); in Convert2JSRgbaArray()
|
/base/print/print_fwk/frameworks/kits/extension/include/ |
D | js_print_extension_connection.h | 36 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) o… 37 void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode) override; 39 … const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode); 40 void HandleOnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode);
|
/base/print/print_fwk/services/src/ |
D | print_service_helper.cpp | 52 AppExecFwk::ElementName element = want.GetElement(); in StartAbility() local 57 element.GetBundleName().c_str(), element.GetAbilityName().c_str()); in StartAbility() 74 AppExecFwk::ElementName element = want.GetElement(); in StartPrintServiceExtension() local 79 element.GetBundleName().c_str(), element.GetAbilityName().c_str()); in StartPrintServiceExtension()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_util.cpp | 98 napi_value element = nullptr; in GetArrayType() local 99 if (napi_get_element(env, arr, i, &element) != napi_ok) { in GetArrayType() 104 type = GetType(env, element); in GetArrayType() 107 if (type != GetType(env, element)) { in GetArrayType() 127 napi_value element = nullptr; in GetElement() local 128 if (napi_get_element(env, arr, index, &element) != napi_ok) { in GetElement() 132 return element; in GetElement() 149 napi_value element = GetElement(env, arr, i); in GetBooleans() local 150 if (element == nullptr) { in GetBooleans() 153 bools.push_back(GetBoolean(env, element)); in GetBooleans() [all …]
|
/base/inputmethod/imf/frameworks/kits/extension/include/ |
D | js_inputmethod_extension_context.h | 37 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) o… 38 void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode) override; 40 … const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode); 41 void HandleOnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode);
|
/base/theme/wallpaper_mgr/frameworks/kits/extension/include/ |
D | js_wallpaper_extension_context.h | 38 …void OnAbilityConnectDone(const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remot… 40 … void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int32_t resultCode) override; 41 …void HandleOnAbilityConnectDone(const AppExecFwk::ElementName &element, const sptr<IRemoteObject> … 43 void HandleOnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int32_t resultCode);
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_app_account_authorization_extension_context.h | 37 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) o… 38 void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode) override; 40 … const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode); 41 void HandleOnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode);
|
/base/notification/common_event_service/services/test/unittest/static_subscriber_connection_unit_test/ |
D | static_subscriber_connection_unit_test.cpp | 69 ElementName element; variable 72 conn->OnAbilityConnectDone(element, remoteObject, resultCode); 73 conn->OnAbilityDisconnectDone(element, resultCode);
|
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/ |
D | hilog_vector.cpp | 70 void HilogVector::Push(HilogVector *vector, const char *element, ValueType type) in Push() argument 72 if (vector == nullptr || element == nullptr) { in Push() 90 size_t length = sizeof(char) * (strlen(element) + 1); in Push() 97 memcpy_s(vector->str[vector->size], length, element, sizeof(char) * strlen(element)); in Push()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_common.cpp | 209 napi_value element = nullptr; in GenerateCertAbstractArray() local 210 napi_create_object(env, &element); in GenerateCertAbstractArray() 211 napi_set_named_property (env, element, CM_CERT_PROPERTY_URI.c_str(), uri); in GenerateCertAbstractArray() 212 napi_set_named_property (env, element, CM_CERT_PROPERTY_CERTALIAS.c_str(), certAlias); in GenerateCertAbstractArray() 213 napi_set_named_property (env, element, CM_CERT_PROPERTY_STATUS.c_str(), status); in GenerateCertAbstractArray() 214 napi_set_named_property (env, element, CM_CERT_PROPERTY_SUBJECTNAME.c_str(), subjectName); in GenerateCertAbstractArray() 216 napi_set_element(env, array, i, element); in GenerateCertAbstractArray() 240 napi_value element = nullptr; in GenerateCredentialAbstractArray() local 241 napi_create_object(env, &element); in GenerateCredentialAbstractArray() 242 napi_set_named_property (env, element, CM_CERT_PROPERTY_TYPE.c_str(), type); in GenerateCredentialAbstractArray() [all …]
|
/base/theme/wallpaper_mgr/services/src/ |
D | wallpaper_extension_ability_connection.cpp | 24 …d WallpaperExtensionAbilityConnection::OnAbilityConnectDone(const AppExecFwk::ElementName &element, in OnAbilityConnectDone() argument 31 …allpaperExtensionAbilityConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, in OnAbilityDisconnectDone() argument
|
/base/telephony/call_manager/services/call/include/ |
D | call_ability_connect_callback.h | 30 … const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode); 31 void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode);
|
/base/powermgr/powermgr_lite/services/src/screensaver/small/ |
D | screen_saver_handler.cpp | 68 ElementName element = { nullptr }; in StartScreenSaverLocked() local 69 SetElementBundleName(&element, "com.huawei.screensaver"); in StartScreenSaverLocked() 70 SetElementAbilityName(&element, "ScreensaverAbility"); in StartScreenSaverLocked() 71 SetWantElement(&want, element); in StartScreenSaverLocked() 74 ClearElement(&element); in StartScreenSaverLocked()
|
/base/security/device_auth/common_lib/interfaces/ |
D | hc_tlv_parser.h | 257 TlvElementName *element = NULL; \ 264 FOR_EACH_HC_VECTOR(realTlv->data, index, element) { \ 265 if (element != NULL) { \ 266 uint32_t len = EncodeTlvNode((TlvBase *)element, parcel, HC_FALSE); \ 279 TlvElementName *element = NULL; \ 281 FOR_EACH_HC_VECTOR(realTlv->data, index, element) { \ 282 if (element != NULL) { \ 283 totalLen += GetlenTlvNode((TlvBase *)element); \ 298 TlvElementName *element = NULL; \ 299 FOR_EACH_HC_VECTOR(realTlv->data, index, element) { \ [all …]
|
/base/notification/common_event_service/services/src/ |
D | static_subscriber_connection.cpp | 24 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() argument 36 void StaticSubscriberConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, in… in OnAbilityDisconnectDone() argument
|
/base/notification/common_event_service/services/include/ |
D | static_subscriber_connection.h | 42 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) o… 50 void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode) override;
|
/base/customization/enterprise_device_management/services/edm/src/connection/ |
D | enterprise_admin_connection.cpp | 25 …const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int32_t resultCod… in OnAbilityConnectDone() argument 46 void EnterpriseAdminConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName& element, int… in OnAbilityDisconnectDone() argument
|
/base/theme/wallpaper_mgr/services/include/ |
D | wallpaper_extension_ability_connection.h | 34 …void OnAbilityConnectDone(const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remot… 36 … void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int32_t resultCode) override;
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | ui_extension_ability_connection_test.cpp | 61 AppExecFwk::ElementName element; variable 63 connection->OnAbilityDisconnectDone(element, resultCode);
|