Skip to content

New Crowdin updates#13

Open
riteshm321 wants to merge 157 commits into10from
10-translations
Open

New Crowdin updates#13
riteshm321 wants to merge 157 commits into10from
10-translations

Conversation

@riteshm321
Copy link

No description provided.

chriswailes and others added 30 commits June 15, 2020 16:46
This CL causes the Zygote to purge unused native memory before fork
events. This results in a decrease in the RSS before a fork, which
decreases false sharing between parent and child, and results in less
private dirty memory in the child when allocations and deallocations
begin to dirty bookkeeping data on pages in the anon:libc_malloc
memory region.

The result of these changes is a negligible change to application
startup times, the reduction of usap32 process private dirty memory by
40 KiB and usap64 process private dirty memory by 128 KiB.  Application
RSS and private dirty memory usage (for Calendar) was reduced by 804 KiB
and 624 KiB respectively.

Test: Launched Calendar 500 times
Change-Id: I52f72a5a02182a9e2748f7f87b45665059d9891a
Merged-In: I52f72a5a02182a9e2748f7f87b45665059d9891a
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
This CL updates the ProcessCpuTracer.getName method to force a refresh
of the process name when the current state indicates that it was named
either 'usap32' or 'usap64'.  This will prevent false attribution of
process statistics to system service processes.

Bug: 146614089
Test: Treehugger
Change-Id: Ieca4715b7aeb44ef7d1ec98773b25bdfa0a9fc6b
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Downgrade apps before optimizing.

Also, Remove spurious error logging in BackgroundDexOptService

The old logic created a log entry indicating an error when the
actual result was success.

Test: m
Change-Id: I6a361ff63158a7c1187d65c4f9520498d6740747
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This patch changes the location where the process's name is changed to
that of the application being launched.  It also attempts to use the
package name if the "nice name" is missing.

Test: m & flash & boot
Bug: 146614089
Change-Id: Id3a3d0b2b66d31c48274f8a986e86e9ed1d28f34
Merged-In: Id3a3d0b2b66d31c48274f8a986e86e9ed1d28f34
This patch adjusts the USAP pool refill mechanism so that it is less
disruptive to launching applications.  Refill events are now delayed
by several (3) seconds if delaying wouldn't cause the pool to be below
the minimum population size.

This patch also adjusts the process priorities for the USAPs and other
processes spawned from the Zygote so that they behave better in the
context they are spawned in.

Bug: 131362095
Bug: 146614089
Test: booted & launched apps & checked logs
Change-Id: I7328f304c9b744cfdbfbdbe522a5f9aeea5233bb
Merged-In: I7328f304c9b744cfdbfbdbe522a5f9aeea5233bb
This patch fetches the USAP pool refill delay value from device_config
instead of hardcoding it.

Bug: 131362095
Bug: 146614089
Test: Build and launch 10+ apps successfully
Change-Id: Idfeb30fa62fa296492da211b2b44902ff4f99b18
Merged-In: Idfeb30fa62fa296492da211b2b44902ff4f99b18
Bug: 132794985
Bug: 146614089
Test: m & flash & launch more apps than USAPs in the pool
Change-Id: I9ee74d76692fa8aeba9c70765b3e8f98ea9105bc
Merged-In: I9ee74d76692fa8aeba9c70765b3e8f98ea9105bc
This patch makes two changes to increase the reliability of the USAP
pool refill mechanism.  The first is to change the storage type of the
result of an expression from int to long.  This will help avoid
potential overflow issues.

The second change mitigates the impact of the non-monotonic system clock
having its value changed.  If the clock goes backwards in time past when
the initial event triggered the refill delay, the delay will now be reset.

Bug: 146614089
Test: Treehugger
Change-Id: Ic6f65de51757803b5ba95975bab3b9322a91c837
Merged-In: Ic6f65de51757803b5ba95975bab3b9322a91c837
An assignment to a flag and a call to a function that uses that flag
were in the wrong order.

Bug: 146614089
Test: Treehugger
Change-Id: If046aa62084892b8dae10497f15cf4c685d226db
Merged-In: If046aa62084892b8dae10497f15cf4c685d226db
Previously init started the Zygote with -20 nice value and then
immediately switched it to 0 in ZygoteInit.main so that new applications
forked from the Zygote have the correct Java Language thread priority.
This patch delays this priority change so that it only affects the new
processes and not the priority of the Zygote.

Test: m & flash & check ps
Bug: 146614089
Change-Id: Id00d0cfd642f02640c40b6e7b2aa8933a320b60c
Merged-In: Id00d0cfd642f02640c40b6e7b2aa8933a320b60c
The previous place I had moved these changes resulted in runtime threads
being created at the wrong priority.  This patch moves the calls to the
correct location.

Test: atest CtsJvmtiRunTest924HostTestCases
Bug: 146614089
Change-Id: Iad2e17cd137eab81c595cb6816608a36b009da8b
Merged-In: Iad2e17cd137eab81c595cb6816608a36b009da8b
Test: Built and collected a trace to verify slice ended
Bug: 146614089
Change-Id: Ic75d65fc7b2a417fc3a58c2df8ec9deb795fb418
Merged-In: Ic75d65fc7b2a417fc3a58c2df8ec9deb795fb418
* Code reversed from Asus Stock framework

Co-authored-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: I9eb324750599b191b7854af28274ee260d63201e
Change-Id: I9e46834fcb95642cbbf4e3ed93d3275d73eb2e57
Change-Id: I6157d91ca93a771b32bd2c3b859c19ed42efa469
Change-Id: Id0fcc1805f4144463b4d3f040fb4d2ea1644c1a2
Change-Id: I549b7a98fdf06141d64c0eb78887c901283c1e1c
Change-Id: I6c2cd0261885b656910feffe76d67e169d8523c8
Revert "FODCircleView: Don't show circle if already Authenticated"

This reverts commit 9410dad.

Revert "FODCircleView: Patch screen flickering"

This reverts commit ba153fa.

Revert "FODCircleView: Add partial wakelock on aod"

This reverts commit a8db16b.

Revert "FODCircleView: fix incorrect position on keyguard"

This reverts commit 0c98818.

Revert "FODCircleView: Dont change alpha of fod on AOD"

This reverts commit f6ed507.

Revert "FODCircleView: only move in Y direction"

This reverts commit afe679b.

Revert "FOD: Show fod circle below pattern/pin view"

This reverts commit 972fccd.
extracted from da89b4d81d094beb2e5c10a8887abca0985198b3

Signed-off-by: AnkitGourav <Ankitgourav035@gmail.com>
Signed-off-by: AnkitGourav <Ankitgourav035@gmail.com>
- also clean-up DataUsageView

Signed-off-by: AnkitGourav <Ankitgourav035@gmail.com>
Signed-off-by: AnkitGourav <Ankitgourav035@gmail.com>
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
 * improves app launch speed

Change-Id: Ide19f0c7c48d8b007759150358d524d6c7f3039a
Signed-off-by: DennySPb <dennyspb@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.