Commit Graph

385665 Commits

Author SHA1 Message Date
Elliott Hughes
d5a3817eef Merge "StrictJarFile can use the new std::string libziparchive Next overload."
am: 9fa4e0442c

Change-Id: I31ec9f19d22e5608813ee45b1429647d9858c9ea
2019-05-24 13:11:18 -07:00
Elliott Hughes
9fa4e0442c Merge "StrictJarFile can use the new std::string libziparchive Next overload." 2019-05-24 19:45:12 +00:00
Sal Savage
b441d2575a Merge "Add timestamp and read status extra constants to MAP Client"
am: 9dd24d05e9

Change-Id: I5a1e75de9369fa05f0974523c97e093622b330c6
2019-05-24 12:08:24 -07:00
Hall Liu
66c4dc0757 Merge "Stop silently dropping a NullPointerException"
am: d99ca07884

Change-Id: I11e76cf1174057e2178f52faeae8e225062d1488
2019-05-24 12:03:32 -07:00
Paul Mclean
40f44f5d4a Merge "Revert "Fix incorrect parsing of UVC interface descriptor""
am: 8863583ffa

Change-Id: Ifb74f24bba3160b7111c5d03f1a0a646592f53ae
2019-05-24 11:57:56 -07:00
Sal Savage
9dd24d05e9 Merge "Add timestamp and read status extra constants to MAP Client" 2019-05-24 18:29:43 +00:00
Hall Liu
d99ca07884 Merge "Stop silently dropping a NullPointerException" 2019-05-24 18:27:44 +00:00
Treehugger Robot
8863583ffa Merge "Revert "Fix incorrect parsing of UVC interface descriptor"" 2019-05-24 18:20:25 +00:00
Paul Mclean
341f0934a2 Revert "Fix incorrect parsing of UVC interface descriptor"
This reverts commit b83cf0c7f1.

Reason for revert: This changes breaks connection to ALL USB Audio interface. Camera audio should be investigat

Bug: 124374863
Bug: 133501871

Change-Id: I19fed05c0b5f4227f88df3ac17ddd5ebe4246f3d
2019-05-24 17:34:32 +00:00
mrcasey
2d525eece3 Merge "Update sysui OWNERS"
am: 053905656c

Change-Id: I561e2b4f8374ddfc20ab562572cfa7803a770f68
2019-05-24 07:41:02 -07:00
mrcasey
053905656c Merge "Update sysui OWNERS" 2019-05-24 14:25:20 +00:00
Matt Casey
5ec20d472e Update sysui OWNERS
Test: None
Change-Id: I43640d87c4fcd0a8211dc04c4203a7b80b150f58
2019-05-24 09:01:06 -04:00
Paul Hu
2530911fa9 Merge "Fix null IpmemoryService object in AGO project."
am: c28ae5a01d

Change-Id: I33d705a911c08d9a14b54672cd3477d3ad07a211
2019-05-24 01:23:38 -07:00
Paul Hu
c28ae5a01d Merge "Fix null IpmemoryService object in AGO project." 2019-05-24 08:09:56 +00:00
Chenbo Feng
105c27e4ac Merge "Add server information for pptp vpn"
am: 1421daa1c3

Change-Id: Ieacc3e883b759d1b95534011f46461c837c4e104
2019-05-23 22:22:35 -07:00
Chiachang Wang
a0e9af113c Merge "Update multiple validation result to ConnectivityService"
am: 20ee375003

Change-Id: I5ae4635cf28beea5ab348d35dcc1b01a9b109425
2019-05-23 22:13:34 -07:00
Treehugger Robot
1421daa1c3 Merge "Add server information for pptp vpn" 2019-05-24 03:35:06 +00:00
Chiachang Wang
20ee375003 Merge "Update multiple validation result to ConnectivityService" 2019-05-24 02:50:54 +00:00
Chenbo Feng
b38065dd3a Add server information for pptp vpn
The pptp vpn set up in ip-up-vpn.c does not provide an environment
variable for the remote server so we cannot setup a correct throw route
to the VPN endpoint. Change the LegacyVpnRunner class to include the
remote server information in the class so it can use it to bring up the
vpn and set the throw rule correctly.

Bug: 131386220
Test: Build
Change-Id: Ia6b00dd88f8f31823647c56c20b8c7edd20280f7
2019-05-24 01:23:36 +00:00
Eric Holk
6053fed521 Merge "Revert "LayoutInflater: Special case well-known View constructors""
am: 98e2663802

Change-Id: I42d59783523113495d8efbfa40b98389e10025fd
2019-05-23 13:50:29 -07:00
Elliott Hughes
ace3371ef5 StrictJarFile can use the new std::string libziparchive Next overload.
Bug: http://b/129068177
Test: treehugger
Change-Id: I44e89f0767723de7fce46dae58f2156fcd9a6362
2019-05-23 13:19:23 -07:00
Chenbo Feng
5d4822bcd2 Merge "Fix the internet permission for native services"
am: 1f721ee602

Change-Id: If68f7cf840f5648f3f94a844eb075d442b90439a
2019-05-23 13:13:25 -07:00
Treehugger Robot
98e2663802 Merge "Revert "LayoutInflater: Special case well-known View constructors"" 2019-05-23 19:59:33 +00:00
Treehugger Robot
1f721ee602 Merge "Fix the internet permission for native services" 2019-05-23 18:40:42 +00:00
Eric Holk
d28e721546 Revert "LayoutInflater: Special case well-known View constructors"
This reverts commit cb694714f1.

Reason for revert: test failures (http://b/133342433)

Change-Id: I4967e21769a0e45038e9f0941909faec731b3124
2019-05-23 18:18:04 +00:00
Etan Cohen
cc65a628eb Merge "[CM] Fix NPE due to unvalidated callback value"
am: 1b7640a762

Change-Id: Ia2cc04b42288ea987483e5ab0e0a10093dc49502
2019-05-23 09:16:26 -07:00
Etan Cohen
1b7640a762 Merge "[CM] Fix NPE due to unvalidated callback value" 2019-05-23 16:01:51 +00:00
Etan Cohen
22e0fc1ca9 [CM] Fix NPE due to unvalidated callback value
Fix flaky test resulting from the above fix.

Bug: 132950880
Test: atest ConnectivityServiceTest
Change-Id: I1ddf3bb016239bf88cdd8843a71dcb5e582e83ac
2019-05-23 08:16:20 -07:00
Luke Huang
d352f4ca85 Merge "Add Rfc6724 style sort for DnsResolver and fix potential bug"
am: 7a1133eb44

Change-Id: I0323f5c7f32fc3fa589b9e87f8e7c9caf744dbd4
2019-05-23 06:14:28 -07:00
Luke Huang
7a1133eb44 Merge "Add Rfc6724 style sort for DnsResolver and fix potential bug" 2019-05-23 12:05:14 +00:00
Chiachang Wang
8ea15c9648 Update multiple validation result to ConnectivityService
Once a network is determined to have partial connectivity, it
cannot go back to full connectivity without a disconnect. This
is because NetworkMonitor can only communicate either
PARTIAL_CONNECTIVITY or VALID, but not both. Thus, multiple
validation results allow ConnectivityService to know the real
network status.

Bug: 129662877
Bug: 130683832
Test: atest FrameworksNetTests
Test: atest NetworkStackTests
Test: atest --generate-new-metrics 50
NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Test: Simulate partial connectvitiy
Change-Id: I406c9368617c03a2dd3ab15fb1f6dbf539d7c714
2019-05-23 16:29:30 +08:00
Remi NGUYEN VAN
dbd81feb0a Merge "Add getInterfaceVersion to NetdEventListener"
am: 1c6fb830c3

Change-Id: Iad0ff46434519256a282c93ad51c5e2005a3c24e
2019-05-22 21:09:38 -07:00
Remi NGUYEN VAN
1c6fb830c3 Merge "Add getInterfaceVersion to NetdEventListener" 2019-05-23 03:47:44 +00:00
Luke Huang
247d83a68b Add Rfc6724 style sort for DnsResolver and fix potential bug
1. pass default network explicitly to fix potential
   mis-sync network problem in DnsResolver#query
2. Add rfc6724 sort and related test
3. DnsResolver do rfc6724 sort before response InetAddress answers
4. move haveIpv* function from DnsResolver to DnsUtils

Bug: 129530368
Test: atest DnsResolverTest DnsUtilsTest
Change-Id: I4efa599c0605f6a9e4ef2dd1a36572c69b3c433f
2019-05-23 11:23:41 +08:00
Chenbo Feng
e5d6f0fa6c Fix the internet permission for native services
The native services should specify their permissions in platform.xml if
they need internet permission, otherwise the eBPF program will block the
socket creation request. Fixing the known services that are in group
AID_INET but didn't specify their permission in the xml file.

Bug: 132217906
Test: CtsJdwpTestCases dumpsys netd trafficcontroller
Change-Id: I84cde7d3757953bc0bf761727d64a715bcdd68bb
2019-05-22 17:59:29 -07:00
Julia Reynolds
b73b57577a Merge "Catch the SQLiteFullException in NotificationUsageStats."
am: 41537638f0

Change-Id: I64e2127983727c14eaac2f96c57e9b8c8b2215bb
2019-05-22 12:43:49 -07:00
Julia Reynolds
41537638f0 Merge "Catch the SQLiteFullException in NotificationUsageStats." 2019-05-22 16:32:45 +00:00
Eric Holk
0c9d6a5c86 Merge "LayoutInflater: Special case well-known View constructors"
am: 8b480c4c81

Change-Id: Ibc0435ecc5c60da40c794e20661ace5571b1dc0e
2019-05-22 09:23:46 -07:00
Etan Cohen
51ddc176ab Merge "[CM] Fix NPE due to unvalidated callback value"
am: 31717ff7f5

Change-Id: Ib3fde31d88c36469cdee1e3578606d130a9817cb
2019-05-22 09:17:33 -07:00
Treehugger Robot
8b480c4c81 Merge "LayoutInflater: Special case well-known View constructors" 2019-05-22 15:44:33 +00:00
Eric Holk
cb694714f1 LayoutInflater: Special case well-known View constructors
This avoids loading constructors with reflection for well-known View classes.

An average of 1300 app startups with and without this change shows the special
casing improves app startup time by about 2.5ms.

The classes listed here are taken from examining several app traces as well as
the similar list in AppCompatViewInflater.

Bug: 131421854
Change-Id: I676a50eec50b86fa0b385add4bc092a657d8e8bb
2019-05-22 08:41:21 -07:00
Etan Cohen
31717ff7f5 Merge "[CM] Fix NPE due to unvalidated callback value" 2019-05-22 13:53:31 +00:00
Remi NGUYEN VAN
65acc76d09 Add getInterfaceVersion to NetdEventListener
This is necessary to freeze netd_event_listener_interface.

Bug: 133124190
Test: Built with change, new GtsNetworkStackHostTestCases passes
Change-Id: I54665a1a8c2dcf37abae97f2962a9190f83c4b6e
2019-05-22 19:02:26 +09:00
Chalard Jean
411f1efc02 Merge "Update throws documentation for requestNetwork*"
am: d8927579d5

Change-Id: I71165ea3edae01477be16d53e9b9eae29c1d6186
2019-05-22 02:29:02 -07:00
Kweku Adams
7574d15603 Merge "Treating all FileSection files as device specific."
am: db2353c143

Change-Id: Ifc8d046ada24e83b6f68d56747e96c3d2db6f3e8
2019-05-22 02:24:24 -07:00
Chalard Jean
892038673e Merge "Let clients access StaticIpConfiguration members through reflection."
am: 94e52502dc

Change-Id: Ia4c7ec6147645a384b7adec6f83d0853408c0a1f
2019-05-22 02:19:39 -07:00
Chalard Jean
d8927579d5 Merge "Update throws documentation for requestNetwork*" 2019-05-22 08:34:43 +00:00
Treehugger Robot
db2353c143 Merge "Treating all FileSection files as device specific." 2019-05-22 08:23:31 +00:00
Chalard Jean
94e52502dc Merge "Let clients access StaticIpConfiguration members through reflection." 2019-05-22 07:17:52 +00:00
Amit Mahajan
b404dada78 Merge "Add comments for boolean parameters in translate()."
am: a844340276

Change-Id: I33dbb5b75b85696ac06edceb159010fa1b18c636
2019-05-21 23:49:27 -07:00