Searched refs:bondState (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_native_object.cpp | 164 napi_value bondState = nullptr; in ToNapiValue() local 165 napi_create_int32(env, bondStatus_, &bondState); in ToNapiValue() 166 napi_set_named_property(env, result, "state", bondState); in ToNapiValue()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/ |
H A D | napi_bluetooth_connection.cpp | 847 napi_value bondState = nullptr; in BondStateInit() local 848 napi_create_object(env, &bondState); in BondStateInit() 849 SetNamedPropertyByInteger(env, bondState, static_cast<int>(BondState::BOND_STATE_INVALID), "BOND_STATE_INVALID"); in BondStateInit() 850 SetNamedPropertyByInteger(env, bondState, static_cast<int>(BondState::BOND_STATE_BONDING), "BOND_STATE_BONDING"); in BondStateInit() 851 SetNamedPropertyByInteger(env, bondState, static_cast<int>(BondState::BOND_STATE_BONDED), "BOND_STATE_BONDED"); in BondStateInit() 852 return bondState; in BondStateInit()
|
Completed in 3 milliseconds