我发现，在摩托罗拉等一些设备上，可以使用"adb reboot" 命令，但它不适用于三星设备。
I want to Reboot my phone but not enter the PIN on it again. This will make my developing testing easier.
I found out that on some devices like Motorola Defy it is possible with the "adb reboot" command, but it did not work on Samsung Devices.
An adb command or some source code will help me.
There are a couple of ways to temporarily disable the PIN. One that I use is an app called Unlock with WiFi. Basically, as long as my device is on my home wi-fi network, the PIN to unlock is disabled. As soon as I leave home with it, thus disconnecting from my wi-fi, the PIN lock is re-enabled.
(The free version only lets you connect to one home network.)