Age | Commit message (Collapse) | Author |
|
|
|
|
|
PROCESSES and PROCESSES AND THREADS can be combined. There's nothing in
the former that isn't in the latter.
Change-Id: I105a6d8d35488236ef6dbf4107496ea7e5ad70ea
|
|
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
|
|
|
|
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
|
|
|
|
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>
|
|
|
|
Bug: 25012838
Test: This code now works at runtime.
Change-Id: I3d6b2677f11276e6be4c51451ca36572a4ee573d
|
|
|
|
|
|
When BRILLO is defined at build-time, avoid checking
permissions with ActivityManager (which isn't built for
Brillo).
Bug: 24907738
Change-Id: I8e277fe45d73d551e3a8ab41bd9dfa2535967522
|
|
|
|
There is an instance where an unsigned integer is multiplied by -1.
Refactor the code to eliminate this operation.
Bug: 25085348
Change-Id: I9c5dc1cc22a27dc998ae8eeacc9f889373d993cd
|
|
|
|
Change-Id: If84d8b68a6af1e04a6085351655e588ebef65664
|
|
|
|
Also a readString16 with the expected semantics.
Change-Id: Idbeaff1b4337089b2a5a7124f77226a693b2be4f
Test: Unit tests pass
Bug: 25012838
Signed-off-by: Casey Dahlin <sadmac@google.com>
|
|
|
|
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>
|
|
|
|
|
|
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
|
|
|
|
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
|
|
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>
|
|
* commit 'bd55551d80832f62931ccb2d54d9a239822eeb20':
Add more methods to IPowerManager.
|
|
|
|
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
|
|
SharedBuffer in Region.h"
* commit '77f147ff566d350dc23c3a9807ea1262f056ff2f':
frameworks/native: remove superfluous mention of SharedBuffer in Region.h
|
|
Region.h"
|
|
Towards deprecation of SharedBuffer
Change-Id: I9c853c86fb057280013405cb8c3c725e13175ea4
|
|
properties"
* commit '28b1d678a4721e9f02b7b9498492fb3d623f21be':
Installd: Fully decouple pre- and post-bootcomplete properties
|
|
|
|
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
|
|
* commit '905c1446ea602b4649a248bfe878626cae01a87a':
Allow using the JIT
|
|
|
|
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
|
|
* commit 'd529cd470afa98512bf2eab7a58dae5a9b6e4847':
Pass dexopt flags as integer
|
|
|
|
Instead of using a series of booleans, create a single flags integer
that contains all of the dexopt options.
Change-Id: I35542aa73ca57b0e765d19b1339b1429849c1ae8
|
|
* commit '7f413889a3f0bff0c159141abb498650305f2089':
Installd: Take boot status as dexopt parameter
|
|
|
|
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
|
|
* commit '0830bb169717f920817e66afb18abe2c86d20161':
Enable integer overflow sanitization in libinput.
|
|
* commit 'bffbd09f65d3bc594d844a185d75700e8b4789eb':
Eliminate multiple benign overflow conditions.
|
|
* commit '64b83133d5ec40828a10e57cfbb37c642bb7f510':
Remove usage of SharedBuffer
|
|
|
|
Bug: 24171356
Change-Id: I1412b78171c60b0252560956a672f2d92a7011e6
|