Commit Graph

440996 Commits

Author SHA1 Message Date
Automerger Merge Worker
62b841ca94 [DO NOT MERGE] Exclude euicc_unsupported_countries from backup test am: 10097500e6
Change-Id: Iab993a5705ef01cc95d3ebb8956da98e6db99d92
2019-12-20 00:25:28 +00:00
Automerger Merge Worker
402f7eb3fb Merge "Use write_buffer_to_statsd within StatsLog_write" am: 634f6969c4 am: 4f32e393d0
Change-Id: Ie91b0cceab48051c53f8e7270a5a267c5778a82d
2019-12-20 00:24:50 +00:00
Automerger Merge Worker
8c4bec28a7 Merge "DO NOT MERGE Only refresh car notif on language change" into qt-qpr1-dev am: 2ca1a05276
Change-Id: I793582d0647d7e4e1311cd89cefb769ae58a15a7
2019-12-20 00:24:31 +00:00
Automerger Merge Worker
be402b6336 DO NOT MERGE Only refresh car notif on language change am: 096c7b8ad3
Change-Id: Id9f69f9717df0ce00a29fc5a74cbc35b2d69e3ea
2019-12-20 00:24:06 +00:00
Heemin Seog
2ca1a05276 Merge "DO NOT MERGE Only refresh car notif on language change" into qt-qpr1-dev 2019-12-20 00:09:53 +00:00
Muhammad Qureshi
4f32e393d0 Merge "Use write_buffer_to_statsd within StatsLog_write"
am: 634f6969c4

Change-Id: Iddc845d267e8bd5b54bd95caa184fb27bbdab606
2019-12-19 16:04:27 -08:00
Automerger Merge Worker
e4a2a5d059 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 2ddfce682e -s ours
am skip reason: subject contains skip directive

Change-Id: I664e75c61dbf0df863c06bc2e2f81dfb4c88afba
2019-12-19 23:40:42 +00:00
Nathan Harold
be34c7019a Merge "Expose PreciseDataConnectionState to Public API" into qt-qpr1-dev-plus-aosp 2019-12-19 23:40:18 +00:00
Treehugger Robot
634f6969c4 Merge "Use write_buffer_to_statsd within StatsLog_write" 2019-12-19 23:31:48 +00:00
Heemin Seog
096c7b8ad3 DO NOT MERGE Only refresh car notif on language change
Refreshing all of status bar causes issues with some listeners being
triggered before it is ready to be called.

Bug: 145946470
Bug: 146163621
Bug: 146521766
Test: manual (flash + change language + watch logcat for sysui crash)
Change-Id: If9b2d0fd81698aba21ed3d5708ac68d09bdba0a7
2019-12-19 15:17:58 -08:00
TreeHugger Robot
2ddfce682e Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-12-19 23:12:33 +00:00
Automerger Merge Worker
ec299a6717 Merge "Extract an "ArrayMapWithHistory" support class" am: 472f9b1540 am: 7546e0c520
Change-Id: Ib24daca60e5b5118f6d3728362b5ce9ed9b9878b
2019-12-19 22:58:40 +00:00
Automerger Merge Worker
3620822595 Merge "move carrierconfig key disable_severe_when_extreme_disabled to res" am: 7be5365dc6 am: e288ec2d24
Change-Id: Id0e12e5c2c60042e8ba8eba55f7267781f55efca
2019-12-19 22:57:17 +00:00
Neil Fuller
7546e0c520 Merge "Extract an "ArrayMapWithHistory" support class"
am: 472f9b1540

Change-Id: Ie6d8ce05f008796463cfc0e636b8ea7846166f62
2019-12-19 14:54:19 -08:00
Neil Fuller
472f9b1540 Merge "Extract an "ArrayMapWithHistory" support class" 2019-12-19 22:49:06 +00:00
Automerger Merge Worker
4ae6995e92 Merge "Introduce telecom api to launch emeregency dialer." am: c55310438b am: 52432f5737
Change-Id: Ibb17c03a6c43bd654f36705cdac093b94fea9c16
2019-12-19 22:48:28 +00:00
Chen Xu
e288ec2d24 Merge "move carrierconfig key disable_severe_when_extreme_disabled to res"
am: 7be5365dc6

Change-Id: I5d01026c76c48658a1b02850becdf17dc11a6312
2019-12-19 14:48:08 -08:00
Chen Xu
7be5365dc6 Merge "move carrierconfig key disable_severe_when_extreme_disabled to res" 2019-12-19 22:44:57 +00:00
Automerger Merge Worker
447391c7f4 Merge "AudioService: fix A2DP disconnection / reconnection" am: 2faf009dda am: bb251a1da9
Change-Id: I8c98c6a7a7824d799f260f07e25342fe630806f2
2019-12-19 22:15:58 +00:00
Fan Zhang
52432f5737 Merge "Introduce telecom api to launch emeregency dialer."
am: c55310438b

Change-Id: I2b4d4d6b160afab0e97600b057367b2b889a795a
2019-12-19 14:12:36 -08:00
Fan Zhang
c55310438b Merge "Introduce telecom api to launch emeregency dialer." 2019-12-19 22:07:42 +00:00
SzuWei Lin
10097500e6 [DO NOT MERGE] Exclude euicc_unsupported_countries from backup test
Bug: 146550929
Test: atest SettingsBackupTest
Change-Id: I48c255a4e8999be903e5642ca6d7b312b214d05f
2019-12-19 22:06:44 +00:00
Jean-Michel Trivi
bb251a1da9 Merge "AudioService: fix A2DP disconnection / reconnection"
am: 2faf009dda

Change-Id: I460a78b62640315aa79b4167be6c9793015218ae
2019-12-19 14:01:30 -08:00
Jean-Michel Trivi
2faf009dda Merge "AudioService: fix A2DP disconnection / reconnection" 2019-12-19 21:57:28 +00:00
Bill Yi
4a9d4d1d16 Import translations. DO NOT MERGE
Change-Id: Ic59785b6426a503b06cd1ab16ac7060791dda8ef
Auto-generated-cl: translation import
2019-12-19 13:52:22 -08:00
Automerger Merge Worker
cc628869ff Merge changes from topic "ion memory accounting" am: 5ded8c130c am: 3c4624dcc2
Change-Id: I6620e200357ddcc46557f149e17fcad25e7c57c4
2019-12-19 21:51:13 +00:00
Automerger Merge Worker
e588ba41e9 Update Ranking's equal method [DO NOT MERGE] am: 172e20fa16
Change-Id: Ie752b4b52ad53cbdbab0a4330deb15f84dfb9e12
2019-12-19 21:50:52 +00:00
Nathan Harold
c95b4e5421 Expose PreciseDataConnectionState to Public API
1) Remove Unused Parameters for onDataConnectionState:
The data connection state broadcast includes a number of
parameters that are never used anywhere. To prepare for
updated code that relies on PreciseDataConnectionState,
remove the unused parameters that were internal-only and
included in the broadcast.

-LinkProperties
-NetworkCapabilities
-DataRoaming
-DataAllowed
-Interface name

2) Add Disconnecting State for Data Connections

Add a disconnecting state to correct a mismatch
between the internal and externally visible enums.

This will allow apps to know when connections are
in the process of being torn down, which in the case
of radio link issues could be as much as 15 seconds.

3) Expose PreciseDataConnection for Carrier Apps

Exposes the PSL for PreciseDataConnectionState along
with existing fields in the PreciseDataConnectionState
class.

-Make PreciseDataConnectionState public along with some
 of its fields.
-Expose onPreciseDataConnectionStateChanged.
-Add onPreciseDataConnectionStatesChanged to provide PDCS
 for all APNs in one cohesive batch.

4) Cache PreciseDataConnectionState by APN Type

In telephony registry, multiple different APN types
are all piped through the same cache entry, so every
time any APN changes relative to the previous type,
it triggers an update. This also means that when
a registrant requests the data connection state, only
the most recent type's state is updated.

This change caches entries in TelephonyRegistry based
on the APN's type (specifically the type among types
which triggered the change).

Bug: 143083105
Test: make update-api && make offline-sdk-docs
      (no functional change in this CL).
Test: atest FrameworksTelephonyTests

Merged-In: Ib6a769f5a0cae923ca47a842733bd28755a90ed5
Change-Id: Ib6a769f5a0cae923ca47a842733bd28755a90ed5
(cherry picked from commit 4d340f12c9)
2019-12-19 13:40:02 -08:00
Suren Baghdasaryan
3c4624dcc2 Merge changes from topic "ion memory accounting"
am: 5ded8c130c

Change-Id: I23271d3d84b18411672230e6e80ef534e0066996
2019-12-19 13:35:27 -08:00
Suren Baghdasaryan
5ded8c130c Merge changes from topic "ion memory accounting"
* changes:
  Add ION usage into dumpsys report and account ION pools as kernel cache
  Improve cached kernel memory accounting using meminfo KReclaimable field
  Add JNI API to query sizes of ION heaps, pools and mapped part of the heaps
2019-12-19 21:30:48 +00:00
Muhammad Qureshi
bc1002d520 Use write_buffer_to_statsd within StatsLog_write
This CL is a partial cherrypick of ag/9686088. This is needed because new
changes to libstatssocket (that need to be cherrypicked into AOSP) wrap
#write_to_statsd() with #write_buffer_to_statsd().

Bug: 143978873
Test: m -j
Test: flashes successfully
Test: DocumentsUI(a Mainline module) is able to successfully log to statsd
Change-Id: I886331f728ccaa3d281b5683eb89179aa73596b6
Merged-In: I9cdc6151d8feb29a712532e50f143af9d52c8d94
2019-12-19 21:27:18 +00:00
Automerger Merge Worker
b43a2e6740 Merge "Add per-file ownership to libs/androidfw/LocaleDataTables.cpp" am: 073b0dad72 am: 36fac337ad
Change-Id: Ia0b55f46f5b92ee72ac17f8c1a1c76a75ddc51a5
2019-12-19 21:19:21 +00:00
Victor Chang
36fac337ad Merge "Add per-file ownership to libs/androidfw/LocaleDataTables.cpp"
am: 073b0dad72

Change-Id: I136e489e39ffce4954b591ffe34c2fc105544db2
2019-12-19 13:03:15 -08:00
Fan Zhang
2b2458e094 Introduce telecom api to launch emeregency dialer.
Test: manual
Bug: 136194151
Change-Id: I5c9732062e5123539343843fb9a9ae3ca7111890
Merged-In: I5c9732062e5123539343843fb9a9ae3ca7111890
2019-12-19 20:50:31 +00:00
Treehugger Robot
073b0dad72 Merge "Add per-file ownership to libs/androidfw/LocaleDataTables.cpp" 2019-12-19 20:39:13 +00:00
Beverly
172e20fa16 Update Ranking's equal method [DO NOT MERGE]
[Cherry picked from master]

Include check for whether mVisuallyInterruptive has changed

Test: atest BubbleDataTest
Change-Id: I5c4706667e6ca4cde44ef3671daa24afaf2b14f3
(cherry picked from commit e1541e7ec9)
2019-12-19 12:29:09 -08:00
Automerger Merge Worker
532fdd7a7a Merge "Link with actual headers instead of symlinks" am: 69615f86df am: c6f31807a9
Change-Id: I54b476ced8c6c3d7d53a7bf6c6c03cab95f42996
2019-12-19 20:25:22 +00:00
Marco Nelissen
c6f31807a9 Merge "Link with actual headers instead of symlinks"
am: 69615f86df

Change-Id: I1ac99b2d55b732f8027e2d1f3f1265a4f737d668
2019-12-19 12:04:17 -08:00
Jean-Michel Trivi
e168a3f0eb AudioService: fix A2DP disconnection / reconnection
Fix issue introduced by commit d32a94d where in case of an
A2DP disconnection, the device was disconnected then reconnected.

Bug: 146544156
Test: disconnect A2DP device, check it's not listed in dumpsys media.audio_policy
Change-Id: Ic5f9387194d92a7a050e7a295a13a9ae18cd96ce
2019-12-19 12:03:47 -08:00
Suren Baghdasaryan
da5a9dd5ff Add ION usage into dumpsys report and account ION pools as kernel cache
Report ION pools, ION mapped and unmapped heap sizes. Account ION pools
as kernel reclaimable memory which removes them from the "Lost RAM"
category.

Bug: 138148041
Test: dumpsys meminfo
Change-Id: Ica3e1c3f73656b1b937f2fc58c18e0157e02bf57
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-12-19 19:49:23 +00:00
Suren Baghdasaryan
40899ad1e6 Improve cached kernel memory accounting using meminfo KReclaimable field
KReclaimable field from /proc/meminfo is designed to represent total amount
of memory that kernel can reclaim when needed. This includes reclaimable
memory consumed by slab and reported in SReclaimable field as well as ION
pools. By using KReclaimable instead of SReclaimable we will account for
ION pools currently reported under "Lost RAM" category in dumpsys meminfo
report.

Bug: 138148041
Test: dumpsys meminfo
Change-Id: Ifdea234d05639db93074ab598b81db5ff5b43612
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-12-19 19:49:05 +00:00
Suren Baghdasaryan
5911b9ef0a Add JNI API to query sizes of ION heaps, pools and mapped part of the heaps
Provide means for system_server to query ION memory usage. The new API
allows to get total size of ION heaps, pools and part of ION heaps that
is mapped into user space.

Bug: 138148041
Test: dumpsys meminfo
Change-Id: I6d76d534bbab5ee1646e8e3e3fe5210dcf76bc23
Merged-In: I6d76d534bbab5ee1646e8e3e3fe5210dcf76bc23
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-12-19 19:48:42 +00:00
Marco Nelissen
69615f86df Merge "Link with actual headers instead of symlinks" 2019-12-19 19:46:33 +00:00
Gavin Corkery
452873fa54 Merge "Add package failure flags to Package Watchdog" into qt-qpr1-dev-plus-aosp 2019-12-19 19:43:17 +00:00
Neil Fuller
0de8726e97 Extract an "ArrayMapWithHistory" support class
Extract a simple wrapper around ArrayMap called "ArrayMapWithHistory",
with associated tests. TimeDetectorStrategyImpl and
TimeZoneDetectorStrategy were duplicating some data structure logic.

ArrayMapWithHistory works the same as ArrayMap, but there is a (mostly
hidden) history of the values for each map entry. This is useful for
debugging.

A second class, ReferenceWithHistory, has been included to support the
ArrayMapWithHistory class and for use when extending the time / time
zone detector strategy implementations: this will be useful as
additional sources like GNSS / NTP are added to time detector, and
geo-location are added to time zone detection.

Bug: 146563025
Bug: 140712361
Test: atest com.android.server.timedetector
Test: atest com.android.server.timezonedetector
Change-Id: Ia6195cb628679a6a32c0118d2921e699514eed7d
2019-12-19 19:21:43 +00:00
Automerger Merge Worker
b4e26195e3 Merge "Delete VINTF compatibility checks during OTA." am: bdc465991f am: 8ca8a6d00d
Change-Id: I9d0a3698b096ec66604403f405d73c4f112f689e
2019-12-19 19:16:28 +00:00
Yifan Hong
8ca8a6d00d Merge "Delete VINTF compatibility checks during OTA."
am: bdc465991f

Change-Id: I96dc350718baa45682ac0abd5d877160232db07c
2019-12-19 11:02:07 -08:00
Yifan Hong
bdc465991f Merge "Delete VINTF compatibility checks during OTA." 2019-12-19 18:56:13 +00:00
Chen Xu
aec1aa8d5d move carrierconfig key disable_severe_when_extreme_disabled to res
Bug: 135956699
Test: Manual
Change-Id: Ib12ff430c5781044ec0b36ac9b930224fc410c95
(cherry picked from commit 49b3b1680d)
Merged-in: Ib12ff430c5781044ec0b36ac9b930224fc410c95
2019-12-19 10:56:03 -08:00
Automerger Merge Worker
69d7032777 Merge "Add updatable_media_stub to framework" am: 63bf3e4d98 am: d1dfebd9aa
Change-Id: Ie9533f6663326629219666b3216e41ca3bdf1212
2019-12-19 18:43:34 +00:00