I have found many tutorials that explain how to pair an emulated Android Wear watch to a physical phone. However, I would like to do the opposite. Is it possible to create a Bluetooth connection from the pc to the watch and then tell ADB to make the phone emulator use this connection?
It seems this is possible by putting the Android OS on a generic emulator like VirtualBox and using a computer Bluetooth LE dongle. For more infos, see here: Bluetooth Low Energy on Android Emulator
You can't is the short answer. The emulator does not support bluetooth testing at all.
The important line is near the end:
The functional limitations of the emulator include:
No support for placing or receiving actual phone calls. You can simulate phone calls (placed and received) through the emulator console, however.
No support for USB connections
- No support for device-attached headphones
- No support for determining network connected state
- No support for determining battery charge level and AC charging state
- No support for determining SD card insert/eject
- No support for Bluetooth
As far as I know, the Android Wear service on the handset integrates many services to make connecting a watch to the Android handset easy. If you want to connect the watch to your computer, you'll have to replicate this code on the PC. As far as I know, Android Wear is not completely open source, so making that work might be impossible.