Home
last modified time | relevance | path

Searched refs:BTStrategyType (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service.cpp121 if ((int)BTStrategyType::CONNECTION_FORBIDDEN == connectPolicy) { in ProcessConnectStateMessage()
131 if ((int)BTStrategyType::CONNECTION_FORBIDDEN == connectPolicy) { in ProcessConnectStateMessage()
324 } else if ((int)BTStrategyType::CONNECTION_FORBIDDEN == GetConnectStrategy(device)) { in Connect()
646 switch (BTStrategyType(strategy)) { in SetConnectStrategy()
647 case BTStrategyType::CONNECTION_UNKNOWN: in SetConnectStrategy()
651 case BTStrategyType::CONNECTION_ALLOWED: in SetConnectStrategy()
652 value = (int)BTStrategyType::CONNECTION_ALLOWED; in SetConnectStrategy()
654 case BTStrategyType::CONNECTION_FORBIDDEN: in SetConnectStrategy()
655 value = (int)BTStrategyType::CONNECTION_FORBIDDEN; in SetConnectStrategy()
667 if (returnValue && ((int)BTStrategyType in SetConnectStrategy()
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_utils.cpp225 if (strategy == static_cast<int32_t>(BTStrategyType::CONNECTION_ALLOWED) || in CheckConnectionStrategyInvalid()
226 strategy == static_cast<int32_t>(BTStrategyType::CONNECTION_FORBIDDEN)) { in CheckConnectionStrategyInvalid()
H A Dbluetooth_a2dp_snk.cpp284 ((strategy != static_cast<int>(BTStrategyType::CONNECTION_ALLOWED)) && in SetConnectStrategy()
285 (strategy != static_cast<int>(BTStrategyType::CONNECTION_FORBIDDEN)))) { in SetConnectStrategy()
H A Dbluetooth_hid_host.cpp299 (strategy != static_cast<int>(BTStrategyType::CONNECTION_ALLOWED)) && in SetConnectStrategy()
300 (strategy != static_cast<int>(BTStrategyType::CONNECTION_FORBIDDEN)))) { in SetConnectStrategy()
H A Dbluetooth_a2dp_src.cpp348 (strategy != static_cast<int>(BTStrategyType::CONNECTION_ALLOWED)) && in SetConnectStrategy()
349 (strategy != static_cast<int>(BTStrategyType::CONNECTION_FORBIDDEN)))) { in SetConnectStrategy()
H A Dbluetooth_hfp_ag.cpp658 (strategy != static_cast<int>(BTStrategyType::CONNECTION_ALLOWED)) && in SetConnectStrategy()
659 (strategy != static_cast<int>(BTStrategyType::CONNECTION_FORBIDDEN)))) { in SetConnectStrategy()
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_utils.cpp465 return strategy == static_cast<int>(BTStrategyType::CONNECTION_ALLOWED) in IsValidConnectStrategy()
466 || strategy == static_cast<int>(BTStrategyType::CONNECTION_FORBIDDEN); in IsValidConnectStrategy()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_def.h112 enum class BTStrategyType : int { class
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_def.h119 enum class BTStrategyType : int { class

Completed in 15 milliseconds