- Jul 19, 2022
-
-
Xusong Wang authored
Test: n/a Change-Id: If647d9f16ab26aab2a6cb7d699031a5db8cd6015
-
Caren Chang authored
Merge "Add explanation about the purpose of accessibility heading and use case apps should consider."
-
Andrew Chant authored
-
Andrew Chant authored
Revert submission 2152437-remove-net-module-utils-srcs Reason for revert: broke build. Bug: 239599703 Reverted Changes: I058e1aa37:Remove unused net-module-utils-srcs filegroup. I7c8a12372:Remove unused net-module-utils-srcs filegroup. Change-Id: Ib9f9319fd6dfade634eda65cafc8c9f7b643f3bb
-
Jeff Sharkey authored
* changes: Offer explicit 3-byte vs 4-byte modified UTF-8. Cache least recently used output buffer.
-
Patrick Rohr authored
-
Jeff Sharkey authored
As documented in art/runtime/jni/jni_internal.cc, ART has deviated from the RI by using a 4-byte encoding instead of the 3-byte encoding required by the JNI specification. Some users are okay with this 4-byte encoding (where they control both the reading and writing logic) but other users require compatibility with the DataOutput/DataInput API contract, so this change lets users request either behavior. This change now exercises all tests in both 4-byte and 3-byte modes, and exhaustively confirms that all valid code-points match the DataOutput/DataInput contract when in 3-byte mode. Benchmark results still show significant performance benefits when using this 3-byte encoding over the upstream RI: timeRead_Upstream_mean (ns): 5090068 timeRead_LocalUsing3ByteSequences_mean (ns): 1996032 timeRead_LocalUsing4ByteSequences_mean (ns): 1813250 timeWrite_Upstream_mean (ns): 3856276 timeWrite_LocalUsing3ByteSequences_mean (ns): 1632697 timeWrite_LocalUsing4ByteSequences_mean (ns): 886503 Bug: 236923096 Test: atest FrameworksCoreTests:CharsetUtilsTest Test: atest FrameworksCoreTests:FastDataTest Test: atest FrameworksCoreTests:XmlTest Test: atest FrameworksCoreTests:BinaryXmlTest Test: ./frameworks/base/libs/hwui/tests/scripts/prep_generic.sh little && atest CorePerfTests:FastDataPerfTest Change-Id: Ibddd36410a0d4a909522de011f23a337b53d6889
-
Treehugger Robot authored
-
- Jul 18, 2022
-
-
Jack He authored
* changes: le_audio: Extend handling of Broadcaster as active device AudioDeviceBroker: Extend createBtDeviceInfo with LE_AUDIO_BROADCAST
-
Caren Chang authored
Change-Id: I01bdd1fc89d54e62e9ce1f8dc15a58d13c56fabc Test: N/A, documentation chang
-
Miguel Aranda authored
-
Orion Hodson authored
Bug: 168471625 Test: build/make/tools/checkowners.py frameworks/base/core/jni/OWNERS Change-Id: Ie337552d8b490e8100cf35b9b0c9780cb771966a
-
- Jul 15, 2022
-
-
Alex Buynytskyy authored
- reduce memory allocations especially when Xml is serialized inside a tight inner loop, - performance slightly improved. BEFORE: 100 packages: [2/4] android.util.XmlPerfTest#timeWrite_Binary: PASSED (10.516s) timeWrite_Binary_mean: 674979 threadAllocCount_mean: 59 timeWrite_Binary_min: 671194 timeWrite_Binary_median: 674798 timeWrite_Binary_standardDeviation: 3658 threadAllocSize_mean: 530176 10 packages: [2/4] android.util.XmlPerfTest#timeWrite_Binary: PASSED (10.542s) timeWrite_Binary_mean: 71113 threadAllocCount_mean: 56 timeWrite_Binary_min: 70201 timeWrite_Binary_median: 71237 timeWrite_Binary_standardDeviation: 692 threadAllocSize_mean: 59136 1 package: [2/4] android.util.XmlPerfTest#timeWrite_Binary: PASSED (10.091s) timeWrite_Binary_mean: 15698 threadAllocCount_mean: 56 timeWrite_Binary_min: 15072 timeWrite_Binary_median: 15677 timeWrite_Binary_standardDeviation: 410 threadAllocSize_mean: 6439 AFTER: 100 packages: [1/1] android.util.XmlPerfTest#timeWrite_Binary: PASSED (10.221s) timeWrite_Binary_mean: 605862 threadAllocCount_mean: 53 timeWrite_Binary_min: 602353 timeWrite_Binary_median: 604424 timeWrite_Binary_standardDeviation: 4972 threadAllocSize_mean: 492748 10 packages: [1/1] android.util.XmlPerfTest#timeWrite_Binary: PASSED (10.575s) timeWrite_Binary_mean: 58710 threadAllocCount_mean: 50 timeWrite_Binary_min: 57551 timeWrite_Binary_median: 57798 timeWrite_Binary_standardDeviation: 2129 threadAllocSize_mean: 21696 1 package: [1/1] android.util.XmlPerfTest#timeWrite_Binary: PASSED (10.151s) timeWrite_Binary_mean: 11576 threadAllocCount_mean: 50 timeWrite_Binary_min: 11315 timeWrite_Binary_median: 11381 timeWrite_Binary_standardDeviation: 431 threadAllocSize_mean: 4336 Test: atest FastDataPerfTest XmlPerfTest Bug: 195994150 Fixes: 195994150 Merged-In: Ieedd27a676d718967c2fac30bc48a68ae636a180 Change-Id: Ieedd27a676d718967c2fac30bc48a68ae636a180
-
Grzegorz Kołodziejczyk authored
Patch extends handling Broadcaster as active Bluetooth device. Broadcast device. Bug: 150670922 Tag: #feature Test: PTS and presubmit Sponsor: jpawlowski@ Merged-In: Ic41c619411f1784bf586aa48ad0fa4a39a37ecb7 Change-Id: Ic41c619411f1784bf586aa48ad0fa4a39a37ecb7 (cherry picked from commit 7c1bf84c)
-
Grzegorz Kołodziejczyk authored
Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: build Merged-In: I389ce1fb8f6a763e991a00f3bebfac0648086722 Change-Id: I389ce1fb8f6a763e991a00f3bebfac0648086722 (cherry picked from commit 59afd5cc)
-
Jack Yu authored
-
Jack Yu authored
Bug: 232630223 Test: Manual Merged-In: Ifd00798a9add597b06677b857c58b3a946fb7435 Change-Id: Ifd00798a9add597b06677b857c58b3a946fb7435
-
- Jul 14, 2022
-
-
Daeho Jeong authored
-
Xiao Ma authored
Bug: 238960524 Test: m Change-Id: I7c8a123729dc249eaf8ea1e4354f2f26411850aa Merged-In: I7c8a123729dc249eaf8ea1e4354f2f26411850aa
-
Aaron Huang authored
-
- Jul 13, 2022
-
-
Treehugger Robot authored
-
Beth Thibodeau authored
Merge "NotificationPlayer: use AUDIOFOCUS_GAIN_TRANSIENT instead of AUDIOFOCUS_GAIN in looping mode"
-
Miguel Aranda authored
-
Miguel authored
The test performed a lot of repetitions of the same append call with a buffer that kept being extended which resulted in OOM errors, but now we use a new buffer each time. Test: atest CharsetUtf8PerfTest Bug: 235455275 Change-Id: I10427d315a6d0b45394c74d0c8642f0c085ceb07
-
Miguel authored
JarFilePerfTest was incorrectly submitted and not working yet, and SignaturePerfTest had a failing test case. Test: atest SignaturePerfTest Change-Id: I739a87c02fdb3dd8c82cd63c8187fa9a8bf05ca7
-
Aaron Huang authored
Dump last interfaces of the network information in dumpsys of netpolicy. Output: Network to interfaces: 100: {rmnet_data1}] 101: {v4-wlan0, wlan0}] Bug: 237640200 Test: FrameworksNetTests Change-Id: I258f5565e62666cd71222073c692e45e2e5828e2
-
Wei Sheng Shih authored
-
ot903277 authored
When the last item of sRunningAttributionSources is removed, the current check condition will cause the process of removing sRunningAttributionSources stopped and return directly, bring in weak global reference table overflow. Change the order for smooth removal. Bug: 218794347 Test: run audio stress test pass Change-Id: I39072f3b72f0be6d6debbcbc948d7a940ad92785
-
- Jul 12, 2022
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Nicolas Geoffray authored
-
wilsonshih authored
Extend the support of the exception list for SC-V2 and apps targeting S and SC-V2. Test: atest ActivityRecordTests Test: com.android.server.wm.SplashScreenExceptionListTest Bug: 231708538 Merged-In: I5412e81f70cbc9aac3861d13d85e199e949bedc7 Change-Id: I70a2aa4684c1267fe98e0e2260c61042db9c2e36
-
Maciej Żenczykowski authored
These are static methods, see: frameworks/base/core/java/com/android/internal/net/NetworkUtilsInternal.java public static native void setAllowNetworkingForProcess(boolean allowNetworking); public static native boolean protectFromVpn(FileDescriptor fd); public static native boolean protectFromVpn(int socketfd); Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ibac6e7b864823cc94bb5301d47bf244b9dd6bdad
-
- Jul 11, 2022
-
-
Miguel Aranda authored
-
Nicolas Geoffray authored
In that file, we can list methods which we want to compile but that our boot image profiling implementation did not cover. Test: m Bug: 235557326 Change-Id: Id5241dac826b5d4f581573d8b9b556bde2dabdeb
-
Treehugger Robot authored
-
Chris Li authored
Merge "[Bugfix][RemoteAnimation] Fix IndexOutOfBoundsException in onAnimationFinished of RemoteAnimationController"
-
xi yu authored
RemoteAnimationController Sometimes mPendingAnimations.remove will be called more than once in one cycle (line 255 - 270) of onAnimationFinished, e.g., mPendingAnimations.remove being called again in adapters.mAdapter.mCapturedFinishCallback.onAnimationFinished, resulting in IndexOutOfBoundsException. Bug:237989368 Change-Id: Ica771f1ae4cb4ddddb7684bd964504ca9f31ea12 Test: Monkey test
-
Chiachang Wang authored
* changes: Update method visibility for testing Stop VPN profiles by exiting VpnRunner instead of prepareInternal Update the prefix in keystore for app exclusion
-
- Jul 08, 2022
-
-
Bill Yi authored
-