Commit graph android_packages_modules_Co.../services/java/com/android/server/NativeDaemonEvent.java
Message SHA1
Make NDC not block forever and handle restart.
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

Robert Greenwalt   commited 2012-02-07 15:59:49 -08:00
5c7de0b4ec
Move native netd calls to varargs.
Uses argument escaping inside NativeDaemonConnector, using varargs
to separate boundaries.  Also introduces Command object to help build
argument lists.

Bug: 5472606
Change-Id: I357979fc19bb0171a056e690064e01b5a7119501

Jeff Sharkey   commited 2011-12-02 13:08:26 -08:00
36ff7058f6
Move NativeDaemonConnector to varargs.
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

Jeff Sharkey   commited 2011-11-29 12:09:06 -08:00
cd257fbaaf