Lines Matching defs:state
42 ErrCode OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override
44 HILOGI("enter, device: %{public}s, state: %{public}d, cause: %{public}d",
45 GET_ENCRYPT_RAW_ADDR(device), state, cause);
47 observers_.ForEach([remoteDevice, state, cause](std::shared_ptr<PanObserver> observer) {
48 observer->OnConnectionStateChanged(remoteDevice, state, cause);
70 for (int32_t state : states) {
71 tmpStates.push_back((int32_t)state);
88 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state)
97 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state);
204 int32_t Pan::GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state)
213 return pimpl->GetDeviceState(device, state);