Age | Commit message (Collapse) | Author |
|
= Perf stats =
(lower is better)
Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.
Cold startup (speed-profile): -1.21%
PSS: -3.40%
RSS: -2.58%
Privat Dirty: -4.68%
Boot time: 0.04%
Code size: 2.79%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 6988
- number of (device types, builds): 256
File boot-image-profile.txt
- hot methods: 3564 added, 2353 removed
- methods: 3564 added, 2353 removed
- classes: 498 added, 29 removed
- totals now: 22707 hot methods, 22707 methods, 13987 classes
- totals before: 21496 hot methods, 21496 methods, 13518 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3418, 2238, 39, 11, 21138, 9609
com.android, 145, 114, 89, 18, 1473, 3422
android.view, 575, 372, 4, 0, 3202, 881
android.hardware, 88, 41, 2, 0, 407, 795
android.bluetooth, 26, 23, 0, 0, 173, 170
android.animation, 95, 56, 0, 0, 401, 71
android.app, 392, 225, 7, 0, 2896, 983
android.content, 329, 243, 5, 1, 2146, 594
android.graphics, 425, 246, 0, 0, 1974, 320
android.icu, 115, 86, 0, 0, 1940, 1528
android.media, 98, 62, 0, 0, 777, 567
android.net, 78, 51, 2, 10, 711, 415
android.widget, 344, 277, 0, 0, 1382, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3 added, 19 removed
- totals now: 0 hot methods, 0 methods, 11477 classes
- totals before: 0 hot methods, 0 methods, 11493 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 3, 1, 0, 8432
com.android, 0, 0, 0, 18, 0, 2466
android.hardware, 0, 0, 1, 0, 0, 680
android.app, 0, 0, 2, 0, 0, 867
android.content, 0, 0, 0, 1, 0, 514
File boot-image-profile.txt
- hot methods: 4788 added, 2939 removed
- methods: 4788 added, 2939 removed
- classes: 678 added, 29 removed
- totals now: 32340 hot methods, 32340 methods, 16707 classes
- totals before: 30491 hot methods, 30491 methods, 16058 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3432, 2249, 39, 11, 21185, 9640
com.android, 291, 154, 89, 18, 2429, 3762
java, 825, 434, 0, 0, 6903, 1807
android.view, 574, 372, 4, 0, 3201, 881
android.hardware, 87, 41, 2, 0, 406, 795
android.bluetooth, 37, 23, 0, 0, 173, 170
android.animation, 95, 56, 0, 0, 401, 71
android.app, 390, 225, 7, 0, 2894, 983
android.content, 327, 243, 5, 1, 2144, 594
android.graphics, 423, 246, 0, 0, 1972, 320
android.icu, 115, 86, 0, 0, 1940, 1528
android.media, 95, 62, 0, 0, 774, 567
android.net, 78, 51, 2, 10, 711, 415
android.widget, 344, 277, 0, 0, 1381, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 20 removed
- totals now: 0 hot methods, 0 methods, 13904 classes
- totals before: 0 hot methods, 0 methods, 13924 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 2, 0, 8453
com.android, 0, 0, 0, 18, 0, 2805
android.view, 0, 0, 0, 1, 0, 742
android.content, 0, 0, 0, 1, 0, 514
File art-profile
- hot methods: 4595 added, 2644 removed
- methods: 5217 added, 3300 removed
- classes: 359 added, 13 removed
- totals now: 35471 hot methods, 51136 methods, 5764 classes
- totals before: 33520 hot methods, 49219 methods, 5418 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 37, 12, 157, 0, 469, 437
com.android, 4557, 2631, 142, 13, 34847, 5224
android.hardware, 8, 8, 0, 0, 242, 127
android.net, 29, 4, 157, 0, 202, 287
InternalReferenceRawProfileId: 4117
InternalReferenceCandidateProfileId: 4124
Bug: 169104277
Test: build & benchmark
Change-Id: I6dd60b5d0457e0fa35d57082677892ae65b9e920
|
|
= Perf stats =
(lower is better)
Startup time is improving at the cost of slight increase in memory usage.
This is due the a large number of extra preloaded classes which will
be trimmed down in further updates.
Cold startup (speed-profile): -2.05%
PSS: -1.41%
RSS: -0.63%
Privat Dirty: -2.03%
Boot time: -0.71%
Code size: 0.47%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.899
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 5637
- number of (device types, builds): 179
File boot-image-profile.txt
- hot methods: 1354 added, 873 removed
- methods: 1354 added, 873 removed
- classes: 165 added, 2 removed
- totals now: 21496 hot methods, 21496 methods, 13518 classes
- totals before: 21015 hot methods, 21015 methods, 13355 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1304, 833, 156, 2, 19958, 9581
com.android, 49, 39, 9, 0, 1442, 3351
android.view, 157, 128, 3, 2, 2999, 877
android.hardware, 5, 4, 0, 0, 360, 793
android.bluetooth, 3, 3, 0, 0, 170, 170
android.animation, 24, 24, 0, 0, 362, 71
android.app, 139, 127, 0, 0, 2729, 976
android.content, 121, 106, 1, 0, 2060, 590
android.graphics, 96, 79, 1, 0, 1795, 320
android.icu, 39, 35, 0, 0, 1911, 1528
android.media, 20, 21, 1, 0, 741, 567
android.net, 381, 14, 141, 0, 684, 423
android.widget, 94, 94, 2, 0, 1315, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 108 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11493 classes
- totals before: 0 hot methods, 0 methods, 11385 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 108, 0, 0, 8430
android.view, 0, 0, 1, 0, 0, 743
android.app, 0, 0, 1, 0, 0, 865
android.net, 0, 0, 106, 0, 0, 341
File boot-image-profile.txt
- hot methods: 1685 added, 1227 removed
- methods: 1685 added, 1227 removed
- classes: 167 added, 2 removed
- totals now: 30491 hot methods, 30491 methods, 16058 classes
- totals before: 30033 hot methods, 30033 methods, 15893 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1303, 843, 158, 2, 20002, 9612
com.android, 112, 102, 9, 0, 2292, 3691
java, 216, 229, 0, 0, 6512, 1807
android.view, 157, 128, 3, 2, 2999, 877
android.hardware, 5, 4, 0, 0, 360, 793
android.bluetooth, 3, 14, 0, 0, 159, 170
android.animation, 24, 24, 0, 0, 362, 71
android.app, 140, 126, 0, 0, 2729, 976
android.content, 121, 106, 1, 0, 2060, 590
android.graphics, 96, 79, 1, 0, 1795, 320
android.icu, 39, 35, 0, 0, 1911, 1528
android.media, 20, 21, 1, 0, 741, 567
android.net, 381, 14, 141, 0, 684, 423
android.widget, 93, 94, 2, 0, 1314, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 110 added, 0 removed
- totals now: 0 hot methods, 0 methods, 13924 classes
- totals before: 0 hot methods, 0 methods, 13814 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 110, 0, 0, 8455
android.view, 0, 0, 1, 0, 0, 743
android.media, 0, 0, 1, 0, 0, 499
android.net, 0, 0, 106, 0, 0, 341
File art-profile
- hot methods: 2406 added, 1622 removed
- methods: 2927 added, 1862 removed
- classes: 77 added, 4 removed
- totals now: 33520 hot methods, 49219 methods, 5418 classes
- totals before: 32736 hot methods, 48154 methods, 5345 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 23, 4, 8, 0, 444, 280
com.android, 2383, 1618, 69, 4, 32921, 5095
android.hardware, 2, 2, 0, 0, 242, 127
android.content, 2, 1, 1, 0, 3, 7
android.net, 16, 1, 7, 0, 177, 130
InternalReferenceRawProfileId: 3925
InternalReferenceCandidateProfileId: 3934
Bug: 169104277
Test: build & benchmark
Change-Id: Ifd03de98020a738cfa7687fe83d7d3e5c89f5c10
|
|
= Perf stats =
(lower is better)
Reduction in the overall memory consumptions as well as faster
cold startups. The trade-off is a slight increase of code size.
Cold startup (speed-profile): -1.25%
PSS: -1.67%
RSS: -1.79%
Privat Dirty: -5.96%
Boot time: -0.82%
Code size: +4.85%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.899
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 5307
- number of (device types, builds): 168
File boot-image-profile.txt
- hot methods: 21015 added, 0 removed
- methods: 21015 added, 0 removed
- classes: 13355 added, 0 removed
- totals now: 21015 hot methods, 21015 methods, 13355 classes
- totals before: 0 hot methods, 0 methods, 0 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 19487, 0, 9427, 0, 19487, 9427
com.android, 1432, 0, 3342, 0, 1432, 3342
java, 2, 0, 114, 0, 2, 114
android.view, 2970, 0, 876, 0, 2970, 876
android.hardware, 359, 0, 793, 0, 359, 793
android.bluetooth, 170, 0, 170, 0, 170, 170
android.animation, 362, 0, 71, 0, 362, 71
android.app, 2717, 0, 976, 0, 2717, 976
android.content, 2045, 0, 589, 0, 2045, 589
android.graphics, 1778, 0, 319, 0, 1778, 319
android.icu, 1907, 0, 1528, 0, 1907, 1528
android.media, 742, 0, 566, 0, 742, 566
android.net, 317, 0, 282, 0, 317, 282
android.widget, 1315, 0, 366, 0, 1315, 366
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 11385 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11385 classes
- totals before: 0 hot methods, 0 methods, 0 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 8322, 0, 0, 8322
com.android, 0, 0, 2484, 0, 0, 2484
java, 0, 0, 114, 0, 0, 114
android.view, 0, 0, 742, 0, 0, 742
android.hardware, 0, 0, 679, 0, 0, 679
android.bluetooth, 0, 0, 164, 0, 0, 164
android.animation, 0, 0, 71, 0, 0, 71
android.app, 0, 0, 864, 0, 0, 864
android.content, 0, 0, 515, 0, 0, 515
android.graphics, 0, 0, 295, 0, 0, 295
android.icu, 0, 0, 1468, 0, 0, 1468
android.media, 0, 0, 499, 0, 0, 499
android.net, 0, 0, 235, 0, 0, 235
android.widget, 0, 0, 329, 0, 0, 329
File boot-image-profile.txt
- hot methods: 2663 added, 2687 removed
- methods: 2659 added, 2687 removed
- classes: 201 added, 248 removed
- totals now: 30033 hot methods, 30033 methods, 15893 classes
- totals before: 30057 hot methods, 30061 methods, 15940 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1988, 1537, 113, 228, 19542, 9456
com.android, 295, 255, 86, 20, 2282, 3682
java, 304, 673, 0, 0, 6525, 1807
android.view, 210, 127, 21, 0, 2970, 876
android.hardware, 35, 10, 5, 2, 359, 793
android.bluetooth, 18, 16, 0, 0, 170, 170
android.animation, 28, 13, 0, 0, 362, 71
android.app, 285, 190, 16, 19, 2715, 976
android.content, 298, 104, 5, 0, 2045, 589
android.graphics, 143, 65, 0, 0, 1778, 319
android.icu, 103, 43, 0, 0, 1907, 1528
android.media, 71, 18, 4, 2, 742, 566
android.net, 42, 387, 5, 138, 317, 282
android.widget, 143, 88, 3, 0, 1315, 366
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 33 added, 175 removed
- totals now: 0 hot methods, 0 methods, 13814 classes
- totals before: 0 hot methods, 0 methods, 13956 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 6, 170, 0, 8345
com.android, 0, 0, 27, 5, 0, 2823
android.app, 0, 0, 2, 1, 0, 864
android.graphics, 0, 0, 2, 0, 0, 295
android.net, 0, 0, 0, 107, 0, 235
File art-profile
- hot methods: 4351 added, 2717 removed
- methods: 5688 added, 3427 removed
- classes: 174 added, 40 removed
- totals now: 32736 hot methods, 48154 methods, 5345 classes
- totals before: 31102 hot methods, 45893 methods, 5211 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 11, 37, 0, 18, 425, 272
com.android, 4337, 2679, 173, 22, 32156, 5030
android.hardware, 2, 2, 0, 0, 242, 127
android.net, 9, 32, 0, 15, 162, 123
InternalReferenceRawProfileId: 3892
InternalReferenceCandidateProfileId: 3900
Test: build & benchmark
Bug: 169104277
Change-Id: I64897afc1d6899d729d9086f64ac3a9574429526
(cherry picked from commit c6c95e8d93267548ba191ef3354539d183167652)
|
|
= Perf stats =
(lower is better)
Big reduction in the overall memory consumptions as well as faster cold startups. The trade-off is a slight increase of code size.
Cold startup (speed-profile): -2.45%
PSS: -6.93%
RSS: -2.06%
Privat Dirty: -8.15%
Boot time: -0.71%
Code size: +5.73%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 4778
- number of (device types, builds): 138
File boot-image-profile.txt
- hot methods: 4497 added, 2661 removed
- methods: 4497 added, 2661 removed
- classes: 760 added, 34 removed
- totals now: 30057 hot methods, 30061 methods, 15940 classes
- totals before: 28221 hot methods, 28225 methods, 15214 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3051, 1971, 263, 22, 19091, 9571
com.android, 348, 157, 436, 12, 2242, 3616
java, 799, 398, 59, 0, 6894, 1807
android.view, 573, 390, 60, 1, 2887, 855
android.hardware, 51, 29, 3, 0, 334, 790
android.bluetooth, 21, 1, 1, 0, 168, 170
android.animation, 105, 104, 0, 0, 347, 71
android.app, 350, 168, 38, 1, 2620, 979
android.content, 272, 181, 17, 0, 1851, 584
android.graphics, 319, 310, 16, 0, 1700, 319
android.icu, 241, 152, 0, 0, 1847, 1528
android.media, 67, 26, 13, 2, 689, 564
android.net, 78, 49, 8, 3, 662, 415
android.widget, 246, 182, 11, 0, 1260, 363
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 18 removed
- totals now: 0 hot methods, 0 methods, 13956 classes
- totals before: 0 hot methods, 0 methods, 13974 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 15, 0, 8509
com.android, 0, 0, 0, 3, 0, 2801
android.view, 0, 0, 0, 1, 0, 742
android.app, 0, 0, 0, 2, 0, 863
android.graphics, 0, 0, 0, 2, 0, 293
android.media, 0, 0, 0, 1, 0, 498
File art-profile
- hot methods: 4156 added, 2740 removed
- methods: 4967 added, 3444 removed
- classes: 415 added, 11 removed
- totals now: 31102 hot methods, 45893 methods, 5211 classes
- totals before: 29686 hot methods, 44370 methods, 4807 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 26, 34, 8, 1, 451, 290
com.android, 4107, 2698, 407, 10, 30498, 4879
android.hardware, 12, 12, 0, 0, 242, 127
android.content, 0, 0, 0, 0, 2, 6
android.net, 14, 21, 8, 1, 185, 138
InternalReferenceRawProfileId: 3751
InternalReferenceCandidateProfileId: 3761
Test: build & benchmark
Bug: 169104277
Change-Id: Ie9de3cba7c952b28cb48e53d44cab6e21cc8d81f
|
|
= Perf stats =
(lower is better)
Start and memory are improving at a slight expense of code size and
boot time. The boot time metric is very noisy however. This changes
adds inline-caches to the boot profile.
An inline cache is formatted like:
```
HSPLthis/is/a/classMethod;->descriptor()V+]Ltarget/type;Lresult/type1;,Lresult/type2;]Ltarget/type2;megamorphic_types
HSPLandroid/content/pm/parsing/ParsingPackageUtils;->hasDomainURLs(Landroid/content/pm/parsing/ParsingPackage;)Z+]Landroid/content/pm/parsing/component/ParsedActivity;Landroid/content/pm/parsing/component/ParsedActivity;]Ljava/util/List;Ljava/util/Collections$EmptyList;,Ljava/util/ArrayList;]Landroid/content/pm/parsing/component/ParsedIntentInfo;Landroid/content/pm/parsing/component/ParsedIntentInfo;
```
Cold startup (speed-profile): -2.35%
PSS: -1.60%
RSS: -0.44%
Private Dirty: -2.14%
Boot time: +3.24%
Code size: +5.83%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 4247
- number of (device types, builds): 128
File boot-image-profile.txt
- hot methods: 7863 added, 8398 removed
- methods: 7857 added, 8398 removed
- classes: 352 added, 848 removed
- totals now: 28221 hot methods, 28225 methods, 15214 classes
- totals before: 28756 hot methods, 28766 methods, 15710 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3992, 4543, 246, 358, 18011, 9330
com.android, 590, 593, 96, 429, 2051, 3192
java, 2521, 2494, 9, 59, 6493, 1748
android.view, 729, 805, 15, 74, 2704, 796
android.hardware, 36, 43, 16, 8, 312, 787
android.bluetooth, 12, 10, 0, 1, 148, 169
android.animation, 99, 106, 0, 0, 346, 71
android.app, 415, 493, 24, 48, 2438, 942
android.content, 400, 462, 14, 22, 1760, 567
android.graphics, 321, 393, 2, 19, 1691, 303
android.icu, 489, 424, 58, 4, 1758, 1528
android.media, 61, 91, 4, 19, 648, 553
android.net, 134, 157, 27, 15, 633, 410
android.widget, 307, 382, 11, 16, 1196, 352
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 474 removed
- totals now: 0 hot methods, 0 methods, 13974 classes
- totals before: 0 hot methods, 0 methods, 14443 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 5, 121, 0, 8524
com.android, 0, 0, 0, 308, 0, 2804
java, 0, 0, 0, 43, 0, 1714
android.view, 0, 0, 0, 11, 0, 743
android.hardware, 0, 0, 0, 1, 0, 679
android.app, 0, 0, 0, 29, 0, 865
android.content, 0, 0, 0, 4, 0, 515
android.graphics, 0, 0, 0, 8, 0, 295
android.icu, 0, 0, 0, 4, 0, 1468
android.media, 0, 0, 0, 3, 0, 499
android.net, 0, 0, 4, 1, 0, 342
android.widget, 0, 0, 0, 5, 0, 329
File art-profile
- hot methods: 15265 added, 13296 removed
- methods: 18373 added, 16318 removed
- classes: 490 added, 1810 removed
- totals now: 29686 hot methods, 44370 methods, 4807 classes
- totals before: 27717 hot methods, 42315 methods, 6127 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 185, 140, 10, 14, 459, 283
com.android, 15050, 13109, 480, 1788, 29089, 4482
android.hardware, 101, 69, 9, 6, 242, 127
android.app, 0, 0, 0, 0, 1, 3
android.content, 1, 0, 0, 0, 2, 6
android.net, 80, 68, 0, 8, 192, 131
InternalReferenceRawProfileId: 3661
InternalReferenceCandidateProfileId: 3664
Test: build & benchmark
Bug: 168941430
Merged-In: I82493824bf0f383c0db81cdc11051df50b5e813f
Merged-In: Icf870c90dd68b8450ad0928ae8e5594c5eb94423
(cherry picked from commit 740d4947b96a5992643d1122682e6affe382a8d2)
Change-Id: Ifd87d506d710d1a1eaf31842f0327eeab50684be
|
|
5f117b3491 am: 55eafcc5a7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1549965
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5f82f7d8ea56944f1243cca55aa6631dc53d29d4
|
|
Test: m
Change-Id: I41bee1f48f77f61e5194fcc0e4607f04ab674c1f
|
|
This change partially reverts the back button behavior change introduced
in: I48ec35f841ab3b306fe80845150000c390908f5e
Instead of always moving the task to the back when the back button is
pressed on the root task, we only do it when the activity that is open
is a "launcher activity". These are activities that act as the main
entry points into an application, indicated with an intent filter with
ACTION_MAIN and CATEGORY_LAUNCHER.
Bug: 176235889
Test: atest WmTests
Test: atest CtsWindowManagerDeviceTestCases
Test: manual: flash crosshatch, press back button on a launcher activity,
observe task is moved to back; press back on non-launcher activity,
observe task is finished.
Change-Id: I1cbf85f1a007aeedcb66b9343d182188bacc78e7
|
|
|
|
= Perf stats =
(lower is better)
Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.
Cold startup (speed-profile): -2.01%
PSS: -3.40%
RSS: -5.53%
Privat Dirty: -0.08%
Boot time: 1.58%
Code size: -22.4%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.85
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 1547
- number of (device types, builds): 62
File boot-image-profile.txt
- hot methods: 1431 added, 11395 removed
- methods: 1388 added, 12571 removed
- classes: 883 added, 112 removed
- totals now: 28756 hot methods, 28766 methods, 15710 classes
- totals before: 38720 hot methods, 39949 methods, 14939 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 700, 8119, 514, 46, 18562, 9442
com.android, 194, 2682, 342, 65, 2054, 3525
java, 383, 465, 19, 0, 6466, 1798
android.view, 107, 876, 31, 10, 2780, 855
android.hardware, 2, 408, 88, 1, 319, 779
android.bluetooth, 13, 88, 4, 3, 146, 170
android.animation, 0, 91, 0, 0, 353, 71
android.app, 221, 1362, 41, 7, 2516, 966
android.content, 41, 952, 36, 0, 1822, 575
android.graphics, 63, 386, 5, 0, 1763, 320
android.icu, 54, 150, 1, 4, 1693, 1474
android.media, 33, 522, 47, 3, 678, 568
android.net, 5, 431, 45, 0, 656, 398
android.widget, 36, 461, 5, 1, 1271, 357
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 518 added, 476 removed
- totals now: 0 hot methods, 0 methods, 14446 classes
- totals before: 0 hot methods, 0 methods, 14404 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 319, 0, 8643
com.android, 0, 0, 0, 136, 0, 3112
java, 0, 0, 101, 21, 0, 1757
android.view, 0, 0, 0, 80, 0, 754
android.hardware, 0, 0, 0, 12, 0, 680
android.bluetooth, 0, 0, 0, 5, 0, 164
android.app, 0, 0, 0, 40, 0, 891
android.content, 0, 0, 0, 19, 0, 519
android.graphics, 0, 0, 0, 12, 0, 303
android.icu, 0, 0, 0, 5, 0, 1472
android.media, 0, 0, 0, 22, 0, 502
android.net, 0, 0, 0, 9, 0, 343
android.widget, 0, 0, 0, 18, 0, 334
File art-profile
- hot methods: 9847 added, 2417 removed
- methods: 9201 added, 4241 removed
- classes: 1432 added, 563 removed
- totals now: 27717 hot methods, 42315 methods, 6127 classes
- totals before: 20287 hot methods, 37355 methods, 5258 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 159, 2, 32, 2, 414, 287
com.android, 9632, 2415, 1389, 561, 27148, 5790
android.hardware, 82, 0, 27, 0, 210, 124
android.app, 0, 0, 1, 0, 1, 3
android.content, 0, 0, 2, 0, 1, 6
android.net, 77, 1, 2, 0, 180, 139
InternalReferenceRawProfileId: 3305
InternalReferenceCandidateProfileId: 3307
Test: build & benchmark
Bug: 169104277
Change-Id: I30494a9c879cd226252749a350df686d4ef99eed
|
|
These cause /dev/urandom to be opened as CLO_EXEC and test
android.security.cts.FileDescriptorTest#testCLOEXEC to fail.
Also added to denylist except for AudioCodec that is pulled from
somewhere.
Bug: 174053659
Test: atest ./cts/tests/tests/security/src/android/security/cts/FileDescriptorTest.java
Change-Id: I1d83a1127ef3a0dce7ba0afa7549d2e4ec8ba453
|
|
Adding interface for set/remove/getDevicesRoleForStrategy. This will be
used for setting device(s) role, such as preferred, for strategy.
Set/remove/getPreferreDeviceForStrategy are reimplemented by calling
the new interfaces.
Test: atest AudioHostTest
Test: atest AudioServiceHostTest
Test: atest AudioServiceTest
Test: atest audiopolicy_tests
Bug: 160352965
Change-Id: I2ba02c6b50af80846a25010ead05c4ae364868de
Merged-In: I2ba02c6b50af80846a25010ead05c4ae364868de
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1529303
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6063de6300cd0a2274bbe8b32273239f8d5194d
|
|
We now have better tests in ART run tests, and it was also being added
to the shipping product for no good reason.
Test: m
Bug: 154796679
Change-Id: I8d7178873474ce84c6cf08c8af8bae96b0fab7e9
|
|
|
|
BasicShellCommandHandler is used by mainline modules and the
framwork. There is a new repo that was created for putting
this kind of utility class. Move BasicShellCommandHandler for
the incoming ConnectivityService mainline and updating the
related usage.
Bug: 170598012
Test: m ; verify with adb shell cmd
Change-Id: I8a2873df6e7d8342b7a8b466bda155f74c807ee3
Merged-In: Ida30c877116090616d4bf3f87fdad835446dac84
|
|
Introduce camera system health atoms, including:
- Camera open, close, and session creation time
- Camera session and stream combination information,
- Stream statistics:
- stream width, height, format, dataspace, usage flag,
- max buffer count
- buffer loss
- first frame latency.
Test: ./out/host/linux-x86/bin/statsd_testdrive 227
Test: CTS PerformanceTest
Bug: 154159000
Change-Id: I858d64f3324bb9652a59e5857f2730c92c616a8e
|
|
BasicShellCommandHandler is used by mainline modules and the
framwork. There is a new repo that was created for putting
this kind of utility class. Move BasicShellCommandHandler for
the incoming ConnectivityService mainline and updating the
related usage.
Bug: 170598012
Test: m ; verify with adb shell cmd
Change-Id: Ida30c877116090616d4bf3f87fdad835446dac84
|
|
= Perf stats =
(lower is better)
Startup time is improving at the cost of slight increase in memory usage.
This is due the a large number of extra preloaded classes which will
be trimmed down in further updates.
Cold startup (speed-profile): -3.38%
PSS: -0.54%
RSS: 4.33%
Privat Dirty: -0.02%
Boot time: 3.73%
Code size: 3.57%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 281
- number of (device types, builds): 17
File boot-image-profile.txt
- hot methods: 5268 added, 6255 removed
- methods: 5762 added, 5929 removed
- classes: 1944 added, 822 removed
- totals now: 38720 hot methods, 39949 methods, 14939 classes
- totals before: 39707 hot methods, 40116 methods, 13817 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3749, 4709, 1312, 392, 25981, 8974
com.android, 817, 725, 558, 343, 4542, 3248
java, 582, 586, 70, 69, 6548, 1779
android.view, 380, 920, 82, 61, 3549, 834
android.hardware, 127, 120, 15, 13, 725, 692
android.bluetooth, 16, 64, 2, 1, 221, 169
android.animation, 7, 21, 0, 0, 444, 71
android.app, 557, 649, 56, 44, 3657, 932
android.content, 962, 225, 35, 19, 2733, 539
android.graphics, 103, 197, 29, 16, 2086, 315
android.icu, 125, 629, 868, 0, 1789, 1477
android.media, 302, 175, 31, 18, 1167, 524
android.net, 173, 145, 11, 15, 1082, 353
android.widget, 104, 467, 22, 13, 1696, 353
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3364 added, 558 removed
- totals now: 0 hot methods, 0 methods, 14923 classes
- totals before: 0 hot methods, 0 methods, 12117 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1492, 341, 0, 8962
com.android, 0, 0, 1257, 131, 0, 3247
java, 0, 0, 179, 69, 0, 1778
android.view, 0, 0, 91, 53, 0, 834
android.hardware, 0, 0, 34, 13, 0, 692
android.bluetooth, 0, 0, 2, 1, 0, 169
android.app, 0, 0, 68, 41, 0, 931
android.content, 0, 0, 64, 19, 0, 538
android.graphics, 0, 0, 29, 16, 0, 315
android.icu, 0, 0, 869, 0, 0, 1477
android.media, 0, 0, 37, 15, 0, 524
android.net, 0, 0, 37, 12, 0, 352
android.widget, 0, 0, 22, 12, 0, 352
File art-profile
- hot methods: 7015 added, 11289 removed
- methods: 10994 added, 13950 removed
- classes: 1562 added, 2229 removed
- totals now: 20288 hot methods, 37357 methods, 5258 classes
- totals before: 24562 hot methods, 40313 methods, 5925 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 32, 321, 17, 65, 257, 257
com.android, 6947, 10930, 1540, 2150, 19932, 4962
android.hardware, 24, 116, 3, 39, 128, 97
android.app, 0, 0, 0, 0, 1, 2
android.content, 0, 1, 1, 0, 1, 4
android.net, 8, 194, 13, 23, 104, 137
InternalReferenceRawProfileId: 2853
InternalReferenceCandidateProfileId: 2857
Retested after blacklist at: go/art-benchmark:2890
Test: build & benchmark
Bug: 169104277
Change-Id: Id5a107451629a2be9675be58519fe4e39cd5565f
|
|
Revert "Update import path of BasicShellCommandHandler"
Revert "Update path for BasicShellCommandHandler"
Revert "Update path for BasicShellCommandHandler"
Revert "Update rule for BasicShellCommandHandler"
Revert submission 12975279-move_BSCH
Reason for revert: b/173120275
Reverted Changes:
Ib750f4774:Move BasicShellCommandHandler
I43c0dc327:Update import path of BasicShellCommandHandler
I73d58c07c:Update path for BasicShellCommandHandler
I21f103949:Update path for BasicShellCommandHandler
I8a2873df6:Move BasicShellCommandHandler to frameworks/lib/mo...
I91df774a3:Update rule for BasicShellCommandHandler
Exempt-From-Owner-Approval: to fix b/173120275
Change-Id: Iaa44f9aa4c1621f331275dc76ecb7505100fe9c5
|
|
BasicShellCommandHandler is used by mainline modules and the
framwork. There is a new repo that was created for putting
this kind of utility class. Move BasicShellCommandHandler for
the incoming ConnectivityService mainline and updating the
related usage.
Bug: 170598012
Test: m ; verify with adb shell cmd
Change-Id: I8a2873df6e7d8342b7a8b466bda155f74c807ee3
|
|
Adding interface for set/remove/getDevicesRoleForStrategy. This will be
used for setting device(s) role, such as preferred, for strategy.
Set/remove/getPreferreDeviceForStrategy are reimplemented by calling
the new interfaces.
Test: atest AudioHostTest
Test: atest AudioServiceHostTest
Test: atest AudioServiceTest
Test: atest audiopolicy_tests
Bug: 160352965
Change-Id: I2ba02c6b50af80846a25010ead05c4ae364868de
|
|
This CL changes the behavior of pressing the back button on a root
activity so that the task is moved to the back, instead of the activity
being finished.
This removes the IRequestFinishCallback which IActivityTaskManager would
previously have triggered to make the Activity finish itself.
Bug: 146418616
Test: atest WmTests
Test: manual: flash crosshatch, press back button on a root activity,
observe task is moved to back.
Change-Id: I48ec35f841ab3b306fe80845150000c390908f5e
|
|
- Remove legacy wrapper implementing camera2 API on HALv1
- Move JNI utility code into SurfaceUtils
- Remove openLegacy path, which allowed HALv1 behavior on HALv3 devices
- Remove relevant tests
Test: atest CtsCameraTestCases
Bug: 136024295
Change-Id: I49ad89bee5c4fdc09e288597821163c81494476f
|
|
am: 75f6223c7c am: c96e8b2184 am: eb3069cddd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1352358
Change-Id: I8f7490576e967ffec93b40edcc32317e0b187c38
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1352358
Change-Id: Ib9cdd470cc9cb0f199dc97b1d05e1d833dd3808c
|
|
Test: m
Bug: 154796679
Change-Id: Id03d9be728c920616a7218fc5435640fc732c87e
|
|
rvc-dev am: 92fc2321cd am: bf05bbc6ef am: 8cc3ed80bb am: b9cdb4197d
Change-Id: Ie1541eff9e4669a700b3c77436d35c6defac8668
|
|
rvc-dev am: 92fc2321cd am: bf05bbc6ef am: 8cc3ed80bb
Change-Id: Iceea04818e5338a2a8538bb5a809d8e7e18c25ca
|
|
rvc-dev am: 92fc2321cd
Change-Id: Ia8131417a5152664726c7b444f159742eeb0ce0c
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -1.75%
Avg Memory at boot PSS change: -0.44%
Code size: +3.36%
Boot time: -0.33%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.3
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 7130
- number of (device types, builds): 205
File boot-image-profile.txt
- hot methods: 1746 added, 2138 removed
- methods: 1705 added, 2226 removed
- classes: 2103 added, 240 removed
- totals now: 39682 hot methods, 40091 methods, 13821 classes
- totals before: 40074 hot methods, 40612 methods, 11958 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1369, 1520, 569, 202, 26942, 8058
com.android, 243, 246, 995, 23, 4450, 3033
java, 94, 285, 107, 0, 6526, 1778
android.view, 191, 316, 19, 53, 4089, 813
android.hardware, 13, 44, 24, 2, 718, 694
android.bluetooth, 6, 22, 0, 1, 269, 168
android.animation, 0, 14, 0, 0, 458, 71
android.app, 103, 315, 12, 20, 3749, 920
android.content, 41, 120, 31, 46, 1996, 523
android.graphics, 33, 53, 0, 0, 2180, 302
android.icu, 8, 127, 0, 0, 2293, 609
android.media, 65, 66, 10, 8, 1040, 511
android.net, 25, 49, 29, 20, 1054, 357
android.widget, 89, 118, 1, 1, 2059, 344
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 428 added, 246 removed
- totals now: 0 hot methods, 0 methods, 12125 classes
- totals before: 0 hot methods, 0 methods, 11943 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 341, 204, 0, 7817
com.android, 0, 0, 86, 23, 0, 2122
java, 0, 0, 1, 3, 0, 1668
android.view, 0, 0, 2, 53, 0, 796
android.hardware, 0, 0, 5, 2, 0, 675
android.bluetooth, 0, 0, 0, 1, 0, 168
android.app, 0, 0, 0, 20, 0, 907
android.content, 0, 0, 2, 46, 0, 493
android.icu, 0, 0, 0, 1, 0, 608
android.media, 0, 0, 1, 8, 0, 502
android.net, 0, 0, 0, 20, 0, 327
android.widget, 0, 0, 0, 1, 0, 342
File art-profile
- hot methods: 1658 added, 5108 removed
- methods: 2941 added, 9987 removed
- classes: 450 added, 1451 removed
- totals now: 24562 hot methods, 40313 methods, 5925 classes
- totals before: 28012 hot methods, 47359 methods, 6926 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 34, 12, 15, 3, 546, 305
com.android, 1612, 5094, 434, 1448, 23915, 5572
android.hardware, 10, 0, 0, 0, 220, 133
android.net, 21, 11, 14, 3, 290, 147
InternalReferenceRawProfileId: 2161
InternalReferenceCandidateProfileId: 2193
Test: build & benchmark
Bug: 148471769
Change-Id: Id1728cd51db8052e6f47cfe006a3ca4b62766f9e
|
|
The old implementation remains in its place for now.
IndentingPrintWriter is still hidden - it will be made public
separately.
Test: atest FrameworksUtilTests:android.util.IndentingPrintWriterTest
Bug: 142281756
Change-Id: Idd2bfa027733ef384b5a676866a89fb3c35b06cb
|
|
rvc-dev am: d56a530ac9
Change-Id: I37fe17d14d8d1f95f0311ac57ecbb55c3bbdc998
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -1.36%
Avg Memory at boot PSS change: -5.05%
Code size: -5.05%
Boot time: -2.79%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 4215
- number of (device types, builds): 137
File boot-image-profile.txt
- hot methods: 876 added, 5178 removed
- methods: 812 added, 5267 removed
- classes: 466 added, 428 removed
- totals now: 40072 hot methods, 40610 methods, 11958 classes
- totals before: 44374 hot methods, 45065 methods, 11920 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 597, 3775, 372, 334, 27091, 7691
com.android, 198, 478, 89, 89, 4453, 2061
java, 68, 715, 4, 3, 6717, 1671
android.view, 162, 220, 66, 0, 4214, 847
android.hardware, 26, 109, 19, 0, 749, 672
android.bluetooth, 3, 96, 5, 0, 285, 169
android.animation, 1, 4, 1, 0, 472, 71
android.app, 148, 374, 42, 2, 3961, 928
android.content, 52, 890, 26, 0, 2075, 538
android.graphics, 11, 51, 6, 0, 2200, 302
android.icu, 14, 99, 8, 0, 2412, 609
android.media, 15, 77, 39, 0, 1041, 509
android.net, 30, 185, 18, 5, 1078, 348
android.widget, 3, 203, 33, 0, 2088, 344
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 465 added, 429 removed
- totals now: 0 hot methods, 0 methods, 11942 classes
- totals before: 0 hot methods, 0 methods, 11906 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 371, 334, 0, 7679
com.android, 0, 0, 89, 89, 0, 2060
java, 0, 0, 4, 3, 0, 1670
android.view, 0, 0, 66, 0, 0, 847
android.hardware, 0, 0, 19, 0, 0, 672
android.bluetooth, 0, 0, 5, 0, 0, 169
android.animation, 0, 0, 1, 0, 0, 71
android.app, 0, 0, 41, 2, 0, 927
android.content, 0, 0, 26, 0, 0, 537
android.graphics, 0, 0, 6, 0, 0, 302
android.icu, 0, 0, 8, 0, 0, 609
android.media, 0, 0, 39, 0, 0, 509
android.net, 0, 0, 18, 5, 0, 347
android.widget, 0, 0, 33, 0, 0, 343
File art-profile
- hot methods: 1028 added, 0 removed
- methods: 3388 added, 0 removed
- classes: 261 added, 0 removed
- totals now: 28014 hot methods, 47361 methods, 6926 classes
- totals before: 26986 hot methods, 43973 methods, 6665 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 29, 0, 7, 0, 524, 293
com.android, 996, 0, 253, 0, 27399, 6586
android.hardware, 2, 0, 0, 0, 210, 133
android.media, 0, 0, 1, 0, 0, 1
android.net, 26, 0, 6, 0, 280, 136
InternalReferenceRawProfileId: 1088
InternalReferenceCandidateProfileId: 1092
Bug: 148471769
Test: build & benchmark
Change-Id: I165d69a3a50b504e226d910f328da635571870a6
|
|
1b49e036c0
Change-Id: Ia59f1348f10182c8149a25abc935735a629a5b8f
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -4.03%
Avg Memory at boot PSS change: -0.49%
Code size: +53.37%
Boot time: +2.98%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 2637
- number of (device types, builds): 94
File boot-image-profile.txt
- hot methods: 21082 added, 1 removed
- methods: 21770 added, 1 removed
- classes: 117 added, 3 removed
- totals now: 44374 hot methods, 45065 methods, 11920 classes
- totals before: 23293 hot methods, 23296 methods, 11806 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15134, 0, 95, 0, 30269, 7653
com.android, 3423, 1, 20, 0, 4733, 2061
java, 1988, 0, 2, 3, 7364, 1670
android.view, 1973, 0, 8, 0, 4272, 781
android.hardware, 677, 0, 4, 0, 832, 653
android.bluetooth, 297, 0, 0, 0, 378, 164
android.animation, 115, 0, 0, 0, 475, 70
android.app, 2165, 0, 3, 0, 4187, 888
android.content, 1765, 0, 4, 0, 2913, 512
android.graphics, 639, 0, 4, 0, 2240, 296
android.icu, 368, 0, 64, 0, 2497, 601
android.media, 720, 0, 3, 0, 1103, 470
android.net, 748, 0, 2, 0, 1233, 335
android.widget, 1387, 0, 0, 0, 2288, 311
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 117 added, 3 removed
- totals now: 0 hot methods, 0 methods, 11905 classes
- totals before: 0 hot methods, 0 methods, 11791 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 95, 0, 0, 7642
com.android, 0, 0, 20, 0, 0, 2060
java, 0, 0, 2, 3, 0, 1669
android.view, 0, 0, 8, 0, 0, 781
android.hardware, 0, 0, 4, 0, 0, 653
android.app, 0, 0, 3, 0, 0, 888
android.content, 0, 0, 4, 0, 0, 511
android.graphics, 0, 0, 4, 0, 0, 296
android.icu, 0, 0, 64, 0, 0, 601
android.media, 0, 0, 3, 0, 0, 470
android.net, 0, 0, 2, 0, 0, 334
File art-profile
- hot methods: 2191 added, 0 removed
- methods: 3356 added, 0 removed
- classes: 484 added, 0 removed
- totals now: 26986 hot methods, 43973 methods, 6665 classes
- totals before: 24795 hot methods, 40617 methods, 6181 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 19, 0, 18, 0, 495, 286
com.android, 2171, 0, 466, 0, 26403, 6333
android.hardware, 9, 0, 13, 0, 208, 133
android.content, 1, 0, 0, 0, 2, 3
android.net, 9, 0, 5, 0, 254, 130
InternalReferenceRawProfileId: 494
InternalReferenceCandidateProfileId: 506
Bug: 148471769
Test: build & benchmark
Change-Id: I5773982b7cd3c9925e0ff5fd3cfbe8e8fb8c3522
|
|
Bug: 144502743
Test: atest PreloadCheck
Test: cts-tradefed
Change-Id: I623ead2c26bf19a9198d0104e0c6a59242bb6eb1
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -1.35%
Avg Memory at boot PSS change: -4.25%
Code size: +5.52%
Boot time: +0.03%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.04
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.05
}
=Profile stats=
Data info:
- total aggregations: 1935
- number of (device types, builds): 70
File boot-image-profile.txt
- hot methods: 1179 added, 413 removed
- methods: 1174 added, 413 removed
- classes: 1801 added, 0 removed
- totals now: 23293 hot methods, 23296 methods, 11806 classes
- totals before: 22527 hot methods, 22535 methods, 10005 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 949, 338, 1461, 0, 15135, 7558
com.android, 55, 29, 254, 0, 1311, 2041
java, 134, 31, 59, 0, 5376, 1671
android.view, 194, 31, 119, 0, 2299, 773
android.hardware, 6, 24, 89, 0, 155, 649
android.bluetooth, 6, 4, 9, 0, 81, 164
android.animation, 22, 0, 0, 0, 360, 70
android.app, 66, 64, 132, 0, 2022, 885
android.content, 15, 25, 108, 0, 1148, 508
android.graphics, 54, 10, 8, 0, 1601, 292
android.icu, 238, 7, 288, 0, 2129, 537
android.media, 22, 8, 66, 0, 383, 467
android.net, 7, 53, 83, 0, 485, 333
android.widget, 167, 0, 31, 0, 901, 311
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1799 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11791 classes
- totals before: 0 hot methods, 0 methods, 9992 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1461, 0, 0, 7548
com.android, 0, 0, 254, 0, 0, 2040
java, 0, 0, 59, 0, 0, 1670
android.view, 0, 0, 119, 0, 0, 773
android.hardware, 0, 0, 89, 0, 0, 649
android.bluetooth, 0, 0, 9, 0, 0, 164
android.app, 0, 0, 132, 0, 0, 885
android.content, 0, 0, 108, 0, 0, 507
android.graphics, 0, 0, 8, 0, 0, 292
android.icu, 0, 0, 288, 0, 0, 537
android.media, 0, 0, 66, 0, 0, 467
android.net, 0, 0, 83, 0, 0, 332
android.widget, 0, 0, 31, 0, 0, 310
File art-profile
- hot methods: 1508 added, 51 removed
- methods: 1174 added, 110 removed
- classes: 253 added, 55 removed
- totals now: 24797 hot methods, 40621 methods, 6183 classes
- totals before: 23340 hot methods, 39557 methods, 5985 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 21, 4, 26, 1, 476, 268
com.android, 1478, 47, 222, 54, 24234, 5869
android.hardware, 12, 4, 2, 1, 199, 120
android.net, 9, 0, 24, 0, 245, 125
InternalReferenceRawProfileId: 463
InternalReferenceCandidateProfileId: 465
Test: build & benchmark
Bug: 148471769
Change-Id: Iedee8b9637fd7cc621f32545bc354d1a69a3650e
(cherry picked from commit 435ffc9d43e3ecb4b7b56e3756be75ea14d46641)
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -2.79%
Avg Memory at boot PSS change: -9.64%
Code size: -31.34%
Boot time: -3.78%
Atp Tests:
health/memory/boot
health/microbench/startup/thirdparty/stable-apps/open-twitter
health/microbench/startup/thirdparty/stable-apps/open-snapchat
health/microbench/startup/thirdparty/stable-apps/open-netflix
health/microbench/startup/thirdparty/stable-apps/open-instagram
health/microbench/startup/thirdparty/stable-apps/open-facebookmessenger
health/microbench/startup/thirdparty/stable-apps/open-facebook
health/microbench/startup/firstparty/open-youtube
health/microbench/startup/firstparty/open-settings
health/microbench/startup/firstparty/open-photos
health/microbench/startup/firstparty/open-phone
health/microbench/startup/firstparty/open-messenger
health/microbench/startup/firstparty/open-maps
health/microbench/startup/firstparty/open-google
health/microbench/startup/firstparty/open-gmail
health/microbench/startup/firstparty/open-contacts
health/microbench/startup/firstparty/open-clock
health/microbench/startup/firstparty/open-chrome
health/microbench/startup/firstparty/open-camera
health/microbench/startup/firstparty/open-calendar
health/microbench/startup/firstparty/open-calculator
asit/perf/hermetic_app_launch_small_test
asit/perf/boottime_test
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.9
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
=Profile stats=
Data info:
- total aggregations: 1151
- number of (device types, builds): 61
File boot-image-profile.txt
- hot methods: 4265 added, 18862 removed
- methods: 3289 added, 25892 removed
- classes: 1028 added, 619 removed
- totals now: 22527 hot methods, 22535 methods, 9596 classes
- totals before: 37124 hot methods, 45138 methods, 9596 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 4032, 12915, 354, 508, 14524, 6097
com.android, 122, 2930, 674, 69, 1285, 1787
java, 72, 2192, 0, 25, 5273, 1612
android.view, 539, 1314, 1, 39, 2136, 654
android.hardware, 27, 628, 24, 14, 173, 560
android.bluetooth, 22, 186, 0, 2, 79, 155
android.animation, 77, 93, 0, 0, 338, 70
android.app, 340, 1903, 5, 39, 2020, 753
android.content, 71, 1641, 1, 32, 1158, 400
android.graphics, 296, 495, 2, 4, 1557, 284
android.icu, 1898, 0, 249, 0, 1898, 249
android.media, 73, 672, 11, 24, 369, 401
android.net, 74, 837, 24, 175, 531, 250
android.widget, 115, 876, 0, 15, 734, 280
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1028 added, 534 removed
- totals now: 0 hot methods, 0 methods, 9498 classes
- totals before: 0 hot methods, 0 methods, 9498 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 354, 454, 0, 6087
com.android, 0, 0, 674, 64, 0, 1786
java, 0, 0, 0, 7, 0, 1611
android.view, 0, 0, 1, 39, 0, 654
android.hardware, 0, 0, 24, 12, 0, 560
android.bluetooth, 0, 0, 0, 2, 0, 155
android.app, 0, 0, 5, 36, 0, 753
android.content, 0, 0, 1, 29, 0, 399
android.graphics, 0, 0, 2, 4, 0, 284
android.icu, 0, 0, 249, 0, 0, 249
android.media, 0, 0, 11, 21, 0, 401
android.net, 0, 0, 24, 174, 0, 249
android.widget, 0, 0, 0, 14, 0, 279
File art-profile
- hot methods: 11611 added, 0 removed
- methods: 15375 added, 0 removed
- classes: 2513 added, 0 removed
- totals now: 23340 hot methods, 39557 methods, 3473 classes
- totals before: 11729 hot methods, 24182 methods, 3473 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 229, 0, 106, 0, 459, 243
com.android, 11334, 0, 2387, 0, 22803, 5702
android.hardware, 104, 0, 74, 0, 191, 119
android.app, 0, 0, 1, 0, 1, 2
android.net, 124, 0, 28, 0, 236, 101
InternalReferenceRawProfileId: 383
InternalReferenceCandidateProfileId: 388
Test: build & benchmark
Bug: 148471769
Change-Id: I1726b729dbbb60e5983670432a2714e8911d3755
|
|
=Generation Strategy=
method_threshold: 0.02
image_class_threshold: 0.02
preloaded_classes_threshold: 0.2
upgrade_startup_methods_to_hot: true
method_threshold_for_image_classes: 5.0E-4
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.005
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.005
}
priority_packages_thresholds {
key: "com.android.chrome"
value: 0.005
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.005
}
=Profile stats=
Data info:
- total aggregations: 593
- number of (device types, builds): 42
File boot-image-profile.txt
- hot methods: 21552 added, 208 removed
- methods: 29176 added, 88 removed
- classes: 88 added, 813 removed
- totals now: 37124 hot methods, 45138 methods, 10321 classes
- totals before: 15780 hot methods, 16050 methods, 10321 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15476, 155, 68, 85, 23407, 6251
com.android, 2832, 17, 4, 724, 4093, 1182
java, 2358, 28, 8, 4, 7393, 1637
android.view, 1971, 26, 2, 4, 2911, 692
android.hardware, 681, 6, 4, 24, 774, 550
android.bluetooth, 193, 16, 0, 0, 243, 157
android.animation, 165, 1, 0, 0, 354, 70
android.app, 2357, 38, 5, 2, 3583, 787
android.content, 1608, 14, 12, 7, 2728, 431
android.graphics, 908, 5, 0, 0, 1756, 286
android.media, 848, 9, 5, 0, 968, 414
android.net, 763, 16, 1, 1, 1294, 401
android.widget, 1224, 0, 1, 0, 1495, 295
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 35 added, 799 removed
- totals now: 0 hot methods, 0 methods, 10262 classes
- totals before: 0 hot methods, 0 methods, 10262 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 31, 75, 0, 6187
com.android, 0, 0, 3, 724, 0, 1176
java, 0, 0, 1, 0, 0, 1618
android.view, 0, 0, 2, 4, 0, 692
android.hardware, 0, 0, 2, 24, 0, 548
android.app, 0, 0, 3, 1, 0, 784
android.content, 0, 0, 10, 7, 0, 427
android.media, 0, 0, 2, 0, 0, 411
android.net, 0, 0, 1, 1, 0, 399
android.widget, 0, 0, 1, 0, 0, 293
File art-profile
- hot methods: 8824 added, 187 removed
- methods: 5425 added, 1144 removed
- classes: 545 added, 26 removed
- totals now: 11729 hot methods, 24182 methods, 2954 classes
- totals before: 3092 hot methods, 19901 methods, 2954 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 214, 0, 30, 0, 230, 137
com.android, 8580, 187, 508, 26, 11469, 3315
android.hardware, 87, 0, 8, 0, 87, 45
android.app, 1, 0, 0, 0, 1, 1
android.content, 0, 0, 1, 0, 1, 3
android.net, 100, 0, 19, 0, 112, 73
= Perf stats =
(lower is better)
Avg Startup time change: -4.33%
Avg Memory at boot PSS change: +0.8%
Avg Code size: +71.68%
ATP tests:
health/memory/boot
health/microbench/startup/firstparty/am-start/coldlaunch/open-calculator
health/microbench/startup/firstparty/am-start/coldlaunch/open-calendar
health/microbench/startup/firstparty/am-start/coldlaunch/open-camera
health/microbench/startup/firstparty/am-start/coldlaunch/open-chrome
health/microbench/startup/firstparty/am-start/coldlaunch/open-clock
health/microbench/startup/firstparty/am-start/coldlaunch/open-contacts
health/microbench/startup/firstparty/am-start/coldlaunch/open-gmail
health/microbench/startup/firstparty/am-start/coldlaunch/open-google
health/microbench/startup/firstparty/am-start/coldlaunch/open-maps
health/microbench/startup/firstparty/am-start/coldlaunch/open-messenger
health/microbench/startup/firstparty/am-start/coldlaunch/open-phone
health/microbench/startup/firstparty/am-start/coldlaunch/open-photos
health/microbench/startup/firstparty/am-start/coldlaunch/open-settings
health/microbench/startup/firstparty/am-start/coldlaunch/open-youtube
InternalReferenceRawProfileId: 153
InternalReferenceCandidateProfileId: 158
Test: build & benchmark
Change-Id: Iec81f61abb4675710c638451d8fea37d53854908
|
|
=Generation Strategy=
method_threshold: 0.04
image_class_threshold: 0.04
preloaded_classes_threshold: 0.2
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 64
- number of (device types, builds): 17
File boot-image-profile.txt
- hot methods: 3769 added, 22337 removed
- methods: 3863 added, 22867 removed
- classes: 872 added, 952 removed
- totals now: 15780 hot methods, 16050 methods, 10401 classes
- totals before: 34348 hot methods, 35054 methods, 10401 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1510, 14674, 659, 601, 8086, 6268
com.android, 479, 5495, 178, 100, 1278, 1902
java, 1403, 1603, 26, 3, 5063, 1633
android.view, 101, 1562, 78, 9, 966, 694
android.hardware, 25, 690, 26, 2, 99, 570
android.bluetooth, 22, 296, 16, 2, 66, 157
android.animation, 10, 141, 2, 0, 190, 70
android.app, 304, 2080, 81, 13, 1264, 784
android.content, 252, 992, 37, 10, 1134, 426
android.graphics, 140, 977, 6, 0, 853, 286
android.icu, 0, 1491, 0, 465, 0, 0
android.media, 35, 711, 29, 7, 129, 409
android.net, 123, 800, 81, 13, 547, 401
android.widget, 17, 992, 18, 2, 271, 294
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3233 added, 577 removed
- totals now: 0 hot methods, 0 methods, 7606 classes
- totals before: 0 hot methods, 0 methods, 7606 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 2359, 539, 0, 6231
com.android, 0, 0, 803, 32, 0, 1897
java, 0, 0, 49, 3, 0, 1617
android.view, 0, 0, 244, 6, 0, 694
android.hardware, 0, 0, 286, 0, 0, 570
android.bluetooth, 0, 0, 62, 1, 0, 157
android.animation, 0, 0, 8, 0, 0, 70
android.app, 0, 0, 245, 8, 0, 782
android.content, 0, 0, 145, 8, 0, 424
android.graphics, 0, 0, 28, 0, 0, 286
android.icu, 0, 0, 0, 459, 0, 0
android.media, 0, 0, 115, 4, 0, 409
android.net, 0, 0, 247, 0, 0, 399
android.widget, 0, 0, 69, 2, 0, 292
File art-profile
- hot methods: 1547 added, 10249 removed
- methods: 8926 added, 7543 removed
- classes: 889 added, 754 removed
- totals now: 3092 hot methods, 19901 methods, 2819 classes
- totals before: 11794 hot methods, 18518 methods, 2819 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 16, 165, 31, 25, 16, 107
com.android, 1531, 10062, 846, 728, 3076, 2833
android.hardware, 0, 46, 7, 2, 0, 37
android.app, 0, 0, 1, 0, 0, 1
android.content, 1, 0, 2, 0, 1, 2
android.net, 12, 101, 18, 22, 12, 54
= Perf stats =
(lower is better)
Avg Startup time change: -0.29%
Avg Memory at boot PSS change: 0.99%
Avg Code size: -44.19%
ATP tests:
health/memory/boot
health/microbench/startup/firstparty/am-start/coldlaunch/open-calculator
health/microbench/startup/firstparty/am-start/coldlaunch/open-calendar
health/microbench/startup/firstparty/am-start/coldlaunch/open-camera
health/microbench/startup/firstparty/am-start/coldlaunch/open-chrome
health/microbench/startup/firstparty/am-start/coldlaunch/open-clock
health/microbench/startup/firstparty/am-start/coldlaunch/open-contacts
health/microbench/startup/firstparty/am-start/coldlaunch/open-gmail
health/microbench/startup/firstparty/am-start/coldlaunch/open-google
health/microbench/startup/firstparty/am-start/coldlaunch/open-maps
health/microbench/startup/firstparty/am-start/coldlaunch/open-messenger
health/microbench/startup/firstparty/am-start/coldlaunch/open-phone
health/microbench/startup/firstparty/am-start/coldlaunch/open-photos
health/microbench/startup/firstparty/am-start/coldlaunch/open-settings
health/microbench/startup/firstparty/am-start/coldlaunch/open-youtube
InternalReferenceRawProfileId: 62
InternalReferenceCandidateProfileId: 81
Test: build & benchmark
Bug: 148471769
Change-Id: I3569f00a1900ca92397e83186b2fad76c891f75c
|
|
Also remove the reference to PhoneStateIntentReceiver as its being
removed as part of this CL
Bug: 147314715
Test: Build and basic sanity
Change-Id: I04d766ddae7958f0d2f35b50154e5e6d2f8dce7e
|
|
This reverts commit 8e18a0ab8980a3092d6c7e1d2edc6407655af609.
Exempt-From-Owner-Approval: Revert to re-add approved change
Change-Id: I5b5195470f365a2347cbf444cc0494d119e42ffc
|
|
Bug: 142567528
Test: manual
Change-Id: Iefb426383f94ec89c896065c798b22cfb2977bf3
|
|
This change adds a bare-bones system service, implementation will follow
later.
Bug: 143559646
Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java
Change-Id: Idf21dfcd11dd32a42b62c6ad965d6f5ad7eed1b4
|
|
|
|
today telephonyRegistry lives in system process
this is intended to persists all telephony listeners when
phone process crash. Telephony today notify system server by
using AIDL APIs directly. Instead, we are exposing a proper API
surface: telephonyRegistryManager where only phone app and
carrier privileged apps are allowed to use APIs in
TelephonyRegistryManger to notify telephony related status update.
Bug: 140908357
Test: Build & Manaul
Change-Id: I1b750751148925b4a7bd94553318907654012fc1
(cherry picked from commit 288b71c8c11dc25fa1dab4aadc1525d0c576008a)
Merged-in: I1b750751148925b4a7bd94553318907654012fc1
|
|
We'll be able to expose system APIs from jobscheduler-framework.jar and
use them from framework-minus-apex.jar, so these elaborated initialization
will not be needed.
Bug: 142281756
Test: boot, "dumpsys batterstats"
Change-Id: I957642fc2573818d138450747e0690d7176636ad
|
|
1. move CallerInfo from telephony.internal to andorid.telephony package
2. expose APIs inside CallerInfo which are consumed by non-telephony
code.
Bug: 140908357
Test: Build
Change-Id: Ie95897c77e97e40f5357c107aede82edfea44d5a
(cherry picked from commit b9a1eefec66e8c2cd5ab9dab512bb729ef2caae8)
Merged-in: Ie95897c77e97e40f5357c107aede82edfea44d5a
|
|
This reverts commit 243e7ea14b32747b3d12b1e83625eddb917c5990.
Reason for revert: b/141854898
Exempt-From-Owner-Approval: Revert for failure to boot
Change-Id: Id6812e5ecf7d88504706b2c4110d83f1034ab85c
|