OSDN Git Service

android-x86/frameworks-base.git
5 years agoPass package name as part of startDiscovery
Zach Johnson [Thu, 13 Dec 2018 01:11:25 +0000 (17:11 -0800)]
Pass package name as part of startDiscovery

Test: manual
Bug: 118347252
Change-Id: Icbc2e7e756b16ffd181924b586a0292c2bf32ec5

5 years agoMerge "Switch to metalava"
Treehugger Robot [Thu, 13 Dec 2018 01:46:54 +0000 (01:46 +0000)]
Merge "Switch to metalava"

5 years agoMerge "Add asynchronous DNS query API"
Lorenzo Colitti [Thu, 13 Dec 2018 00:43:47 +0000 (00:43 +0000)]
Merge "Add asynchronous DNS query API"

5 years agoMerge "Add API to get card ID for default eUICC"
Jordan Liu [Wed, 12 Dec 2018 22:20:03 +0000 (22:20 +0000)]
Merge "Add API to get card ID for default eUICC"

5 years agoMerge "Visualizer: fix native crash when visualizer release"
Andy Hung [Wed, 12 Dec 2018 21:37:04 +0000 (21:37 +0000)]
Merge "Visualizer: fix native crash when visualizer release"

5 years agoVisualizer: 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>
5 years agoMerge "Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING"
Michele Berionne [Wed, 12 Dec 2018 18:58:28 +0000 (18:58 +0000)]
Merge "Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING"

5 years agoMerge "SystemConfig: allow reading sku specific props"
Steven Moreland [Wed, 12 Dec 2018 16:19:43 +0000 (16:19 +0000)]
Merge "SystemConfig: allow reading sku specific props"

5 years agoMerge "API: Clean up redundant and ineffective usages of SystemApi and TestApi"
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"

5 years agoMerge "APEX list can be retrieved via the shell command."
Treehugger Robot [Wed, 12 Dec 2018 14:07:37 +0000 (14:07 +0000)]
Merge "APEX list can be retrieved via the shell command."

5 years agoAPI: Clean up redundant and ineffective usages of SystemApi and TestApi
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

5 years agoMerge "Set system property for FULL bugreport instead of default."
Treehugger Robot [Wed, 12 Dec 2018 10:22:05 +0000 (10:22 +0000)]
Merge "Set system property for FULL bugreport instead of default."

5 years agoSwitch to metalava
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

5 years agoSet system property for FULL bugreport instead of default.
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

5 years agoMerge changes from topic "netd-event-listener-aidl"
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.

5 years agoMerge "[CM] Fix comments, add tests to TransportInfo API"
Etan Cohen [Wed, 12 Dec 2018 05:25:38 +0000 (05:25 +0000)]
Merge "[CM] Fix comments, add tests to TransportInfo API"

5 years agoMerge "Fix cert-dcl16-c clang-tidy warnings."
Chih-hung Hsieh [Wed, 12 Dec 2018 02:58:22 +0000 (02:58 +0000)]
Merge "Fix cert-dcl16-c clang-tidy warnings."

5 years agoAPEX list can be retrieved via the shell command.
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

5 years ago[CM] Fix comments, add tests to TransportInfo API
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

5 years agoMerge "Add fields for PhoneAccount to CallerInfo"
Hall Liu [Tue, 11 Dec 2018 22:58:45 +0000 (22:58 +0000)]
Merge "Add fields for PhoneAccount to CallerInfo"

5 years agoMerge "Changes to IMS SS API to better fit API standards/"
Brad Ebinger [Tue, 11 Dec 2018 22:57:26 +0000 (22:57 +0000)]
Merge "Changes to IMS SS API to better fit API standards/"

5 years agoAdd API to get card ID for default eUICC
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

5 years agoAdd asynchronous DNS query API
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

5 years agoMerge "Add Call redirection app in Telecom test-commands"
Shuo Qian [Tue, 11 Dec 2018 19:43:00 +0000 (19:43 +0000)]
Merge "Add Call redirection app in Telecom test-commands"

5 years agoFix cert-dcl16-c clang-tidy warnings.
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

5 years agoRemove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING
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

5 years agoMerge "Add persist.zygote.core_dump property for coredumps"
Treehugger Robot [Tue, 11 Dec 2018 16:28:07 +0000 (16:28 +0000)]
Merge "Add persist.zygote.core_dump property for coredumps"

5 years agoDepend on the stable AIDL version of the netd metrics interface.
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

5 years agoMerge "Switch last c.a.i18n.phonenumbers hiddenapi entries to annotations"
Paul Duffin [Tue, 11 Dec 2018 13:26:09 +0000 (13:26 +0000)]
Merge "Switch last c.a.i18n.phonenumbers hiddenapi entries to annotations"

5 years agoMerge "VPN: Move package intent receiver to ConnectivityService."
Junyu Lai [Tue, 11 Dec 2018 11:25:00 +0000 (11:25 +0000)]
Merge "VPN: Move package intent receiver to ConnectivityService."

5 years agoMerge "Improve @UnsupportedAppUsage docs."
Mathew Inwood [Tue, 11 Dec 2018 11:19:23 +0000 (11:19 +0000)]
Merge "Improve @UnsupportedAppUsage docs."

5 years agoMerge "Revert "Revert "Schematize vold system properties"""
Treehugger Robot [Tue, 11 Dec 2018 11:04:01 +0000 (11:04 +0000)]
Merge "Revert "Revert "Schematize vold system properties"""

5 years agoDelete INetworkManagementService#getNetdService.
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

5 years agoMerge "Enable checkstyle everywhere in frameworks/base."
Lorenzo Colitti [Tue, 11 Dec 2018 10:20:51 +0000 (10:20 +0000)]
Merge "Enable checkstyle everywhere in frameworks/base."

5 years agoVPN: Move package intent receiver to ConnectivityService.
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

5 years agoMerge "Upstream Configuration should also consider automatic configuration"
Mark Chien [Tue, 11 Dec 2018 04:27:43 +0000 (04:27 +0000)]
Merge "Upstream Configuration should also consider automatic configuration"

5 years agoAdd fields for PhoneAccount to CallerInfo
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

5 years agoMerge changes from topic "acct-suggestion-1"
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

5 years agoAdd docs and more annotations
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

5 years agoMerge "Modify constructor of NetworkRegistrationState"
Pengquan Meng [Tue, 11 Dec 2018 02:26:19 +0000 (02:26 +0000)]
Merge "Modify constructor of NetworkRegistrationState"

5 years agoMerge "Return "" not "null""
Jordan Liu [Tue, 11 Dec 2018 01:12:38 +0000 (01:12 +0000)]
Merge "Return "" not "null""

5 years agoMerge "Fix to set physical address for IsConnectedToArcPort"
Treehugger Robot [Tue, 11 Dec 2018 01:01:20 +0000 (01:01 +0000)]
Merge "Fix to set physical address for IsConnectedToArcPort"

5 years agoMerge "Deactivate bundled opportunistic subscription."
Xiangyu/Malcolm Chen [Tue, 11 Dec 2018 00:42:34 +0000 (00:42 +0000)]
Merge "Deactivate bundled opportunistic subscription."

5 years agoRevert "Revert "Schematize vold system properties""
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

5 years agoModify constructor of NetworkRegistrationState
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

5 years agoMerge "Use getCompressedSizeLong to get correct size for 2G file"
Treehugger Robot [Mon, 10 Dec 2018 22:47:00 +0000 (22:47 +0000)]
Merge "Use getCompressedSizeLong to get correct size for 2G file"

5 years agoDeactivate bundled opportunistic subscription.
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

5 years agoMerge "Add 5G rat type"
Pengquan Meng [Mon, 10 Dec 2018 22:00:35 +0000 (22:00 +0000)]
Merge "Add 5G rat type"

5 years agoAdd persist.zygote.core_dump property for coredumps
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

5 years agoMerge "Add new key for carrier configuration version"
Jordan Liu [Mon, 10 Dec 2018 20:23:09 +0000 (20:23 +0000)]
Merge "Add new key for carrier configuration version"

5 years agoSystemConfig: allow reading sku specific props
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

5 years agoMerge "hiddenapi-mappings: Hide ReferencesHidden errors"
Treehugger Robot [Mon, 10 Dec 2018 17:02:25 +0000 (17:02 +0000)]
Merge "hiddenapi-mappings: Hide ReferencesHidden errors"

5 years agoSwitch last c.a.i18n.phonenumbers hiddenapi entries to annotations
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

5 years agoMerge "Expose Uri toSafeString api"
Ivan Chiang [Mon, 10 Dec 2018 14:32:36 +0000 (14:32 +0000)]
Merge "Expose Uri toSafeString api"

5 years agoUpstream Configuration should also consider automatic configuration
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

5 years agoImprove @UnsupportedAppUsage docs.
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

5 years agoEnable checkstyle everywhere in frameworks/base.
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

5 years agoMerge "Refactoring of deleting stats in NetworkStats based on uids."
Junyu Lai [Mon, 10 Dec 2018 05:15:28 +0000 (05:15 +0000)]
Merge "Refactoring of deleting stats in NetworkStats based on uids."

5 years agoMerge "Migrate INetd to stable aidl"
Luke Huang [Mon, 10 Dec 2018 03:07:08 +0000 (03:07 +0000)]
Merge "Migrate INetd to stable aidl"

5 years agoMerge "Remove ScopedBytes use"
Treehugger Robot [Sun, 9 Dec 2018 19:36:28 +0000 (19:36 +0000)]
Merge "Remove ScopedBytes use"

5 years agoMerge "Increase the IpClientTest timeouts to reduce flake rate."
Treehugger Robot [Sun, 9 Dec 2018 04:23:19 +0000 (04:23 +0000)]
Merge "Increase the IpClientTest timeouts to reduce flake rate."

5 years agoMerge "[CS] Add a generic transport-specific information API"
Etan Cohen [Sun, 9 Dec 2018 03:53:44 +0000 (03:53 +0000)]
Merge "[CS] Add a generic transport-specific information API"

5 years agoMerge "Frame EmergencyNumber notifier in TelephonyRegistry"
Shuo Qian [Sat, 8 Dec 2018 05:11:22 +0000 (05:11 +0000)]
Merge "Frame EmergencyNumber notifier in TelephonyRegistry"

5 years agoExpose Uri toSafeString api
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

5 years agoAdd Call redirection app in Telecom test-commands
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

5 years agoReturn "" not "null"
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

5 years agoFrame EmergencyNumber notifier in TelephonyRegistry
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)

5 years agohiddenapi-mappings: Hide ReferencesHidden errors
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

5 years agoAdd 5G rat type
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

5 years agoMerge "Cleaned up dead code"
Jack Yu [Fri, 7 Dec 2018 21:36:48 +0000 (21:36 +0000)]
Merge "Cleaned up dead code"

5 years agoChanges to IMS SS API to better fit API standards/
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

5 years agoAdd new key for carrier configuration version
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

5 years agoCleaned up dead code
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)

5 years ago[CS] Add a generic transport-specific information API
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

5 years agoMerge "UnsupportedAppUsage - support implicit member signatures"
Paul Duffin [Fri, 7 Dec 2018 12:24:47 +0000 (12:24 +0000)]
Merge "UnsupportedAppUsage - support implicit member signatures"

5 years agoMerge "Revert "Schematize vold system properties""
Anthony Stange [Fri, 7 Dec 2018 12:04:56 +0000 (12:04 +0000)]
Merge "Revert "Schematize vold system properties""

5 years agoRevert "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

5 years agoMerge "FRP: save password quality in DPM.resetPassword"
Treehugger Robot [Fri, 7 Dec 2018 11:09:41 +0000 (11:09 +0000)]
Merge "FRP: save password quality in DPM.resetPassword"

5 years agoMigrate INetd to stable aidl
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

5 years agoUnsupportedAppUsage - support implicit member signatures
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

5 years agoMerge "Move netd related file group to the end for avoiding conflict"
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"

5 years agoIncrease the IpClientTest timeouts to reduce flake rate.
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

5 years agoMerge "Move DexLoadReporter setup before AppComponentFactory calls"
David Brazdil [Fri, 7 Dec 2018 09:04:56 +0000 (09:04 +0000)]
Merge "Move DexLoadReporter setup before AppComponentFactory calls"

5 years agoMove netd related file group to the end for avoiding conflict
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

5 years agoAdd PhoneAccountSuggestion class
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

5 years agoMerge "Schematize vold system properties"
Treehugger Robot [Fri, 7 Dec 2018 01:46:45 +0000 (01:46 +0000)]
Merge "Schematize vold system properties"

5 years agoMerge "Change owners of incidentd"
Mike Ma [Fri, 7 Dec 2018 01:28:40 +0000 (01:28 +0000)]
Merge "Change owners of incidentd"

5 years agoMerge "Add support for UHID_GET_REPORT requests"
Treehugger Robot [Thu, 6 Dec 2018 22:02:10 +0000 (22:02 +0000)]
Merge "Add support for UHID_GET_REPORT requests"

5 years agoMerge "address API council feedbacks for Telephony.Carriers"
Chen Xu [Thu, 6 Dec 2018 21:45:47 +0000 (21:45 +0000)]
Merge "address API council feedbacks for Telephony.Carriers"

5 years agoChange owners of incidentd
Mike Ma [Thu, 6 Dec 2018 21:40:24 +0000 (13:40 -0800)]
Change owners of incidentd

Test: NA
Change-Id: Ic651a13bb145610de2b668b6b235228e1e5151c1

5 years agoMerge "Fix validation problem in PhoneNumberRange"
Hall Liu [Thu, 6 Dec 2018 21:05:57 +0000 (21:05 +0000)]
Merge "Fix validation problem in PhoneNumberRange"

5 years agoMerge "Call netd to update the tcp buffer size"
Treehugger Robot [Thu, 6 Dec 2018 19:01:24 +0000 (19:01 +0000)]
Merge "Call netd to update the tcp buffer size"

5 years agoFRP: save password quality in DPM.resetPassword
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

5 years agoAdd support for UHID_GET_REPORT requests
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

5 years agoMerge "Track debug key changes in libcore/"
Neil Fuller [Thu, 6 Dec 2018 12:42:43 +0000 (12:42 +0000)]
Merge "Track debug key changes in libcore/"

5 years agoMerge "Rename hiddenapi config files"
David Brazdil [Thu, 6 Dec 2018 10:11:09 +0000 (10:11 +0000)]
Merge "Rename hiddenapi config files"

5 years agoRefactoring of deleting stats in NetworkStats based on uids.
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

5 years agoMerge "Catch egl errors when drawIntoSurfaces"
Treehugger Robot [Thu, 6 Dec 2018 07:52:46 +0000 (07:52 +0000)]
Merge "Catch egl errors when drawIntoSurfaces"

5 years agoMerge "Move EnableDebuggger from ART to zygote"
Treehugger Robot [Thu, 6 Dec 2018 07:06:25 +0000 (07:06 +0000)]
Merge "Move EnableDebuggger from ART to zygote"

5 years agoFix validation problem in PhoneNumberRange
Hall Liu [Wed, 5 Dec 2018 21:57:42 +0000 (13:57 -0800)]
Fix validation problem in PhoneNumberRange

Regexes weren't matching empty strings (which are perfectly valid) for
the various arguments in the ranges. Fix it so that they do match.

Bug: 119675160
Test: GTS
Change-Id: I4ea0f65b62af9fd35612e5261e01b2bea07c8ddc