android/platform_development — comment on commit b0b841029ad7592e8082e59e56645f84b06c558d
File: cmds/monkey/src/com/android/commands/monkey/MonkeySourceRandom.java line 103
By joebowbeer:

BUG: KeyEvent.keyCodeFromString method returns KeyEvent.KEYCODE_UNKNOWN=0 *not* -1, and as a result the last ditch effort in MonkeySourceNetwork.getKeyCode will never be executed.

As a result, IChimpDevice.press(PhysicalButton...) fails for all the DPAD keys: PhysicalButton.DPAD_*.