OSDN Git Service
SongFerng Wang [Wed, 24 Apr 2019 16:54:21 +0000 (09:54 -0700)]
Merge "Add 5G evolution icon"
am:
8442966df9
Change-Id: I9f8d0a708ab5f958c6ceb0ce67cd812298db415b
SongFerng Wang [Wed, 24 Apr 2019 16:41:14 +0000 (16:41 +0000)]
Merge "Add 5G evolution icon"
Lorenzo Colitti [Wed, 24 Apr 2019 16:37:50 +0000 (09:37 -0700)]
Merge "Make the network stack a persistent process."
am:
d0e7befaaf
Change-Id: I7de9d01aa2ee0d71f7c862e530d86b4a136013a6
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
Rubin Xu [Wed, 24 Apr 2019 14:43:27 +0000 (07:43 -0700)]
Merge "Remove unused methods from INetworkManagementService"
am:
5d2c5d5dc2
Change-Id: Ie37c9c751830d209d40772bd2d410a9c550236cd
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: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 13:08:15 +0000 (06:08 -0700)]
Merge "Switch to HexEncoding from ByteStringUtils"
am:
6badf7c7da
Change-Id: I0af52cb2289e1df89ac65fa01334d4e9de69e010
Neil Fuller [Wed, 24 Apr 2019 12:57:25 +0000 (12:57 +0000)]
Merge "Switch to HexEncoding from ByteStringUtils"
Lorenzo Colitti [Wed, 24 Apr 2019 09:57:48 +0000 (02:57 -0700)]
Merge "Delete unused timeout constant."
am:
1439bbb6d5
Change-Id: I341540745196f1d23fb95263a8948561cdfa4c8e
Rubin Xu [Wed, 24 Apr 2019 09:53:44 +0000 (02:53 -0700)]
Merge "Reinstate new VPN uid filtering unit tests"
am:
554a15d5ea
Change-Id: Ib76c2cf319377141a374b3bdcf5e6606aaf9c06b
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"
Lorenzo Colitti [Wed, 24 Apr 2019 08:09:08 +0000 (17:09 +0900)]
Delete unused timeout constant.
Test: m
Bug:
129312219
Change-Id: I5b4c8b42dea515f674ff10d64d0e1d06d849cca1
Leland Miller [Wed, 24 Apr 2019 06:30:26 +0000 (23:30 -0700)]
Merge "Create new RcsMessageQueryResultParcelable"
am:
6af6e3a4f6
Change-Id: Id86442efa84f9c2ed49dc362f4a17466851dacfe
Treehugger Robot [Wed, 24 Apr 2019 06:12:47 +0000 (06:12 +0000)]
Merge "Create new RcsMessageQueryResultParcelable"
Aaron Huang [Wed, 24 Apr 2019 04:17:26 +0000 (21:17 -0700)]
Merge "Move NattKeepalivePacketData out of the framework"
am:
833edcbb1b
Change-Id: I3c291d378ed3dc54199708fdc188a908ccb3ee08
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:49:19 +0000 (14:49 -0700)]
Merge "Update API docs for country ISO APIs."
am:
990053e552
Change-Id: Id27a49ca6f817be0c7b358e0cce562ee17dfff69
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:39:26 +0000 (13:39 -0700)]
Merge "Add carrier display name related CarrierConfig"
am:
570f5dcae1
Change-Id: I8162117716296d3e707a192e4b61dc5fb3727fee
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 18:03:08 +0000 (11:03 -0700)]
Merge "Move to android_mallopt for malloc debug calls."
am:
aba4de21e0
Change-Id: Ibd755a60e862ff6db869bc412145d0058b9f7d41
Christopher Ferris [Tue, 23 Apr 2019 17:45:01 +0000 (17:45 +0000)]
Merge "Move to android_mallopt for malloc debug calls."
Jack Yu [Tue, 23 Apr 2019 17:21:10 +0000 (10:21 -0700)]
Merge "Fixed that emergency alert dialog not popped up"
am:
4da7f91b23
Change-Id: Iba1c3d277171a1727953509438d3cabacb9c45cb
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"
Lorenzo Colitti [Tue, 23 Apr 2019 16:17:49 +0000 (09:17 -0700)]
Merge "Add a timeout for the DNS probe."
am:
e721b4b83e
Change-Id: Ieca3cc8bd1983794aaa6268cdf4237d19b23cbea
Paul Hu [Tue, 23 Apr 2019 16:12:25 +0000 (09:12 -0700)]
Merge "Add tests for DhcpErrorEvent"
am:
367c758601
Change-Id: I7e6271e9becc974ea38d405914a87859ab700877
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:45:40 +0000 (01:45 -0700)]
Merge "Freeze the networkstack-aidl-interfaces interface"
am:
950767f9f9
Change-Id: I32e335756927110e3200f002d32f9e1e8acfd779
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 08:08:39 +0000 (01:08 -0700)]
Merge "[KA11] Verify fd ownership and allocate resource for NattKeepalive"
am:
fb36d44462
Change-Id: I2f5e0e11494866b054668c9224a8732cd8c035f9
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
sqian [Tue, 23 Apr 2019 01:39:09 +0000 (18:39 -0700)]
Merge "Fix urn compare in EmergencyNumber"
am:
1f55cbf416
Change-Id: I722e0b9093a569aa609ed9b239dc517442e74a2f
Treehugger Robot [Tue, 23 Apr 2019 01:29:25 +0000 (01:29 +0000)]
Merge "Fix urn compare in EmergencyNumber"
Chalard Jean [Tue, 23 Apr 2019 01:00:01 +0000 (18:00 -0700)]
Merge "Fix an argument to the legacy broadcast"
am:
b00786fe21
Change-Id: I76149167598a862a2cc519fbf0b08df0887b27f0
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"
Mathieu Chartier [Mon, 22 Apr 2019 21:01:38 +0000 (14:01 -0700)]
Merge "Disable iorap test mapping"
am:
46b3d6d05d
Change-Id: Ic644f166fee8f74818e03b8ec72cbae1756795bf
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:31:52 +0000 (13:31 -0700)]
Merge "Add NATT keepalive resources and methods into IpSecService"
am:
c345527430
Change-Id: I97e7451959d619f42d68a5c29cca410bf0740852
Nick Kralevich [Mon, 22 Apr 2019 20:26:19 +0000 (13:26 -0700)]
Merge "Reduce cbrubaker bus factor by 2"
am:
779be5e4a9
Change-Id: I5400d13731580eb45137f3a548c89892e1176d5e
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 18:07:43 +0000 (11:07 -0700)]
Merge "Add configurability of LinkProperties, meteredness for Test Networks"
am:
248cbf0025
Change-Id: I3ad0ccc7fefbd6bd8888cd1f3f396effcdbfdd3b
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 14:20:08 +0000 (07:20 -0700)]
Merge "Move more network unit tests to common tests"
am:
4a208ae14a
Change-Id: Id130368cd87ed262ef8eb926adf7b80fc3d7c2e3
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
Chalard Jean [Mon, 22 Apr 2019 08:25:57 +0000 (01:25 -0700)]
Merge "Fix a bug where + before % is ignored"
am:
11ad605e28
Change-Id: Ia91037ba91e1619d076bd936964125313cde3787
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:29:00 +0000 (19:29 -0700)]
Merge changes Id598ae1d,I475bd011
am:
1ad99fb064
Change-Id: Ic02f8d900b6b430dc1a8bbfdc03297ad52157390
Stanley Tng [Mon, 22 Apr 2019 02:17:24 +0000 (19:17 -0700)]
Merge "Add more documentation for LE CoC"
am:
964f6265ad
Change-Id: I40ba8a95f3df26cd7d036c781cd867abdb10ba6f
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 [Mon, 22 Apr 2019 00:13:47 +0000 (17:13 -0700)]
Merge "Make LegacyTypeTracker testable"
am:
54cedaca89
Change-Id: I7dd63d9676862d3416ff75b43f2f8bdbce07134a
Chalard Jean [Sun, 21 Apr 2019 23:57:14 +0000 (23:57 +0000)]
Merge "Make LegacyTypeTracker testable"
Colin Cross [Sun, 21 Apr 2019 17:34:14 +0000 (10:34 -0700)]
Merge "Remove framework.aidl rules"
am:
dcc27d0680
Change-Id: I58c3434d32a7c0ceb21eadca8e32b83b12e0c9e4
Colin Cross [Sun, 21 Apr 2019 17:20:17 +0000 (17:20 +0000)]
Merge "Remove framework.aidl rules"
Zach Johnson [Sat, 20 Apr 2019 03:42:31 +0000 (20:42 -0700)]
Merge "Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid"
am:
ce5fdc042a
Change-Id: Ib08fcd957f2eb162d9021d4b7a9ef7dcda5be646
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 02:17:46 +0000 (19:17 -0700)]
Merge changes from topic "R"
am:
39a77f1951
Change-Id: I32a27fb346e236a6836d4c139cac2fb4cfdb733d
Ryan Mitchell [Sat, 20 Apr 2019 02:10:25 +0000 (19:10 -0700)]
AAPT2: Update SDK development codename to Q
am:
ad5b4ba2a2
Change-Id: Ief47a337a79c4b2ae8cfa27bcbe5cc75f18c4887
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
Yiwei Zhang [Fri, 19 Apr 2019 21:38:53 +0000 (14:38 -0700)]
Merge changes from topic "GameDriver3"
am:
5d832d2988
Change-Id: If2449acb0eef75ad81d913ab8fc07ae927f2ab8e
Jack Yu [Fri, 19 Apr 2019 21:26:46 +0000 (14:26 -0700)]
Merge "Return copies for get methods"
am:
0c9a514c20
Change-Id: Ic082bc01fc23b902b6412f6e242759c25662146a
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"
Dan Willemsen [Fri, 19 Apr 2019 19:56:42 +0000 (12:56 -0700)]
Merge "Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS"
am:
644792c7d6
Change-Id: I659115cec0db8ccae778e1b842a08bb04c63e10f
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
Jack Yu [Tue, 16 Apr 2019 15:20:18 +0000 (08:20 -0700)]
Return copies for get methods
NetworkRegistrationInfo and ServiceState are not
immutable class. Their get methods should return a new
copy of object so the caller won't modify its state.
Bug:
130538118
Test: Unit tests + manual
Merged-In: I51662a92b0b6189a8c8aa017085affedac417190
Change-Id: I51662a92b0b6189a8c8aa017085affedac417190
(cherry picked from commit
37538594e68dea9a1965ffb8307b259d8cf3717b)
Xiangyu/Malcolm Chen [Fri, 19 Apr 2019 17:14:32 +0000 (10:14 -0700)]
Merge changes from topic "
128616035"
am:
dc4d14b37a
Change-Id: I0f9807127cdd46079a969532bdeb121bf544921d
Xiangyu/Malcolm Chen [Fri, 19 Apr 2019 16:53:19 +0000 (16:53 +0000)]
Merge changes from topic "
128616035"
* changes:
Adding @hide API to return whether an APN is metered or not.
Add API to set alwaysAllowMms
Aaron Huang [Tue, 2 Apr 2019 07:36:00 +0000 (15:36 +0800)]
Move NattKeepalivePacketData out of the framework
For implementing parcelable interface for NattKeepalivePacketData.
Move this class out of framework.jar and move to services.jar
This class is used in telephony-common.jar and it also loads
service.jar.
Bug:
33530442
Test: - build pass
- atest NetworkStackTests
- atest ConnectivityServiceTest
Change-Id: Id2fdec5c4015d2cefd8a93e0cfdcc3c304fc9b64
Tyler Gunn [Fri, 19 Apr 2019 15:46:11 +0000 (08:46 -0700)]
Merge "Add CallLog provider loggging to check for app-ops denial."
am:
cc469a276b
Change-Id: I14099b4e5c28b85623fafab0add45b44d828e340
Tyler Gunn [Fri, 19 Apr 2019 15:33:53 +0000 (15:33 +0000)]
Merge "Add CallLog provider loggging to check for app-ops denial."
Irina Dumitrescu [Fri, 19 Apr 2019 12:08:54 +0000 (05:08 -0700)]
Merge "Don't call ConnectivityService when holding ActivityManagerService lock."
am:
31c89ed72e
Change-Id: I6f371c32085d7e76cac1891b7ff5dbf3a5e8d415