device / emulator code