Commit graph android_packages_modules_Co.../services/java/com/android/server/NativeDaemonEvent.java
Message SHA1
return value of String.replace() is ignored.
Change-Id: Id7330e1ffc9f429b22f153d8e644fa7c64354173
Signed-off-by: You Kim <you.kim72@gmail.com>

You Kim   commited 2012-10-28 23:57:57 +09:00
0f1fea45d3
Allow quoted strings from NativeDaemonConnector
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

Robert Greenwalt   commited 2012-04-20 14:56:32 -07:00
2a9efc2c6e
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