Commit Graph

382540 Commits

Author SHA1 Message Date
Treehugger Robot
4e572b596f Merge "PreloadCheck: Add preloaded-classes-blacklist" 2019-04-16 17:29:59 +00:00
Mark Chien
899f397175 Merge "Tethering: fix using wrong subId problem" 2019-04-16 12:31:10 +00:00
Treehugger Robot
2f206c6270 Merge "Notify the caller about I/O error" 2019-04-16 11:52:31 +00:00
markchien
3394e14fc3 Tethering: fix using wrong subId problem
There is the potential bug[1] that default data subId change
intent may lose. So tethering may cache the outdated default
data subId in TetheringConfiguration. Now EntitlementManager
would fetch configuration every time and this would re-exam
whether subId is changed.
Additional passing subId to Settings to avoid default data
subId change right away when launching entitlement check.
Thus, Settings can know whether this is outdated entitlement
check request.
[1] b/129224596

Bug: 129751453
Test: -build, flash, boot
      -atest FrameworksNetTests
      -manual test with carrier SIM

Change-Id: If334dd1cd383cced9db5cf0d0bc9dc60ed198816
2019-04-16 18:48:38 +08:00
Abhijeet Kaur
0af10e33f3 Notify the caller about I/O error
Call onError for caller of BugreportManager.start() if any io error
occurs during runtime.

Test: Tested manually by throwing IO exception in the code when
bugreport is being generated, onError of the callback successfully
called.
Change-Id: I9033d85d392b926041fc26a86806a370752d062d
2019-04-16 11:34:21 +01:00
Luke Huang
40e7fb6a9b Merge "Fix DnsResolver API could not bypass private DNS correctly" 2019-04-16 09:03:22 +00:00
Chalard Jean
ae8548df0b Merge "Restrict access to dangerous methods to <= P" 2019-04-16 05:17:20 +00:00
Junyu Lai
a1fedb8f5c Merge "Release keepalive slot after stopped" 2019-04-16 04:46:18 +00:00
Luke Huang
2ade716f5c Fix DnsResolver API could not bypass private DNS correctly
Bug: 130594022
Test: atest DnsResolverTest
Change-Id: Ibf3edac3075d921d189237c485871efb869b320b
2019-04-16 11:57:45 +08:00
Xiangyu/Malcolm Chen
42adca41b9 Merge "Add comments in grouping APIs to clarify possible exceptions." 2019-04-15 23:47:41 +00:00
Hall Liu
4d6ce5406a Merge "Add EHPLMN and HPLMN to SubscriptionInfo" 2019-04-15 23:27:40 +00:00
Shuo Qian
3d50a3df6d Merge "Fix Emergency Number API doc" 2019-04-15 23:12:42 +00:00
Treehugger Robot
90424e8060 Merge "Get new surface if it was released from setWindowStopped" 2019-04-15 22:52:55 +00:00
Malcolm Chen
3c97693cfb Add comments in grouping APIs to clarify possible exceptions.
Bug: 127408608
Test: cts, unittest, TelephonyManagerTestApp
Change-Id: I3671e366be7e8c3a75b5ee23b7cf88a33ecd3a4f
Merged-In: I3671e366be7e8c3a75b5ee23b7cf88a33ecd3a4f
2019-04-15 22:17:20 +00:00
sqian
48b9a1e818 Fix Emergency Number API doc
1) remove documentation about null return
2) Map including the key*s* as the active subscription ID*s*

Bug: 130426238
Test: Treehugger
Change-Id: I4c9b682ef25378b9de91cd6255ed6fc514ea220d
Merged-In: I4c9b682ef25378b9de91cd6255ed6fc514ea220d
(cherry picked from commit aca6eb7dac)
2019-04-15 14:46:16 -07:00
Hall Liu
e0ac1f7d4c Add EHPLMN and HPLMN to SubscriptionInfo
Add EHPLMN and HPLMN fields to SubscriptionInfo. These fields are read
from the ICC card.

Bug: 130253962
Test: manual
Change-Id: If98c57c14e39b917a5e7e8bbc59c2170989b63a7
2019-04-15 14:25:13 -07:00
Treehugger Robot
e5cf74326d Merge "Refine Bluetooth Metadata API" 2019-04-15 20:37:28 +00:00
Treehugger Robot
40c918b924 Merge "Add NonNull in Carriers constant" 2019-04-15 19:53:50 +00:00
calvinpan
9f090e8a13 Add NonNull in Carriers constant
Add NonNull in Carriers constant

Bug: 126699334
Test: build pass
Change-Id: Ifda6407092847e8863cba79360eba3df12f9c7e1
Merged-In: I428ff623d46d3891b05882df5774343bfe3234c0
2019-04-15 18:23:45 +00:00
Neil Fuller
6150065560 Merge "Switch ByteStringUtils over to HexEncoding impl" 2019-04-15 17:30:35 +00:00
Andreas Gampe
1130892ec7 PreloadCheck: Add preloaded-classes-blacklist
Embed the preloaded-classes-blacklist file and check all classes
in it.

Test: atest --test-mapping frameworks/base/tools/preload-check
Change-Id: I4292cae1eb24eafe1f63e914143433b57cc74751
2019-04-15 10:27:28 -07:00
Mathew Inwood
6c702ac545 Merge "Move some telephony methods to max-sdk-p list." 2019-04-15 12:16:09 +00:00
Treehugger Robot
abc9b9edcc Merge "Update OWNERS" 2019-04-15 10:46:32 +00:00
junyulai
0535295bb9 Release keepalive slot after stopped
Currntly, keepalive slot is released when stop() is called. Next
starting keepalive can use the same slot number while previous
keepalive is still stopping. When the previous keepalive is
stopped, the incoming as will be processed by the new keepalive.

This change release keepalive slot after the result of stopping
has returned. Thus, newly created keepalive cannot allocate the
same slot number while lower layer is still processing stop event.

This change also disable flaky assertions that are caused by
test port has been occupied by other process.

Bug: 129512753
Test: 1. atest com.android.server.ConnectivityServiceTest \
         #testNattSocketKeepalives --generate-new-metrics 100
      2. atest FrameworksNetTests --generate-new-metrics 10
      3. simulate the fail case manually.

Change-Id: I1991627545519ee5cb408a3df3a006f710f4af7b
2019-04-15 17:44:48 +08:00
Treehugger Robot
8ab8829243 Merge "Import translations. DO NOT MERGE" 2019-04-13 14:36:12 +00:00
Treehugger Robot
88516600bb Merge "Import translations. DO NOT MERGE" 2019-04-13 12:35:12 +00:00
Treehugger Robot
0d903420f3 Merge "Import translations. DO NOT MERGE" 2019-04-13 12:14:21 +00:00
Treehugger Robot
cad47dff63 Merge "Import translations. DO NOT MERGE" 2019-04-13 12:13:21 +00:00
Treehugger Robot
7c8372f59a Merge "Import translations. DO NOT MERGE" 2019-04-13 12:10:24 +00:00
Treehugger Robot
a5ab7f0cef Merge "Import translations. DO NOT MERGE" 2019-04-13 12:10:21 +00:00
Treehugger Robot
db9d21a42c Merge "Import translations. DO NOT MERGE" 2019-04-13 12:02:25 +00:00
Treehugger Robot
ba1678939f Merge "Import translations. DO NOT MERGE" 2019-04-13 12:02:21 +00:00
Treehugger Robot
5d56ad0983 Merge "Import translations. DO NOT MERGE" 2019-04-13 11:59:26 +00:00
Treehugger Robot
640944a399 Merge "Import translations. DO NOT MERGE" 2019-04-13 11:58:45 +00:00
Treehugger Robot
6904ea874e Merge "Import translations. DO NOT MERGE" 2019-04-13 11:58:42 +00:00
Treehugger Robot
91455a6204 Merge "Import translations. DO NOT MERGE" 2019-04-13 11:47:32 +00:00
Bill Yi
f45f5cd7ab Import translations. DO NOT MERGE
Change-Id: I3488f6c74138241f29504eafd73569f780ee9a74
Auto-generated-cl: translation import
2019-04-13 02:08:02 -07:00
Bill Yi
b2a495de9a Import translations. DO NOT MERGE
Change-Id: Ib4bb37b12e29ecd0a1a8a726d4a761eaba4abd1f
Auto-generated-cl: translation import
2019-04-12 23:23:15 -07:00
Bill Yi
2b238be5c2 Import translations. DO NOT MERGE
Change-Id: I492f38a82826682746367dfb5122e22b934712f2
Auto-generated-cl: translation import
2019-04-12 23:15:48 -07:00
Bill Yi
16adee0dec Import translations. DO NOT MERGE
Change-Id: I219d0c8ab1cf805a0f32e64b53dee3a94abfa68a
Auto-generated-cl: translation import
2019-04-12 21:17:01 -07:00
Bill Yi
512cf7a89f Import translations. DO NOT MERGE
Change-Id: I55e7b90aabc7dbc880c72cffe1e5282c8ef27f1d
Auto-generated-cl: translation import
2019-04-12 21:09:30 -07:00
Bill Yi
4e0d6d3c5b Import translations. DO NOT MERGE
Change-Id: I1f5ac7cc91022343245dad427a0dd40c4ed12594
Auto-generated-cl: translation import
2019-04-12 21:02:07 -07:00
Bill Yi
2cb84a1698 Import translations. DO NOT MERGE
Change-Id: Ia4b5b3d094538e5a3e64613a9b7dc11591aaf809
Auto-generated-cl: translation import
2019-04-12 19:47:39 -07:00
Bill Yi
ed6a5509f2 Import translations. DO NOT MERGE
Change-Id: I0f47607801a75f9c98ec454e7902102dc3e39988
Auto-generated-cl: translation import
2019-04-12 19:40:50 -07:00
Bill Yi
f535f319a8 Import translations. DO NOT MERGE
Change-Id: I6d280118ec178a0e787498bd9e38c816e156e6bb
Auto-generated-cl: translation import
2019-04-12 19:11:58 -07:00
Bill Yi
de7113cb0c Import translations. DO NOT MERGE
Change-Id: I5b163a3870ef427527470e0443bab579cb88ea36
Auto-generated-cl: translation import
2019-04-12 18:58:20 -07:00
Bill Yi
afec69e7ce Import translations. DO NOT MERGE
Change-Id: I59be6fef50c3065874ca36a6ed77bfa93242c3ee
Auto-generated-cl: translation import
2019-04-12 18:50:31 -07:00
Bill Yi
6fc9c0c8e9 Import translations. DO NOT MERGE
Change-Id: I271a1675c49cfaabbf3cb74c2d805390efc2161f
Auto-generated-cl: translation import
2019-04-12 18:42:35 -07:00
Jack Yu
0233bc3e85 Merge "Fixed the incorrect function signature" 2019-04-12 23:13:38 +00:00
Nathan Harold
b45630502b Merge "Remove key_ prefix from CarrierConfig Strings" 2019-04-12 22:50:04 +00:00