Home
last modified time | relevance | path

Searched refs:authTypeValue (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/
H A Dnet_ledger_test.cpp86 uint32_t *authTypeValue = nullptr; variable
88 ret = LnnSetAuthTypeValue(authTypeValue, ONLINE_HICHAIN);
90 ret = LnnClearAuthTypeValue(authTypeValue, ONLINE_HICHAIN);
93 authTypeValue = &authType;
94 ret = LnnSetAuthTypeValue(authTypeValue, AUTH_TYPE_BUTT);
96 ret = LnnClearAuthTypeValue(authTypeValue, AUTH_TYPE_BUTT);
99 ret = LnnSetAuthTypeValue(authTypeValue, ONLINE_METANODE);
101 ret = LnnClearAuthTypeValue(authTypeValue, ONLINE_HICHAIN);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/
H A Dlnn_distributed_net_ledger.h54 int32_t LnnSetAuthTypeValue(uint32_t *authTypeValue, AuthType type);
55 int32_t LnnClearAuthTypeValue(uint32_t *authTypeValue, AuthType type);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c93 int32_t LnnSetAuthTypeValue(uint32_t *authTypeValue, AuthType type) in LnnSetAuthTypeValue() argument
95 if (authTypeValue == NULL || type >= AUTH_TYPE_BUTT) { in LnnSetAuthTypeValue()
99 *authTypeValue = (*authTypeValue) | (1 << (uint32_t)type); in LnnSetAuthTypeValue()
103 int32_t LnnClearAuthTypeValue(uint32_t *authTypeValue, AuthType type) in LnnClearAuthTypeValue() argument
105 if (authTypeValue == NULL || type >= AUTH_TYPE_BUTT) { in LnnClearAuthTypeValue()
109 *authTypeValue = (*authTypeValue) & (~(1 << (uint32_t)type)); in LnnClearAuthTypeValue()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/wifi_asset/
H A Dwifi_asset_manager.cpp169 AssetValue authTypeValue = {.u32 = SEC_ASSET_AUTH_TYPE_NONE}; in WifiAssetAttrAdd() local
173 {.tag = SEC_ASSET_TAG_AUTH_TYPE, .value = authTypeValue}, in WifiAssetAttrAdd()