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

Robert Greenwalt   commited 2012-02-29 16:53:27 -08:00
7f03e44443
Revert "Make NDC not block forever and handle restart."
Reverting because it seems to break `adb reboot`

This reverts commit 5c7de0b4ec.

Change-Id: I75d827664a08799de15369c24c84cc3f49a8f297

Guang Zhu   commited 2012-02-07 19:25:42 -08:00
8fa213f4c5
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