summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
12 hoursMerge "Add tests for ServiceManager Java Binder API" into mainParth Sane
23 hoursAdd owners for MessageQueue related filesMark Fasheh
We've been profiling and making improvements to MessageQueue for some time now and also have OWNERS for MessageQueueTest.java. Would like to be able to review future changes to the core MessageQueue class. I also added Message.java for good measure. Test: presubmit Change-Id: I961a2468c7b9a451d3b33d78a67f17cccf22cd60
27 hoursAdd tests for ServiceManager Java Binder APIParth Sane
Bug: 333854840 Test: atest android.os.BinderTest Change-Id: Iaf1fd1e5daea7103a873bc8f8aa0b78377e57714
5 daysMerge "[pm] Catch ParcelableException in PackageManager.isAppArchivable" ↵Song Chun Fan
into main
6 daysFix -Wformat warningYi Kong
frameworks/base/core/jni/com_android_internal_content_FileSystemUtils.cpp:198:37: error: format specifies type 'long' but the argument has type 'int' [-Werror,-Wformat] 196 | ALOGD("Size after punching holes st_blocks: %" PRIu64 ", st_blksize: %ld, st_size: %" PRIu64 | ~~~ | %d 197 | "", 198 | afterPunch.st_blocks, afterPunch.st_blksize, | ^~~~~~~~~~~~~~~~~~~~~ Test: presubmit Bug: 315250603 Change-Id: I449937f824ef7423d2c909a64b34d4df678ac62b
6 daysMerge "Add OWNERS for VintfObjectTest.java" into mainTreehugger Robot
6 daysMerge "SystemSensorManager:fix CWE problem by add lock." into mainTreehugger Robot
7 daysMerge "Clarify details in docs for binderDied()" into mainDevin Moore
8 daysMerge "Use originalView's context" into mainRobin Lee
11 days[pm] Catch ParcelableException in PackageManager.isAppArchivableSong Chun Fan
Catches the ParcelableException exception type and rethrows it as a NameNotFoundException. Also improves a few existing APIs to rethrow the ParcelableException as a RuntimeException if it is not one of the expected exception type. Change-Id: I76f6cc246fca1fe0624429c500015b0cce5ffd40 BUG: 341212469 FIXES: 341212469 Test: builds
11 daysMerge "[Thread] add permission THREAD_NETWORK_TESTING for guarding testing ↵Treehugger Robot
APIs or shell commands" into main
13 daysSystemSensorManager:fix CWE problem by add lock.lijilou
When receive the DYNAMIC_SENSOR_CHANGED broadcast,thread A will call the updateDynamicSensorList method to traverse mDynamicSensorCallbacks map. Meanwhile,thread B call the register/unregister the dynamicSensorCallback, it may cause CWE.So we should add a lock to protect. Test: OEM monkey test Bug: 342282013 Change-Id: Ic380ae23ecdcb0f501e85b19db4fcabc275f17c5
13 daysMerge "Mark tests part of the device-tests platinum set" into mainJulien Desprez
14 daysAdd OWNERS for VintfObjectTest.javaJooyung Han
Bug: 317747397 Change-Id: Iee1fa722c6c773aa3ceb84ac13e05e8935360f45 Test: OWNERS
14 daysMerge "Fix VintfObjectTest" into mainTreehugger Robot
14 daysFix VintfObjectTestJooyung Han
Removed hard-coded "version"s in assertions. Instead, the test now parses XML documents and then compare root elements and "type"s. Plus, the test now checks if report() reports all four matrices/manifests. Bug: 317747397 Test: atest VintfObjectTest Change-Id: I4bb514e9c0bd78214cb3f03e1b12afec8a301915
2024-05-21Mark tests part of the device-tests platinum setJulien Desprez
This will allow to build them more effectively. This has no impact on the test execution itself. Change-Id: If131f8efdef060757884835570aea74704f064c4 Test: presubmit Bug: 341947105
2024-05-21Merge "Google RCS uses FTEU MO SMS for phone number verification [ Week 17 ↵Aishwarya Mallampati
and Week 18]" into main
2024-05-21Merge "HSUM: Fix profile unlock notification" into mainRubin Xu
2024-05-21[Thread] add permission THREAD_NETWORK_TESTING for guarding testing APIs or ↵Kangping Dong
shell commands For new Thread network APIs or shell command for only testing, a new signature permission is deversed to protect them (so to distinguish them from existing system APIs which are designed for privileged apps such as GMS Core). Bug: 329368792 Change-Id: I291989eb0e024614568044945726edc07e20b8be
2024-05-20Merge "Fix VintfObject to use vintf" into mainJooyung Han
2024-05-18Fix VintfObject to use vintfJooyung Han
VintfObject is a TestApi class and used by CTS tests and EDI collectors. Previously, it used libvintf to open VINTF data from device which caused SEPolicy error because - CTS tests and EDI collectors are "apps" - VINTF data needs to load files unavailable to apps. In this change, VintfObject uses "instrumentation" to get VINTF data by calling /system/bin/vintf under shell identity. Bug: 338278029 Bug: 317747397 Test: atest SELinuxNeverallowRulesTest Test: VintfDeviceInfo/VintfFilesCollector work Change-Id: I43a54827a1d82cfaf573753c5c5862425843a099
2024-05-18libvintf_jni requires vintfJooyung Han
Bug: 317747397 Test: m libvintf_jni (installs vintf as well) Change-Id: I9615c923e045eb07387eb75421e724f912856d86
2024-05-17Merge "Fix TypedArray instance leak in ParsingPackageUtils." into mainTreehugger Robot
2024-05-17Fix TypedArray instance leak in ParsingPackageUtils.Arnab Banerjee
TypedArray instance was not closed after creation due to recycle method not being invoked. Added recycle call. Bug: 337976070 FIXES: 337976070 Change-Id: I222e33209e6b66f344e24ae1ca232ca7312da087
2024-05-17Update OWNERS for app predictionPinyao Ting
Change-Id: Ib29eec5f4b6191b820f952f783f9ef9928385f7e
2024-05-17HSUM: Fix profile unlock notificationRubin Xu
Send the confirm credential intent from the right user. Bug: 327350831 Test: none Change-Id: Ife9f2bed7a2095d2aac87a79aafe7868dce3591b
2024-05-17Use originalView's contexthee.youn
Use originalView's context for appcompat's localNightMode support Bug: 276473378 Change-Id: I473011abb8a0b7793377a3e2b2a65f5601bfc925
2024-05-16Merge "Fix common typo" into mainBecky Siegel
2024-05-16Merge "Fix nullptr exception when using do-while" into mainTreehugger Robot
2024-05-16Merge "Support properties in path when merging overlay configs" into mainTreehugger Robot
2024-05-16Merge "Remove kvakil, augale from permission OWNERS, add kiranmr" into mainTreehugger Robot
2024-05-16Merge "Add a hidden API to detect ravenwood environment" into mainMakoto Onuki
2024-05-16Support properties in path when merging overlay configsHåkan Kvist
Make it possible to use read only properties in the path when merging an overlay config. One of the usecases is to support switching overlays depending on SKU. Example: <config> <overlay package="..." enabled="true" mutable="false" /> <merge path="${ro.my.prop}/config.xml" /> <merge path="skus/${ro.my.prop}.xml" /> <overlay package="..." enabled="true" mutable="false" /> </config> Bug: 223913150 Test: atest OverlayConfigTest OverlayConfigParserTest Change-Id: Ic9e460e5064a9601e713b3959a66a80bdf78734a
2024-05-16Google RCS uses FTEU MO SMS for phone number verification [ Week 17 and Week 18]SANDHYA DIVI
We are adding 8 digits short code for the country (IR) BUG: 336426119, 338159395 abtd: https://android-build.corp.google.com/abtd/run/L21300030003850248 Test: atest android.telephony.cts.SmsUsageMonitorShortCodeTest Change-Id: Ida2172dd50a645160180906d9c4b94a5ffd3c329
2024-05-16Merge "Use metered firewalls for metered uid policy" into mainTreehugger Robot
2024-05-15Use metered firewalls for metered uid policySuprabh Shukla
Since the underlying code in connectivity manager is moving to metered firewalls to denote the uid policy for metered restrictions, NPMS can start using them now. Rather than having a single PENALTY_BOX, we have separate firewalls for user and admin imposed restrictions. Once NPMS uses the appropriate firewalls for these, it does not need to separately convey the blocked reasons for metered restrictions on uids to the ConnectivityManager. Flag: com.android.server.net.use_metered_firewall_chains Test: atest FrameworksServicesTests:NetworkManagementServiceTest Test: atest FrameworksServicesTests:NetworkPolicyManagerTest Test: atest CtsHostsideNetworkPolicyTests Bug: 336693007 Change-Id: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6 Merged-In: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6
2024-05-15Remove kvakil, augale from permission OWNERS, add kiranmrNate Myren
Bug: None Test: None Flag: NONE (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4654a6ede634c044f5b6d1aab7b269540379bbf9) Merged-In: I4b84653ba29c294afdcc137460d31dcec1abcfde Change-Id: I4b84653ba29c294afdcc137460d31dcec1abcfde
2024-05-15Add a hidden API to detect ravenwood environmentMakoto Onuki
We should minimize uses of it, but once in a while, it's useful as a last resort. Bug: 340556010 Test: atest FrameworksCoreTestsRavenwood:com.android.internal.ravenwood.RavenwoodEnvironmentTest Test: tree hugger for device side tests Merged-In: Ice651a55cad092514466dd56940a2cf7b2285e4e Change-Id: Ice651a55cad092514466dd56940a2cf7b2285e4e
2024-05-14Update OWNERS for Uri related files.Varun Shah
Bug: n/a Change-Id: Iff211c9fed743e0da93b8a5aa72c6c28e462bb4c Test: n/a
2024-05-13Add owners for DreamManager.William Leshner
Bug: NA Test: NA Change-Id: Id40751c8eaaae76a8391de6b3eef60ac38b48d86
2024-05-10Merge "Add flag dump_verifications for attestation_verification" into mainDave McCloskey
2024-05-09Add flag dump_verifications for attestation_verificationDave McCloskey
Change-Id: I77f267228b8e9d83a6726aa25351a59cd06634b0 Bug: 335068579
2024-05-09Merge "Update android_mallopt for GWP-ASan with the new names." into mainTreehugger Robot
2024-05-09Merge "Add documentation to WebChromeClient.onShowFileChoosers" into mainAashna Jena
2024-05-09Add documentation to WebChromeClient.onShowFileChoosersAashna Jena
Add notes to indicate that developer is responsible for validating data files picked through a file picker on WebView. Bug: 309408775 Change-Id: Iefae7f325f5457461dd91c87c3dd2a7eee22ad36
2024-05-08Merge "Make VCN HSUM compatible" into mainYan Yan
2024-05-08Clarify details in docs for binderDied()Devin Moore
Bug: 323587535 Test: none Change-Id: I8d9f9b4ddc10145744107dd78c7e1e3516f5c18d
2024-05-07Make VCN HSUM compatibleYan Yan
Require VCN to be used by a "main user" instead of a "system user" since "system user" will no longer be a full user on HSUM devices Bug: 310310661 Test: FrameworksVcnTests, CtsVcnTestCases on non-hsum and hsum devices Flag: android.net.vcn.enforce_main_user Change-Id: I5abfa7ba82055cd953083b1ab3f83e61bafd8a55
2024-05-07Merge "Support disabling IPsec packet loss detector" into mainYan Yan