OSDN Git Service
Hui Yu [Wed, 13 Feb 2019 20:10:27 +0000 (20:10 +0000)]
Revert "RESTRICT AUTOMERGE: Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"
This reverts commit
a738111eeea622a25cb50ed7bcae5cbf0218b137.
Reason for revert: mistakenly used "RESTRICT AUTOMERGE" on the title.
Change-Id: I7ec9917887763912114405ba89eb5f0fac328d97
Hui Yu [Fri, 8 Feb 2019 23:28:45 +0000 (15:28 -0800)]
RESTRICT AUTOMERGE: Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master
To pick up statsd atom ProcessStartTime.
Bug: None.
Test: NA.
Change-Id: If6b99c0b6b501036ffde1e9a45194a039a8d7c73
Merged-In: Ifcc0c80f1da45c2ff89f7c88da6407ba777473e2
Treehugger Robot [Tue, 12 Feb 2019 18:35:23 +0000 (18:35 +0000)]
Merge "Schematize ADB system properties"
Steven Moreland [Tue, 12 Feb 2019 18:29:24 +0000 (18:29 +0000)]
Merge "Remove duplicate networkstack-aidl-interfaces-java"
Steven Moreland [Tue, 12 Feb 2019 17:51:35 +0000 (17:51 +0000)]
Merge "Remove ParcelFileDescriptor.aidl"
Treehugger Robot [Tue, 12 Feb 2019 17:32:40 +0000 (17:32 +0000)]
Merge "Remove unused build variable framework_docs_args"
Jack Yu [Tue, 12 Feb 2019 16:52:48 +0000 (16:52 +0000)]
Merge "Removed unused variables in cat service"
Paul Duffin [Tue, 12 Feb 2019 12:37:20 +0000 (12:37 +0000)]
Remove unused build variable framework_docs_args
Bug:
124218911
Test: make checkbuild
Change-Id: I39c73bc8bee3824161e91967ec187ce60e838b48
Leland Miller [Tue, 12 Feb 2019 08:54:04 +0000 (08:54 +0000)]
Merge "Add getOrCreateCanonicalAddressId"
Remi NGUYEN VAN [Tue, 12 Feb 2019 04:47:43 +0000 (04:47 +0000)]
Merge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack"
Remi NGUYEN VAN [Tue, 12 Feb 2019 03:58:09 +0000 (03:58 +0000)]
Merge "Remove hard-coded NetworkStack package name"
Treehugger Robot [Tue, 12 Feb 2019 03:42:40 +0000 (03:42 +0000)]
Merge "Grant Shell ability to clear instant app"
Treehugger Robot [Tue, 12 Feb 2019 03:36:58 +0000 (03:36 +0000)]
Merge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs"
Pengquan Meng [Tue, 12 Feb 2019 03:08:57 +0000 (03:08 +0000)]
Merge "Add get/set PreferredNetworkTypeBitmap"
Kiyoung Kim [Thu, 27 Dec 2018 05:29:54 +0000 (14:29 +0900)]
Schematize ADB system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.
Bug:
117924132
Test: m -j
Change-Id: I654c0e1f234d097a66f79ba8c019b8bebc794816
Merged-In: I654c0e1f234d097a66f79ba8c019b8bebc794816
Steven Moreland [Tue, 12 Feb 2019 02:54:09 +0000 (18:54 -0800)]
Remove ParcelFileDescriptor.aidl
This is now a built-in type in AIDL.
Bug: N/A
Test: N/A
Change-Id: Ibbc1251ce3378fed39b7edeb611185358a1c0dc0
Treehugger Robot [Tue, 12 Feb 2019 02:50:08 +0000 (02:50 +0000)]
Merge "Schematize Display system properties"
Treehugger Robot [Tue, 12 Feb 2019 01:24:44 +0000 (01:24 +0000)]
Merge "Convert Android.mk file to Android.bp"
Steven Moreland [Tue, 12 Feb 2019 01:11:54 +0000 (17:11 -0800)]
Remove duplicate networkstack-aidl-interfaces-java
Bug: N/A
Test: N/A
Change-Id: Id34a25e54f742d20e7d451e88d2712c9ed9cdd05
Nazanin Bakhshi [Tue, 12 Feb 2019 00:37:43 +0000 (00:37 +0000)]
Merge "Make isRebootRequiredForModemConfigChange SystemApi"
Treehugger Robot [Tue, 12 Feb 2019 00:33:34 +0000 (00:33 +0000)]
Merge "Convert Android.mk file to Android.bp"
Joseph Pirozzo [Tue, 12 Feb 2019 00:29:30 +0000 (00:29 +0000)]
Merge "Check PBAP Server before disconnecting"
Treehugger Robot [Tue, 12 Feb 2019 00:07:59 +0000 (00:07 +0000)]
Merge "Add owners for accessibility"
Jordan Liu [Mon, 11 Feb 2019 23:57:49 +0000 (23:57 +0000)]
Merge "Clarify PhoneStateListener documentation"
Michele Berionne [Mon, 11 Feb 2019 23:47:25 +0000 (23:47 +0000)]
Merge "Add API to check if a SIM card matches carrier restrictions."
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 23:19:17 +0000 (23:19 +0000)]
Merge changes from topics "
118348832", "
120945564"
* changes:
Adding validationBeforeSwitchSupported in phoneCapability.
Add API to handle user's subscription selection changes.
Sasha Smundak [Mon, 11 Feb 2019 22:41:25 +0000 (14:41 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I52416790e1e4493dd4fe57404095351b8d37ea22
Sasha Smundak [Mon, 11 Feb 2019 22:29:27 +0000 (14:29 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I07364347c6bf178f2ff84ed64e1c39c97559b99d
Sahin Caliskan [Mon, 11 Feb 2019 22:25:16 +0000 (22:25 +0000)]
Merge "Unhide RcsMessageStore APIs"
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 22:18:41 +0000 (22:18 +0000)]
Merge "Adding READ_PRECISE_CALL_STATE permission in phone app."
Jack Yu [Mon, 11 Feb 2019 21:48:58 +0000 (13:48 -0800)]
Removed unused variables in cat service
Test: build
Change-Id: I62448494ffddbf2a578302873c8758321766e3d7
Jordan Liu [Mon, 11 Feb 2019 19:36:49 +0000 (11:36 -0800)]
Clarify PhoneStateListener documentation
onXStateChanged() methods are called when the X state changes, but also
once on initial registration. This is called out in the documentation
for TelephonyManager.listen(), but we should clarify it here too.
Fixes:
124204168
Test: no change to behavior
Change-Id: Ie0fe8c90ff5610597f810d6ba8425138b8a286ee
Nazanin Bakhshi [Fri, 8 Feb 2019 20:45:31 +0000 (12:45 -0800)]
Make isRebootRequiredForModemConfigChange SystemApi
Bug:
124074656
Test: build
Change-Id: I32c6b0786d32b05d690cea862e977e6a2b756c90
Joseph Pirozzo [Thu, 31 Jan 2019 18:58:22 +0000 (10:58 -0800)]
Check PBAP Server before disconnecting
Update disconnect logic to ensure that the proxy to the PBAP server
exists before issueing disconnect. This brings the code in line with
several of the connect calls.
Bug:
123700890
Test: Disable PBAP server from config, and disconnect a paired device.
Change-Id: Ie14feb5c0fb70f1ed68ba21bc12b4d3349933cc6
Leland Miller [Fri, 25 Jan 2019 00:09:10 +0000 (16:09 -0800)]
Add getOrCreateCanonicalAddressId
This is used exclusively for RCS message storage to retrieve canonical
address IDs for participants.
Test: CtsRcsTestCases
Change-Id: Idd935b8d7787db9597b643551714f134d63b33c0
Sahin Caliskan [Thu, 7 Feb 2019 22:46:21 +0000 (14:46 -0800)]
Unhide RcsMessageStore APIs
This change unhides the RcsMessageStore APIs
Test: Existing tests pass. Repo upload didn't complain about anything
API related
Bug:
109759350
Change-Id: Ifc980dd9173df520bad899a7a6681e6da63e46fc
Paul Duffin [Mon, 11 Feb 2019 15:25:55 +0000 (15:25 +0000)]
Merge "Deprecate ref... methods in MethodHandleInfo"
Andrei-Valentin Onea [Mon, 11 Feb 2019 11:26:46 +0000 (11:26 +0000)]
Merge "Fix regression in Dalvik:HEAP_TOTAL"
Jack Yu [Sat, 9 Feb 2019 20:22:03 +0000 (20:22 +0000)]
Merge "Added handover support in the factory"
Jack Yu [Fri, 8 Feb 2019 18:03:36 +0000 (10:03 -0800)]
Added handover support in the factory
Test: Manual
Bug:
73659459
Merged-In: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
Change-Id: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
(cherry picked from commit
5f1186eca98a1c5b0de29b1e69a400f8c42e84f0)
Treehugger Robot [Sat, 9 Feb 2019 04:09:45 +0000 (04:09 +0000)]
Merge "Atom: add more information to BluetootSocketConnectionStateChanged"
Treehugger Robot [Sat, 9 Feb 2019 01:59:29 +0000 (01:59 +0000)]
Merge "WebView: propose myself as OWNER"
Colin Cross [Fri, 8 Feb 2019 19:33:33 +0000 (11:33 -0800)]
Unzip offline-sdk-docs for m offline-sdk-docs or m docs
offline-sdk-docs is the most useful target for local developers
verifying documentation changes. Unzip offline-sdk-docs.zip
into out/target/common/docs/offline-sdk/ whenever the offline-sdk-docs
or docs targets are built.
Fixes:
124115897
Test: m offline-sdk-docs
Change-Id: I92ce65742e7475cc64a688f2b1893c96ecfd2a52
Paul Duffin [Fri, 8 Feb 2019 14:59:46 +0000 (14:59 +0000)]
Deprecate ref... methods in MethodHandleInfo
These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.
Bug:
114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d
Mathieu Chartier [Fri, 8 Feb 2019 13:34:08 +0000 (13:34 +0000)]
Merge "Disable view compiler for protected storage"
Mathieu Chartier [Wed, 6 Feb 2019 20:54:23 +0000 (12:54 -0800)]
Disable view compiler for protected storage
Protected storage has selinux restrictions that currently prevent
views being generated there.
(cherry picked from commit
c8aa8ff300761a2d8b1c4770bf38a4b30fe566cd)
Bug:
111895153
Bug:
123778117
Test: manual
Exempt-From-Owner-Approval: cherry-pick
Merged-In: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
Change-Id: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
Paul Duffin [Fri, 8 Feb 2019 11:51:39 +0000 (11:51 +0000)]
Merge "Add TEST_MAPPING for api specifications"
Amit Mahajan [Fri, 8 Feb 2019 06:56:37 +0000 (06:56 +0000)]
Merge "Fallback to other format for decoding pdu if needed."
Remi NGUYEN VAN [Thu, 7 Feb 2019 12:29:57 +0000 (21:29 +0900)]
Remove hard-coded NetworkStack package name
Have the network stack pass its package name in
showProvisioningNotification instead.
Bug:
124033493
Test: flashed, WiFi and captive portal works
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1f3312768ba1fb34e99a827e1fcdaf7510e318a8
Malcolm Chen [Thu, 24 Jan 2019 18:56:01 +0000 (10:56 -0800)]
Adding validationBeforeSwitchSupported in phoneCapability.
Bug:
118348832
Test: sanity
Change-Id: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
Merged-In: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
Jack He [Thu, 7 Feb 2019 21:52:45 +0000 (13:52 -0800)]
Atom: add more information to BluetootSocketConnectionStateChanged
* Add server_port field to track the server port number of a socket
* Add socket_role field to track whether the socket is a server listener
or a connection socket
* Add uid field to track the owner of the socket
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I0c86b724c748844009b8120befd454fb96137a61
Malcolm Chen [Fri, 14 Dec 2018 03:24:03 +0000 (19:24 -0800)]
Add API to handle user's subscription selection changes.
When user selects a eSIM subscription, Settings app informs Telephony.
Telephony needs to take actions such as writting it into global
settings, switch profiles and notify registrants, for example
AlternativeNetworkAccessService.
Bug:
120945564
Test: unittest
Change-Id: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
Merged-In: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
Malcolm Chen [Tue, 22 Jan 2019 21:46:17 +0000 (13:46 -0800)]
Adding READ_PRECISE_CALL_STATE permission in phone app.
This is needed if internal component wants to listen to
precise call state change.
Bug:
117980553
Test: unittest
Change-Id: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Merged-In: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Nathan Harold [Fri, 8 Feb 2019 01:24:22 +0000 (01:24 +0000)]
Merge "Update CellInfo Documentation on Updates"
Nathan Harold [Fri, 8 Feb 2019 01:22:52 +0000 (01:22 +0000)]
Merge "Coerce Unreported BER from ASU=99 to UNAVAILABLE"
Michele [Tue, 5 Feb 2019 19:45:29 +0000 (11:45 -0800)]
Add API to check if a SIM card matches carrier restrictions.
Add API to check if one SIM card or a combination of SIM cards for
multisim devices is allowed on the terminal, based on the existing
carrier restriction rules.
Bug:
123939943
Test: added test cases for the new API
Change-Id: Ieaa3c25da75e04e2acb3b169e10638d967732f99
Amit Mahajan [Thu, 7 Feb 2019 23:53:18 +0000 (23:53 +0000)]
Merge "Include phoneId as extra when subId is not available."
Alexander Smundak [Thu, 7 Feb 2019 23:03:02 +0000 (23:03 +0000)]
Merge "Provide java_defaults as a counterpart to the settings.mk file"
Sahin Caliskan [Thu, 7 Feb 2019 22:05:00 +0000 (22:05 +0000)]
Merge "Make RCS Message Store APIs ready to unhide"
Mathieu Chartier [Thu, 7 Feb 2019 21:28:37 +0000 (21:28 +0000)]
Merge "Add use_app_image_startup_cache feature flag"
Amit Mahajan [Thu, 7 Feb 2019 20:29:55 +0000 (12:29 -0800)]
Include phoneId as extra when subId is not available.
Test: basic sanity
Bug:
122819162
Change-Id: Ia55b5550930b1e34e14e46c718261ec11ac56f43
Amit Mahajan [Thu, 7 Feb 2019 20:13:05 +0000 (12:13 -0800)]
Fallback to other format for decoding pdu if needed.
The specified format is mostly a guess based on the current phone
type/voice RAT. It may not always be correct and so we should always
fallback to the other format.
Test: basic sanity
Bug:
20015718
Change-Id: Ia1177d19035ff485ca27175ba2375e0f6fe2a966
Sahin Caliskan [Wed, 6 Feb 2019 18:11:39 +0000 (10:11 -0800)]
Make RCS Message Store APIs ready to unhide
This change makes necessary changes to unhide the APIs in a future
commit. All the classes that end with Parameters needed to be converted
to Params, which resulted in a rather large change. I also had to reintroduce
RcsOutgoingMessageCreationParameters as it was required to make
Parcelables final, which means I had to make this new class parcelable
and RcsMessageCreationParameters non-parcelable and non-final
Test: Existing tests pass
Bug:
109759350
Change-Id: I2fe9382d28a9abf02ad22ec7ccdeaedc55ae4337
Phil Weaver [Thu, 7 Feb 2019 18:49:59 +0000 (10:49 -0800)]
Add owners for accessibility
Test: Relying on treehugger. No functional changes.
Change-Id: I2511b04e56301bd34a8eaced7be8dd8582cc3cc7
Andrei Onea [Wed, 6 Feb 2019 14:44:22 +0000 (14:44 +0000)]
Fix regression in Dalvik:HEAP_TOTAL
Make HiddenApiUsageLogger a singleton initialised in Zygote pre-fork and
rely on copy-on-write to prevent heap size increases
Test: atest google/perf/memory/memory-test
Bug:
123705750
Change-Id: I384d3bdefa6525fcce494783c548e85979bce4d5
Merged-In: Idc5ad13d4e158659009290f410ce721013345308
Treehugger Robot [Thu, 7 Feb 2019 10:20:01 +0000 (10:20 +0000)]
Merge "Deprecate BreakIterator.getTitleInstance() functions and KIND_TITLE field"
Treehugger Robot [Thu, 7 Feb 2019 07:27:33 +0000 (07:27 +0000)]
Merge "Move hiddenapi rules to Soong"
Pengquan Meng [Tue, 11 Dec 2018 19:37:25 +0000 (11:37 -0800)]
Add get/set PreferredNetworkTypeBitmap
Bug:
111453000
Test: build
Merged-In: Icbd3b2108ce8eb75e863dcf38fb8249c1e37ea91
Change-Id: Icbd3b2108ce8eb75e863dcf38fb8249c1e37ea91
Chih-hung Hsieh [Thu, 7 Feb 2019 06:21:24 +0000 (06:21 +0000)]
Merge "Add default code reviewers into OWNERS"
Chih-Hung Hsieh [Wed, 6 Feb 2019 18:21:48 +0000 (10:21 -0800)]
Add default code reviewers into OWNERS
Bug:
33166666
Test: gerrit uploader
Change-Id: Ief5d4bf9005bb3a712803101f98dd2b876662eb8
Remi NGUYEN VAN [Thu, 7 Feb 2019 03:33:54 +0000 (03:33 +0000)]
Merge "Check MAINLINE_NETWORK_STACK in ConnectivityService"
Remi NGUYEN VAN [Mon, 4 Feb 2019 05:26:32 +0000 (14:26 +0900)]
Remove INTERACT_ACROSS_USERS_FULL for NetworkStack
Replace with INTERACT_ACROSS_USERS, which is needed to send the
ACTION_NETWORK_CONDITIONS_MEASURED broadcast.
Also cleanup some non-privileged permissions that were added to the
priv-app file.
Test: built, booted, broadcast and captive portal login work
Bug:
123846255
Change-Id: I3c97c166e80c19bf57fa047709c8b91fca75d635
Remi NGUYEN VAN [Thu, 7 Feb 2019 02:39:17 +0000 (02:39 +0000)]
Merge "Add API for NetworkStack to start captive portal"
Amit Mahajan [Thu, 7 Feb 2019 01:31:18 +0000 (01:31 +0000)]
Merge "Avoid NPE caused by null encodedBearerData in privateGetSubmitPdu"
Amit Mahajan [Thu, 7 Feb 2019 01:30:09 +0000 (01:30 +0000)]
Merge "Use correct PLMN info for an incoming CB-SMS"
Treehugger Robot [Wed, 6 Feb 2019 23:44:05 +0000 (23:44 +0000)]
Merge "Update navigation bar upon change of display density"
Chih-hung Hsieh [Wed, 6 Feb 2019 22:01:44 +0000 (22:01 +0000)]
Merge "Work around clang-tidy bug in dex_builder.cc."
Youming Ye [Wed, 6 Feb 2019 21:55:06 +0000 (21:55 +0000)]
Merge "Add connect time to conference participant."
Treehugger Robot [Wed, 6 Feb 2019 20:36:24 +0000 (20:36 +0000)]
Merge "Atom: Add BluetoothSocketConnectionStateChanged"
Mathieu Chartier [Mon, 4 Feb 2019 21:28:36 +0000 (13:28 -0800)]
Add use_app_image_startup_cache feature flag
Passed down to the zygote if the corresponding system property is set:
runtime_native / use_app_image_startup_cache.
Bug:
123524494
Bug:
116059983
Test: adb shell device_config put runtime_native use_app_image_startup_cache true
(cherry picked from commit
ced7e08129902f007afa7a87bdcf5a122fd67658)
Merged-In: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
Change-Id: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
Jack He [Thu, 31 Jan 2019 01:24:55 +0000 (17:24 -0800)]
Atom: Add BluetoothSocketConnectionStateChanged
* Logs when a Bluetooth socket's connection state is changed
* A Bluetooth socket can be:
- RFCOMM socket
- SCO socket
- BR/EDR L2CAP socket
- BLE L2CAP socket
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
Merged-In: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
(cherry picked from commit
815cdbaae0577654a6c019abbbd6d596e8cdb703)
Sasha Smundak [Fri, 11 Jan 2019 01:15:18 +0000 (17:15 -0800)]
Provide java_defaults as a counterpart to the settings.mk file
Test: treehugger
Change-Id: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
Merged-In: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
Neil Fuller [Wed, 6 Feb 2019 18:02:38 +0000 (18:02 +0000)]
Merge "Revert "Minimum viable TimeZoneDetectorService""
Chalard Jean [Wed, 6 Feb 2019 17:54:28 +0000 (17:54 +0000)]
Merge "[KA07] Drop TCP keepalive ack packets"
Sahin Caliskan [Wed, 6 Feb 2019 17:44:09 +0000 (17:44 +0000)]
Merge "Implementation of RcsMessageStore APIs [base]"
nchalko [Wed, 6 Feb 2019 16:33:19 +0000 (16:33 +0000)]
Merge "Fix reference leak on TvInputManagerService"
Sahin Caliskan [Thu, 24 Jan 2019 22:32:12 +0000 (14:32 -0800)]
Implementation of RcsMessageStore APIs [base]
This change adds the implementation of RcsMessageStore. Please see the
bug for the design and one-pager
Test: Added unit tests
Bug:
109759350
Change-Id: I6049dcf74ef9e19a38ce58148a89497992bc1c98
Chalard Jean [Wed, 6 Feb 2019 15:13:02 +0000 (15:13 +0000)]
Merge "[KA04] Expose TCP socket keepalive API"
Paul Duffin [Mon, 4 Feb 2019 15:43:20 +0000 (15:43 +0000)]
Add TEST_MAPPING for api specifications
Changes to the various api directories will run the
tests which make use of the API specification in those directories.
Could not include CtsSystemApiSignatureTestCases as it is broken on
git_master because of bug
116632058.
Bug:
123254057
Test: atest
Change-Id: I1fe4ca498cbd0393aba7cf4c1386a6325ace7937
Aaron Huang [Tue, 15 Jan 2019 08:53:51 +0000 (16:53 +0800)]
[KA07] Drop TCP keepalive ack packets
To support TCP keepalive offload, APF filter needs to add program
for dropping keepalive ack packets when offload is starting.
Bug:
114151147
Test: runtest frameworks-net -c android.net.apf.ApfTest
Change-Id: If16a9bc04eb29dfedb950b6e4c85fe9ad4cf259f
junyulai [Tue, 8 Jan 2019 12:04:33 +0000 (20:04 +0800)]
[KA04] Expose TCP socket keepalive API
The new set of API allows applications to request keepalives
offload for established TCP sockets over wifi.
However, the application must not write to or read from the
socket after calling this method, until specific callbacks are
called.
Bug:
114151147
Test: atest FrameworksNetTests FrameworksWifiTests NetworkStackTests
Change-Id: I3880505dbc35fefa34ef6c79555458ecf5d296a4
Remi NGUYEN VAN [Wed, 6 Feb 2019 10:58:54 +0000 (10:58 +0000)]
Merge "Add Os.bind, Os.sendTo to public API"
Kyeongkab.Nam [Wed, 16 Jan 2019 01:44:37 +0000 (10:44 +0900)]
Fix reference leak on TvInputManagerService
Fix reference leak when TV input changed.
Test: 1. Modify to call android.os.Debug.dumpReferenceTables() in
TvInputManagerService#onServiceConnected
2. Build and run
3. Repeat to launch and finish TV player application with logcat output
4. Confirm Global Reference Table information on logcat whether
reference increase
Change-Id: I9b9896115088d8b179a9cf29ddca88e8a8fa529a
Chalard Jean [Wed, 6 Feb 2019 09:19:07 +0000 (09:19 +0000)]
Merge "[KA03.5] Add stable AIDL parcelable for TcpKeepalivePacketData"
Remi NGUYEN VAN [Thu, 31 Jan 2019 07:42:12 +0000 (16:42 +0900)]
Check MAINLINE_NETWORK_STACK in ConnectivityService
Treat NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK as equivalent to
NETWORK_STACK, CONNECTIVITY_INTERNAL and NETWORK_SETTINGS combined.
NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK is defined as signature
permission in NetworkStackPermissionStub, which is signed with the
platform certificate, so requirements are the same for both permissions.
The permission is defined by NetworkStackPermissionStub and only used by
NetworkStack, which must be signed with the same key as the stub.
Test: flashed, booted, WiFi works, also with changes on top removing
CONNECTIVITY_INTERNAL and NETWORK_SETTINGS
Bug:
112869080
Change-Id: I9d0ea8fc99eadf7e902421efdba9b8bf535658b8
Treehugger Robot [Wed, 6 Feb 2019 08:32:10 +0000 (08:32 +0000)]
Merge "Deprecate getActiveLinkProperties."
Remi NGUYEN VAN [Mon, 4 Feb 2019 02:32:20 +0000 (11:32 +0900)]
Add API for NetworkStack to start captive portal
Endpoints protected with INTERACT_ACROSS_USERS_FULL, such as
startActivityAsUser, should only be used by modules signed with the
platform cert. The NetworkStack needs to have the system server start
the application so this restriction can be applied.
Bug:
123846255
Test: flashed, captive portal works from primary and secondary user
Change-Id: Ib3e427b3fd03ced80c02985e795f79b096a2ec9a
Bernie Innocenti [Wed, 6 Feb 2019 07:22:01 +0000 (07:22 +0000)]
Merge "Give owneship of packages/NetworkStack to Android Core Networking"
Bernie Innocenti [Wed, 6 Feb 2019 06:21:09 +0000 (15:21 +0900)]
Give owneship of packages/NetworkStack to Android Core Networking
Test: ../../build/make/tools/checkowners.py packages/NetworkStack/OWNERS
Change-Id: I6254f1ac2a24611ca6901f8f940d9e5babaaf373
Chalard Jean [Fri, 11 Jan 2019 07:47:53 +0000 (16:47 +0900)]
Deprecate getActiveLinkProperties.
There are other, more idiomatic ways to do this. Deprecating this
with usage limited to P will curb usage and reduce the maintenance
load.
This also deprecates the extra EXTRA_NETWORK_TYPE, which has
survived from an old world but has only been used in deprecated
broadcasts for some time.
Bug:
109783091
Test: eyeball current.txt
Change-Id: I87b74833bb4ec362ee3fd07511a66d318c29067d