OSDN Git Service
Jayant Chowdhary [Fri, 8 Mar 2019 18:08:20 +0000 (10:08 -0800)]
libbinder: Choose the binder driver at runtime based on system/vendor process.
This is needed since llndk libraries may cause the system variant of libbinder (and therefore
compile time checks are not enough) to be loaded in a vendor process. In that case, it should not be
initing the driver with /dev/binder. It should use /dev/vndbinder instead.
Bug:
124128212
Test: Device boots
Test: play YouTube videos, use camera to take pictures / record video (sanity) on devices supporting
legacy vndk(sailfish) and also devices supporting current vndk.
Change-Id: Ia5581efa04c8d4adc6af39668b0aa98e84324a27
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Treehugger Robot [Tue, 5 Mar 2019 00:35:12 +0000 (00:35 +0000)]
Merge "ip-up-vpn: Fix resource leaks in error cases"
Greg Kaiser [Mon, 4 Mar 2019 22:00:34 +0000 (14:00 -0800)]
ip-up-vpn: Fix resource leaks in error cases
These leaks aren't really consequential since this is a standalone
command, and these "leaks" are in main(). But by putting in simple
fixes for these, we reduce the noise when using static analysis to
find leaks in Android code.
Test: TreeHugger
Change-Id: I2cbb4585c6c8d59a0eb89a72f17dfc4fbc532249
Treehugger Robot [Mon, 4 Mar 2019 14:58:30 +0000 (14:58 +0000)]
Merge "dumpstate: handle errors gracefully"
Calin Juravle [Sat, 2 Mar 2019 02:36:00 +0000 (02:36 +0000)]
Merge "Ensure we select the right execution binary for all dexopt commands"
Calin Juravle [Fri, 1 Mar 2019 04:29:41 +0000 (20:29 -0800)]
Ensure we select the right execution binary for all dexopt commands
Some devices may not have the debug version of the binaries, so even if we
are asked to use them we can't...
Unify the logic which decides what execution binary to use and apply it to
all commands (dex2oat, profman, dexoptanalyzer).
(follow up fixes to
67a14f6584d6108c29b923ce6a77c0ed5cf347dc)
Test: installd tests
Bug:
124009579
Change-Id: Iec439c0ed63e709cdf35b7f718533eafd429b9c2
Treehugger Robot [Fri, 1 Mar 2019 20:56:05 +0000 (20:56 +0000)]
Merge "Update fence event path for kernel 4.10+"
Jesse Hall [Tue, 26 Feb 2019 00:24:10 +0000 (16:24 -0800)]
Update fence event path for kernel 4.10+
The sysfs path for controlling dma fence events changed yet again in
Linux 4.10, see kernel commit
f54d1867005c3.
Test: adb shell atrace --list_categories | grep sync
Test: external/chromium-trace/systrace.py sync, check for dma_fence
events in trace.html's event list
Change-Id: I45905cf199d5de3d5679151f19f8aa693adea5e1
Nandana Dutt [Fri, 22 Feb 2019 15:12:35 +0000 (15:12 +0000)]
dumpstate: handle errors gracefully
Return error codes instead of exiting.
Fixes:
123584708
Test: adb shell
/data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test &&
adb shell /data/nativetest64/dumpstate_test/dumpstate_test
Change-Id: I2b5fcad4e7a7369e02f0c8f5532e0fc69d45480b
Nicolas Geoffray [Tue, 26 Feb 2019 20:38:32 +0000 (20:38 +0000)]
Merge "Use DEX2OATBOOTCLASSPATH in installd."
Nicolas Geoffray [Tue, 26 Feb 2019 15:26:17 +0000 (15:26 +0000)]
Merge "Query the enable_apex_image flag from native experiment."
Nicolas Geoffray [Fri, 22 Feb 2019 21:42:45 +0000 (21:42 +0000)]
Use DEX2OATBOOTCLASSPATH in installd.
Bug:
119800099
Bug:
122937705
Test: dexopt_test
Change-Id: Ie31762910a51ddb1211eed6a24456f0a70379d9c
Shafik Nassar [Tue, 26 Feb 2019 10:59:50 +0000 (10:59 +0000)]
Merge "Whitelist the staging directory in installd"
Nicolas Geoffray [Mon, 25 Feb 2019 13:31:10 +0000 (13:31 +0000)]
Query the enable_apex_image flag from native experiment.
Bug:
119800099
Test: m
Change-Id: Ibcd90840b4342fae14307ef7f30eec96d58a698b
Nandana Dutt [Fri, 22 Feb 2019 08:43:48 +0000 (08:43 +0000)]
Merge "Rename IDumpstateListener errorcode"
Treehugger Robot [Thu, 21 Feb 2019 19:00:12 +0000 (19:00 +0000)]
Merge "Log duration reporter to logcat"
Treehugger Robot [Thu, 21 Feb 2019 16:28:22 +0000 (16:28 +0000)]
Merge "installd: parameterize user data snapshots with snapshot_id"
Nandana Dutt [Thu, 21 Feb 2019 16:10:10 +0000 (16:10 +0000)]
Rename IDumpstateListener errorcode
BUG:
123571915
Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test --gtest_filter=DumpstateBinderTest.*
Change-Id: I5533f3bfed647a4068893b61dee371f5a4678650
Nandana Dutt [Thu, 21 Feb 2019 13:16:07 +0000 (13:16 +0000)]
Log duration reporter to logcat
This is to help debug bugreport generation latency
BUG:
124089395
BUG:
123315882
Test: manual
Change-Id: I65b40054d48d36c7b51b3b78feac2295266a4720
Nikita Ioffe [Mon, 4 Feb 2019 11:06:37 +0000 (11:06 +0000)]
installd: parameterize user data snapshots with snapshot_id
- snapshot_id will be provided by RollbackManagerService and for a given
rollback will be equal to its rollback_id.
- snapshotAppData now creates a folder to snapshot data to, in case it
does not exist.
- removed ceDataInode from restoreAppDataSnapshot API, since it's only
called if users phone is unlocked, meaning that CE data is available and
doesn't require inode to be accessed.
- refactored installd_service_test to reduce test set up boilerplate.
- added a test to cover case when snapshots for different packages have
the same snapshot_id.
Bug:
124029909
Test: installd_utils_test installd_service_test, RollbackTest
Change-Id: I4177a44a60cdfdc5429a28c613ce661b24482b8b
Merged-In: I4177a44a60cdfdc5429a28c613ce661b24482b8b
(cherry picked from commit
b68f0d14931905472b93ad08a753a01a33bd315b)
Narayan Kamath [Thu, 21 Feb 2019 10:00:34 +0000 (10:00 +0000)]
Merge "dumpstate: Fix IO Errors during zip writing."
Xin Li [Wed, 20 Feb 2019 16:25:59 +0000 (16:25 +0000)]
Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
Treehugger Robot [Wed, 20 Feb 2019 15:56:58 +0000 (15:56 +0000)]
Merge "Installd: Add more compilation-related presubmits"
Treehugger Robot [Wed, 20 Feb 2019 15:24:32 +0000 (15:24 +0000)]
Merge "Revert^2: dexopt: Fix target-sdk-version argument creation"
shafik [Tue, 19 Feb 2019 12:19:48 +0000 (12:19 +0000)]
Whitelist the staging directory in installd
Make the path /data/pkg_staging a valid path for APK and APEX files, inorder
to allow the deletion of APEX files after their corresponding sessions
reach a final state.
Bug:
123624108
Test: manual - trigger APEX deletion from the mentioned directory
Change-Id: I9bf03c924080e8c75a6c0e9d163460d365061487
Nandana Dutt [Wed, 20 Feb 2019 14:03:55 +0000 (14:03 +0000)]
Merge changes I33f0b3a0,I772b7981
* changes:
Make dumpstate listener callbacks synchronous
dumpstate: enforce oneshot
David Brazdil [Wed, 20 Feb 2019 10:39:34 +0000 (10:39 +0000)]
Revert^2: dexopt: Fix target-sdk-version argument creation
Refactor CL I8fdf96cfe0343042d1a868ca09e6c6b9a629b967 has a typo
which leaves the target-sdk-version argument of dex2oat always empty.
Fix the issue.
This reverts commit
142836515437bec4545d982387895190b8e5c678.
Test: manual inspection of command line arguments
Test: adb shell pm compile -m speed <package>
Change-Id: I6b92e8c595e3c00d71ab13d976ee43f58d1a0013
Nandana Dutt [Tue, 19 Feb 2019 13:05:37 +0000 (13:05 +0000)]
Make dumpstate listener callbacks synchronous
Dumpstate binder service is oneshot and needs to exit in error
conditions, often right after calling onError. This can make the event
handling on client complex since there could be a race between death
recipient and onError. To make things simpler make onError synchronous.
To keep it consistent make the other callbacks synchronous as well.
Also add a new error code to signal another bugreport is running.
BUG:
123571915
Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test --gtest_filter=DumpstateBinderTest.*
Change-Id: I33f0b3a080ba493dba3521439daa6a46354a8470
(cherry picked from commit
e64c3aa814b8cbd62907b8026899533a0f24c8f6)
Nandana Dutt [Fri, 15 Feb 2019 16:13:53 +0000 (16:13 +0000)]
dumpstate: enforce oneshot
Ensure the service exits after errors as well as after successful
finish as a oneshot service should.
While at it also move remove(file) to unlink(file) and fix an error
in checking the return value of unlink.
BUG:
123571915
Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test --gtest_filter=DumpstateBinderTest.*
Change-Id: I772b7981cd3b2f7c285ab980495d5539d57ebf46
Treehugger Robot [Tue, 19 Feb 2019 22:21:05 +0000 (22:21 +0000)]
Merge "Add Winscope report to the bugreport when using continuous mode"
Nataniel Borges [Sat, 26 Jan 2019 00:37:16 +0000 (16:37 -0800)]
Add Winscope report to the bugreport when using continuous mode
When logging window traces in continuous mode the window manager doesn't
continuously save data to disk.
The window traces (continuous or not) have to be present in the bug
report.
Add instruction to dump the window trace during bugreporting.
To activate continuous trace:
- adb shell cmd window tracing continuous true
- adb shell cmd window tracing start
To manually dump window trace:
- adb shell dumpsys window trace
Test: Flash a device. Set continuous mode. Start the trace. Trigger a
bugreport. Check if the zip file contains the a wm_trace.pb under
FS/data/misc/wmtrace
Change-Id: I1af0b3b37e48ba026fa64515d7e330a2ba7663b6
Andreas Gampe [Tue, 19 Feb 2019 22:19:28 +0000 (22:19 +0000)]
Merge "Revert "dexopt: Fix target-sdk-version argument creation""
Andreas Gampe [Tue, 19 Feb 2019 22:11:59 +0000 (14:11 -0800)]
Installd: Add more compilation-related presubmits
Bug:
124771423
Test: TH
Change-Id: I878040cfe32c790b7adf0d7865cf41d60d421547
Andreas Gampe [Tue, 19 Feb 2019 22:01:51 +0000 (22:01 +0000)]
Revert "dexopt: Fix target-sdk-version argument creation"
This reverts commit
d458a4f956193afdb52138606f6e61fc00b363bf.
Reason for revert: Breaks tests and manual compile
Bug:
124771423
Change-Id: Icb0fba371ffdc7464f8df21c6b92c7d7faf568f8
Test: N/A
Narayan Kamath [Fri, 8 Feb 2019 18:18:08 +0000 (18:18 +0000)]
dumpstate: Fix IO Errors during zip writing.
We need to always call FinishEntry, even when the poll times
out for whatever unrelated reason.
Bug:
124089395
Test: manual
Test: adb shell /data/nativetest64/dumpstate_test/dumpstate_test
Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test
Change-Id: I039f3b049042988e5e520771b45d0b511d11c461
Nicolas Geoffray [Tue, 19 Feb 2019 14:27:26 +0000 (14:27 +0000)]
Merge "Add a dalvik.vm.boot-image option for zygote and installd."
Nicolas Geoffray [Thu, 14 Feb 2019 15:57:47 +0000 (15:57 +0000)]
Add a dalvik.vm.boot-image option for zygote and installd.
To experiment with a non-fully AOT'ed boot image.
Bug:
119800099
Test: adb shell setprop dalvik.vm.boot-image "/system/framework/boot.art"
Change-Id: I7c5bb0bf38ffc988734e691dff90866aead3a5b7
David Brazdil [Tue, 19 Feb 2019 09:53:39 +0000 (09:53 +0000)]
Merge "dexopt: Fix target-sdk-version argument creation"
Xin Li [Mon, 18 Feb 2019 23:58:34 +0000 (15:58 -0800)]
DO NOT MERGE - Merge PPRL.190205.001 into master
Bug:
124234733
Change-Id: Ie986006f23ae05d80cc1c69eb9fbf20c5bd5d1a7
David Brazdil [Mon, 18 Feb 2019 15:24:41 +0000 (15:24 +0000)]
dexopt: Fix target-sdk-version argument creation
Refactor CL I8fdf96cfe0343042d1a868ca09e6c6b9a629b967 has a typo
which leaves the target-sdk-version argument of dex2oat always empty.
Fix the issue.
Test: manual inspection of command line arguments
Change-Id: Ibeff04758dabacf4ea04fd9e54976798fcba10f1
Nandana Dutt [Mon, 18 Feb 2019 10:55:39 +0000 (02:55 -0800)]
Merge "dumpstate: format readme"
am:
0119e28e9e
Change-Id: I4d736a374a5c3405f1ecc0e85a4965c1e1f7ddd3
Treehugger Robot [Mon, 18 Feb 2019 10:52:27 +0000 (10:52 +0000)]
Merge "dumpstate: format readme"
Nandana Dutt [Mon, 18 Feb 2019 09:07:29 +0000 (01:07 -0800)]
Merge "Fix dumpstate smoke test"
am:
917b4d4392
Change-Id: Idaaf794a1a5bc487cee938c11ee913c147f0ac1a
Treehugger Robot [Mon, 18 Feb 2019 09:01:18 +0000 (09:01 +0000)]
Merge "Fix dumpstate smoke test"
Steven Moreland [Sat, 16 Feb 2019 01:58:25 +0000 (17:58 -0800)]
Merge "libbinder_ndk: AServiceManager_checkService # apex"
am:
7d3f8168e0
Change-Id: I13c6895098e3ed908563207860dbe304c63ee681
Treehugger Robot [Sat, 16 Feb 2019 01:44:15 +0000 (01:44 +0000)]
Merge "libbinder_ndk: AServiceManager_checkService # apex"
Benedict Wong [Fri, 15 Feb 2019 18:55:33 +0000 (10:55 -0800)]
Merge "Add xfrm stats to dumpstate"
am:
661d91e832
Change-Id: Id935abb239175464161d44f08dcd1c668a10d13e
Steven Moreland [Fri, 15 Feb 2019 18:53:08 +0000 (10:53 -0800)]
libbinder_ndk: AServiceManager_checkService # apex
Feature parity, for faster loading times, etc..
Bug: N/A (requested for use in libnetd_resolv)
Test: ./runtests.sh, noting specifically:
[ RUN ] NdkBinder.CheckServiceThatDoesntExist
[ OK ] NdkBinder.CheckServiceThatDoesntExist (0 ms)
[ RUN ] NdkBinder.CheckServiceThatDoesExist
[ OK ] NdkBinder.CheckServiceThatDoesExist (0 ms)
Change-Id: I36b2a7420f5dd374e6b60898a778bbcedb9bd406
Benedict Wong [Fri, 15 Feb 2019 18:41:07 +0000 (18:41 +0000)]
Merge "Add xfrm stats to dumpstate"
Nandana Dutt [Fri, 15 Feb 2019 15:24:24 +0000 (15:24 +0000)]
Fix dumpstate smoke test
run_main exits when finished, which is suitable if we want to run
assertions on bugreport file. Instead call an intermediate function.
Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test
Change-Id: I43708325dcaaf8f0f1ca59f181c216bfb25d28bf
Nandana Dutt [Fri, 15 Feb 2019 15:20:50 +0000 (07:20 -0800)]
Merge "dumpstate: Update readme"
am:
afff99c55a
Change-Id: Id8061b2a2088d4b0d39a8c178bf1da2271991760
Treehugger Robot [Fri, 15 Feb 2019 15:07:35 +0000 (15:07 +0000)]
Merge "dumpstate: Update readme"
Nandana Dutt [Fri, 15 Feb 2019 10:07:23 +0000 (10:07 +0000)]
dumpstate: format readme
Test: n/a
Change-Id: I89359eca7a822098fd06326130ab63f6c5eb88ff
Nandana Dutt [Fri, 15 Feb 2019 10:01:41 +0000 (10:01 +0000)]
dumpstate: Update readme
Add commands to update the shared libraries for incremental development.
Test: n/a
Change-Id: I6118db5cab4ffa06dfa59e05bf7b2ca87865aeb0
Xin Li [Thu, 14 Feb 2019 22:11:34 +0000 (22:11 +0000)]
Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
Erick Reyes [Wed, 13 Feb 2019 23:06:09 +0000 (15:06 -0800)]
Merge "Call dmabuf_dump tool in dumpstate"
am:
8678bdeb41
Change-Id: I7449d290feb58fd00d61a7aa2d59c04e4d0f36de
Treehugger Robot [Wed, 13 Feb 2019 22:39:49 +0000 (22:39 +0000)]
Merge "Call dmabuf_dump tool in dumpstate"
Jiyong Park [Wed, 13 Feb 2019 03:14:35 +0000 (19:14 -0800)]
Merge changes from topic "cut_dependency"
am:
1e29946a3e
Change-Id: Id38b33ef756ba41f51c161ef247952c387512b2c
Jiyong Park [Wed, 13 Feb 2019 03:13:13 +0000 (19:13 -0800)]
Cut the static deps from libvulkan to libnativeloader and libnativebridge
am:
2d81f3c409
Change-Id: Ibe74e66eef1ac6fb90c9b0ead672ec65e595506c
Treehugger Robot [Wed, 13 Feb 2019 02:17:34 +0000 (02:17 +0000)]
Merge changes from topic "cut_dependency"
* changes:
Revert "Delay start of surfaceflinger until after the Runtime APEX is mounted."
Cut the static deps from libvulkan to libnativeloader and libnativebridge
Erick Reyes [Mon, 11 Feb 2019 22:46:36 +0000 (14:46 -0800)]
Call dmabuf_dump tool in dumpstate
This tool will dump shared buffer information on bug reports. Since it
is being rolled out on specific products, look for the binary in
/product/bin and execute it if found.
Bug:
63860998
Change-Id: If6e4ff48d3bc62e1fa7a88f16cc6ab0d5b05176f
Signed-off-by: Erick Reyes <erickreyes@google.com>
Xin Li [Tue, 12 Feb 2019 17:53:40 +0000 (09:53 -0800)]
DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
Bug:
124234733
Change-Id: Iff213d95a3da69f58cd95afd129323ad7613c8e4
Steven Moreland [Tue, 12 Feb 2019 17:45:35 +0000 (09:45 -0800)]
Merge "libbinder_ndk: vendor available"
am:
658187ca59
Change-Id: I59fdae284484900e7df197c985af881edc46b108
Steven Moreland [Tue, 12 Feb 2019 17:28:43 +0000 (17:28 +0000)]
Merge "libbinder_ndk: vendor available"
Vladimir Marko [Tue, 12 Feb 2019 13:57:56 +0000 (05:57 -0800)]
Merge "Clear BOOTCLASSPATH for APP AOT compilation."
am:
96602ece01
Change-Id: I4dfd48704a338117507c2b433ee62e2f240e0104
Vladimir Marko [Tue, 12 Feb 2019 13:45:57 +0000 (13:45 +0000)]
Merge "Clear BOOTCLASSPATH for APP AOT compilation."
Jiyong Park [Mon, 28 Jan 2019 15:36:19 +0000 (00:36 +0900)]
Cut the static deps from libvulkan to libnativeloader and libnativebridge
The dependencies are replaced with *_lazy libraries which dynamically
load and links to the real libraries at runtime using dlopen and dlsym.
This allows libvulkan to be used by early processes that are executed
before the activation of the runtime APEX where libnativeloader and
libnativebridge are provided.
Bug:
123403798
Test: m
Test: device boots to the UI
Change-Id: Id55e7b8b0269b1f39917cf9f5c57f55218a67fc4
Jiyong Park [Mon, 28 Jan 2019 15:43:04 +0000 (00:43 +0900)]
Revert "Delay start of surfaceflinger until after the Runtime APEX is mounted."
This reverts commit
a1ce9e7a833aa4a98ab5530a3a713838df7a4803.
Reason: static deps to libnativeloader and libnativebridge no longer
exist
Bug:
123403798
Test: device boots to the UI
Test: bootanimation is shown from the very beginning
Change-Id: I40fc87e0189e410e8501837517481f87786d5503
Alan Stokes [Tue, 12 Feb 2019 10:00:27 +0000 (02:00 -0800)]
Merge "Add missing error checks in tests."
am:
7771604bd2
Change-Id: I39eb243582146e206391da01e849f903f8a75395
Alan Stokes [Tue, 12 Feb 2019 09:49:22 +0000 (09:49 +0000)]
Merge "Add missing error checks in tests."
Steven Moreland [Mon, 11 Feb 2019 23:04:13 +0000 (15:04 -0800)]
libbinder_ndk: vendor available
Bug:
121279086
Test: N/A
Change-Id: Ief1a52d2b51e071728a6379713c3e694f865cec5
Dan Willemsen [Mon, 11 Feb 2019 14:57:41 +0000 (06:57 -0800)]
Merge "Convert libGLES_android to Android.bp"
am:
e2c9396283
Change-Id: I12db81b790db898ab0adb4aa6c17293961397902
Treehugger Robot [Mon, 11 Feb 2019 14:48:51 +0000 (14:48 +0000)]
Merge "Convert libGLES_android to Android.bp"
Vladimir Marko [Fri, 8 Feb 2019 15:11:59 +0000 (15:11 +0000)]
Clear BOOTCLASSPATH for APP AOT compilation.
Let dex2oat pick up the boot classpath from the boot image,
excluding the updatable module components. This allows
updating those modules without recompiling apps.
Test: Manually check bootclasspath entry in an oat file
compiled on device.
Bug:
122937705
Change-Id: I353f3862c9ece046a36010aa121d1f88ec9be78f
Roland Levillain [Mon, 11 Feb 2019 11:22:45 +0000 (03:22 -0800)]
Merge "Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp."
am:
174ebcf3c0
Change-Id: I0020649c9f0030da59c5328928856303efb9d7db
Roland Levillain [Mon, 11 Feb 2019 11:17:20 +0000 (11:17 +0000)]
Merge "Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp."
Dan Willemsen [Mon, 11 Feb 2019 00:42:07 +0000 (16:42 -0800)]
Convert libGLES_android to Android.bp
See build/soong/README.md for more information.
It's split into two libraries since Soong does not support the .cpp.arm
syntax.
Bug:
122332691
Test: treehugger
Change-Id: Ia21e467509832401214c8475486c8a7dd49653f6
Pawin Vongmasa [Sat, 9 Feb 2019 08:26:56 +0000 (00:26 -0800)]
Merge "Add member typedef referring to base interface"
am:
fc4aeea853
Change-Id: I50776c39f6978bd8ff282253226dd8beed825a13
Pawin Vongmasa [Sat, 9 Feb 2019 08:20:16 +0000 (08:20 +0000)]
Merge "Add member typedef referring to base interface"
android-build-team Robot [Sat, 9 Feb 2019 02:37:08 +0000 (02:37 +0000)]
Snap for
5180536 from
cb5531e3576fec2be6e366f16dd85696a20552b3 to pi-platform-release
Change-Id: I371b04b4aaaec81d980678f6315b920d9b5c27ac
Pawin Vongmasa [Sat, 9 Feb 2019 01:38:49 +0000 (17:38 -0800)]
Add member typedef referring to base interface
A member typedef named "BaseInterface" is added to BnInterface and
BpInterface to refer to the base interface class.
Test: Builds
Bug:
123736523
Change-Id: Iae4c18cb037481edc357fde1edc718acb79ecc23
Marissa Wall [Fri, 8 Feb 2019 23:33:19 +0000 (15:33 -0800)]
Merge "surfaceflinger: Update OWNERS"
am:
2c9ea71904
Change-Id: I174141cd1206f373eff57521974db9b1903cb777
Treehugger Robot [Fri, 8 Feb 2019 23:11:31 +0000 (23:11 +0000)]
Merge "surfaceflinger: Update OWNERS"
Roland Levillain [Fri, 8 Feb 2019 19:09:07 +0000 (19:09 +0000)]
Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp.
APEX packages are deactivated at the end of `otapreopt_chroot`, so
loop devices used to mount them are returned to the system.
Test: m otapreopt_chroot
Bug:
113373927
Change-Id: I8b55787ffa7abdfe63f9778623f5e2317b8a4525
Marissa Wall [Fri, 8 Feb 2019 18:17:31 +0000 (10:17 -0800)]
surfaceflinger: Update OWNERS
With stoza@ out for the next few months, the San Diego SurfaceFlinger
team needs someone with owners.
Also add zzyiwei@ for TimeStats because he has owned it since the
beginning.
Change-Id: I7c3dd1146327673f6bdfbc43663fdcbb03943061
Orion Hodson [Wed, 6 Feb 2019 09:03:46 +0000 (01:03 -0800)]
Merge "SurfaceFlinger: remove DdmConnection"
am:
e55a64f1a7
Change-Id: I79597b9133678028ea38586f3ad19564555842fd
Orion Hodson [Wed, 6 Feb 2019 08:51:39 +0000 (08:51 +0000)]
Merge "SurfaceFlinger: remove DdmConnection"
Orion Hodson [Mon, 4 Feb 2019 09:36:10 +0000 (09:36 +0000)]
SurfaceFlinger: remove DdmConnection
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.
Bug:
120782499
Test: m -j100
Change-Id: Ib9a129329f7bd8d67b954e58810807c683b20b48
Merged-In: Ib9a129329f7bd8d67b954e58810807c683b20b48
Exempt-From-Owner-Approval: Cherry-pick of approved CL in master
Tri Vo [Tue, 5 Feb 2019 21:45:11 +0000 (13:45 -0800)]
Merge "libbinder: keep ashmem size >= 0"
am:
5805df43c8
Change-Id: Id46cf33b6e0d48a1173d39301ffdcde15caff343
Tri Vo [Tue, 5 Feb 2019 21:38:50 +0000 (21:38 +0000)]
Merge "libbinder: keep ashmem size >= 0"
Alan Stokes [Tue, 5 Feb 2019 17:53:24 +0000 (17:53 +0000)]
Add missing error checks in tests.
To ensure we don't get tests spuriously passing when setup has failed.
Test: atest installd_service_test
Bug:
78442602
Change-Id: I32c8dc4f3d2b9d6dc0f289b170fd13198c87cac3
Nikita Ioffe [Tue, 5 Feb 2019 17:24:10 +0000 (09:24 -0800)]
Merge "installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache"
am:
4febfd6da7
Change-Id: I1134649531c898a20d524d26a8d40e63aeec9132
Treehugger Robot [Tue, 5 Feb 2019 17:00:28 +0000 (17:00 +0000)]
Merge "installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache"
Nikita Ioffe [Sat, 2 Feb 2019 17:26:18 +0000 (17:26 +0000)]
installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache
This test is failing on cf_x86_phone-userdebug target, with an error:
Failed copying /data/local/tmp/user_de/0/com.foo to /data/local/tmp/misc_de/0/rollback'
Logs shows that cp fails with "No such file or directory error":
02-05 08:37:49.444 12746 12746 I cp : cp: /data/local/tmp/misc_de/0/rollback: No such file or directory
02-05 08:37:49.445 12746 12746 I cp : cp terminated by exit(1)
Testcase is failing, because it doesn't create
/data/local/tmp/misc_de/0/rollback directory. It is hard to spot, because
other testcases in installd_service_test also create that directory, meaning
that depending on the order in which testcases are run,
CreateAppDataSnapshot_ClearsCache will either fail or succeed.
Verified that this is the case by running only
CreateAppDataSnapshot_ClearsCache testcase:
./data/nativetest/installd_service_test/installd_service_test --gtest_filter=*CreateAppDataSnapshot_ClearsCache*
Bug:
123631551
Fixes:
123631551
Test: ./data/nativetest/installd_service_test/installd_service_test --gtest_filter=*CreateAppDataSnapshot_ClearsCache*
Change-Id: I8277efe6076bac28fd07ea3705a21aae6b8cab14
Alexander Smundak [Tue, 5 Feb 2019 02:14:38 +0000 (18:14 -0800)]
Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts"
am:
5a3804f0cb
Change-Id: I1fed184f753e77b04bd2df05fcad6649dcbbc5eb
Alexander Smundak [Tue, 5 Feb 2019 02:04:18 +0000 (02:04 +0000)]
Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts"
Sasha Smundak [Mon, 4 Feb 2019 19:20:58 +0000 (11:20 -0800)]
Use sh_binary instead of cc_prebuilt_binary for shell scripts
Bug:
123829926
Test: treehugger
Change-Id: If9d2da84b30aebf8881c6da12efbe99549f5e0cc
Roland Levillain [Mon, 4 Feb 2019 13:47:45 +0000 (05:47 -0800)]
Merge "Have `otapreopt_chroot` bind-mount Bionic artifacts from the Runtime APEX."
am:
58ec999387
Change-Id: I8ffdce4c545d838489cf8818ad75a3c9d8e076f2
Roland Levillain [Mon, 4 Feb 2019 13:40:17 +0000 (13:40 +0000)]
Merge "Have `otapreopt_chroot` bind-mount Bionic artifacts from the Runtime APEX."
Mathieu Chartier [Sat, 2 Feb 2019 01:24:21 +0000 (17:24 -0800)]
Merge "Add handling for PH property dex2oat_resolve_startup_strings"
am:
25d4688e91
Change-Id: I0a2ec9718664ce5c7664694656e0b6c434589927