summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/NativeDaemonEvent.java
Commit message (Collapse)AuthorAgeFilesLines
* return value of String.replace() is ignored.You Kim2012-10-281-2/+2
| | | | | Change-Id: Id7330e1ffc9f429b22f153d8e644fa7c64354173 Signed-off-by: You Kim <you.kim72@gmail.com>
* Allow quoted strings from NativeDaemonConnectorRobert Greenwalt2012-04-201-0/+85
| | | | | | | | | | 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
* Make NDC not block forever and handle restart.Robert Greenwalt2012-02-291-8/+35
| | | | | | | | | | 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
* Revert "Make NDC not block forever and handle restart."Guang Zhu2012-02-071-20/+6
| | | | | | | | Reverting because it seems to break `adb reboot` This reverts commit 813af8d46467f41ed2d492917cbb9f9f45d2a3d7. Change-Id: I75d827664a08799de15369c24c84cc3f49a8f297
* Make NDC not block forever and handle restart.Robert Greenwalt2012-02-071-6/+20
| | | | | | | | | | | 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
* Move native netd calls to varargs.Jeff Sharkey2011-12-021-0/+29
| | | | | | | | | Uses argument escaping inside NativeDaemonConnector, using varargs to separate boundaries. Also introduces Command object to help build argument lists. Bug: 5472606 Change-Id: I357979fc19bb0171a056e690064e01b5a7119501
* Move NativeDaemonConnector to varargs.Jeff Sharkey2011-11-291-0/+113
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