- 17 Feb, 2016 1 commit
-
-
Christopher Wiley authored
-
- 16 Feb, 2016 5 commits
-
-
Christopher Wiley authored
In Brillo systems, we have no applications and configure SELinux policy statically. In this model, we do not need a special service to allocate buffers, since any process that needs buffers can be appropriately marked at build time. Bug: 26936651 Test: A test program on brilloemulator can allocate buffers for the camera with this patch. Change-Id: Ifcdb7a4b878f9a26f4899c7b75a12447dcdb0ac9
-
Samuel Tan authored
-
Aurimas Liutikas authored
-
Aurimas Liutikas authored
Bug: http://b/27068438 Change-Id: I3064950f761411fe5271c6259867ad437c71e66d
-
Christopher Wiley authored
-
- 13 Feb, 2016 2 commits
-
-
Dimitry Ivanov authored
-
Dimitry Ivanov authored
Bug: http://b/27171986 Change-Id: Ifbe01c6b325e7198a95ea865f557b0c9acb65809
-
- 12 Feb, 2016 4 commits
-
-
Christopher Wiley authored
Change-Id: Ice4c101659837cea594194cfb335f9f3f6837f38
-
Christopher Wiley authored
-
Christopher Wiley authored
-
Samuel Tan authored
Add getters for the keys in each map stored in PersistableBundle. This will allow users of PersistableBundle to iterate over entries of a specific type in PersistableBundle. Also, add "using" statements to PersistableBundle for std containers to reduce verbosity. BUG: 27171235 Change-Id: Idd4b3bf713071ca8d8d023f1f83bdaf3ccbdd46f TEST: libbinder compiles successfully.
-
- 11 Feb, 2016 1 commit
-
-
Casey Dahlin authored
-
- 10 Feb, 2016 2 commits
-
-
Mark Salyzyn authored
-
Mark Salyzyn authored
- drop assignment length in scanf - drop -std=gnu99 as invalid for C++ Change-Id: I924d2561069b3c289cb9deb475f732c46bb5a67e
-
- 09 Feb, 2016 4 commits
-
-
Casey Dahlin authored
Change-Id: I2f0d1f3b4c04f04e7a866e9a4cf76c899b4b4980 Test: AIDL integration tests pass Bug: 27078230
-
Mark Salyzyn authored
* changes: dumpstate: report process times Add option to #define _DUMPSTATE_DRY_RUN_ to skip the actual dumps.
-
Mark Salyzyn authored
- Fix per-pid helper to pick up comm if cmdline is empty and assume kernel thread. - Add per pid report command line user time if not kernel thread, system time and I/O time, plus percentage if non zero. Bug: 26966375 Change-Id: I6b499f535cc3687eb468b32ae39e7d151dffb11f
-
Felipe Leme authored
(cherry picked from commit 93d705b6) Such option is useful when debugging dumpstate itself, since it will finish much sooner and its output will be much smaller. Change-Id: If821ed21715461bf82eea0b2be4b926239ad69da
-
- 06 Feb, 2016 1 commit
-
-
John Reck authored
-
- 05 Feb, 2016 7 commits
-
-
Mark Salyzyn authored
-
Mark Salyzyn authored
Correct the raw performance with the average queue depth. Add a report for I/O per second, and the average queue depth. Round values up. Bug: 26966375 Change-Id: I2a8d233872d5e5ff79d433abba3c34d5945701f4
-
Christopher Wiley authored
Brillo has no applications, and doesn't run AppOpsManager. Instead, services are granted statically configured SELinux permissions at build time. Rely on that configuration rather than Android's dynamically configurable permission model. Bug: 26936651 Test: Test code on Brillo system is able to connect to the camera. Change-Id: I84b72a762c2f534c2e1cc6f99ef2003388fb1265
-
Mark Salyzyn authored
-
Christopher Wiley authored
If the service stays down for more than 10 seconds, client threads will time out attempting to obtain a reference, and never release the mutex. This causes deadlock on the next attempt to speak with the AppOpsManager. Test: System without AppOpsManager service no longer hangs in camera code. Change-Id: I5a8ac2f0f35345f72c3d2a45b9d1fc5a78d28a51
-
Thomas Buhot authored
The handling of the -k option is too restrictive as it stricly checks the names of the kernel functions after it wrote them in /d/tracing/set_ftrace_filter. However, a common usage of that function filtering with ftrace is to use a wildcard character (*) that the ftrace tracer automatically expands to all the matching kernel functions. This enables the support of the wildcard (*) character in the -k option to trace kernel functions. Change-Id: Ifffae975c20e1c253157a3a6b44a14b4f342b9d0 Signed-off-by:
Thomas Buhot <thomas.buhot@intel.com> Signed-off-by:
Zhiquan Liu <zhiquan.liu@intel.com>
-
Eino-Ville Talvala authored
-
- 04 Feb, 2016 1 commit
-
-
Eino-Ville Talvala authored
Change-Id: I22fcf7c6314451701ba947af2d69d4e45b22345a
-
- 03 Feb, 2016 5 commits
-
-
Mark Salyzyn authored
check if device matches the ashmem rdev, before calling ashmem_get_size_region. This eliminates making this call when associated with other driver file descriptors. Bug: 26374183 Bug: 26918423 Bug: 26871259 Change-Id: I1f88c2c93ea35a73c8e14125f3d1a6c67fa4f15b
-
Dan Albert authored
-
Dan Albert authored
Bad commit: https://android-review.googlesource.com/#/c/200449/1 Change-Id: I412e2740951f15cf843bd36a50476070c0cb1ebd
-
Dan Albert authored
-
Dan Albert authored
-
- 02 Feb, 2016 2 commits
-
-
Dan Albert authored
Bug: http://b/26936282 Change-Id: Ie1fb281425c3b8c4b3e6e88dc5722d51b77ee093
-
Dan Albert authored
Bug: http://b/26936282 Change-Id: I059628332d638f080a5236eed62cf0afa1d4d6ba
-
- 01 Feb, 2016 3 commits
-
-
Andreas Gampe authored
-
Christopher Wiley authored
-
Andreas Gampe authored
In the failure case, and on shutdown, add log output. It's highly likely the client will crash when a null value is returned. Displaying a possible root cause helps diagnosing issues. Bug: 26865304 Change-Id: Ie5255ac50d6dcdf9f918dcef785788ea795a4791
-
- 30 Jan, 2016 1 commit
-
-
Christopher Wiley authored
This is helpful because many native service developers use std::string internally, and String16 doesn't work very well with many C++ primitives. Bug: 26729450 Test: Integration test appears to show this is correct. Change-Id: Ib75068881da28fd8515685bcbcbe864ba3b7ec23
-
- 28 Jan, 2016 1 commit
-
-
Mathieu Chartier authored
-