summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/NativeDaemonEvent.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-28return value of String.replace() is ignored.You Kim
Change-Id: Id7330e1ffc9f429b22f153d8e644fa7c64354173 Signed-off-by: You Kim <you.kim72@gmail.com>
2012-04-20Allow quoted strings from NativeDaemonConnectorRobert Greenwalt
Previously we'd only handled quoted strings going into NDC. This change auto-handles quoted strings in broadcasts and allows protocol handlers to request de-quoted elements when needed instead of using the generic split(" "). bug: 6353048 Change-Id: I8a07be86411063ed1b402294edc399b4cc076da5
2012-02-29Make NDC not block forever and handle restart.Robert Greenwalt
Still possible for netd to get wedged but system won't die because of it. Leads the way to having forking netd - then only individual commands would wedge, promoting stability. bug:5864209 bug:6019952 Change-Id: I43e4c5072863b8b812d4fe24d30d92eb1a11651a
2012-02-07Revert "Make NDC not block forever and handle restart."Guang Zhu
Reverting because it seems to break `adb reboot` This reverts commit 813af8d46467f41ed2d492917cbb9f9f45d2a3d7. Change-Id: I75d827664a08799de15369c24c84cc3f49a8f297
2012-02-07Make NDC not block forever and handle restart.Robert Greenwalt
Need changes in core. Still possible for netd to get wedged but system won't die because of it. Leads the way to having forking netd - then only individual commands would wedge, promoting stability. bug:5864209 Change-Id: Ifcd37511c8239fe3df7e9070869b63a9c5649bd2
2011-12-02Move native netd calls to varargs.Jeff Sharkey
Uses argument escaping inside NativeDaemonConnector, using varargs to separate boundaries. Also introduces Command object to help build argument lists. Bug: 5472606 Change-Id: I357979fc19bb0171a056e690064e01b5a7119501
2011-11-29Move NativeDaemonConnector to varargs.Jeff Sharkey
Perform uniform argument escaping inside NativeDaemonConnector, using varargs to separate boundaries. Also move to parsed NativeDaemonEvent instances instead of raw Strings. Bug: 5472606 Change-Id: I1270733e2b2eeb2f6b810240df82ab24d38ebf40