The process API provides the system-specific implementation, the adb API uses it to expose adb commands.