When random parcel is sent to incidentd, AIDL service
crashes with null pointer dereference.
Test: atest incidentd_test
Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer
Bug: 282963041
Change-Id: I0e0ebc479acbfd3f5e9f56b629380b5d90021f45
"Recycle" Android Lint rule checks the code for unclosed Cursor
objects, as well as other unclosed resources. Cursors which are
not closed as soon as they are not used anymore may lead to
Android performance issues:
* if Cursor was created by querying ContentProvider, then it
will hold an active binding to the process that hosts
ContentProvider, which will prevent this process from being
cached or unloaded
* each Cursor can hold an up to 2 MB CursorWindow memory buffer
Changing "Recycle" rule severity to "error" will block the code
with unclosed Cursors from being submitted.
Bug: 266775648
Test: m PackageInstaller
Test: m lint-check
Merged-In: Ice7f02158259e1c2f899d43e8de8dd318fec1016
Change-Id: Ic062d53c26cb67e2b6c7070c96ab51bd44c3d824
Adding AIDL service fuzzer using fuzzService for
incident service
Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer
Bug: 232439428
Change-Id: I8d0738ac7f9cea99ce017e25cd68093bfe38e68c
Bug: 281584180
Make Shai Barack (shaibay) and Lee Shombert (shombert) owners of the
android.database.sqlite package. Add these owners as owners of the
associated test directory and the jni files.
Test: N/A
Change-Id: I848cfe99fdc26b383b8afdae4e3ef3ad67e967d3
This feature provides the application with the ability to lock the device into DSU mode, allowing only authorized users to exit.
Bug: 275484855
Test: manual testing with a slot name ends with ".lock"
Change-Id: Ie00fd897daf2dfb11c2c792887a0e95ee164cea3
Use the more predictable behaviour of String#lines() to split the stdout
string as an example of how it should be parsed. String#split() has
slightly surprising behaviour if stdout is empty as it results in an
array containing an empty string.
Test: atest RemoteProvisioningShellCommandTest
Bug: 281584054
Change-Id: I06796772cc58007fefb5d2089ae709965c6576b1
By default, PREFERRED_IKE_PROTOCOL_IPV4_UDP is used for safety.
This is because some carriers' networks do not support IPv6 very
well, and using IPv4 can help to prevent problems.
Carrierconfig customization on the device should override the
value if V6 are known to work well.
Bug: 269714970
Test: atest FrameworksNetTests
Change-Id: Ia0a6bd11d25fd67edb0a301e81626ec4f174155a
Changes to metalava's SamShouldBeLast check in aeeda125 have detected
a few more cases that need to be added to the baseline.
Bug: 281035030
Test: ./gradlew
Change-Id: I6c83425c1be1783b10c051afc77c096523923e9d
When the ddr size is not present or it is invalid, getAdvertisedMem()
must return getTotalMemory() size.
Bug: 278977257
Test: atest frameworks/base/core/tests/coretests/src/android/os/ProcessTest.java
Change-Id: I2323d79d869a4c58eb29d0cae351144f357b867d