f463e180e5a69b4a43acd41c41c8518fa8c22b2d |
05-Dec-2017 |
Chih-Hung Hsieh <chh@google.com> |
Use -Werror in frameworks/native/cmds/cmd * Ignore return value of getfilecon? Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I341e6047dbb5b49a92f69df74b073d2f54a7754d
ndroid.mk
md.cpp
|
228f2f66318e97da7c9d13fdc9f28ebddaa1fb46 |
14-Nov-2017 |
Dianne Hackborn <hackbod@google.com> |
Add more debugging to cmd. Test: manual Change-Id: Ibb6c6dd99446504452921cb148d64461a6f0ef85
md.cpp
|
4217f8ecfe8f884288104262000275c1633b983e |
30-Oct-2017 |
Dianne Hackborn <hackbod@google.com> |
Update shell open command to have a mode. We need to open files for reading sometimes, so now we can. Test: manual Change-Id: If089c1e7a4aac1d85784e070d2fccb04b9d84391
md.cpp
|
4e7d18a72f72967a881bcdf78167011a836538ef |
07-Aug-2017 |
Jiyong Park <jiyong@google.com> |
Change UniquePtr to std::unique_ptr UniquePtr.h in libnativehelper/include is deprecated and will be removed soon. Switching to the standard std::unique_ptr. Bug: 63686260 Test: builds, cmd works in the device. Change-Id: Ib008acd1dd7dba2305b0797c9dc7bab1aa747e7d
md.cpp
|
c21bc9afe403f52c189d2d6b79dedaf9dce6217b |
11-May-2017 |
Martijn Coenen <maco@google.com> |
Only spawn one binder thread for cmd. To work around race conditions in libbinder when spawning new threads while being shut down. Bug: 36066697 Test: cmd still works Change-Id: I71c8d1aac29a1bf65d54023a4ed39d943ad54c98
md.cpp
|
3d9eb950b14ee6527a5a85d669bd03ce2bdcff32 |
18-Oct-2016 |
Dianne Hackborn <hackbod@google.com> |
Finish implementation of "cmd". Now wait for result to come back and return it, and do some error checking and reporting for the IPC. Test: manual. Change-Id: Id8deb6cb3a363d0718af9e8faf2da4879ff6d27e
md.cpp
|
e5ed19999d724b6f5131803ff56b3536349b58de |
11-Oct-2016 |
Dianne Hackborn <hackbod@google.com> |
Add a little protection to prevent file opens when shell is done. Test: N/A Change-Id: I28b75fb67bc576dfb172ea431ab50e2b2c193ece
md.cpp
|
1941a404d642b3dfaac365ba494f1e9912876f00 |
29-Aug-2016 |
Dianne Hackborn <hackbod@google.com> |
Introduce new command callback to shell. This introduces a new feature of the IBinder command protocol to allow the shell command implementation to call back into its caller to ask it to open files in the calling context. This is needed so that commands that have arguments specifying files can open those files as the calling shell, not the system (or whatever) process. Test: Manual Change-Id: Idd5b49ea21057864cc9cef816b3e4afbf01948fc
ndroid.mk
md.cpp
|
f2bf93bb080b07159ec1395c1ea8edcf5e00e829 |
15-Oct-2015 |
Dianne Hackborn <hackbod@google.com> |
Temporary hack to get rid of new virtuals. Seems like it breaks some prebuilt binaries. Change-Id: Ia5e35beb4538364b2ab3618fbf21b2e9c9ee2363
md.cpp
|
23eb1e20cf59e1238b65cc108f31dfbfd85b2337 |
08-Oct-2015 |
Dianne Hackborn <hackbod@google.com> |
Add new "shell command" feature to Binder objects. IBinder has a new common interface for sending shell commands to it. This can be implemented by system services to provide a shell interface to the service, without needing to have separate shell java code. Also add a new "cmd" command line tool, which invokes the shell command method on a system service. This is much like dumpsys, but for shell commands. Change-Id: I95dc80c881a28cefb76957ad4d4fd9b3ed9630df
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
md.cpp
|