summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SerialService.java
AgeCommit message (Collapse)Author
2013-12-19Move some system services to separate directoriesAmith Yamasani
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
2012-10-31SerialManager: Only allow opening files that are whitelisted serial port devicesMike Lockwood
Bug: 7367956 Change-Id: I82fd8d2694dda89332497d9eded5445a0262e12b Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-02-10New Serial Manager API:Mike Lockwood
SerialManager: provides access to serial ports SerialPort: for reading and writing data to and from serial ports IO with both array based and direct ByteBuffers is supported. Accessing serial ports requires android.permission.SERIAL_PORT permission Each platform must configure list of supported serial ports in the config_serialPorts resource overlay (this is needed to prevent apps from accidentally accessing the bluetooth or other system UARTs). In addition, the platform uevent.rc file must set the owner to the /dev/tty* files to "system" so the framework can access the port. Signed-off-by: Mike Lockwood <lockwood@android.com>