Commit Graph

519022 Commits

Author SHA1 Message Date
Junyu Lai
c9f7253224 Merge "Fix fd leak in KeepaliveTracker." into rvc-d1-dev 2020-08-11 05:04:34 +00:00
Lorenzo Colitti
e5a64d49da Fix fd leak in KeepaliveTracker.
The semantics of FileDescriptor in AIDL are that the callee must close
the file descriptor it receives manually.

Fix: 157789860
Bug: 155136951
Test: treehugger
Change-Id: Ice9fc9abe2959a84ad138a95c900dff676653665
Merged-In: Ice9fc9abe2959a84ad138a95c900dff676653665
(cherry picked from commit db8ae41da2)
2020-08-11 04:46:09 +00:00
Sooraj Sasindran
9830b28db1 [automerger skipped] Merge changes from topic "move-inflate-ss-to-cc" am: 922e9bfd95 am: 1e14220da2 -s ours am: 3ae0c9d34c -s ours
am skip reason: Change-Id I494cb93a2c72ff3df2ef45ad737c5606132e32d1 with SHA-1 7dcda7d616 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1219720

Change-Id: I65669e8bac7e2b89083549ba40a95a045b36f9da
2020-08-11 00:53:04 +00:00
Mattias Nilsson
7068733091 [automerger skipped] Move config_inflateSignalStrength to CC am: f8c6f34832 am: b6bd23c222 -s ours am: a278421b01 -s ours
am skip reason: Change-Id I067d55b9ae5e1346dd3b3cd50a0097b05b100055 with SHA-1 789432b5d1 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1219719

Change-Id: I12cfd9ee954a5b8eb14f40ae8e06e88ce827f972
2020-08-11 00:52:53 +00:00
Sooraj Sasindran
3ae0c9d34c [automerger skipped] Merge changes from topic "move-inflate-ss-to-cc" am: 922e9bfd95 am: 1e14220da2 -s ours
am skip reason: Change-Id I494cb93a2c72ff3df2ef45ad737c5606132e32d1 with SHA-1 7dcda7d616 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1219720

Change-Id: I333acf7966e3aca17cb3b0de1f76141e0d71a949
2020-08-11 00:36:13 +00:00
Mattias Nilsson
a278421b01 [automerger skipped] Move config_inflateSignalStrength to CC am: f8c6f34832 am: b6bd23c222 -s ours
am skip reason: Change-Id I067d55b9ae5e1346dd3b3cd50a0097b05b100055 with SHA-1 789432b5d1 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1219719

Change-Id: Ifd23e098b9d98eadc92cd0f001e367567ca2986a
2020-08-11 00:35:59 +00:00
Treehugger Robot
5f0131168c [automerger skipped] Merge "Update Dagger2 dependencies." am: b34c1fe4ba am: e73de8ccda -s ours am: bbf6c3bd7d -s ours
am skip reason: Change-Id Ic3b43bb8247c6a7ebe4257651bcb5de51699c60a with SHA-1 fa22f61036 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365961

Change-Id: I2b1a1c085122c1243f7f5cc1821c82bd07db3f09
2020-08-11 00:28:39 +00:00
Sooraj Sasindran
1e14220da2 Merge changes from topic "move-inflate-ss-to-cc" am: 922e9bfd95
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1219720

Change-Id: Ia3b10d7b602819e150cd4c0d7736ad8da446519b
2020-08-11 00:21:29 +00:00
Mattias Nilsson
b6bd23c222 Move config_inflateSignalStrength to CC am: f8c6f34832
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1219719

Change-Id: I69456375e59c21d3ba56a6af8f934050fab8b615
2020-08-11 00:21:25 +00:00
Treehugger Robot
bbf6c3bd7d [automerger skipped] Merge "Update Dagger2 dependencies." am: b34c1fe4ba am: e73de8ccda -s ours
am skip reason: Change-Id Ic3b43bb8247c6a7ebe4257651bcb5de51699c60a with SHA-1 fa22f61036 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365961

Change-Id: I433628f7fc2c0a185f442fc86ef50ffd105ee0d0
2020-08-11 00:10:33 +00:00
Sooraj Sasindran
922e9bfd95 Merge changes from topic "move-inflate-ss-to-cc"
* changes:
  Remove config_inflateSignalStrength
  Move config_inflateSignalStrength to CC
2020-08-11 00:03:09 +00:00
Treehugger Robot
e73de8ccda Merge "Update Dagger2 dependencies." am: b34c1fe4ba
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365961

Change-Id: I426fd822922c63705405204b90982f3a7a3018cf
2020-08-10 23:54:24 +00:00
Treehugger Robot
b34c1fe4ba Merge "Update Dagger2 dependencies." 2020-08-10 23:41:18 +00:00
TreeHugger Robot
95d44c794e [automerger skipped] Merge changes from topic "inflate-signal" into rvc-dev-plus-aosp am: 8835581cc9 -s ours
am skip reason: Change-Id I494cb93a2c72ff3df2ef45ad737c5606132e32d1 with SHA-1 8f90a92c18 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12344226

Change-Id: I33a8aeded3b67ebc69807d6d287d96570c1b8a1c
2020-08-10 23:25:27 +00:00
TreeHugger Robot
8835581cc9 Merge changes from topic "inflate-signal" into rvc-dev-plus-aosp
* changes:
  Remove config_inflateSignalStrength
  Move config_inflateSignalStrength to CC
2020-08-10 23:05:17 +00:00
Treehugger Robot
6a6e0c282d Merge "Parcelable getStability SystemApi MODULE_LIBRARIES" am: e3b0b6d007 am: 1e16995094 am: 2b97b69661
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1392003

Change-Id: Ib21378fd78ad3f69c7dc9c4270b35e94b6bd64b2
2020-08-10 21:06:59 +00:00
Treehugger Robot
2b97b69661 Merge "Parcelable getStability SystemApi MODULE_LIBRARIES" am: e3b0b6d007 am: 1e16995094
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1392003

Change-Id: Ibd396e7b4d12e1765f71413d730d51997c5b4306
2020-08-10 20:47:00 +00:00
Treehugger Robot
1e16995094 Merge "Parcelable getStability SystemApi MODULE_LIBRARIES" am: e3b0b6d007
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1392003

Change-Id: Idc916d652044a00d7494e17dab2a689de5b7aa61
2020-08-10 20:36:11 +00:00
Lucas Dupin
c3e75d31e6 Change date format for better 'ja' compatibility am: 83f4bc398e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12345066

Change-Id: I0ba174d9202d4e4d2ed6151ec929ce24487c58e0
2020-08-10 20:34:15 +00:00
Treehugger Robot
e3b0b6d007 Merge "Parcelable getStability SystemApi MODULE_LIBRARIES" 2020-08-10 20:22:05 +00:00
Mattias Nilsson
7dcda7d616 Remove config_inflateSignalStrength
This resource has moved to CarrierConfig to support dual
sim devices and MVNOs.

Bug: 148483577
Test: Manual
Merged-In: I494cb93a2c72ff3df2ef45ad737c5606132e32d1
Change-Id: I494cb93a2c72ff3df2ef45ad737c5606132e32d1
2020-08-10 11:01:22 -07:00
Mattias Nilsson
789432b5d1 Move config_inflateSignalStrength to CC
Sim based customizations should not be resources because
of two reasons:
1. The MCC/MNC value in AssetManager for Dual sim devices is undefined
2. There is no support for MVNOs.

For dual sim devices there is only one value for MCC/MNC in
AssetManager and that value is updated from multiple places without
deciding if it should be the default voice sim card, the default
data sim card or whatnot.
  This means that when frameworks is trying to decide what resource
to use there is no guarantee that the resource that arrives is for
the particular subscription we are asking for.

MVNOs cannot be separated through only MCC/MNC but need more
parameters like service provider, imsi, GID1 etc. MVNO support
is available in CarrierConfig.

When we now have support for ADCP updates of customizations and
start using carrier id this is better placed in CarrierConfig,
we then get support for MVNOs at the same time.

Bug: 148483577
Test: Customize for sim card x and not for sim card y, insert both
sim cards in a dual sim device and see the difference.

Merged-In: I067d55b9ae5e1346dd3b3cd50a0097b05b100055
Change-Id: I067d55b9ae5e1346dd3b3cd50a0097b05b100055
2020-08-10 11:01:13 -07:00
Lucas Dupin
83f4bc398e Change date format for better 'ja' compatibility
eeeMMd doesn't properly translate dates in Japanese.
According to ICU team, we should be using EEEMMd instead.

The date output will be different in ja, ko, th out of 728 locales.

Test: visual
Fixes: 161186825
Change-Id: Ib551d532f08b89be3a0679c44c51b65f493f1a65
(cherry picked from commit 18bd42434f)
2020-08-10 16:55:04 +00:00
Jooyung Han
668e478fda Merge "Switch aidl::nullable to std::optional" into rvc-dev-plus-aosp am: ce3fd2b509
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12325559

Change-Id: Ifecb4e7c5ae7a0df26346b50dec6f38ecc9282c2
2020-08-10 16:51:27 +00:00
Jooyung Han
ce3fd2b509 Merge "Switch aidl::nullable to std::optional" into rvc-dev-plus-aosp 2020-08-10 16:31:18 +00:00
TreeHugger Robot
2af8e46e72 Merge "Make non-blockable notification more robust" into rvc-d1-dev am: d8c6c356c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12333120

Change-Id: I60aeeebfe0c1598817cf608135e0ae9f9808d324
2020-08-10 16:30:31 +00:00
TreeHugger Robot
d8c6c356c3 Merge "Make non-blockable notification more robust" into rvc-d1-dev 2020-08-10 16:13:54 +00:00
Hasini Gunasinghe
d362bd0e16 [automerger skipped] Merge "Add KeystoreKeyEventReported atom for keystore logging." am: d64ab1853d am: 7896d08fec -s ours am: 67a96b1a03 -s ours
am skip reason: Change-Id I66fbc2b8ed98a34f243387f8550b6523b13cb9a2 with SHA-1 7c336a66d9 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1316774

Change-Id: I158f53e4d87089a30e152b72cf7e6fc7949ab6db
2020-08-10 15:57:42 +00:00
Hasini Gunasinghe
67a96b1a03 [automerger skipped] Merge "Add KeystoreKeyEventReported atom for keystore logging." am: d64ab1853d am: 7896d08fec -s ours
am skip reason: Change-Id I66fbc2b8ed98a34f243387f8550b6523b13cb9a2 with SHA-1 7c336a66d9 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1316774

Change-Id: I11640f1b6ce9e5cb7722152b73e039aa561e45e3
2020-08-10 15:40:57 +00:00
Hasini Gunasinghe
7896d08fec Merge "Add KeystoreKeyEventReported atom for keystore logging." am: d64ab1853d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1316774

Change-Id: I50b97bdd1ef26fbc43d3a45801846243211acb51
2020-08-10 15:23:53 +00:00
Hasini Gunasinghe
d64ab1853d Merge "Add KeystoreKeyEventReported atom for keystore logging." 2020-08-10 15:09:49 +00:00
Jooyung Han
16bac8513e Switch aidl::nullable to std::optional
AIDL's @nullable is represented as std::optional in C++ backend.
The previous aidl::nullable was a temporary solution to avoid
merge-conflicts between rvc-dev and master branches.

Bug: 151275535
Test: m
Change-Id: I8fe5bfc1763087e7ff364b4408f862436492d1db
2020-08-10 08:36:35 +00:00
Sudheer Shanka
d7be375cf1 Update language to comply with Android’s inclusive language guidance.
See https://source.android.com/setup/contribute/respectful-code for reference

Leaving the power save whitelists as is for now. These will be handled
in a follow-up cl.

Bug: 161896447
Test: atest ./hostsidetests/net/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Test: atest ./services/tests/servicestests/src/com/android/server/net/NetworkPolicyManagerServiceTest.java
Change-Id: I5059d8362a02a7b4622c71fdf15297af87c5a3dd
Merged-In: I5059d8362a02a7b4622c71fdf15297af87c5a3dd
2020-08-10 04:13:11 +00:00
Paul Hu
1a306394c9 Merge "Verify pending intent flags" am: f623c1e2c2 am: d583f34df1 am: 8d2626f55a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1325696

Change-Id: I885046eb25c6dafbcb4284fd94bff0052f7bdd09
2020-08-10 02:27:25 +00:00
Paul Hu
8d2626f55a Merge "Verify pending intent flags" am: f623c1e2c2 am: d583f34df1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1325696

Change-Id: Id37713388c0c2245e708ca1ca81e78d288168dfd
2020-08-10 02:04:40 +00:00
Paul Hu
d583f34df1 Merge "Verify pending intent flags" am: f623c1e2c2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1325696

Change-Id: I6764ac9bface86d26f395c6a4fd8b63f7a08df6e
2020-08-10 01:46:50 +00:00
Paul Hu
f623c1e2c2 Merge "Verify pending intent flags" 2020-08-10 01:32:12 +00:00
Tim Murray
539d92beb7 Merge "Do not leak dump objects." into rvc-d1-dev am: 62c3a4f46b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12319481

Change-Id: Iecef31f7bf10ad97b7e0075cf302ae94e248474a
2020-08-09 19:55:41 +00:00
Tim Murray
62c3a4f46b Merge "Do not leak dump objects." into rvc-d1-dev 2020-08-09 19:44:23 +00:00
TreeHugger Robot
dc1c679bb3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev am: a4af2130f8 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12340767

Change-Id: Ifa4d4ea39b041367a0f40e4033bdaab86113d530
2020-08-09 14:30:28 +00:00
TreeHugger Robot
2a315b21f6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev am: 2c2b126b52 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12340531

Change-Id: Ie4c40af3cf1562ae1ac3439b62f439540feabf8e
2020-08-09 14:29:24 +00:00
TreeHugger Robot
a4af2130f8 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev 2020-08-09 14:16:52 +00:00
TreeHugger Robot
2c2b126b52 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev 2020-08-09 14:16:26 +00:00
Bill Yi
5eefe71bc7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I231323075ed55d149dbbcb8d02d8ed7cb3380aea
2020-08-09 05:19:17 -07:00
Bill Yi
23fee1d03e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib355ffc91b507ce25507bb5a75a12c17155ac1d5
2020-08-09 06:17:45 +00:00
TreeHugger Robot
e9baa64de3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev am: 82993ac937 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12337741

Change-Id: I0fbeb86c8b5809a23ab4bb55c4cc17bc1445bdcc
2020-08-08 20:16:18 +00:00
TreeHugger Robot
82993ac937 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev 2020-08-08 20:01:35 +00:00
TreeHugger Robot
b4fd733790 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev am: aacdd33718 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12337999

Change-Id: Ia37dc178c07d8522bf920c57ad860b6acb47ff89
2020-08-08 19:48:25 +00:00
Bill Yi
46e400d093 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 467ede0175 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12339572

Change-Id: I4ff349511202b66eed99158055d292e86a6cffb7
2020-08-08 19:48:12 +00:00
TreeHugger Robot
aacdd33718 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev 2020-08-08 19:43:28 +00:00