Based on the comment to your question, where you basically say that you just want to verify that the string is empty.
if (reader.read() == -1)
{
// There is nothing in the stream, way to go!!
success = true;
}
or, even simpler:
String result = executeAdbCommand(adbCmd);
success = result.length() == 0;