Home
last modified time | relevance | path

Searched refs:V1_ERROR_START (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_error_code.h35 V1_ERROR_START = -401000, enumerator
50 V1_ERROR_BOTH_GO = V1_ERROR_START - 5,
56 V1_ERROR_CONNECT_TIMEOUT = V1_ERROR_START - 7,
59 V1_ERROR_REUSE_FAILED = V1_ERROR_START - 8,
65 V1_ERROR_WRONG_GO_INFO = V1_ERROR_START - 10,
68 V1_ERROR_WRONG_GC_INFO = V1_ERROR_START - 11,
74 V1_ERROR_BUSY = V1_ERROR_START - 15,
92 V1_ERROR_RPT_ENABLED = V1_ERROR_START - 22,
95 V1_ERROR_PEER_RPT_ENABLED = V1_ERROR_START - 23,
98 V1_ERROR_UNKNOWN = V1_ERROR_START - 24,
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp350 …BUS_CONN_PV1_IF_NOT_AVAILABLE, V1_ERROR_IF_NOT_AVAILABLE - V1_ERROR_START },
351 …{ SOFTBUS_CONN_PV1_BOTH_GO_ERR, V1_ERROR_BOTH_GO - V1_ERROR_START
352 …TBUS_CONN_PV1_REUSE_FAIL, V1_ERROR_REUSE_FAILED - V1_ERROR_START },
353 …TBUS_CONN_PV1_CONNECT_GROUP_FAIL, V1_ERROR_CONNECT_GROUP_FAILED - V1_ERROR_START},
354 …{ SOFTBUS_CONN_PV1_BUSY_ERR, V1_ERROR_BUSY - V1_ERROR_START
356 …V1_ERROR_PEER_GC_CONNECTED_TO_ANOTHER_DEVICE - V1_ERROR_START
376 code = P2pV1Processor::ErrorCodeFromV1ProtocolCode(V1_ERROR_UNKNOWN - V1_ERROR_START);
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor.cpp60 if (code > V1_ERROR_END && code < V1_ERROR_START) { in ErrorCodeToV1ProtocolCode()
61 return code - V1_ERROR_START; in ErrorCodeToV1ProtocolCode()
70 if (reason < 0 && reason > V1_ERROR_END - V1_ERROR_START) { in ErrorCodeFromV1ProtocolCode()
71 auto code = reason + V1_ERROR_START; in ErrorCodeFromV1ProtocolCode()