Commit graph android_packages_modules_Co.../services/java/com/android/server
Message SHA1
Compact when NativeDaemonConnector hits buffer limit
If NativeDaemonConnector hits its buffer limit, it would truncate the
data and lose some information. This change compacts the buffer and then
retries to read the rest of the data.

Change-Id: I0d5fee097bdd6808212ef3ad6fb4abbc6310fd4a

Kenny Root   commited 2010-03-22 18:02:45 -07:00
07726310ae
Switch the services library to using the new Slog
Joe Onorato   commited 2010-03-01 13:06:50 -08:00
f7791634a2
NativeDaemonConnector: Improve bad list IPC diagnostics
Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-02-17 09:05:16 -08:00
6eec2a8bf5
NativeDaemonConnector: Improve error reporting and debug formatting
Updated:
  NativeDaemonConnector: Put debugging behind a conditional

Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-02-08 19:29:58 -08:00
f0d2199fc7
NativeDaemonConnector: Improve NativeDaemonException reporting to include the actual error response
Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-02-03 14:37:43 -08:00
a52a743959
NativeDaemonConnector: Cleanup socket code and use a proper exception
Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-01-29 06:30:23 -08:00
0e0980b533
NativeDaemonConnector: fix doListCommand() to return *all* list elements
Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-01-26 13:18:03 -08:00
f2b0adabbd
NativeDaemonConnector: Add a convenience method for obtaining lists
Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-01-20 15:32:02 -08:00
4a32297c1e
services: Introduce NativeDaemonConnector class
This class provides an interface to communicate with native daemons using the
libsysutils framework communication code.

Signed-off-by: San Mehat <san@google.com>

NativeDaemonConnector: fix whitespace

Signed-off-by: San Mehat <san@google.com>

NativeDaemonConnector: Fix review comments

Signed-off-by: San Mehat <san@google.com>

NativeDaemonConnector: On an error, re-try the connection

Signed-off-by: San Mehat <san@google.com>

San Mehat   commited 2010-01-12 13:55:39 -08:00
8592334382