summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-02Merge "Fix bug in byte vector serialization"brillo-m7-releasebrillo-m7-mr-devbrillo-m7-devChristopher Wiley
2015-11-02Merge "Further reduce duplication in bugreport ps output."Elliott Hughes
2015-11-02Further reduce duplication in bugreport ps output.Elliott Hughes
PROCESSES and PROCESSES AND THREADS can be combined. There's nothing in the former that isn't in the latter. Change-Id: I105a6d8d35488236ef6dbf4107496ea7e5ad70ea
2015-10-31Fix bug in byte vector serializationChristopher Wiley
Byte vectors are used by the generated C++ code as the representation of Java byte[]. This type is serialized as a packed byte array on the java side. Bug: 25012838 Test: integration tests for byte[] show this type crossing language boundaries correctly. Change-Id: I8bb1b8ffcb77ced44f99f6b370226a32694f7df1
2015-10-30Merge "Reduce duplication in bugreport ps output."Elliott Hughes
2015-10-30Reduce duplication in bugreport ps output.Elliott Hughes
PROCESSES AND THREADS and PROCESSES (SELINUX LABELS) can be combined. I suspect we can just remove PROCESSES too, since it's a strict subset of the other information, but one step at a time. (The worry is that someone's actually parsing this output, but it would be good to find out who's doing that as soon as possible so we can work with them as we transition to a more complete ps implementation.) Change-Id: I5f1085f8853f7a988f7edcaeefdd7b63175c1473
2015-10-28Merge "Add readStrongBinder that takes an interface"Casey Dahlin
2015-10-28Add readStrongBinder that takes an interfaceCasey Dahlin
We use a template function to let us pass arbitrary interfaces, all of which can be cast to IBinder. Change-Id: Iadf21c495cde43e8a5adb85a49e6592196f401ff Test: unit tests Bug: 23600713 Signed-off-by: Casey Dahlin <sadmac@google.com>
2015-10-28Merge "libbinder: Fix out of bounds in readBoolVector"Christopher Wiley
2015-10-27libbinder: Fix out of bounds in readBoolVectorChristopher Wiley
Bug: 25012838 Test: This code now works at runtime. Change-Id: I3d6b2677f11276e6be4c51451ca36572a4ee573d
2015-10-26Merge "surfaceflinger: Set max acquired buffer count"Dan Stoza
2015-10-22Merge "libbinder: Stub out checkPermissions() on Brillo."Daniel Erat
2015-10-22libbinder: Stub out checkPermissions() on Brillo.Daniel Erat
When BRILLO is defined at build-time, avoid checking permissions with ActivityManager (which isn't built for Brillo). Bug: 24907738 Change-Id: I8e277fe45d73d551e3a8ab41bd9dfa2535967522
2015-10-21Merge "Fix benign integer overflow in printHexDump"Dan Austin
2015-10-21Fix benign integer overflow in printHexDumpDan Austin
There is an instance where an unsigned integer is multiplied by -1. Refactor the code to eliminate this operation. Bug: 25085348 Change-Id: I9c5dc1cc22a27dc998ae8eeacc9f889373d993cd
2015-10-20Merge "Fix build breakage due to extraneous dereference"Casey Dahlin
2015-10-20Fix build breakage due to extraneous dereferenceCasey Dahlin
Change-Id: If84d8b68a6af1e04a6085351655e588ebef65664
2015-10-20Merge "Add read/write methods for vectors"Casey Dahlin
2015-10-20Add read/write methods for vectorsCasey Dahlin
Also a readString16 with the expected semantics. Change-Id: Idbeaff1b4337089b2a5a7124f77226a693b2be4f Test: Unit tests pass Bug: 25012838 Signed-off-by: Casey Dahlin <sadmac@google.com>
2015-10-16Merge "Add methods to Parcel for bool and char and byte"Casey Dahlin
2015-10-15Add methods to Parcel for bool and char and byteCasey Dahlin
We lift these to int, but handling the details of that here will be better than having AIDL generate casting code all the time. Test: unit tests pass Bug: 24981507 Change-Id: If6aa33ab5fe365dd237136a95c5d9a702af41d15 Signed-off-by: Casey Dahlin <sadmac@google.com>
2015-10-10Merge "servicemanager: log pid and uid on selinux denial"Nick Kralevich
2015-10-09Merge "dumpstate: add -v printable to logcat"Mark Salyzyn
2015-10-09dumpstate: add -v printable to logcatMark Salyzyn
In the case where binary data lands in an utf-8 log buffer, ensure that the content is made printable. Bug: 23517551 Change-Id: I41696372d07228875d01a19f0c7ab2cb7494b7ef
2015-10-08Merge "dumpstate: execute procrank using su"Nick Kralevich
2015-10-07dumpstate: execute procrank using suNick Kralevich
procrank is a setuid binary which only exists on userdebug/eng builds. Instead of executing the setuid binary, run the binary using the su command. This eliminates one more setuid binary, and allows the tightening of the SELinux policy. Bug: 18342188 Change-Id: I81d06196a29489feaefb2fea0cf5c4ff1e273d2f
2015-10-05servicemanager: log pid and uid on selinux denialWilliam Roberts
The audit logs for servicemanager were missing the pid and uid of the source. This is useful for debugging. Before: ... SELinux : avc: denied { find } for service=android.security.keystore scontext=u:r:system_app:s0 ... After: ... SELinux : avc: denied { find } for service=android.security.keystore pid=1252 uid=1000 scontext=u:r:system_app:s0 ... Change-Id: Id1a6f38b99f11a31315439620ead2f01108b18b2 Signed-off-by: William Roberts <william.c.roberts@intel.com>
2015-09-30am bd55551d: Merge "Add more methods to IPowerManager."Daniel Erat
* commit 'bd55551d80832f62931ccb2d54d9a239822eeb20': Add more methods to IPowerManager.
2015-09-30Merge "Add more methods to IPowerManager."Daniel Erat
2015-09-30Add more methods to IPowerManager.Daniel Erat
Add the full list of transaction IDs from IPowerManager.aidl to IPowerManager.h and make BpPowerManager support calling goToSleep, reboot, shutdown, and crash. These are currently needed by or likely to be needed by Brillo. Bug: 22122485 Change-Id: I19abd3587c9d53b28ec150210e07f97517ee4ff4
2015-09-30am 77f147ff: Merge "frameworks/native: remove superfluous mention of ↵Sergio Giro
SharedBuffer in Region.h" * commit '77f147ff566d350dc23c3a9807ea1262f056ff2f': frameworks/native: remove superfluous mention of SharedBuffer in Region.h
2015-09-30Merge "frameworks/native: remove superfluous mention of SharedBuffer in ↵Sergio Giro
Region.h"
2015-09-30frameworks/native: remove superfluous mention of SharedBuffer in Region.hSergio Giro
Towards deprecation of SharedBuffer Change-Id: I9c853c86fb057280013405cb8c3c725e13175ea4
2015-09-28am 28b1d678: Merge "Installd: Fully decouple pre- and post-bootcomplete ↵Andreas Gampe
properties" * commit '28b1d678a4721e9f02b7b9498492fb3d623f21be': Installd: Fully decouple pre- and post-bootcomplete properties
2015-09-28Merge "Installd: Fully decouple pre- and post-bootcomplete properties"Andreas Gampe
2015-09-28Installd: Fully decouple pre- and post-bootcomplete propertiesAndreas Gampe
Do not fall back to dalvik.vm.dex2oat-threads if dalvik.vm.boot-dex2oat-threads is not set. Also do not ever use the value of dalvik.vm.image-dex2oat-threads. Instead use the default behavior of dex2oat in that situation. Change-Id: I42e60996341414b95b8df2d243d5e07f7f5ff9b6
2015-09-28am 905c1446: Merge "Allow using the JIT"Todd Kennedy
* commit '905c1446ea602b4649a248bfe878626cae01a87a': Allow using the JIT
2015-09-28Merge "Allow using the JIT"Todd Kennedy
2015-09-25Allow using the JITTodd Kennedy
Instead of the JIT only being available for eng builds [or configurable via environment variable], allow the JIT to be enabled programatically. Change-Id: Id3c5ae227ed400e489bb723a56c516dfc12acd89
2015-09-25am d529cd47: Merge "Pass dexopt flags as integer"Todd Kennedy
* commit 'd529cd470afa98512bf2eab7a58dae5a9b6e4847': Pass dexopt flags as integer
2015-09-25Merge "Pass dexopt flags as integer"Todd Kennedy
2015-09-25Pass dexopt flags as integerTodd Kennedy
Instead of using a series of booleans, create a single flags integer that contains all of the dexopt options. Change-Id: I35542aa73ca57b0e765d19b1339b1429849c1ae8
2015-09-24am 7f413889: Merge "Installd: Take boot status as dexopt parameter"Todd Kennedy
* commit '7f413889a3f0bff0c159141abb498650305f2089': Installd: Take boot status as dexopt parameter
2015-09-24Merge "Installd: Take boot status as dexopt parameter"Todd Kennedy
2015-09-24Installd: Take boot status as dexopt parameterAndreas Gampe
Expect the boot status explicitly as a parameter so that we do not have to rely on dev.bootcomplete, which isn't meaningfully set when the device needs the decryption screen on boot. Bug: 23898216 (cherry picked from commit 72ebebed876a62e719b098e43d9d516361bde029) Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
2015-09-23am 0830bb16: Merge "Enable integer overflow sanitization in libinput."Dan Austin
* commit '0830bb169717f920817e66afb18abe2c86d20161': Enable integer overflow sanitization in libinput.
2015-09-23am bffbd09f: Merge "Eliminate multiple benign overflow conditions."Dan Austin
* commit 'bffbd09f65d3bc594d844a185d75700e8b4789eb': Eliminate multiple benign overflow conditions.
2015-09-23am 64b83133: Merge "Remove usage of SharedBuffer"Sergio Giro
* commit '64b83133d5ec40828a10e57cfbb37c642bb7f510': Remove usage of SharedBuffer
2015-09-23Merge "Enable integer overflow sanitization in libinput."Dan Austin
2015-09-23Enable integer overflow sanitization in libinput.Dan Austin
Bug: 24171356 Change-Id: I1412b78171c60b0252560956a672f2d92a7011e6