OSDN Git Service
Treehugger Robot [Thu, 13 Dec 2018 03:39:11 +0000 (03:39 +0000)]
Merge "Delete unused import"
Aaron Huang [Thu, 13 Dec 2018 03:05:56 +0000 (03:05 +0000)]
Merge "Add an APF unit test to drop all packets in the pcap file"
Treehugger Robot [Thu, 13 Dec 2018 01:46:54 +0000 (01:46 +0000)]
Merge "Switch to metalava"
Chenbo Feng [Tue, 11 Dec 2018 22:15:57 +0000 (14:15 -0800)]
Delete unused import
The hasBpfSupport() check from BpfUtils is not used by the native helper
in framework. Remove them.
Bug:
111441138
Test: Build without failure.
Change-Id: Icdd01bf1a03efd7883e4939d0d730303ec1004e7
Lorenzo Colitti [Thu, 13 Dec 2018 00:43:47 +0000 (00:43 +0000)]
Merge "Add asynchronous DNS query API"
Jordan Liu [Wed, 12 Dec 2018 22:20:03 +0000 (22:20 +0000)]
Merge "Add API to get card ID for default eUICC"
Andy Hung [Wed, 12 Dec 2018 21:37:04 +0000 (21:37 +0000)]
Merge "Visualizer: fix native crash when visualizer release"
zengjing [Sat, 29 Sep 2018 05:19:15 +0000 (13:19 +0800)]
Visualizer: fix native crash when visualizer release
Visualizer should not be destroyed before mCaptureThread exit.
Test: CTS VisualizerTest
Change-Id: I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4
Signed-off-by: zengjing <zengjing@xiaomi.com>
Michele Berionne [Wed, 12 Dec 2018 18:58:28 +0000 (18:58 +0000)]
Merge "Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING"
Steven Moreland [Wed, 12 Dec 2018 16:19:43 +0000 (16:19 +0000)]
Merge "SystemConfig: allow reading sku specific props"
Treehugger Robot [Wed, 12 Dec 2018 16:09:05 +0000 (16:09 +0000)]
Merge "API: Clean up redundant and ineffective usages of SystemApi and TestApi"
Treehugger Robot [Wed, 12 Dec 2018 14:07:37 +0000 (14:07 +0000)]
Merge "APEX list can be retrieved via the shell command."
Adrian Roos [Tue, 11 Dec 2018 18:47:33 +0000 (19:47 +0100)]
API: Clean up redundant and ineffective usages of SystemApi and TestApi
Everything that is marked SystemApi or TestApi, but not @hide is still
part of the public SDK, it is therefore not sound to have that combination.
In the future, specifing such a combination will be considered an error
to prevent inadvertently exposing SystemApi and TestApi as public API.
Bug:
115333477
Change-Id: Ibd5d6a22862fdbc1e20a1cb3925280f5a682edea
Merged-In: Ibd5d6a22862fdbc1e20a1cb3925280f5a682edea
Test: METALAVA_PREPEND_ARGS="--error UnhiddenSystemApi" m checkapi
Exempt-From-Owner-Approval: API cleanup
Treehugger Robot [Wed, 12 Dec 2018 10:22:05 +0000 (10:22 +0000)]
Merge "Set system property for FULL bugreport instead of default."
Sundong Ahn [Tue, 20 Nov 2018 08:47:23 +0000 (17:47 +0900)]
Switch to metalava
android.test.base and android.test.runner libraries are changed to using
metalava instead of docalava
Bug:
119625999
Test: m -j
Change-Id: I589ea59240f8b5d442931a1f1b614221d9eaf221
Abhijeet Kaur [Wed, 5 Dec 2018 14:21:57 +0000 (14:21 +0000)]
Set system property for FULL bugreport instead of default.
The addition of DEFAULT mode in dumpstate service requires FULL bugreport to be distinguished from DEFAULT as the system property is empty in both the cases, but the effective arguments are different.
Test: Full bugreport is being generated as usual from the device:
1. Settings->developer options -> Take a bug report -> Full
report.
2. Enable bugreport shortcut from the settings. Long press power
button and then long press 'Take a bug report' button.
3. Long press power, volume up and volume down buttons.
Bug:
119877616
Change-Id: I07bc279221ac9fc03967b887ee511f276f0ec040
Lorenzo Colitti [Wed, 12 Dec 2018 06:17:25 +0000 (06:17 +0000)]
Merge changes from topic "netd-event-listener-aidl"
* changes:
Depend on the stable AIDL version of the netd metrics interface.
Delete INetworkManagementService#getNetdService.
Etan Cohen [Wed, 12 Dec 2018 05:25:38 +0000 (05:25 +0000)]
Merge "[CM] Fix comments, add tests to TransportInfo API"
Chih-hung Hsieh [Wed, 12 Dec 2018 02:58:22 +0000 (02:58 +0000)]
Merge "Fix cert-dcl16-c clang-tidy warnings."
Jiyong Park [Tue, 11 Dec 2018 04:37:17 +0000 (13:37 +0900)]
APEX list can be retrieved via the shell command.
When 'list package' command is invoked with '--apex-only' flag, APEXes that
are activated are listead instead of the ordinary APK packages.
Bug:
117589375
Test: `cmd package list packages --apex-only` and
`pm list packages --apex-only` shows apexes
package:com.android.resolv
package:com.android.runtime
package:com.android.tzdata
Change-Id: Ie0f7cc37db0a30e55e2b717be75f5028fbd06ede
Etan Cohen [Mon, 10 Dec 2018 22:07:15 +0000 (14:07 -0800)]
[CM] Fix comments, add tests to TransportInfo API
Bug:
117605977
Test: atest NetworkCapabilitiesTest
Change-Id: I734ec56e44cd09d11ae81a856a53a26e1191b9a0
Hall Liu [Tue, 11 Dec 2018 22:58:45 +0000 (22:58 +0000)]
Merge "Add fields for PhoneAccount to CallerInfo"
Brad Ebinger [Tue, 11 Dec 2018 22:57:26 +0000 (22:57 +0000)]
Merge "Changes to IMS SS API to better fit API standards/"
Jordan Liu [Fri, 7 Dec 2018 00:11:08 +0000 (16:11 -0800)]
Add API to get card ID for default eUICC
getCardIdForDefaultEuicc() returns the cardId of the default eUICC.
Bug:
80097562
Test: manual, UiccControllerTest
Change-Id: Iee001ce354184dff4862a92b6bda261797c19e56
Luke Huang [Tue, 20 Nov 2018 03:38:23 +0000 (11:38 +0800)]
Add asynchronous DNS query API
Adds support for asynchronous "raw" DNS API for clients.
API allows apps to use multinetworking capability correctly
and also allows other query types than A/AAAA.
Test: built, flashed, booted
cts test: NativeDnsAsyncTest
Change-Id: I4701b76bd8f0094ef1bdd7c5371b54387914a91b
Shuo Qian [Tue, 11 Dec 2018 19:43:00 +0000 (19:43 +0000)]
Merge "Add Call redirection app in Telecom test-commands"
Chih-Hung Hsieh [Mon, 10 Dec 2018 21:52:46 +0000 (13:52 -0800)]
Fix cert-dcl16-c clang-tidy warnings.
Bug:
120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I2dc262d3407aafa969e921236dc3fc3ae60eb9d4
Michele Berionne [Tue, 11 Dec 2018 18:58:05 +0000 (10:58 -0800)]
Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING
Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING, so that
it can be used by applications.
Bug:
116527591
Test: Verified compilation.
Change-Id: I6ca2c89ed68ac190dc14a39ae4d9102632ad000a
Treehugger Robot [Tue, 11 Dec 2018 16:28:07 +0000 (16:28 +0000)]
Merge "Add persist.zygote.core_dump property for coredumps"
Lorenzo Colitti [Tue, 11 Dec 2018 04:45:14 +0000 (13:45 +0900)]
Depend on the stable AIDL version of the netd metrics interface.
We used to include the AIDL file directly, but that does not
provide useful features such as getVersion() support and is
generally not the preferred approach.
Test: builds, boots
Test: atest FrameworksNetTests android.net.cts.ConnectivityManagerTest
Change-Id: I7ca56e4b440dc2321f5a7b77bac630a48e69100a
Paul Duffin [Tue, 11 Dec 2018 13:26:09 +0000 (13:26 +0000)]
Merge "Switch last c.a.i18n.phonenumbers hiddenapi entries to annotations"
Junyu Lai [Tue, 11 Dec 2018 11:25:00 +0000 (11:25 +0000)]
Merge "VPN: Move package intent receiver to ConnectivityService."
Mathew Inwood [Tue, 11 Dec 2018 11:19:23 +0000 (11:19 +0000)]
Merge "Improve @UnsupportedAppUsage docs."
Treehugger Robot [Tue, 11 Dec 2018 11:04:01 +0000 (11:04 +0000)]
Merge "Revert "Revert "Schematize vold system properties"""
Lorenzo Colitti [Tue, 11 Dec 2018 04:36:05 +0000 (13:36 +0900)]
Delete INetworkManagementService#getNetdService.
This code is unused.
Test: builds, boots
Test: atest frameworks-net
Change-Id: I45e796c0dd049e8ac722cc79eea8df81dd2ad28c
Lorenzo Colitti [Tue, 11 Dec 2018 10:20:51 +0000 (10:20 +0000)]
Merge "Enable checkstyle everywhere in frameworks/base."
junyulai [Mon, 12 Nov 2018 14:39:30 +0000 (22:39 +0800)]
VPN: Move package intent receiver to ConnectivityService.
Currently, PermissionMonitor listen to user add/remove and
package add/remove intent respectively, and so does VPN.
Thus, races might occurr between them.
This commit refactor VPN part by using ConnectivityService to
listen to intents and dispatch events to VPN.
Bug:
118811303
Test: 1. atest FrameworksNetTests
2. manually add/remove package
3. cts-tradefed run cts -m CtsHostsideNetworkTests
Change-Id: Id76fd77c5fcfb2b0e21f211f63f007b1ea1aa53f
Mark Chien [Tue, 11 Dec 2018 04:27:43 +0000 (04:27 +0000)]
Merge "Upstream Configuration should also consider automatic configuration"
Hall Liu [Wed, 21 Nov 2018 22:40:19 +0000 (14:40 -0800)]
Add fields for PhoneAccount to CallerInfo
Add fields to specify which outgoing phone account is stored in the
contacts db within the CallerInfo object.
Bug:
111455117
Test: manual, unit
Change-Id: Id402102e4605f6b414188a3eaf6442cf4282fcab
Hall Liu [Tue, 11 Dec 2018 02:43:16 +0000 (02:43 +0000)]
Merge changes from topic "acct-suggestion-1"
* changes:
Add docs and more annotations
Add PhoneAccountSuggestion class
Hall Liu [Thu, 22 Nov 2018 01:05:58 +0000 (17:05 -0800)]
Add docs and more annotations
Add docs to some constants in PhoneAccountSuggestion and add @TestApi
annotations to enable CTS testing for the new APIs.
Test: compiles
Bug:
111455117
Change-Id: I2b55a411ff4f0da37eefa0996f7316ea53bca41d
Pengquan Meng [Tue, 11 Dec 2018 02:26:19 +0000 (02:26 +0000)]
Merge "Modify constructor of NetworkRegistrationState"
Jordan Liu [Tue, 11 Dec 2018 01:12:38 +0000 (01:12 +0000)]
Merge "Return "" not "null""
Treehugger Robot [Tue, 11 Dec 2018 01:01:20 +0000 (01:01 +0000)]
Merge "Fix to set physical address for IsConnectedToArcPort"
Xiangyu/Malcolm Chen [Tue, 11 Dec 2018 00:42:34 +0000 (00:42 +0000)]
Merge "Deactivate bundled opportunistic subscription."
Inseob Kim [Mon, 10 Dec 2018 07:06:25 +0000 (07:06 +0000)]
Revert "Revert "Schematize vold system properties""
This reverts commit
2473b08b07ccd58978d4b0271dc22a770b9b8605.
Reason for revert: Fixed build breakage
sysprop_cpp and sysprop_java directly have been linking against
libprotobuf-cpp-full and do not set proto.type field, which could
cause ASAN error due to linking against both libproto version of full
and lite.
Change-Id: I96eb47444d7b6f6b5fef092efc1514fcdd6f33b6
Merged-In: I8e04f643197b6c8a60cc38c6979e41c5de3469f5
Pengquan Meng [Tue, 4 Dec 2018 01:45:14 +0000 (17:45 -0800)]
Modify constructor of NetworkRegistrationState
This change the data specific constructor of NetworkRegistrationState to
make it adapt to the new NR indicators.
Bug:
111453000
Test: atest FrameworksTelephonyTests
Merged-In: I4e1f30ea8531a6a424c2c920c74257d4d673589d
Change-Id: I4e1f30ea8531a6a424c2c920c74257d4d673589d
Treehugger Robot [Mon, 10 Dec 2018 22:47:00 +0000 (22:47 +0000)]
Merge "Use getCompressedSizeLong to get correct size for 2G file"
Malcolm Chen [Thu, 29 Nov 2018 19:48:14 +0000 (11:48 -0800)]
Deactivate bundled opportunistic subscription.
When primary subscription is disabled, also deactivate
its bundled opportunistic subscription.
Bug:
118349116
Test: unittest
Change-Id: I04cb89b8cc2d03836878866d2975af186de42468
Merged-In: I04cb89b8cc2d03836878866d2975af186de42468
Pengquan Meng [Mon, 10 Dec 2018 22:00:35 +0000 (22:00 +0000)]
Merge "Add 5G rat type"
Orion Hodson [Fri, 7 Dec 2018 16:44:33 +0000 (16:44 +0000)]
Add persist.zygote.core_dump property for coredumps
Enable core dumps for debuggable apps if the property is set.
Contributed by lu.wang@unisoc.com.
Bug: b/
120485385
Test: boots
Change-Id: I68995bec552b8875490748ee5275488f65b00dbd
Jordan Liu [Mon, 10 Dec 2018 20:23:09 +0000 (20:23 +0000)]
Merge "Add new key for carrier configuration version"
Steven Moreland [Mon, 3 Dec 2018 18:27:01 +0000 (10:27 -0800)]
SystemConfig: allow reading sku specific props
Sometimes, very similar devices share the same exact images but use
slightly different hardware. In this case, they distinguish themselves
with skus like ro.boot.product.hardware.sku. This SKU is also used to
distinguish between which HALs are exposed in the VINTF manifest.
In this CL, we add the following locations to read from:
odm/etc/sysconf/sku_${sku}/*.xml
odm/etc/permissions/sku_${sku}/*.xml
Only the configurations already available to be set from the ODM image
can be set here.
Bug:
119129238
Test: boot
Test: manually use unavailable-feature from odm sku directory
Change-Id: I465ac818e5c68f1118668f13b45940fd8fa0fa62
Treehugger Robot [Mon, 10 Dec 2018 17:02:25 +0000 (17:02 +0000)]
Merge "hiddenapi-mappings: Hide ReferencesHidden errors"
Paul Duffin [Fri, 7 Dec 2018 11:52:19 +0000 (11:52 +0000)]
Switch last c.a.i18n.phonenumbers hiddenapi entries to annotations
Previous changes could not remove these entries as they are implicit
methods, i.e. are not present in the source, and so could not be
annotated. That is no longer true and so these entries can now be
removed.
This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.
Bug:
117818301
Bug:
119861512
Test: as above
Change-Id: Ic33c693f50cac011332c5ba5a5c0e2b6562e6ef8
Ivan Chiang [Mon, 10 Dec 2018 14:32:36 +0000 (14:32 +0000)]
Merge "Expose Uri toSafeString api"
markchien [Wed, 5 Dec 2018 13:20:01 +0000 (21:20 +0800)]
Upstream Configuration should also consider automatic configuration
Tethering already support two type upstream configurations,
but hasTetherableConfiguration() only check legacy one.
Bug:
120533392
Test: -runtest frameworks-net
-build, flash, booted
Change-Id: I986070fc009abcad17994b73858962f776b4c3f5
Aaron Huang [Wed, 31 Oct 2018 07:57:48 +0000 (15:57 +0800)]
Add an APF unit test to drop all packets in the pcap file
Read a pcap file and runs it through APF filter, then checks whether all
packets in the file are dropped.
Test: runtest frameworks-net -c android.net.apf.ApfTest
Change-Id: I7fc59864608762cd2bc84131817183846b0bf5b5
Mathew Inwood [Fri, 7 Dec 2018 11:15:49 +0000 (11:15 +0000)]
Improve @UnsupportedAppUsage docs.
Add some words aimed at app developers, to help ensure that devs are
aware of the implications of using annotated members. Also add a link
to the public info on non-SDK interfaces, which includes a feature
request link.
Also use the term "non-SDK interface" in the docs as this is what is
used externally in the blog posts.
Test: m
Change-Id: I936e53082e308f484dfd42ba56a3575b78b6d3aa
Lorenzo Colitti [Mon, 10 Dec 2018 09:23:09 +0000 (18:23 +0900)]
Enable checkstyle everywhere in frameworks/base.
This was done in internal master in ag/
5397886. Do it in AOSP as
well so we can benefit from checkstyle in AOSP as well.
Test: None
Change-Id: Ib00fc8d318e8127224846e0a69cb542178631437
Merged-In: I7d350c2bbb9fcd1019abd1addb035ce5e9e05acc
Junyu Lai [Mon, 10 Dec 2018 05:15:28 +0000 (05:15 +0000)]
Merge "Refactoring of deleting stats in NetworkStats based on uids."
Luke Huang [Mon, 10 Dec 2018 03:07:08 +0000 (03:07 +0000)]
Merge "Migrate INetd to stable aidl"
Treehugger Robot [Sun, 9 Dec 2018 19:36:28 +0000 (19:36 +0000)]
Merge "Remove ScopedBytes use"
Treehugger Robot [Sun, 9 Dec 2018 04:23:19 +0000 (04:23 +0000)]
Merge "Increase the IpClientTest timeouts to reduce flake rate."
Etan Cohen [Sun, 9 Dec 2018 03:53:44 +0000 (03:53 +0000)]
Merge "[CS] Add a generic transport-specific information API"
Shuo Qian [Sat, 8 Dec 2018 05:11:22 +0000 (05:11 +0000)]
Merge "Frame EmergencyNumber notifier in TelephonyRegistry"
Tony Huang [Thu, 8 Nov 2018 08:56:08 +0000 (16:56 +0800)]
Expose Uri toSafeString api
Expose toSafeString api as public and stand api.
Bug:
119153962
Test: atest UriTest
Change-Id: Id9da309193c1e175e5fc795570687735c7722689
sqian [Sat, 8 Dec 2018 03:35:02 +0000 (19:35 -0800)]
Add Call redirection app in Telecom test-commands
Bug:
64959558
Test: Treehugger
Change-Id: I15cb3b766c4c5fbef4e50824ccda0f3328643cf9
Seongho Kim [Fri, 16 Nov 2018 04:44:48 +0000 (13:44 +0900)]
Return "" not "null"
Some models such as LDU, WIFI do not have "gsm.version.baseband",
which should return "null" when it is called.
However it returns "" not "null"
Bug:
120685535
Test: Self-Test
Change-Id: Idc1363d45a0ece3a35f46da287e21015ac1387af
sqian [Sat, 8 Dec 2018 01:09:39 +0000 (17:09 -0800)]
Frame EmergencyNumber notifier in TelephonyRegistry
Test: Treehugger
Bug:
112657134
Change-Id: I9e2e0348b8e0e9ac473db354023a242087fbb2c3
Merged-In: I9e2e0348b8e0e9ac473db354023a242087fbb2c3
(cherry picked from commit
bdc5a733b76d25dab0393a3d4bfa823dc53121e7)
Adrian Roos [Fri, 7 Dec 2018 12:53:40 +0000 (13:53 +0100)]
hiddenapi-mappings: Hide ReferencesHidden errors
The hidden API mapping is generated from sources that are not
API and the ReferencesHidden rule is therefore not needed.
Bug:
119556446
Test: mm hiddenapi-mappings
Change-Id: Ifc9efdaadeb0e61d2643230a36df930b21c0ecf4
Pengquan Meng [Wed, 28 Nov 2018 03:32:39 +0000 (19:32 -0800)]
Add 5G rat type
This add a new rat type for 5G.
Bug:
111453000
Test: build
Merged-In: I57366a1a9f61278cf752c25d54a1af1830bf4575
Change-Id: I57366a1a9f61278cf752c25d54a1af1830bf4575
Jack Yu [Fri, 7 Dec 2018 21:36:48 +0000 (21:36 +0000)]
Merge "Cleaned up dead code"
Brad Ebinger [Fri, 30 Nov 2018 01:02:35 +0000 (17:02 -0800)]
Changes to IMS SS API to better fit API standards/
Bug:
120072087
Test: Manual
Change-Id: Ibcc9b2a39f3f736cf385343aa1ab82174ea73a39
Michele Berionne [Wed, 5 Dec 2018 19:05:33 +0000 (11:05 -0800)]
Add new key for carrier configuration version
Add new key to retrieve the carrier configuration version, so that it
can be displayed to the user.
Bug:
116527591
Test: Verified compilation.
Change-Id: I43a07faa41a925d8928d9c1fa59b9a01d08eb815
Jack Yu [Tue, 4 Dec 2018 19:29:46 +0000 (11:29 -0800)]
Cleaned up dead code
Cleaned up dead code for CleanupDataConnection and
CleanupAllDataConnections. Also renamed the internal
version.
There is no logic change in this change.
Test: Unit tests and telephony sanity tests
Bug:
73659459
Merged-In: I3c9ed9502960c3f743f41078089cfff611cd96b0
Change-Id: I3c9ed9502960c3f743f41078089cfff611cd96b0
(cherry picked from commit
746d10446c77218b430e31ae0fcc0d0925bd45fc)
Etan Cohen [Tue, 27 Nov 2018 15:32:39 +0000 (07:32 -0800)]
[CS] Add a generic transport-specific information API
Add a generic transport-specific information container interface and
access methods. These can be used by a network factory to pass transport
(bearer)-specific network parameters to the app.
Bug:
117605977
Test: atest frameworks/base/tests/net/java/android/net (+new unit tests)
Change-Id: Ib7c83b677e1c02a2212265719813e648b0c9cc1b
Paul Duffin [Fri, 7 Dec 2018 12:24:47 +0000 (12:24 +0000)]
Merge "UnsupportedAppUsage - support implicit member signatures"
Anthony Stange [Fri, 7 Dec 2018 12:04:56 +0000 (12:04 +0000)]
Merge "Revert "Schematize vold system properties""
Anthony Stange [Fri, 7 Dec 2018 11:43:03 +0000 (11:43 +0000)]
Revert "Schematize vold system properties"
This reverts commit
7bc31dc162dd6c97eeb4d85058a079a74bd8777b.
Reason for revert: Breaking aosp_master build.
Change-Id: I34a5e9889c17e3454a0a86deabcec3c192a3da52
Treehugger Robot [Fri, 7 Dec 2018 11:09:41 +0000 (11:09 +0000)]
Merge "FRP: save password quality in DPM.resetPassword"
Luke Huang [Fri, 23 Nov 2018 09:19:22 +0000 (17:19 +0800)]
Migrate INetd to stable aidl
Del the linking of old lib file and add new one.
Test: runtest frameworks-net passes
Change-Id: I7258f7c51718ff5f07e7bfe301b6c5f242b9da5a
Paul Duffin [Fri, 7 Dec 2018 10:40:38 +0000 (10:40 +0000)]
UnsupportedAppUsage - support implicit member signatures
Allows the signature of implicit members, i.e. members that are added
by the compiler, e.g. enum values() and valueOf(String) methods or
default constructors to be specified per class. The UnsupportedAppUsage
can now be repeated on a class so as to specify multiple implicit
members.
Bug:
119861512
Test: atest class2greylisttest, m -j20 framework
Change-Id: I73c8402e9c2053e3a04ef0ff8875ce446593ec8f
Treehugger Robot [Fri, 7 Dec 2018 10:30:51 +0000 (10:30 +0000)]
Merge "Move netd related file group to the end for avoiding conflict"
Lorenzo Colitti [Fri, 7 Dec 2018 09:59:38 +0000 (18:59 +0900)]
Increase the IpClientTest timeouts to reduce flake rate.
Fix:
120131319
Test: atest FrameworksNetTests
Change-Id: Ibb70fa74c71608fd76e85636607e860dd58c404a
David Brazdil [Fri, 7 Dec 2018 09:04:56 +0000 (09:04 +0000)]
Merge "Move DexLoadReporter setup before AppComponentFactory calls"
Luke Huang [Fri, 7 Dec 2018 03:53:59 +0000 (11:53 +0800)]
Move netd related file group to the end for avoiding conflict
This patch should change no functionality.
Test: builded pass
Change-Id: I8161a9a365c6bfcd92f4b7a8fd641ad3a483d09c
Merged-In: If3e387ae9fcc22da7a4feca30c20391e5b236728
Hall Liu [Tue, 20 Nov 2018 23:32:33 +0000 (15:32 -0800)]
Add PhoneAccountSuggestion class
Add parcelable data class for the phone acct suggestion feature.
Test: TBD
Bug:
111455117
Change-Id: I6d5368133abfc076ccb2e6ddfff70de8b6a56e8f
Treehugger Robot [Fri, 7 Dec 2018 01:46:45 +0000 (01:46 +0000)]
Merge "Schematize vold system properties"
Mike Ma [Fri, 7 Dec 2018 01:28:40 +0000 (01:28 +0000)]
Merge "Change owners of incidentd"
Treehugger Robot [Thu, 6 Dec 2018 22:02:10 +0000 (22:02 +0000)]
Merge "Add support for UHID_GET_REPORT requests"
Chen Xu [Thu, 6 Dec 2018 21:45:47 +0000 (21:45 +0000)]
Merge "address API council feedbacks for Telephony.Carriers"
Mike Ma [Thu, 6 Dec 2018 21:40:24 +0000 (13:40 -0800)]
Change owners of incidentd
Test: NA
Change-Id: Ic651a13bb145610de2b668b6b235228e1e5151c1
Hall Liu [Thu, 6 Dec 2018 21:05:57 +0000 (21:05 +0000)]
Merge "Fix validation problem in PhoneNumberRange"
Treehugger Robot [Thu, 6 Dec 2018 19:01:24 +0000 (19:01 +0000)]
Merge "Call netd to update the tcp buffer size"
Adrian Roos [Thu, 6 Dec 2018 16:50:41 +0000 (17:50 +0100)]
FRP: save password quality in DPM.resetPassword
When setting a password from DPM.resetPassword(), the actual quality of the
password was not passed to LockSettingsService (instead, the minimum required
quality was passed which is often UNSPECIFIED). As a result, during FRP we
would see inconsistent state and skip it.
Bug:
110172241
Test: Set credential via DPM.resetPassword(), factory reset device to trigger FRP, verify FRP shows.
Change-Id: I54376f60ac53451ace22965d331b47cd8c2e614e
Kim Low [Sat, 10 Nov 2018 01:15:13 +0000 (17:15 -0800)]
Add support for UHID_GET_REPORT requests
Updated to support UHID_GET_REPORT requests mainly for CTS use.
All feature reports are assumed to be static and should be specified
along with the register json.
For example, in sony_dualshock4_register.json, add the following.
"feature_reports": [
{
"id": 5,
"data": [0x05, 0x1e, 0x00, 0x05, 0x00, 0xe2, 0xff, 0xf2, 0x22, 0xbe, 0x22, 0x8d, 0x22, 0x4f,
0xdd, 0x4d, 0xdd, 0x39, 0xdd, 0x1c, 0x02, 0x1c, 0x02, 0xe3, 0x1f, 0x8b, 0xdf, 0x8c, 0x1e,
0xb4, 0xde, 0x30, 0x20, 0x71, 0xe0, 0x10, 0x00, 0xca, 0xfc, 0x64, 0x4d]
}
]
Test: Make sure build has hid-sony driver that's backported from >4.10.
Run Dualshock4 CTS
> atest cts/tests/tests/hardware/src/android/hardware/input/cts/tests/SonyDualshock4TestCase.java
Change-Id: Ib0d534d47c6aa6fcc11af68b913c3db1cfa72752
Neil Fuller [Thu, 6 Dec 2018 12:42:43 +0000 (12:42 +0000)]
Merge "Track debug key changes in libcore/"
David Brazdil [Thu, 6 Dec 2018 10:11:09 +0000 (10:11 +0000)]
Merge "Rename hiddenapi config files"
junyulai [Mon, 29 Oct 2018 14:26:22 +0000 (22:26 +0800)]
Refactoring of deleting stats in NetworkStats based on uids.
In follow-up commits, current API would create new NetworkStats
every time when 464xlatAdjustment wants to filtered out some
uids.
This commit refactors it to delete stats in-place to get better
performance.
Bug:
118602783
Test: atest FrameworksNetTests
Change-Id: I858f95d1fa7733111786243b4e261ce8a70a068d