OSDN Git Service
Treehugger Robot [Wed, 1 May 2019 14:01:29 +0000 (14:01 +0000)]
Merge "hiddenapi: Support greylist-max-q"
David Brazdil [Wed, 1 May 2019 10:57:05 +0000 (11:57 +0100)]
hiddenapi: Support greylist-max-q
Test: set maxTargetSdk=Q on an API, compiles, check hiddenapi-flags.csv
Change-Id: I990972d652d4f4bc578592a9b3d9954f93b1ab9f
Treehugger Robot [Tue, 30 Apr 2019 23:46:35 +0000 (23:46 +0000)]
Merge "HwBinder: call _exit over exit."
Michael Plass [Tue, 30 Apr 2019 22:12:38 +0000 (22:12 +0000)]
Merge "Fix tests/runtests.sh"
Tyler Gunn [Tue, 30 Apr 2019 20:30:13 +0000 (20:30 +0000)]
Merge "Add PhoneAccountHandle method to check if 2 accts are from same CS."
Al Sutton [Tue, 30 Apr 2019 07:30:24 +0000 (07:30 +0000)]
Merge "Update team members in the OWNERS file. DO NOT MERGE"
Benedict Wong [Mon, 29 Apr 2019 19:59:38 +0000 (19:59 +0000)]
Merge "Add EPROTONOSUPPORT to IpSecManager SSE map"
Steven Moreland [Mon, 29 Apr 2019 17:00:04 +0000 (10:00 -0700)]
HwBinder: call _exit over exit.
Avoid calls to static destructors.
Fixes:
131589658
Test: TH
Change-Id: I52ddcda75e902965f8d4a13f4851e6bdcbe4b0e5
Mark Chien [Mon, 29 Apr 2019 15:59:16 +0000 (15:59 +0000)]
Merge "Support adding NATT keepalive packet filter"
Paul Hu [Mon, 29 Apr 2019 15:38:48 +0000 (15:38 +0000)]
Merge "Add Network, NetworkCapabilities, StaticIpConfiguration common test cases"
Treehugger Robot [Mon, 29 Apr 2019 13:55:06 +0000 (13:55 +0000)]
Merge "Freeze {ipmemorystore,networkstack}-aidl-interfaces as version 2."
Aaron Huang [Fri, 19 Apr 2019 14:47:26 +0000 (22:47 +0800)]
Support adding NATT keepalive packet filter
Support adding NATT keepalive packet filter to APF
filter.
Generating APF program will be addressed in another CL.
Bug:
33530442
Test: - atest NetworkStackTests
- atest FrameworksNetTests
Change-Id: I4961d5da343d8700600269632787c28112f0f9f1
Al Sutton [Wed, 24 Apr 2019 16:59:08 +0000 (17:59 +0100)]
Update team members in the OWNERS file. DO NOT MERGE
Change-Id: I7f23507e1ec9a5763579160f7942bf2f55df1bfb
Test: build/make/tools/checkowners.py -c -v OWNERS
Fixes:
129861520
Lorenzo Colitti [Mon, 29 Apr 2019 10:32:42 +0000 (19:32 +0900)]
Freeze {ipmemorystore,networkstack}-aidl-interfaces as version 2.
Generated with:
m networkstack-aidl-interfaces-freeze-api \
ipmemorystore-aidl-interfaces-freeze-api
Test: builds, boots
Bug:
128803828
Change-Id: I079018679766738a97b827bc87a6903655f308dd
Mark Chien [Mon, 29 Apr 2019 10:26:35 +0000 (10:26 +0000)]
Merge "Add AIDL parcelable for NattKeepalivePacketData"
paulhu [Mon, 29 Apr 2019 10:07:51 +0000 (18:07 +0800)]
Add Network, NetworkCapabilities, StaticIpConfiguration common test cases
Bug:
129200415
Bug:
129200142
Bug:
129200418
Test: atest FrameworksNetTests
Test: atest CtsNetTestCases: added tests pass
Change-Id: I568d516e1ffc9e32061ca6860224c102bdfd7445
Lorenzo Colitti [Mon, 29 Apr 2019 01:40:34 +0000 (01:40 +0000)]
Merge "Revert "Make the network stack a persistent process.""
Lorenzo Colitti [Mon, 29 Apr 2019 00:50:30 +0000 (00:50 +0000)]
Merge changes Ia9865c75,I47d9d53d,Idbe10c36
* changes:
Fix some checkstyle nits in DhcpPacketTest.
Additional code for server name in DHCP packets.
Parse the server host name field of the dhcp package
Lorenzo Colitti [Sat, 27 Apr 2019 15:02:50 +0000 (15:02 +0000)]
Revert "Make the network stack a persistent process."
This reverts commit
796afddd6c7012dc7f10bc2557eb06767c5d873a.
Reason for revert: breaks updatability because persistent processes are not updatable.
Change-Id: I35ded113b31e742f13ad8523a10af3a83a111374
Lorenzo Colitti [Sat, 27 Apr 2019 07:36:39 +0000 (16:36 +0900)]
Fix some checkstyle nits in DhcpPacketTest.
Use the Generated code suppression comment filter instead of the
IndentationCheck suppression comment filter because the latter
complains that '+' should be on a new line.
Bug:
120584519
Bug:
127423755
Test: atest NetworkStackTests
Test: atest FrameworksNetTests
Change-Id: Ia9865c75f940e2fbb3aef374a297339e8ea2fd1b
Lorenzo Colitti [Fri, 26 Apr 2019 10:10:20 +0000 (19:10 +0900)]
Additional code for server name in DHCP packets.
- Add the hostname to DhcpResultsParcelable.
- Don't store the server hostname if option overload is in use,
as this is not valid.
- Add unit tests.
Bug:
120584519
Bug:
127423755
Test: atest NetworkStackTests
Test: atest FrameworksNetTests
Change-Id: I47d9d53d1fb58968322cc8b071a44fbc8f7156e1
Otto Seiskari [Fri, 12 Apr 2019 10:16:14 +0000 (13:16 +0300)]
Fix tests/runtests.sh
The location of FrameworksWifiTests.apk installed by the script
with adb seems to have changed. The path of the APK contains the
TARGET_ARCH environment variable, which is now fetched
with a similar method as in system/netd/tests/runtests.sh.
Noticed the issue with "lunch aosp_x86_64-eng". Before this fix,
the test script produced an error:
adb: failed to stat [...]/FrameworksWifiApiTests.apk:
No such file or directory
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Id4a33ca89fa21a9a4ef791c5c1c5760e0e2badaf
Merged-In: Id4a33ca89fa21a9a4ef791c5c1c5760e0e2badaf
Signed-off-by: Otto Seiskari <otto.seiskari@indooratlas.com>
yuanyunli [Wed, 9 Jan 2019 08:59:37 +0000 (16:59 +0800)]
Parse the server host name field of the dhcp package
Some hotspot devices will fill in the server host name field of the DHCP
package, such as iphone. Parsing the server host name of the DHCP
package can help identify ios hotspots.
Bug:
120584519
Test:
127423755
Test: builds, boots, wifi works
Change-Id: Idbe10c36332ce421f1bba93eb87e9e1e12463088
Treehugger Robot [Fri, 26 Apr 2019 13:10:24 +0000 (13:10 +0000)]
Merge "Convert misc tests Android.mk files to Android.bp"
Lorenzo Colitti [Fri, 26 Apr 2019 10:32:19 +0000 (10:32 +0000)]
Merge "Add validation type definition to support multiple probe result"
Lorenzo Colitti [Fri, 26 Apr 2019 00:23:22 +0000 (00:23 +0000)]
Merge "Make DNS cache lifecycle management explicit"
Pengquan Meng [Thu, 25 Apr 2019 22:07:25 +0000 (22:07 +0000)]
Merge "Fixed the comment of carrier config for CDNR"
Pengquan Meng [Tue, 23 Apr 2019 20:55:02 +0000 (13:55 -0700)]
Fixed the comment of carrier config for CDNR
Bug:
122921456
Test: build
Merged-In: If5cc8d37ba1e66d59e5bfe9444fe4108f2263be9
Change-Id: If5cc8d37ba1e66d59e5bfe9444fe4108f2263be9
(cherry picked from commit
7ac9a8f314ad8be530f6745a947b90bfcff9495c)
Chiachang Wang [Thu, 25 Apr 2019 15:58:27 +0000 (23:58 +0800)]
Add validation type definition to support multiple probe result
In order to allow NetworkMonitor to tell ConnectivityService
if the network is either parital, validated or both.
NetworkMonitor could update the probe result by passing the
bitmask to ConnectivityService.
Bug:
130078798
Bug:
130683832
Test: build
Change-Id: I429ccbd9b9afae3eafaf73b3c9eb835213c1f64d
Chiachang Wang [Thu, 25 Apr 2019 04:49:04 +0000 (04:49 +0000)]
Merge "Remove Settings constants for NetworkStack"
Chiachang Wang [Thu, 25 Apr 2019 03:48:52 +0000 (03:48 +0000)]
Merge "Update exception type thrown when NetworkStack is missing"
Chiachang Wang [Thu, 25 Apr 2019 01:47:27 +0000 (09:47 +0800)]
Remove Settings constants for NetworkStack
The definitions reference of these constants are moved from
Settings to DeviceConfig. These definitions are @hide and the
usage in the Settings are removed. Thus, remove the definitions
from API level.
Bug:
123167629
Test: make system-api-stubs-docs-update-current-api \
test-api-stubs-docs-update-current-api
Test: atest NetworkStackTests
Change-Id: I28c4bf2c0b72e154cea91d11007a9497c7f21570
Merged-In: I7291cfa86cd6e907df35e8fbc97e2e9a77e56cab
Merged-In: Ic48bea07e79490dd3787068bc88c748525752a61
Lorenzo Colitti [Thu, 25 Apr 2019 02:05:19 +0000 (02:05 +0000)]
Merge "Add privapp permissions to network modules."
Treehugger Robot [Wed, 24 Apr 2019 23:48:40 +0000 (23:48 +0000)]
Merge "Use injected instance of RcsControllerCall"
Jordan Liu [Wed, 24 Apr 2019 23:04:25 +0000 (23:04 +0000)]
Merge "Do not populate SLOT_KEY with wrong slot info"
Benedict Wong [Mon, 16 Jul 2018 21:56:20 +0000 (14:56 -0700)]
Add EPROTONOSUPPORT to IpSecManager SSE map
This change maps EPROTONOSUPPORT to the list of error codes that map to
UnsupportedOperationException in IpSecManager.
Bug:
80103456
Test: Compiles, CTS tests ran
Change-Id: Iec3d5fc4a9bcad7c104414afefae775232d46558
Jordan Liu [Mon, 22 Apr 2019 20:58:02 +0000 (13:58 -0700)]
Do not populate SLOT_KEY with wrong slot info
The slotId is not necessarily the phoneId, so do not broadcast as if it
is. SLOT_KEY is a hidden extra so this should not impact apps in general
(if they need the old extra they can still use the hidden PHONE_KEY).
For select broadcasts like SIM_CARD_STATE_CHANGED, we will manually
populate the slot key. This is a temporary solution to b/
130664115 and
we should eventually review and consider making the SLOT_KEY public for
some broadcasts.
Bug:
130664115
Test: manual
Change-Id: I84bd4c6bc4277e32cee9916dd18dd80948a808a0
Merged-In: I84bd4c6bc4277e32cee9916dd18dd80948a808a0
SongFerng Wang [Wed, 24 Apr 2019 16:41:14 +0000 (16:41 +0000)]
Merge "Add 5G evolution icon"
Treehugger Robot [Wed, 24 Apr 2019 16:25:24 +0000 (16:25 +0000)]
Merge "Make the network stack a persistent process."
SongFerngWang [Thu, 21 Mar 2019 15:14:20 +0000 (23:14 +0800)]
Add 5G evolution icon
This add the 5GE icon to the system UI for specific carriers
LTE CA network.
Bug:
124768697
Test: build & manually test:
fake the operator name with pattern, and check the status bar data icon.
Change-Id: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
Merged-In: Ife0401219138c7ed22e7bfbd4d5e8648c54a98a8
Treehugger Robot [Wed, 24 Apr 2019 14:29:39 +0000 (14:29 +0000)]
Merge "Remove unused methods from INetworkManagementService"
Lorenzo Colitti [Wed, 24 Apr 2019 13:51:49 +0000 (22:51 +0900)]
Add privapp permissions to network modules.
When built as part of the system, the network stack and the
captive portal login app should have the BYPASS_PRIVATE_DNS
and CONNECTIVITY_USE_RESTRICTED_NETWORKS permissions.
These are necessary to validate restricted networks, bypass VPNs,
bypass private DNS for captive portal login, etc. Add these
permissions to privapp-permissions-platform.xml.
When installed as mainline modules that cannot use signature
permissions, the modules get this ability by virtue of having the
MAINLINE_NETWORK_STACK permissions.
Additionally, add the CONNECTIVITY_USE_RESTRICTED_NETWORKS
permission to the captive portal login app manifest, which did
not contain it.
Bug:
129789428
Test: builds, boots
Test: dumpsys package shows permissions
Change-Id: I632359f7eff09fed71167733ac75824a5aa57894
Chiachang Wang [Wed, 24 Apr 2019 13:44:05 +0000 (21:44 +0800)]
Update exception type thrown when NetworkStack is missing
rethrowFromSystemServer is throwing DeadSystemException which
is different from the original log message. Thus, update the
way to rethrow the same RemoteException.
Bug:
130028724
Test: atest FrameworksNetTest
Test: Kill NetworkStack and check the log message
Change-Id: I60862e276dd4e2d143278b272a9ba54219acce26
Lorenzo Colitti [Wed, 24 Apr 2019 13:26:42 +0000 (22:26 +0900)]
Make the network stack a persistent process.
The network stack should never be killed, because if it does,
recovering networking requires a reboot. Make the process
persistent to reduce the chances of it being killed by the OOM
killer.
Bug:
131046856
Test: builds, boots
Test: process oom_score_adj is -800
Test: process goes from "Persistent Service" to "Persistent" in dumpsys meminfo
Change-Id: Ic8ebf6356e23489f6cd984d680ff9f1b4cbbe52d
Neil Fuller [Wed, 24 Apr 2019 12:57:25 +0000 (12:57 +0000)]
Merge "Switch to HexEncoding from ByteStringUtils"
Treehugger Robot [Wed, 24 Apr 2019 09:44:14 +0000 (09:44 +0000)]
Merge "Delete unused timeout constant."
Treehugger Robot [Wed, 24 Apr 2019 09:37:49 +0000 (09:37 +0000)]
Merge "Reinstate new VPN uid filtering unit tests"
Aaron Huang [Tue, 23 Apr 2019 14:17:16 +0000 (22:17 +0800)]
Add AIDL parcelable for NattKeepalivePacketData
Bug:
33530442
Test: atest FrameworksNetTests
Change-Id: I9b9a51dc5dc06c90229fb36c34c24258991c4146
Lorenzo Colitti [Wed, 24 Apr 2019 08:09:08 +0000 (17:09 +0900)]
Delete unused timeout constant.
Test: m
Bug:
129312219
Change-Id: I5b4c8b42dea515f674ff10d64d0e1d06d849cca1
Treehugger Robot [Wed, 24 Apr 2019 06:12:47 +0000 (06:12 +0000)]
Merge "Create new RcsMessageQueryResultParcelable"
Aaron Huang [Wed, 24 Apr 2019 04:00:56 +0000 (04:00 +0000)]
Merge "Move NattKeepalivePacketData out of the framework"
Tyler Gunn [Tue, 23 Apr 2019 21:40:12 +0000 (21:40 +0000)]
Merge "Update API docs for country ISO APIs."
Pengquan Meng [Tue, 23 Apr 2019 20:23:20 +0000 (20:23 +0000)]
Merge "Add carrier display name related CarrierConfig"
Christopher Ferris [Tue, 23 Apr 2019 17:45:01 +0000 (17:45 +0000)]
Merge "Move to android_mallopt for malloc debug calls."
Rubin Xu [Tue, 23 Apr 2019 17:04:14 +0000 (18:04 +0100)]
Reinstate new VPN uid filtering unit tests
Mock out PackageManager and returns correct information corresponding
to the test app package itself.
Test: atest --generate-new-metrics 10 com.android.server.ConnectivityServiceTest
Bug:
114231106
Bug:
130397860
Change-Id: Ib921700eda417f411d7a2c77c1140fba9ab50bbb
Jack Yu [Tue, 23 Apr 2019 16:57:04 +0000 (16:57 +0000)]
Merge "Fixed that emergency alert dialog not popped up"
Tyler Gunn [Tue, 23 Apr 2019 15:55:56 +0000 (08:55 -0700)]
Update API docs for country ISO APIs.
Updating to make it more clear the format of the returned country ISO
codes.
Test: Build
Fixes:
131154060
Change-Id: I10c00c1a48e36e00720f50e85d6bb931756f1085
Lorenzo Colitti [Tue, 23 Apr 2019 14:13:14 +0000 (14:13 +0000)]
Merge "Add a timeout for the DNS probe."
Paul Hu [Tue, 23 Apr 2019 11:31:03 +0000 (11:31 +0000)]
Merge "Add tests for DhcpErrorEvent"
Lorenzo Colitti [Tue, 23 Apr 2019 08:33:41 +0000 (08:33 +0000)]
Merge "Freeze the networkstack-aidl-interfaces interface"
Junyu Lai [Tue, 23 Apr 2019 07:48:08 +0000 (07:48 +0000)]
Merge "[KA11] Verify fd ownership and allocate resource for NattKeepalive"
Remi NGUYEN VAN [Fri, 5 Apr 2019 06:15:48 +0000 (15:15 +0900)]
Freeze the networkstack-aidl-interfaces interface
This freezes the interface as of the latest beta build, not the tip of
tree. IIpClient#setL2KeyAndGroupHint is not in the frozen definition in
particular.
Generated with:
m networkstack-aidl-interfaces-freeze-api \
ipmemorystore-aidl-interfaces-freeze-api
Test: flashed, booted, WiFi and captive portal working
Bug:
128803828
Change-Id: Ideabe73fc93bbefca2d624ee9ca190cf31419424
junyulai [Tue, 16 Apr 2019 11:32:32 +0000 (19:32 +0800)]
[KA11] Verify fd ownership and allocate resource for NattKeepalive
Since socket keepalive APIs for UDP encapsulation sockets are
public to generic app. In order to ensure the given fd is valid,
this change verifies the resource id inside the UDP
encapsulation socket by using methods provided by IpSecService.
Bug:
125517194
Fix:
123968920
Test: 1. atest FrameworksNetTests --generate-new-metrics 10
2. atestcom.android.server.ConnectivityServiceTest \
#testNattSocketKeepalives --generate-new-metrics 100
Change-Id: I408aacc19b364683854d15a095c34e72389a6e5b
Treehugger Robot [Tue, 23 Apr 2019 01:29:25 +0000 (01:29 +0000)]
Merge "Fix urn compare in EmergencyNumber"
Pengquan Meng [Thu, 18 Apr 2019 02:36:58 +0000 (19:36 -0700)]
Add carrier display name related CarrierConfig
Bug:
122921456
Test: build
Merged-In: I79836b2912be5223a2269e660bfaadf4aa72b930
Change-Id: I79836b2912be5223a2269e660bfaadf4aa72b930
(cherry picked from commit
4ae672f192c009c5e0ae629d1c4e321d9677169b)
Chalard Jean [Tue, 23 Apr 2019 00:38:10 +0000 (00:38 +0000)]
Merge "Fix an argument to the legacy broadcast"
Treehugger Robot [Mon, 22 Apr 2019 20:38:24 +0000 (20:38 +0000)]
Merge "Disable iorap test mapping"
Benedict Wong [Mon, 22 Apr 2019 20:03:54 +0000 (20:03 +0000)]
Merge "Add NATT keepalive resources and methods into IpSecService"
Treehugger Robot [Mon, 22 Apr 2019 19:56:25 +0000 (19:56 +0000)]
Merge "Reduce cbrubaker bus factor by 2"
Mathieu Chartier [Thu, 31 Jan 2019 17:36:19 +0000 (09:36 -0800)]
Disable iorap test mapping
Post submit tests are failing, disable the tests for now.
Bug:
123659771
Bug:
72170747
Bug:
130883339
Test: TH
(cherry picked from commit
6565a34d7ff731180ddb9c4ef05c51bcf6691ec7)
Merged-In: I17befa52ebad92413122253f692168cf93cbab6e
Change-Id: Ida6c6cb2ee30ebb08c959df83ae05fabb112d9c2
Jack Yu [Mon, 22 Apr 2019 00:21:43 +0000 (17:21 -0700)]
Fixed that emergency alert dialog not popped up
Fixed by granting START_ACTIVITIES_FROM_BACKGROUND
to the cell broadcast receiver.
Test: Manual
Bug:
130384940
Merged-In: Ie563a8f11ac991ab9568f65df6a4d14eebe47c5e
Change-Id: Ie563a8f11ac991ab9568f65df6a4d14eebe47c5e
(cherry picked from commit
974607aac84c49dd102a578c7776752216280128)
sqian [Mon, 22 Apr 2019 18:14:09 +0000 (11:14 -0700)]
Fix urn compare in EmergencyNumber
Test: Sanity
Bug:
130979270
Change-Id: I585ecafcf9996e24befec2dbe86465a1d5a0f030
Benedict Wong [Mon, 22 Apr 2019 17:41:20 +0000 (17:41 +0000)]
Merge "Add configurability of LinkProperties, meteredness for Test Networks"
Remi NGUYEN VAN [Fri, 12 Apr 2019 03:35:55 +0000 (12:35 +0900)]
Add tests for DhcpErrorEvent
The tests are run both in unit and CTS tests.
Test: atest FrameworksNetTests NetworkStackTestCases
Bug:
129200175
Change-Id: I52976bbbaca26fb317836e8461e372c25df02a22
Lorenzo Colitti [Thu, 18 Apr 2019 04:44:32 +0000 (13:44 +0900)]
Add a timeout for the DNS probe.
Bug:
129312219
Test: atest NetworkStackTests
Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Change-Id: Ib3ab9105d7ae39f551b51e8d5a04b9ec5e549655
Paul Hu [Mon, 22 Apr 2019 13:59:25 +0000 (13:59 +0000)]
Merge "Move more network unit tests to common tests"
Chalard Jean [Thu, 11 Apr 2019 05:09:07 +0000 (14:09 +0900)]
Fix an argument to the legacy broadcast
Test: new test for this
Fixes:
62650382
Change-Id: I918b8271d3c3c058553ca888cb54cd36a6efba66
Luke Huang [Tue, 9 Apr 2019 10:41:49 +0000 (18:41 +0800)]
Make DNS cache lifecycle management explicit
1. ConnectivityService calls netd binder to create/destroy network directly.
2. Call dnsresolver binder to create/destroy cache after create/destroy network.
3. Remove unused network create/destroy methods in NetworkManagementService.
Bug:
129453995
Test: atest FrameworksNetTests
Change-Id: I15660d27f735e33d621d4af8972cdf115bf76dfa
Treehugger Robot [Mon, 22 Apr 2019 08:09:32 +0000 (08:09 +0000)]
Merge "Fix a bug where + before % is ignored"
Chalard Jean [Mon, 22 Apr 2019 02:15:04 +0000 (02:15 +0000)]
Merge changes Id598ae1d,I475bd011
* changes:
Fix a possible crash when the listener is null
Straighten AIDL interface for the memory store
Treehugger Robot [Mon, 22 Apr 2019 02:05:22 +0000 (02:05 +0000)]
Merge "Add more documentation for LE CoC"
Chalard Jean [Fri, 19 Apr 2019 05:58:51 +0000 (14:58 +0900)]
Fix a bug where + before % is ignored
Achievement unlocked : fix a 10-year-old trivial bug
Bug:
1866121
Test: new CTS in Ib7ee866f65baf99b46a31e2115355a42a829421e
Change-Id: Ic91660d974dce21f2affdcacaeffe9accf8451ac
Chalard Jean [Thu, 4 Apr 2019 09:39:32 +0000 (18:39 +0900)]
Fix a possible crash when the listener is null
Test: manual
Bug:
129930804
Change-Id: Id598ae1d98154b19d156e52973cf379669e7060c
Merged-In: I325fd3eda6e89228353342f00a49f50b22b17071
Merged-In: Id8151886ab1d26101e02f9abe9e21c58c7236623
(cherry picked from commit
28671455229a7a1b74b54fa183c6ba4cc225099f)
Chalard Jean [Fri, 1 Feb 2019 05:20:32 +0000 (14:20 +0900)]
Straighten AIDL interface for the memory store
Some names were still wrong somehow, and the wrappers were
missing.
Test: NetworkStack & FrameworkNetTests
Change-Id: I475bd011ad9bc714a07021a9dfd85c4876f8e9ad
Merged-In: I475bd011ad9bc714a07021a9dfd85c4876f8e9ad
Chalard Jean [Sun, 21 Apr 2019 23:57:14 +0000 (23:57 +0000)]
Merge "Make LegacyTypeTracker testable"
Colin Cross [Sun, 21 Apr 2019 17:20:17 +0000 (17:20 +0000)]
Merge "Remove framework.aidl rules"
Treehugger Robot [Sat, 20 Apr 2019 02:20:04 +0000 (02:20 +0000)]
Merge "Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid"
Dan Willemsen [Sat, 20 Apr 2019 01:06:00 +0000 (01:06 +0000)]
Merge changes from topic "R"
* changes:
master designated for R. Update MAX_PLATFORM_VERSION, etc.
AAPT2: Update SDK development codename to Q
Stanley Tng [Fri, 19 Apr 2019 21:27:09 +0000 (14:27 -0700)]
Add more documentation for LE CoC
Added more information into Android SDK for LE Connection-oriented
Channels (CoC) so that it matches the corresponding RFComm
documentation.
Bug:
70683224
Test: Compile
Change-Id: I40abde70a7ca6bcd194ee75bd8367c0ed9e97d05
Zach Johnson [Fri, 19 Apr 2019 21:13:03 +0000 (14:13 -0700)]
Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid
Test: compilation
Fixes:
126698824
Change-Id: I4873b46a37df3e103ddc62001cc9f0bc01aea4dc
Treehugger Robot [Fri, 19 Apr 2019 20:47:35 +0000 (20:47 +0000)]
Merge changes from topic "GameDriver3"
* changes:
Game Driver: process sphal libraries in GPU service
Game Driver: Add a Settings.Global property for sphal libraries
[Game Driver] Add global whitelist option.
[GPU Service] Move blacklists process to GPU service.
Split blacklist from versioned blacklists.
Game Driver: clean up GraphicsEnvironment
[GPU Service] Implement GPU service.
Jack Yu [Fri, 19 Apr 2019 20:29:08 +0000 (20:29 +0000)]
Merge "Return copies for get methods"
Yiwei Zhang [Thu, 14 Feb 2019 20:05:47 +0000 (12:05 -0800)]
Game Driver: process sphal libraries in GPU service
This change adds the sphal libraries text file parsing to the GPU
service. As the result, when the Game Driver apk is updated, the sphal
library list will be read out to the GAME_DRIVER_SPHAL_LIBRARIES
settings global property to be used in the graphics environment to
extend the current linker namespace.
Bug:
124448366
Test: Build, flash and boot. Install the apk to verify settings global.
Change-Id: Ifb4007a1fe7269e0a2857fe7badc8642342b1449
Merged-In: Ifb4007a1fe7269e0a2857fe7badc8642342b1449
Yiwei Zhang [Thu, 14 Feb 2019 18:43:42 +0000 (10:43 -0800)]
Game Driver: Add a Settings.Global property for sphal libraries
This change add the GAME_DRIVER_SPHAL_LIBRARIES property to save the
list of sphal libraries assessible to Game Driver.
Bug:
124448366
Test: Build, flash and boot.
Change-Id: I7cb06df80f19d87f5fd13d7df3c991ceb5bdfb06
Merged-In: I7cb06df80f19d87f5fd13d7df3c991ceb5bdfb06
Exempt-From-Owner-Approval: Change in CoreSettingsObserver.java is too
minor
Dan Willemsen [Fri, 19 Apr 2019 19:30:50 +0000 (19:30 +0000)]
Merge "Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS"
Christopher Ferris [Tue, 16 Apr 2019 18:34:58 +0000 (11:34 -0700)]
Move to android_mallopt for malloc debug calls.
Remove the guardrail/MemoryLeakTrackUtil.* files. They aren't used
and they are a copy of frameworks/av/media/utils/MemoryLeakTrackUtil.*.
Bug:
130028357
Test: Enable backtrace for calendar, run am dumpheap -n <PID> <FILE>
Change-Id: I6ce69465b0c04fae97b3622df2763a2996063d85
Merged-In: I6ce69465b0c04fae97b3622df2763a2996063d85
(cherry picked from commit
98180a344cfd08748dcf5a6aa5aebfdeb7e78b62)
Benedict Wong [Mon, 25 Feb 2019 20:33:22 +0000 (12:33 -0800)]
Add NATT keepalive resources and methods into IpSecService
This change adds a new NATTKeepalive resource type, along with the
associated allocation/deallocation. Additionally, this change allows
ReferenceCountedResource(s) to not be binder-linked, to allow the
ConnectivityService to verify ownership and allocate a NattKeepalive
without double-registering for binder-death notifications.
Bug:
125517194
Test: IpSecService frameworks tests ran
Change-Id: I8293f79940ad57dabb6f2b9de5e334d06b869443
Peiyong Lin [Wed, 13 Feb 2019 22:46:54 +0000 (14:46 -0800)]
[Game Driver] Add global whitelist option.
Allow a '*' at the beginning of the whitelist file to mean whitelist
everything.
BUG:
120869311
Test: Build, flash and boot. Verify with apk
Change-Id: Ia1b772f545a04acb7f5b4ccbe5489e43ecddb9d2
Merged-In: Ia1b772f545a04acb7f5b4ccbe5489e43ecddb9d2
Peiyong Lin [Thu, 7 Feb 2019 03:37:04 +0000 (19:37 -0800)]
[GPU Service] Move blacklists process to GPU service.
Instead of re-process blacklists proto everytime, we move the processing to GPU
Service, and add SettingsObserver to observe the change of
Settings.Global.GAME_DRIVER_BLACKLISTS such that we only re-process the
blacklists when needed.
As a result, we will have GAME_DRIVER_BLACKLISTS which is used to accept a list
of blacklist from the server, one for each game driver version that needs to
have blacklist, and GAME_DRIVER_BLACKLIST will only contain a list of
blacklisted application package names for the current version of game driver on
the device, separated by comma.
BUG:
120869311
Test: Build, flash and boot. Use adb shell settings put command to verify.
Change-Id: Ic49800cd0b5b82ddbbdf9907d603243415d5bd3b
Merged-In: Ic49800cd0b5b82ddbbdf9907d603243415d5bd3b
Benedict Wong [Fri, 19 Apr 2019 02:18:43 +0000 (19:18 -0700)]
Add configurability of LinkProperties, meteredness for Test Networks
This commit adds the ability to pass in LinkProperties and meteredness
for additional testing use cases.
Bug: ?
Test: Compiles. Test utility only.
Change-Id: Idf6c3bcae2dea5e61c0418b72b889496919be8ba