- Feb 22, 2024
-
-
Jean-François authored
ScriptC won't be supported on any new architecture (for example riscv64), so throw an exception when it is used on an unsupported architecture. Note that using `Build.SUPPORTED_ABIS` includes ABIs supported due to dynamic binary translation, which do not support ScriptC. So we can't use `Build.SUPPORTED_ABIS` to determine if ScriptC is supported or not. Instead we attempt loading `libRS.so`. `libRS.so` is not present on riscv64 images, so this allows us to know if we are on a riscv64 system. A problem occurs on x86 images with binary translation for riscv64 (aka berberis): when running a riscv64 binary, the binary translation system will fallback to the x86 version of the libraries via what is called a "native bridge". This means that `libRS.so` would successfully load on those system, which we do not want because even though it would load it wouldn't run properly. This is why a separate CL in the binary translation codebase was landed that explicitly refuses to load `libRS.so`: https://android-review.git.corp.google.com/c/platform/frameworks/libs/binary_translation/+/2971952 Bug: 206676167 Test: atest CtsRsBlasTestCases:android.cts.rsblas.IntrinsicBLAS#test_L3_SGEMM_API -- --abi x86_64 Change-Id: I2ed2e2ae531046d1d00e9a2d2f864375b0bb3570
-
- Feb 08, 2024
-
-
Treehugger Robot authored
-
Harshit Mahajan authored
-
Jihoon Kang authored
-
Ikjoon Jang authored
-
Sadrul Chowdhury authored
-
Ikjoon Jang authored
Revert submission 2952245-vfrc_as_tot_sepolicy Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/builds/quarterdeck?branch=git_main&target=mainline_modules_arm64-mainline-userdebug&lkgb=11421838&lkbb=11421957&fkbb=11421841, b/324335916 Reverted changes: /q/submissionid:2952245-vfrc_as_tot_sepolicy Bug: 324335916 Change-Id: Ib8eb10576158ae355e230e4ac89b2d280a32e607
-
Harshit Mahajan authored
This flags are causing merge conflicts while cherry-picking them in aosp/2921425. So adding them separately from it. Bug: 291135724 Test: NA Change-Id: I9a3f9a72fc3a7d17d5b04f1d1e6578fa7e9f1d23 Merged-In: I555f5edb76ddc107c071b8b4c6909ef54ecf46eb
-
Inseob Kim authored
-
David Dai authored
* changes: Permit CAP_SYS_NICE for virtualmachine groups Link MANAGE_VIRTUAL_MACHINE permissions with virtualmachine gid
-
Shaju Mathew authored
-
- Feb 07, 2024
-
-
Jihoon Kang authored
Currently, ther merged txt filegroups are dist'ed as api/*-current.txt and api/*-removed.txt files during droid dist build. This change adds additional merged txt filegroup modules that depend on the non-updatable exportable txt files instead of the checked in non-updatable txt files (under frameworks/base/core). These added modules will be dist'ed in droid build, instead of the currently existing merged txt filegroups. Test: m nothing && inspect ninja output Bug: 324254328 Change-Id: Ib0b47ba032a2917d0f2df6ad585d2102d6940c50
-
Charles Chen authored
-
Sadrul Chowdhury authored
The zygote process sets MAX priority for the child process after a fork if it is a 'high priority fork' (e.g. for top-app). However, the zygote does a fair amount of work before the fork, and can take up some amount of time due to getting descheduled. This introduces latency in app-launch, especially on low-power devices. Fix this by setting the zygote process priority to MAX for a high-priority fork early on, and reset it back to DEFAULT afterwards. Bug: 323891634 Test: manually Change-Id: Iac1ea81531f59ee6245c73530f2dd639209421f7
-
Charles Chen authored
Bug: 177641730 Test: n/a Change-Id: I33f4ef0db2845afeed084468ebebdd45866d8054
-
Aishwarya Mallampati authored
-
Victor Chang authored
-
zhuning3 authored
Avoid destruction of the pairing server while it is being initialized by ensuring that both native_pairing_start and native_pairing_cancel run on the same FgThread. Test: MTBF Bug: 321884100 Change-Id: I7b3614f3922b265930d95a30d37174ba60dbd806 Signed-off-by:
zhuning3 <zhuning3@xiaomi.corp-partner.google.com>
-
Carlos Galo authored
-
Eran Messeri authored
-
- Feb 06, 2024
-
-
Automerger Merge Worker authored
Merge "Merge "Test API's for mouse pointer speed" into android14-tests-dev am: 8ac722f2" into main
-
Biswarup Pal authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2928854 Change-Id: I1993982242a9cd28dfb09b0f1d0fcd58e5769528 Signed-off-by:
Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-
Biswarup Pal authored
-
Hai Zhang authored
-
Carlos Galo authored
The MemEventListener now requires to pass a `MemEventClient` for it to map the BPF program, and ring-buffer, to the corresponding client. Other API changes include the replacement of `getOomEvents()` to `getMemEvents()`, and the return value tyoe of `listen()`. Test: m Test: Trigger OOM kill and verify `noteAppKill()` is called with the matching OOM victim data Bug: 315560026 Change-Id: Ia8b89110ac985417fc51ca3ef94191b116ca3658 Signed-off-by:
Carlos Galo <carlosgalo@google.com> Merged-In: Ia8b89110ac985417fc51ca3ef94191b116ca3658
-
Carlos Galo authored
* changes: servicestest: add jni dependency mockingservicestest: adding jni dependency for OomConnection Add out-of-memory (OOM) kills to ApplicationExitInfo
-
Jihoon Kang authored
-
David Dai authored
Grant CAP_SYS_NICE to CapInh/CapPrm/CapBnd for processes that can spawn VMs. This enables processes to execve on binaries with elevated capabilities if its file capability bits are set. This does not grant capability to the parent process(that spawns the VM) as the effective bits are not set. This allows for VMs to be able to tune for better performance. Bug: 322197421 Test: Booted device and processes and checked that the correct capabilities are given. Change-Id: I9ba974495383494d24a564c66249c78176eebca9 Merged-In: I9ba974495383494d24a564c66249c78176eebca9 Merged-In: I8cc08506fa6af831fdc607246df11e06fead9f1c Signed-off-by:
David Dai <davidai@google.com>
-
David Dai authored
Add virtualmachine gid for apps with MANAGE_VIRTUAL_MACHINE permissions. Bug: 322197421 Test: Booted device and processes and checked that the correct capabilities are given. Change-Id: I14e7df4dd284e00a44eb92d753c7e7e58b1e2526 Signed-off-by:
David Dai <davidai@google.com>
-
Eran Messeri authored
Add a method to get the list of apps that have auth-bound keys bound to a specific SID. Bug: 302109605 Test: Manual, installed an app that creates auth-bound keys and observed it is included in the list of apps that have auth-bound keys. A CtsVerifier is forthcoming. Change-Id: Id41398bd29e6f80f963b142bb16719761308198e
-
Lajos Molnar authored
Bug: 297914560 Change-Id: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3 Merged-in: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
-
Kevin Jeon authored
-
gang.huang authored
Change-Id: Ia3510233f5a8bee816b12af48da90ef1b3bca998 Bug: 324018979 Test: Build
-
Yi Kong authored
-
Yi Kong authored
Addresses follow up review in https://r.android.com/2909917 Change-Id: Idc979c73b05e5dee53ef756b392c20131e2cdb4b Test: presubmit
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Inseob Kim authored
Minor version hasn't been used. As we are moving to a new versioning scheme, removing the minor version to align with other vendor interfaces. Bug: 314010177 Test: build and boot Change-Id: Ife866f15d33197656f7c9c393447429a309a29df
-
Jihoon Kang authored
frameworks-base-api-current.srcjar is used to generate the stubs srcjar file in dist directory during the sdk builds. Given that the sdk build artifacts should depend on the exportable stubs instead of the everything stubs, the src of this module should also be replaced with the exportable stubs from the everything stubs. Given that the only usage of this module is the stubs srcjar generation during the sdk builds, the source of this module can be safely replaced with the exportable stubs instead of creating a new module. Test: patch in git_main, lunch aosp_arm-ap31-eng && m sdk dist and inspect ninja query to verify that android-stubs-src.jar does not depend on the everything stubs Bug: 323261972 Change-Id: If37aa6ef862c69619768f91f2360b37459fd3cdb
-
- Feb 05, 2024
-
-
Wei Li authored
-