Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 78) sorted by relevance

1234

/base/update/updater/utils/include/
Dmacros.h53 #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/security/access_token/interfaces/kits/privacy/napi/src/
Dnapi_context_common.cpp130 napi_value element; in ConvertActiveChangeResponse() local
131 NAPI_CALL_BASE(env, napi_create_uint32(env, result.tokenID, &element), false); in ConvertActiveChangeResponse()
132 NAPI_CALL_BASE(env, napi_set_named_property(env, value, "tokenId", element), false); in ConvertActiveChangeResponse()
133 element = nullptr; in ConvertActiveChangeResponse()
135 NAPI_AUTO_LENGTH, &element), false); in ConvertActiveChangeResponse()
136 NAPI_CALL_BASE(env, napi_set_named_property(env, value, "permissionName", element), false); in ConvertActiveChangeResponse()
137 element = nullptr; in ConvertActiveChangeResponse()
139 NAPI_AUTO_LENGTH, &element), false); in ConvertActiveChangeResponse()
140 NAPI_CALL_BASE(env, napi_set_named_property(env, value, "deviceId", element), false); in ConvertActiveChangeResponse()
141 element = nullptr; in ConvertActiveChangeResponse()
[all …]
/base/theme/wallpaper_mgr/interfaces/kits/napi/
Dwallpaper_js_util.cpp70 napi_value element = nullptr; in Convert2JSRgbaArray() local
71 napi_create_object(env, &element); in Convert2JSRgbaArray()
72 napi_set_named_property(env, element, "red", red); in Convert2JSRgbaArray()
73 napi_set_named_property(env, element, "green", green); in Convert2JSRgbaArray()
74 napi_set_named_property(env, element, "blue", blue); in Convert2JSRgbaArray()
75 napi_set_named_property(env, element, "alpha", alpha); in Convert2JSRgbaArray()
76 napi_set_element(env, result, index++, element); in Convert2JSRgbaArray()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_util.cpp98 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/theme/wallpaper_mgr/frameworks/kits/extension/include/
Djs_wallpaper_extension_context.h39 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) o…
40 void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode) override;
42 … const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode);
43 void HandleOnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int resultCode);
/base/inputmethod/imf/frameworks/kits/extension/include/
Djs_inputmethod_extension_context.h37 …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/account/os_account/services/accountmgr/test/mock/common/
Dability_manager_adapter.cpp51 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility() local
52 connect->OnAbilityConnectDone(element, mockServicePtr_, resultCode); in ConnectAbility()
55 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility() local
56 connect->OnAbilityConnectDone(element, nullptr, resultCode); in ConnectAbility()
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
Dhilog_vector.cpp70 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/notification/common_event_service/services/test/unittest/static_subscriber_connection_unit_test/
Dstatic_subscriber_connection_unit_test.cpp69 ElementName element; variable
72 conn->OnAbilityConnectDone(element, remoteObject, resultCode);
73 conn->OnAbilityDisconnectDone(element, resultCode);
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_extension_ability_connection.cpp24 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int32_t resultCod… in OnAbilityConnectDone() argument
31 const AppExecFwk::ElementName &element, int32_t resultCode) in OnAbilityDisconnectDone() argument
/base/telephony/call_manager/services/call/include/
Dcall_ability_connect_callback.h30 … 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/
Dscreen_saver_handler.cpp68 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/
Dhc_tlv_parser.h253 TlvElementName *element = NULL; \
260 FOR_EACH_HC_VECTOR(realTlv->data, index, element) { \
261 if (element != NULL) { \
262 uint32_t len = EncodeTlvNode((TlvBase *)element, parcel, HC_FALSE); \
275 TlvElementName *element = NULL; \
277 FOR_EACH_HC_VECTOR(realTlv->data, index, element) { \
278 if (element != NULL) { \
279 totalLen += GetlenTlvNode((TlvBase *)element); \
294 TlvElementName *element = NULL; \
295 FOR_EACH_HC_VECTOR(realTlv->data, index, element) { \
[all …]
Dhc_vector.h165 #define HC_VECTOR_PUSHBACK(obj, element) (obj)->pushBack((obj), (element)) argument
166 #define HC_VECTOR_POPFRONT(obj, element) (obj)->popFront((obj), (element)) argument
167 #define HC_VECTOR_POPELEMENT(obj, element, index) (obj)->eraseElement((obj), (element), (index)) argument
/base/telephony/call_manager/services/call/src/
Dcall_ability_connect_callback.cpp24 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() argument
32 void CallAbilityConnectCallback::OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, in… in OnAbilityDisconnectDone() argument
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp298 napi_value element = nullptr; in GenerateCertAbstractArray() local
299 napi_create_object(env, &element); in GenerateCertAbstractArray()
300 napi_set_named_property (env, element, CM_CERT_PROPERTY_URI.c_str(), uri); in GenerateCertAbstractArray()
301 napi_set_named_property (env, element, CM_CERT_PROPERTY_CERTALIAS.c_str(), certAlias); in GenerateCertAbstractArray()
302 napi_set_named_property (env, element, CM_CERT_PROPERTY_STATUS.c_str(), status); in GenerateCertAbstractArray()
303 napi_set_named_property (env, element, CM_CERT_PROPERTY_SUBJECTNAME.c_str(), subjectName); in GenerateCertAbstractArray()
305 napi_set_element(env, array, i, element); in GenerateCertAbstractArray()
329 napi_value element = nullptr; in GenerateCredentialAbstractArray() local
330 napi_create_object(env, &element); in GenerateCredentialAbstractArray()
331 napi_set_named_property (env, element, CM_CERT_PROPERTY_TYPE.c_str(), type); in GenerateCredentialAbstractArray()
[all …]
/base/notification/common_event_service/services/src/
Dstatic_subscriber_connection.cpp23 const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int resultCode) in OnAbilityConnectDone() argument
34 void StaticSubscriberConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, in… in OnAbilityDisconnectDone() argument
/base/theme/wallpaper_mgr/services/include/
Dwallpaper_extension_ability_connection.h34 …const AppExecFwk::ElementName &element, const sptr<IRemoteObject> &remoteObject, int32_t resultCod…
35 … void OnAbilityDisconnectDone(const AppExecFwk::ElementName &element, int32_t resultCode) override;
/base/notification/common_event_service/services/include/
Dstatic_subscriber_connection.h42 …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/
Denterprise_admin_connection.cpp25 …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
Denterprise_bundle_connection.cpp26 …const AppExecFwk::ElementName& element, const sptr<IRemoteObject>& remoteObject, int32_t resultCod… in OnAbilityConnectDone() argument
47 void EnterpriseBundleConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName& element, in… in OnAbilityDisconnectDone() argument
/base/update/updater/utils/json/
Djson_node.cpp90 cJSON *element {}; in Parse() local
96 cJSON_ArrayForEach(element, root) in Parse()
98 std::unique_ptr<JsonNode> uPtr = std::make_unique<JsonNode>(element, false); in Parse()
100 (*optNodeMap).emplace(element->string, std::move(uPtr)); in Parse()
108 cJSON_ArrayForEach(element, root) in Parse()
110 std::unique_ptr<JsonNode> uPtr = std::make_unique<JsonNode>(element, false); in Parse()
/base/customization/enterprise_device_management/services/edm/include/connection/
Denterprise_admin_connection.h37 void OnAbilityConnectDone(const AppExecFwk::ElementName& element,
46 … void OnAbilityDisconnectDone(const AppExecFwk::ElementName& element, int32_t resultCode) override;
Denterprise_bundle_connection.h37 void OnAbilityConnectDone(const AppExecFwk::ElementName& element,
46 … void OnAbilityDisconnectDone(const AppExecFwk::ElementName& element, int32_t resultCode) override;
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c517 static bool SetGroupElement(TlvGroupElement *element, TrustedGroupEntry *entry) in SetGroupElement() argument
519 if (!StringSet(&element->name.data, entry->name)) { in SetGroupElement()
523 if (!StringSet(&element->id.data, entry->id)) { in SetGroupElement()
527 if (!StringSet(&element->userId.data, entry->userId)) { in SetGroupElement()
531 if (!StringSet(&element->sharedUserId.data, entry->sharedUserId)) { in SetGroupElement()
535 element->type.data = entry->type; in SetGroupElement()
536 element->visibility.data = entry->visibility; in SetGroupElement()
537 element->expireTime.data = entry->expireTime; in SetGroupElement()
538 if (!SaveStringVectorToParcel(&entry->managers, &element->managers.data)) { in SetGroupElement()
542 if (!SaveStringVectorToParcel(&entry->friends, &element->friends.data)) { in SetGroupElement()
[all …]

1234