7861989f6604b1b689573e87206c65bda26ae134 |
|
12-Jul-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Preload app-process HALs in Zygote"
|
1fe1dc0131f8251703ad54ac5e79eefa84affc2b |
|
07-Jul-2017 |
Jesse Hall <jessehall@google.com> |
Preload app-process HALs in Zygote Some HALs, like a.h.graphics.mapper, are always passthrough and are used by nearly all app processes. Preload those in Zygote to save app startup time and share more pages between processes. This has the side effect of also preloading a bunch of HIDL-related system and vndk libraries that would also otherwise be loaded independently by every app. An earlier attempt at this change tried to preload the HAL via a static initializer in libui.so (which is already preloaded, and which is the immediate client of the HAL). But several other non-Zygote processes also use libui.so, and didn't have SELinux permission to access the device nodes used by the HAL. This version uses an explicit call from Zygote to preload the HAL, instead of doing it implicitly. Bug: 62353585 Test: check that a.h.graphics.mapper is in /proc/`pid zygote64`/maps Change-Id: I42405c3b6cdf1ae412039140d656d15a6d4f8882
/frameworks/base/core/jni/Android.bp
|
f9419f0f8524da4980726e06130a80e0fb226763 |
|
15-Jun-2017 |
Narayan Kamath <narayan@google.com> |
Allow splits to declare a classloader type. Add an attribute android:classLoader which can be set to the name of the classloader the base or split wishes to use. For now, this can only be set to "dalvik.system.PathClassLoader" or "dalvik.system.DelegateLastClassLoader". The current implementation only allows the classloader to exist in the boot classpath but that restriction can be loosened in a future change if necessary. Test: cts-tradefed run cts-dev -m CtsAppSecurityHostTestCases Bug: 36044779 Change-Id: I5a51f7aa0c8c4c398d2f46129eb06785cc8e3c3f
/frameworks/base/core/jni/Android.bp
|
4dbcd23b5a21feda92f0f105d1e30fd29ac12b2b |
|
29-Jun-2017 |
John Reck <jreck@google.com> |
Merge "Add SharedMemory API"
|
dea6a027610951541981467276d8cd8ba8abc28b |
|
26-May-2017 |
John Reck <jreck@google.com> |
Add SharedMemory API SharedMemory is parcelable and AIDL friendly and exposes cool things like dropping write permissions that are useful for shared memory to have. Also exposes getFileDescriptor() on MemoryFile since that was necessary to use MemoryFile with IPC previously and there are a sizeable number of reflections that access it, so just make it public. Test: SharedMemory CTS tests pass Change-Id: I71a322abf2eb55267d7299a8e41f847339af8b08
/frameworks/base/core/jni/Android.bp
|
4bd958353e70b3a80f3ea85aa13576396eaa1bd2 |
|
23-Jun-2017 |
Tomasz Wasilczyk <twasilczyk@google.com> |
Remove previous implementation of RadioService. Bug: b/36863239 Test: instrumentalization Change-Id: Ia56f4aaf7575d83336eaa39df34341bd2f12cbc3
/frameworks/base/core/jni/Android.bp
|
ca1c192093daaf9def2d335b9244842bb7d94e59 |
|
22-Jun-2017 |
Robert Sloan <varomodt@google.com> |
Don't statically link libcrypto in frameworks. Test: CtsLibcoreTestCases, and BootTest. Change-Id: I547bb838befa743d72d356c186ff3cd355736589
/frameworks/base/core/jni/Android.bp
|
1b8b199325ab6e11bac40d11f3110610156a93cf |
|
25-May-2017 |
Steven Moreland <smoreland@google.com> |
Merge "HIDL: C++ Java parity" am: 475d9b283c am: 101aa88ad6 am: 5b33f9b441 am: bbb6aea084 Change-Id: I5f678c629e73d4ed281990a620e2c92464d79259
|
bbb6aea084bafaa6e7e455903d985e0926a69cda |
|
25-May-2017 |
Steven Moreland <smoreland@google.com> |
Merge "HIDL: C++ Java parity" am: 475d9b283c am: 101aa88ad6 am: 5b33f9b441 Change-Id: I7a7ae9d03ad51248526f3e93884e99bf7bc9e0b5
|
afe95a99783156c3d84a67209d0c30d3e11f94e0 |
|
23-May-2017 |
Steven Moreland <smoreland@google.com> |
HIDL: C++ Java parity Add same restrictions to Java that we have in C++ HIDL code for C++ services. Test: hidl_test_java, multiple internal devices work Bug: 38415912 Change-Id: I48571a5cd94b0ba6b1f722d032e45aac6e9527ed
/frameworks/base/core/jni/Android.bp
|
58d87e8ab7f3ba98c6f9ec049b2334063408895f |
|
16-May-2017 |
Colin Cross <ccross@android.com> |
Convert libmedia_jni to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: I1817c75ee45537ca0d5fc40a035f94a3dfeccc11 Merged-In: I1817c75ee45537ca0d5fc40a035f94a3dfeccc11 (cherry picked from commit 76de4f6b4d09423b3a5d3603527ce79acae4ed32)
/frameworks/base/core/jni/Android.bp
|
eb27d2798ac6b6e1b7a73142541ce82318abd7c0 |
|
16-May-2017 |
Colin Cross <ccross@android.com> |
Convert libmedia_jni to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: I1817c75ee45537ca0d5fc40a035f94a3dfeccc11 Merged-In: I1817c75ee45537ca0d5fc40a035f94a3dfeccc11 (cherry picked from commit 76de4f6b4d09423b3a5d3603527ce79acae4ed32)
/frameworks/base/core/jni/Android.bp
|
76de4f6b4d09423b3a5d3603527ce79acae4ed32 |
|
16-May-2017 |
Colin Cross <ccross@android.com> |
Convert libmedia_jni to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: I1817c75ee45537ca0d5fc40a035f94a3dfeccc11
/frameworks/base/core/jni/Android.bp
|
63c8ef0e50814509f21a9749be288ba77139971d |
|
11-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Separate GraphicsEnv from libui"
|
023b6b9d236d1848f896b19e3509c4b0e2d07d0d |
|
05-Apr-2017 |
Santos Cordon <santoscordon@google.com> |
Add uniqueId to Virtual Display and pass through to inputflinger (1/2) This CL adds : 1) Adds uniqueId (protected via system/sig permission) to virtual displays. 2) Add support for N virtual display viewports into inputflinger. 3) Set the virtual display's viewports in inputflinger if it has the uniqueId value set to non-null. (a) Moving the new viewport from java to native inputflinger and (b) adding "uniqueId" value to viewports makes up the great majority of this change. 4) From the inputflinger side, we also read in a new value from the input device configuration files called 'touch.displayId'. 5) When touch.displayId and the virtual display's uniqueId match, inputflinger links the two. Test: Start VR and ensure that the virtual viewport shows up when running 'adb shell dump input". Run a VR app, and ensure that the virtual input device is associated with the new virtual viewport. Test: com.android.server.display.DisplayManagerServiceTest Bug: 36051620 Change-Id: Id728d6e7292feaa1d8de7660bc6a2ec90fa1ff3c
/frameworks/base/core/jni/Android.bp
|
ee8931e258c07410b2affd6d5e8b9239b170c504 |
|
05-Apr-2017 |
Santos Cordon <santoscordon@google.com> |
Add uniqueId to Virtual Display and pass through to inputflinger (1/2) This CL adds: 1) Adds uniqueId (protected via system/sig permission) to virtual displays. 2) Add support for N virtual display viewports into inputflinger. 3) Set the virtual display's viewports in inputflinger if it has the uniqueId value set to non-null. (a) Moving the new viewport from java to native inputflinger and (b) adding "uniqueId" value to viewports makes up the great majority of this change. 4) From the inputflinger side, we also read in a new value from the input device configuration files called 'touch.displayId'. 5) When touch.displayId and the virtual display's uniqueId match, inputflinger links the two. Test: Start VR and ensure that the virtual viewport shows up when running 'adb shell dump input". Run a VR app, and ensure that the virtual input device is associated with the new virtual viewport. Test: com.android.server.display.DisplayManagerServiceTest Bug: 36051620 Change-Id: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12
/frameworks/base/core/jni/Android.bp
|
354ac499944445eea3130cc6dc275332357f09f0 |
|
08-May-2017 |
Jiyong Park <jiyong@google.com> |
Separate GraphicsEnv from libui GraphicsEnv class is separated from libui and became a standalone lib 'libgraphicsenv'. Bug: 38097618 Test: sailfish builds and boots Change-Id: I7a5c273ba9238c3a6c90e1de80b9e97fc0772188
/frameworks/base/core/jni/Android.bp
|
5c5b7f0ed7e9eb5c2452637fde542ba08cab1536 |
|
20-Apr-2017 |
Colin Cross <ccross@android.com> |
Convert libandroid and libandroid_runtime to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: Ie3c9c3d3c8c75ade36422d1e8ee0a5fe117e9091 Merged-In: Ie3c9c3d3c8c75ade36422d1e8ee0a5fe117e9091 (cherry picked from commit 3f8fd40f285dba5b3639ee1e3d4e4544048c1446)
/frameworks/base/core/jni/Android.bp
|
af737306f943570dd3d6c8a74681622bdb7ca275 |
|
20-Apr-2017 |
Colin Cross <ccross@android.com> |
Convert libandroid and libandroid_runtime to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: Ie3c9c3d3c8c75ade36422d1e8ee0a5fe117e9091 (cherry picked from commit 3f8fd40f285dba5b3639ee1e3d4e4544048c1446)
/frameworks/base/core/jni/Android.bp
|
3f8fd40f285dba5b3639ee1e3d4e4544048c1446 |
|
20-Apr-2017 |
Colin Cross <ccross@android.com> |
Convert libandroid and libandroid_runtime to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: Ie3c9c3d3c8c75ade36422d1e8ee0a5fe117e9091
/frameworks/base/core/jni/Android.bp
|