Lines Matching defs:mode
179 void OnScanModeChanged(int mode) override
181 HILOGI("enter, mode: %{public}d", mode);
183 [mode](std::shared_ptr<BluetoothHostObserver> observer) { observer->OnScanModeChanged(mode); });
714 SetParameter("persist.bluetooth.switch_enable", "2"); // 2 means bluetooth auto enter restricted mode
978 int BluetoothHost::SetBtScanMode(int mode, int duration)
980 HILOGD("mode: %{public}d, duration: %{public}d", mode, duration);
986 return proxy->SetBtScanMode(mode, duration);
998 bool BluetoothHost::SetBondableMode(int transport, int mode)
1000 HILOGD("transport: %{public}d, mode: %{public}d", transport, mode);
1004 return proxy->SetBondableMode(transport, mode);