OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "Ignore FlakyTests in test-mapping."
Ian Kasprzak [Sat, 26 Oct 2019 20:07:34 +0000 (20:07 +0000)]
Merge "Ignore FlakyTests in test-mapping."

4 years agoMerge "Move Visualizer to libaudioeffect_jni, its only user"
Marco Nelissen [Sat, 26 Oct 2019 01:45:57 +0000 (01:45 +0000)]
Merge "Move Visualizer to libaudioeffect_jni, its only user"

4 years agoIgnore FlakyTests in test-mapping.
Ian Kasprzak [Fri, 25 Oct 2019 23:46:06 +0000 (16:46 -0700)]
Ignore FlakyTests in test-mapping.

(Merged-In tag to prevent merging to qt-r1-dev-plus-aosp and downstream)

Test: N/A
Bug: 142395610

Change-Id: Ib7b9aab429b59fa1fcd9638f4733147a17cbd4ef
Merged-In: Ia2345b03d54deef9bd2f5ed67ae9ce2216507b10

4 years agoMove Visualizer to libaudioeffect_jni, its only user
Marco Nelissen [Wed, 23 Oct 2019 16:21:55 +0000 (09:21 -0700)]
Move Visualizer to libaudioeffect_jni, its only user

This removes libaudioeffect_jni's dependency on libmedia and removes
libmedia's dependency on libaudioutils.

Test: build
Change-Id: I23902cd1cc16b49200f41f79736683c89b9f86f8
Merged-In: I23902cd1cc16b49200f41f79736683c89b9f86f8

4 years agoMerge "Add required header_libs"
Marco Nelissen [Fri, 25 Oct 2019 19:47:54 +0000 (19:47 +0000)]
Merge "Add required header_libs"

4 years agoMerge "Avoid preloading classes for boot image profiling"
Mathieu Chartier [Fri, 25 Oct 2019 19:35:00 +0000 (19:35 +0000)]
Merge "Avoid preloading classes for boot image profiling"

4 years agoMerge "move CellBroadcastMessage from telephony-common to app"
Chen Xu [Fri, 25 Oct 2019 17:28:22 +0000 (17:28 +0000)]
Merge "move CellBroadcastMessage from telephony-common to app"

4 years agoMerge "make CallerInfo as SystemAPI"
Chen Xu [Fri, 25 Oct 2019 17:27:45 +0000 (17:27 +0000)]
Merge "make CallerInfo as SystemAPI"

4 years agoMerge "Remove legacy logger_entry_v* structs"
Tom Cherry [Fri, 25 Oct 2019 16:53:20 +0000 (16:53 +0000)]
Merge "Remove legacy logger_entry_v* structs"

4 years agoMerge "Use new GsiInstallParams struct"
Howard Chen [Fri, 25 Oct 2019 07:18:57 +0000 (07:18 +0000)]
Merge "Use new GsiInstallParams struct"

4 years agoMerge "[Tether03] Migrate IpServer into module"
Mark Chien [Fri, 25 Oct 2019 06:41:49 +0000 (06:41 +0000)]
Merge "[Tether03] Migrate IpServer into module"

4 years agoUse new GsiInstallParams struct
Howard Chen [Tue, 13 Aug 2019 09:01:53 +0000 (17:01 +0800)]
Use new GsiInstallParams struct

Bug: 139402092
Test: adb shell am start-activity \
            -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
            -a android.os.image.action.START_INSTALL \
            -d file:///storage/emulated/0/Download/system.raw.gz \
            --el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
            --el KEY_USERDATA_SIZE 8589934592

Change-Id: I62330ccbe3c863850b545db5e911196d22f518d7

4 years agoAdd required header_libs
Marco Nelissen [Mon, 21 Oct 2019 21:52:58 +0000 (14:52 -0700)]
Add required header_libs

Test: build
Bug: 143245419
Change-Id: Idff0bf6cde9bc3e568d04c978f388be31963bc02

4 years agoMerge "Add OWNERS for SettingsProvider."
Hai Zhang [Thu, 24 Oct 2019 21:12:48 +0000 (21:12 +0000)]
Merge "Add OWNERS for SettingsProvider."

4 years agoMerge "Adding API in TelephonyManger for updating Fplmns."
Yincheng Zhao [Thu, 24 Oct 2019 20:50:27 +0000 (20:50 +0000)]
Merge "Adding API in TelephonyManger for updating Fplmns."

4 years agoMerge "Make libstatslog static-linkage compatible."
Mitch Phillips [Thu, 24 Oct 2019 20:38:33 +0000 (20:38 +0000)]
Merge "Make libstatslog static-linkage compatible."

4 years agoRemove legacy logger_entry_v* structs
Tom Cherry [Wed, 16 Oct 2019 00:10:15 +0000 (17:10 -0700)]
Remove legacy logger_entry_v* structs

These are obsolete so we move all users to a single format.

Test: build, logging unit tests
Change-Id: I05ebb0b9135c61585ff103d24b785b9f21197257

4 years agoAdd OWNERS for SettingsProvider.
Hai Zhang [Thu, 24 Oct 2019 17:51:56 +0000 (10:51 -0700)]
Add OWNERS for SettingsProvider.

Test: presubmit
Change-Id: I83862af2283b899a99fb313ba2118da45b2d4a1f

4 years agoAvoid preloading classes for boot image profiling
Mathieu Chartier [Wed, 23 Oct 2019 16:53:39 +0000 (09:53 -0700)]
Avoid preloading classes for boot image profiling

Since the clinits may execute methods, we should avoid preloading
classes to avoid executing methods that may not be required. These
samples could cause inaccuracy in the boot image profile.

Test: manual: adb logcat | grep preloadClasses
Bug: 139883463

Change-Id: I5b4568a477724606105196cba010109f80eecec1

4 years agoMerge "Fix waiting for system server to be running for BootImageProfileTest"
Mathieu Chartier [Thu, 24 Oct 2019 14:41:54 +0000 (14:41 +0000)]
Merge "Fix waiting for system server to be running for BootImageProfileTest"

4 years agoMerge "[Tether02] Migrate TetheringConfiguration into module"
Mark Chien [Thu, 24 Oct 2019 13:10:24 +0000 (13:10 +0000)]
Merge "[Tether02] Migrate TetheringConfiguration into module"

4 years agoMerge "[Tether01] Add Tethering App"
Mark Chien [Thu, 24 Oct 2019 13:10:04 +0000 (13:10 +0000)]
Merge "[Tether01] Add Tethering App"

4 years agoMerge "Add userId to the package name API."
Anna Trostanetski [Thu, 24 Oct 2019 12:38:33 +0000 (12:38 +0000)]
Merge "Add userId to the package name API."

4 years agoMerge "Fix docs to be clearer and more maintainable"
Neil Fuller [Thu, 24 Oct 2019 09:51:07 +0000 (09:51 +0000)]
Merge "Fix docs to be clearer and more maintainable"

4 years agoMerge "Extend netlink class to fit the data structure"
Chiachang Wang [Thu, 24 Oct 2019 07:31:53 +0000 (07:31 +0000)]
Merge "Extend netlink class to fit the data structure"

4 years ago[Tether03] Migrate IpServer into module
markchien [Mon, 9 Sep 2019 12:50:49 +0000 (20:50 +0800)]
[Tether03] Migrate IpServer into module

Add IpServer which is used to serve ip configuration, dhcp, dns proxy
and nat for downstream interface.

Bug: 136040414
Test: -build, flash, boot
      -atest TetheringTests
      -atest FrameworksNetTests

Change-Id: I23652ae0b9509abe7d38da96d523eb22ab00a343

4 years agoMerge "Removal of usage of hidden APIs"
Treehugger Robot [Thu, 24 Oct 2019 06:03:26 +0000 (06:03 +0000)]
Merge "Removal of usage of hidden APIs"

4 years agoMerge "Replace Rlog with Log in CarrierDefaultApp"
Treehugger Robot [Thu, 24 Oct 2019 06:03:06 +0000 (06:03 +0000)]
Merge "Replace Rlog with Log in CarrierDefaultApp"

4 years ago[Tether02] Migrate TetheringConfiguration into module
markchien [Tue, 3 Sep 2019 07:58:06 +0000 (15:58 +0800)]
[Tether02] Migrate TetheringConfiguration into module

TetheringConfiguration is a utility class to encapsulate the various
configuration elements.

Bug: 136040414
Test: -build, flash, boot
      -atest TetheringTests

Change-Id: I9434ab213bc5e0fca59f14a6c8cea554abefc3a4

4 years ago[Tether01] Add Tethering App
markchien [Tue, 27 Aug 2019 02:19:38 +0000 (10:19 +0800)]
[Tether01] Add Tethering App

This is initial patch that don't contain any service for now.

Bug: 136040414
Test: -build, flash, boot
Change-Id: I0b49d7e9c3fcba5af3025163f9cc9eafb0778116

4 years agoMerge "Update SMS list"
Treehugger Robot [Thu, 24 Oct 2019 04:57:36 +0000 (04:57 +0000)]
Merge "Update SMS list"

4 years agoRemoval of usage of hidden APIs
Michele [Wed, 4 Sep 2019 20:52:31 +0000 (13:52 -0700)]
Removal of usage of hidden APIs

Moved RESOLUTION_ACTIONS from EuiccService to EuiccResolutionUiDispatcherActivity,
so that it does not need to be made public.

Bug: 137202333
Test: compilation
Change-Id: If8011bbe6af32c038f55d851acc2406eba208de6
Merged-In: If8011bbe6af32c038f55d851acc2406eba208de6

4 years agoReplace Rlog with Log in CarrierDefaultApp
Michele [Mon, 14 Oct 2019 21:56:56 +0000 (14:56 -0700)]
Replace Rlog with Log in CarrierDefaultApp

Bug: 140580260
Test: compilation
Change-Id: Ib7ba43701b1a22ada0d8f5954c57b96bfa9f0489
Merged-In: Ib7ba43701b1a22ada0d8f5954c57b96bfa9f0489

4 years agoMerge "Bluetooth doc: The is a -> This is a"
Treehugger Robot [Wed, 23 Oct 2019 22:32:54 +0000 (22:32 +0000)]
Merge "Bluetooth doc: The is a -> This is a"

4 years agoUpdate SMS list
Sarah Chin [Wed, 23 Oct 2019 22:25:42 +0000 (15:25 -0700)]
Update SMS list

Bug: 143238928
Test: none
Change-Id: Ia700a0dc507e2a58b9c9e1d7890f90cdb30f0af6

4 years agoFix waiting for system server to be running for BootImageProfileTest
Mathieu Chartier [Wed, 23 Oct 2019 21:04:29 +0000 (14:04 -0700)]
Fix waiting for system server to be running for BootImageProfileTest

In the case where system server was not yet running, the invalid pid
would cause the test to fail instead of doing the 20 retry loop.
Fixed the logic to handle this case.

Presumably fixes test flakyness.

Bug: 143223380
Bug: 139883463
Test: atest ./tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java

Change-Id: I4bac03e7f377058479f75daaa0d57608614bf329

4 years agoBluetooth doc: The is a -> This is a
Myles Watson [Fri, 11 Oct 2019 22:49:37 +0000 (15:49 -0700)]
Bluetooth doc: The is a -> This is a

Fixes: 142364826
Test: build
Change-Id: I9bde35140bdfc4d76df7e8c427ac6e8baceee611

4 years agoMerge "AudioService: handle errors when reconnecting mixes after server crash"
Treehugger Robot [Wed, 23 Oct 2019 16:40:09 +0000 (16:40 +0000)]
Merge "AudioService: handle errors when reconnecting mixes after server crash"

4 years agoMerge "Move MidiDeviceInfo to libamidi, its only user"
Marco Nelissen [Wed, 23 Oct 2019 16:28:37 +0000 (16:28 +0000)]
Merge "Move MidiDeviceInfo to libamidi, its only user"

4 years agoAudioService: handle errors when reconnecting mixes after server crash
Jean-Michel Trivi [Tue, 22 Oct 2019 15:59:36 +0000 (08:59 -0700)]
AudioService: handle errors when reconnecting mixes after server crash

  Log errors when reconnecting dynamic policy mixes after an audio
server crash.
  Add IntDef for AudioSystem errors, and conversion to String.
  Add support for notifying an AudioPolicy user that it was
unregistered.

Bug: 133279309
Test: connect DAP, kill audio server, verify no errors reported
Change-Id: I1dbfdac1873ed9c44c20ca9d25bbe01ce9904ee5
Merged-In: I1dbfdac1873ed9c44c20ca9d25bbe01ce9904ee5

4 years agoMove MidiDeviceInfo to libamidi, its only user
Marco Nelissen [Tue, 22 Oct 2019 20:44:43 +0000 (13:44 -0700)]
Move MidiDeviceInfo to libamidi, its only user

This removes the libmedia dependency from libamidi, and reduces
overall size.

Test: build
Change-Id: I16b62ef8288bc68a46ae9ac6318efb95fa469e4f
Merged-In: I16b62ef8288bc68a46ae9ac6318efb95fa469e4f

4 years agoExtend netlink class to fit the data structure
Chiachang Wang [Thu, 17 Oct 2019 02:51:40 +0000 (11:51 +0900)]
Extend netlink class to fit the data structure

In order to get the tcp_info via netlink socket from kernel,
NetworkStack needs to use netlink class to pack and parse the
InetDiagReq. Current design hardcodes ididag_ext field in
InetDiagReqV2. The structure is also not allowed to take null
id to not to specify certain socket. Update the constructor and
backward support exising constructor.

Bug: 136162280
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Id66da1797da183ae3d99073f80bad1df929946dc

4 years agoMerge "Better notification to user when DNS-over-TLS is broken"
Lucas Lin [Wed, 23 Oct 2019 09:20:09 +0000 (09:20 +0000)]
Merge "Better notification to user when DNS-over-TLS is broken"

4 years agoMerge "Add logging values for new call states"
Hall Liu [Tue, 22 Oct 2019 23:10:58 +0000 (23:10 +0000)]
Merge "Add logging values for new call states"

4 years agoAdd userId to the package name API.
atrost [Tue, 22 Oct 2019 18:44:09 +0000 (19:44 +0100)]
Add userId to the package name API.

The service would query package manager with the provided userId, and
will return true if the package is not visible.

Test: locally, b/143129258
Change-Id: Iab8ddaa76358d5fad63e10d7c4c3f92e2a0f51a2
Merged-In: I92ea650b49743c388bff9943a7ec620e3d61a5d6

4 years agoMerge "Add a native aidl API."
Anna Trostanetski [Tue, 22 Oct 2019 20:06:19 +0000 (20:06 +0000)]
Merge "Add a native aidl API."

4 years agoAdd a native aidl API.
atrost [Thu, 10 Oct 2019 18:27:31 +0000 (19:27 +0100)]
Add a native aidl API.

Introduce a platform_compat_native service that just calls the
platform_compat service.
The new service is needed as it needs a slightly different (more
limited, no ApplicationInfo in cpp) aidl API, and a class can only
extend one stub.

Test: Call the service from dumpsys.cpp (http://aosp/1142055)
Bug: 138275545
Change-Id: Ic46cc34b4c1dd4ebc6bcc996fb3f8503607214ac
Merged-In: Ic46cc34b4c1dd4ebc6bcc996fb3f8503607214ac

4 years agoBetter notification to user when DNS-over-TLS is broken
lucaslin [Tue, 22 Oct 2019 10:27:33 +0000 (18:27 +0800)]
Better notification to user when DNS-over-TLS is broken

Provide a specifc notification to let users know that device
has no internet is because it really doesn't have internet access
or it's caused by private DNS resolution failed.

Bug: 113242081
Test: atest FrameworksNetTests
Change-Id: I710c88a4742f5fd56c39fc797d7fa3ad36dba553

4 years agomake CallerInfo as SystemAPI
Chen Xu [Sun, 8 Sep 2019 01:56:17 +0000 (18:56 -0700)]
make CallerInfo as SystemAPI

1. move CallerInfo from telephony.internal to andorid.telephony package
2. expose APIs inside CallerInfo which are consumed by non-telephony
code.

Bug: 140908357
Test: Build
Change-Id: Ie95897c77e97e40f5357c107aede82edfea44d5a
(cherry picked from commit b9a1eefec66e8c2cd5ab9dab512bb729ef2caae8)
Merged-in: Ie95897c77e97e40f5357c107aede82edfea44d5a

4 years agoMerge "Use phenotype properties for boot image profile test"
Mathieu Chartier [Mon, 21 Oct 2019 23:23:49 +0000 (23:23 +0000)]
Merge "Use phenotype properties for boot image profile test"

4 years agoMake libstatslog static-linkage compatible.
Mitch Phillips [Mon, 21 Oct 2019 20:32:14 +0000 (13:32 -0700)]
Make libstatslog static-linkage compatible.

libstatslog is a blocker for some fuzzing. Our continuous fuzzing
infrastructure requires a statically-linked binary, and things depend on
libstatslog down the chain. We should allow libstatslog to be linked
statically.

Bug: N/A
Test: m libstatslog
Change-Id: Ic742a90daf6cbb5d197784416626256bfb6182b7

4 years agoMerge "Emergency number database config updater"
Shuo Qian [Mon, 21 Oct 2019 19:59:39 +0000 (19:59 +0000)]
Merge "Emergency number database config updater"

4 years agoMerge "Changed regex matching for MCC and MNC"
Yincheng Zhao [Mon, 21 Oct 2019 19:42:47 +0000 (19:42 +0000)]
Merge "Changed regex matching for MCC and MNC"

4 years agoMerge "Make TimeDetectorService more aware of origin"
Neil Fuller [Mon, 21 Oct 2019 18:33:31 +0000 (18:33 +0000)]
Merge "Make TimeDetectorService more aware of origin"

4 years agoMerge "Get ApplicationInfo using self UID to make sure we have permission."
Treehugger Robot [Mon, 21 Oct 2019 17:22:34 +0000 (17:22 +0000)]
Merge "Get ApplicationInfo using self UID to make sure we have permission."

4 years agoGet ApplicationInfo using self UID to make sure we have permission.
atrost [Mon, 21 Oct 2019 16:10:39 +0000 (17:10 +0100)]
Get ApplicationInfo using self UID to make sure we have permission.

Otherwise the caller is checked for permission to get the
ApplicationInfo, and may be denied due to lack of INTERACT_ACROSS_USERS.

Bug: 142942524
Test: patched to internal master,
  1. Install TestDPC via adb
  2. Invoke "Set up Te..." from the launcher to create a work profile and follow "next" button and select "skip adding an account"
  3. Select TestDPC from the "work" tab of the list of all apps in launcher.
  4. Using built-in search look for "Password constraints" and tap it.
  5. tap "Minimum password length" and try to set it to 5.
  Before change: Neither user 1010193 nor current process has android.permission.INTERACT_ACROSS_USERS.
  After Change: password quality should be at least 131072 for setPasswordMinimumLength

Change-Id: I4018fac21c1ce40f4258be0dc39ebe0e8e1bd582

4 years agoMerge "translate="false" -> translatable="false""
Treehugger Robot [Mon, 21 Oct 2019 15:39:53 +0000 (15:39 +0000)]
Merge "translate="false" -> translatable="false""

4 years agoMerge "Add a unit test for ChangeReporter."
Anna Trostanetski [Mon, 21 Oct 2019 10:31:21 +0000 (10:31 +0000)]
Merge "Add a unit test for ChangeReporter."

4 years agoMerge "Use Metalava to get SDK metadata for devtools"
Jerome Gaillard [Mon, 21 Oct 2019 09:32:12 +0000 (09:32 +0000)]
Merge "Use Metalava to get SDK metadata for devtools"

4 years agoMake TimeDetectorService more aware of origin
Neil Fuller [Tue, 15 Oct 2019 13:37:37 +0000 (14:37 +0100)]
Make TimeDetectorService more aware of origin

Make TimeDetectorService more aware of a time signal's origin by making
the time signal from telephony less generic.

When TimeDetectorService was written it was assumed that the TimeSignal
could be generic and there would just be a String source identifier to
indicate origin.

With multiple SIMs / phones on a device it makes sense to keep track of
the originating phone of the signal so that the time detector service
could implement stickiness if it wanted. This would avoid a device
alternating back and forth between two signals and help with debugging.

As new signals are added, new "suggestXxxxTime()" methods will be added
to TimeDetectorService. That is the point at which the strategy for
ranking different sources can be decided. e.g. should NTP always rank
higher than NITZ?

The main change here is that TimeSignal is renamed to
PhoneTimeSuggestion to indicate it's only for use by signals from
telephony, sourceId has been removed and it has been given a phoneId
instead. Extra free-form metadata (mDebugInfo) has been added to assist
with logging / debugging.

Bug:140712361
Test: atest android.app.timedetector
Test: atest com.android.server.timedetector
Change-Id: I5305c34516e5f4e254309193183f00e054801a46

4 years agoMerge "Cellbroadcast util lib"
Chen Xu [Sun, 20 Oct 2019 05:16:38 +0000 (05:16 +0000)]
Merge "Cellbroadcast util lib"

4 years agoCellbroadcast util lib
Chen Xu [Wed, 9 Oct 2019 01:39:03 +0000 (18:39 -0700)]
Cellbroadcast util lib

Bug: 135956699
Test: Build
Change-Id: I247bfb3d877334fe822332275e37f015e10a566e
(cherry picked from commit 4fea79cc583a16804f4d596daa61fe7025d4f5e5)
Merged-in: I247bfb3d877334fe822332275e37f015e10a566e

4 years agomove CellBroadcastMessage from telephony-common to app
Chen Xu [Thu, 3 Oct 2019 23:48:56 +0000 (16:48 -0700)]
move CellBroadcastMessage from telephony-common to app

1. add slotIndex in SmsCbMesage
2. move cellbroadcastMessage from telephony-common to app
next step, considering merging CellBroadcast to SmsCbMessage

Bug: 135956699
Bug: 141962867
Test: build & unit test
Change-Id: I07604101e3dccaa8e1539fa2644ef08da54d4533
(cherry picked from commit 515285b1b515330f7795ba6a9c361a56a04ab172)
Merged-in: I07604101e3dccaa8e1539fa2644ef08da54d4533

4 years agoMerge "Remove unnecessary dependencies on ART internal libraries."
Treehugger Robot [Sat, 19 Oct 2019 12:20:47 +0000 (12:20 +0000)]
Merge "Remove unnecessary dependencies on ART internal libraries."

4 years agoMerge "Add sarahchin to OWNERS"
Treehugger Robot [Sat, 19 Oct 2019 01:16:06 +0000 (01:16 +0000)]
Merge "Add sarahchin to OWNERS"

4 years agoAdd sarahchin to OWNERS
Sarah Chin [Fri, 18 Oct 2019 23:11:37 +0000 (16:11 -0700)]
Add sarahchin to OWNERS

Test: no test
Change-Id: Ia2f1c59046904c059e8edcbed19abf9f46a01f50

4 years agoMerge "[DO NOT MERGE] Add CellBroadcastService and related permissions"
Jordan Liu [Fri, 18 Oct 2019 23:22:12 +0000 (23:22 +0000)]
Merge "[DO NOT MERGE] Add CellBroadcastService and related permissions"

4 years ago[DO NOT MERGE] Add CellBroadcastService and related permissions
Jordan Liu [Mon, 23 Sep 2019 20:35:02 +0000 (13:35 -0700)]
[DO NOT MERGE] Add CellBroadcastService and related permissions

CellBroadcastService is bound to by the platform to handle cell
broadcasts.

Bug: 135956699
Test: manual
Change-Id: I865c09d6d246779b706c06371df685d415618699

4 years agoMerge "Add disconnect causes for WFC use cases."
Sarah Chin [Fri, 18 Oct 2019 19:15:14 +0000 (19:15 +0000)]
Merge "Add disconnect causes for WFC use cases."

4 years agoMerge "Telecom API updates for mainline support."
Tyler Gunn [Fri, 18 Oct 2019 18:12:13 +0000 (18:12 +0000)]
Merge "Telecom API updates for mainline support."

4 years agoAdd disconnect causes for WFC use cases.
Tyler Gunn [Mon, 29 Jul 2019 21:46:36 +0000 (14:46 -0700)]
Add disconnect causes for WFC use cases.

Add new disconnect cause used when an attempt is made to place an
emergency call over WFC but the service is unavailable.
Add new disconnect cause when WFC is not available in an area.

Bug: 128993720
Test: Unit tests added to confirm remapping.
Change-Id: I15dcff8fabc06b5d469d083b0970fe0e77e7d318
Merged-In: I8c452c8e12f6ac3549480635132eab9d2ba03e2c

4 years agoFix docs to be clearer and more maintainable
Neil Fuller [Fri, 18 Oct 2019 16:41:56 +0000 (17:41 +0100)]
Fix docs to be clearer and more maintainable

The mention of P in the doc was unclear. Also, listing the specific
values allowed is a maintenance issue.

Test: None
Change-Id: I9c46eec353090ecd822f10a0a9e8433fa46246a0

4 years agoAdd a unit test for ChangeReporter.
atrost [Thu, 10 Oct 2019 13:24:21 +0000 (14:24 +0100)]
Add a unit test for ChangeReporter.

Separate the decision on whether to log to two separate ones - logcat
and statsLog to allow separate policies.
Also add startLogAll and endLogAll in preparation for an adb command
that will enable/disable logging to logcat every time.

Test: atest ChangeReporterTest
Bug: 138374585
Bug: 140910281

Change-Id: Ie49368b838a19845f51a2670035f611d3e4b9a1b

4 years agotranslate="false" -> translatable="false"
Edward Savage-Jones [Fri, 18 Oct 2019 07:47:07 +0000 (09:47 +0200)]
translate="false" -> translatable="false"

Fixed a typo related to String translation

Bug: 142888682
Test: Manual
Change-Id: I75f1ce67492f54bdfdf859b283d5095909cc63f5

4 years agoMerge "p2p: mirgrate p2p into tethering modes"
Jimmy Chen [Fri, 18 Oct 2019 05:42:31 +0000 (05:42 +0000)]
Merge "p2p: mirgrate p2p into tethering modes"

4 years agoMerge "Expose MacAddress methods to public API"
Aaron Huang [Fri, 18 Oct 2019 03:45:40 +0000 (03:45 +0000)]
Merge "Expose MacAddress methods to public API"

4 years agoAdding API in TelephonyManger for updating Fplmns.
yincheng zhao [Sat, 7 Sep 2019 00:18:54 +0000 (17:18 -0700)]
Adding API in TelephonyManger for updating Fplmns.

Bug: 78790236
Test: Verified on blueline
Change-Id: Id19ae55cc03efbd085314e9d0026ca2486e9755d
Merged-In: Id19ae55cc03efbd085314e9d0026ca2486e9755d
(cherry picked from commit c245257cb1327c3719b5039ba5b0284f9573a8a0)

4 years agoChanged regex matching for MCC and MNC
Sarah Chin [Mon, 5 Aug 2019 17:24:04 +0000 (10:24 -0700)]
Changed regex matching for MCC and MNC

Bug: 137942727
Test: atest CellIdentityTest
Change-Id: Iaeb9ff9e2a5a82be66855378831cd52ee49e3c5c
(cherry picked from commit cb76b14fdfbb8e074bc3d319ae7d8d29e47ec1fc)
Merged-In: Iaeb9ff9e2a5a82be66855378831cd52ee49e3c5c

4 years agoMerge "Move JetPlayer implemention and JNI"
Marco Nelissen [Fri, 18 Oct 2019 00:28:31 +0000 (00:28 +0000)]
Merge "Move JetPlayer implemention and JNI"

4 years agoEmergency number database config updater
Shuo Qian [Mon, 14 Oct 2019 20:10:11 +0000 (13:10 -0700)]
Emergency number database config updater

Test: https://paste.googleplex.com/5345498821033984
Bug: 136027884
Change-Id: I0fbd48fe8ef5e008af714312859b513a22679fcb
Merged-In: I0fbd48fe8ef5e008af714312859b513a22679fcb
(cherry picked from commit 8163b80a7ec63e8869742c8eac7291629d9c32f8)

4 years agoRemove unnecessary dependencies on ART internal libraries.
Martin Stjernholm [Wed, 9 Oct 2019 23:38:58 +0000 (00:38 +0100)]
Remove unnecessary dependencies on ART internal libraries.

Bug: 133140750
Test: atest FrameworksNetTests
Change-Id: Id6817a2ae09eb6ecfc4c5c8dc08ade44a16d710b

4 years agoMove JetPlayer implemention and JNI
Marco Nelissen [Thu, 17 Oct 2019 15:55:52 +0000 (08:55 -0700)]
Move JetPlayer implemention and JNI

The JetPlayer implementation in libmedia was only used by the
JetPlayer JNI code in libandroid_runtime. This change moves
both implementation and JNI to libmedia_jni. This reduces
libandroid_runtime's dependency on libmedia, and results in
a net size reduction of the libraries involved.

Test: atest JetPlayerTest
Change-Id: I028c774fdea167924b064855267254c15f22fddb
Merged-In: I028c774fdea167924b064855267254c15f22fddb

4 years agoTelecom API updates for mainline support.
Tyler Gunn [Tue, 15 Oct 2019 20:19:26 +0000 (13:19 -0700)]
Telecom API updates for mainline support.

Moving some Telecom APIs into public since they are harmless to expose.
Moving some other Telecom APIs into the System API space since they're
API details specific to the TelephonyConnectionService so don't need to
be exposed in the public API.

Bug: 141576016
Test: Manual smoke test.
Test: Run unit tests.
Test: Run CTS tests.
Change-Id: Iaf75b9d671712d791f501c11536e73436908f7de
Merged-In: Iaf75b9d671712d791f501c11536e73436908f7de

4 years agoMerge "Use sizeof(android_log_header_t) instead of sizeof its components"
Tom Cherry [Thu, 17 Oct 2019 13:41:42 +0000 (13:41 +0000)]
Merge "Use sizeof(android_log_header_t) instead of sizeof its components"

4 years agoUse Metalava to get SDK metadata for devtools
Jerome Gaillard [Thu, 10 Oct 2019 18:09:21 +0000 (19:09 +0100)]
Use Metalava to get SDK metadata for devtools

Metalava, not Doclava, should be used to extract the metadata used in
devtools. The files created then need to be copied into the SDK.

Bug: 142480924
Test: m sdk
Change-Id: I7eb15341fde9520d51a696a6416a63e6c19c71f9

4 years agoMerge "Add SDK compatibility code for new call states"
Hall Liu [Wed, 16 Oct 2019 23:11:58 +0000 (23:11 +0000)]
Merge "Add SDK compatibility code for new call states"

4 years agoMerge "Add CarrierConfig of voicemail number for roaming and IMS unregistered"
Brad Ebinger [Wed, 16 Oct 2019 22:54:54 +0000 (22:54 +0000)]
Merge "Add CarrierConfig of voicemail number for roaming and IMS unregistered"

4 years agoUse sizeof(android_log_header_t) instead of sizeof its components
Tom Cherry [Wed, 16 Oct 2019 22:48:56 +0000 (15:48 -0700)]
Use sizeof(android_log_header_t) instead of sizeof its components

Particularly because sizeof_log_id_t is a misnomer and is going away.

Test: build, liblog and logcat unit tests
Change-Id: I7978bf83e44336a334229753ff1e11a07134e8fc

4 years agoMerge "Re-enable the following tests in pre-submit: cts.AlarmManagerTest#testSetRep...
Treehugger Robot [Wed, 16 Oct 2019 20:30:25 +0000 (20:30 +0000)]
Merge "Re-enable the following tests in pre-submit:   cts.AlarmManagerTest#testSetRepeating,   cts.SystemFeaturesTest#testSensorFeatures"

4 years agoRe-enable the following tests in pre-submit:
Raman Tenneti [Wed, 2 Oct 2019 23:14:24 +0000 (16:14 -0700)]
Re-enable the following tests in pre-submit:
  cts.AlarmManagerTest#testSetRepeating,
  cts.SystemFeaturesTest#testSensorFeatures

These above two tests were already marked as Flaky and thus removing the unnecessary exclude-filters.

Bug: 139535125
Bug: 142677497
Bug: 142679048
Test: Forrest runs - L31100000373321096

Change-Id: I06aa4d28f00862d21d954a5069aba3327b5b1483
Merged-In: Iffec912af4ee9dd3de2090a31bd475abc5016854
Exempt-From-Owner-Approval: Re-enabling known working test in TEST_MAPPING
for aosp-master.

4 years agoMerge "Fix: Recent Apps not closing"
Riddle Hsu [Wed, 16 Oct 2019 14:43:19 +0000 (14:43 +0000)]
Merge "Fix: Recent Apps not closing"

4 years agoMerge "Add ATV Core Framework team as owners of TV status bar"
Treehugger Robot [Wed, 16 Oct 2019 14:08:02 +0000 (14:08 +0000)]
Merge "Add ATV Core Framework team as owners of TV status bar"

4 years agoMerge "API Lint: Fix system-lint-baseline.txt"
Adrian Roos [Wed, 16 Oct 2019 12:07:52 +0000 (12:07 +0000)]
Merge "API Lint: Fix system-lint-baseline.txt"

4 years agoMerge "Revert "Example for disabling changes at test time""
Andrei-Valentin Onea [Wed, 16 Oct 2019 10:29:59 +0000 (10:29 +0000)]
Merge "Revert "Example for disabling changes at test time""

4 years agoRevert "Example for disabling changes at test time"
Andrei-Valentin Onea [Wed, 16 Oct 2019 10:10:36 +0000 (10:10 +0000)]
Revert "Example for disabling changes at test time"

This reverts commit 12765612f3adf69e9e1b170ab724c99acb26f699.

Reason for revert: http://b/142758681

Change-Id: I3e844bf1794e355187934a0370cdc94ece44deb8

4 years agoMerge "Add ITelephony setCepEnabled command line command."
Treehugger Robot [Wed, 16 Oct 2019 06:13:47 +0000 (06:13 +0000)]
Merge "Add ITelephony setCepEnabled command line command."

4 years agoMerge "[frameworks][base][hwui] fix -Wimplicit-int-float-conversion"
Treehugger Robot [Wed, 16 Oct 2019 03:48:23 +0000 (03:48 +0000)]
Merge "[frameworks][base][hwui] fix -Wimplicit-int-float-conversion"

4 years agoMerge "Remove the network capabilities which are added twice"
Lucas Lin [Wed, 16 Oct 2019 03:17:48 +0000 (03:17 +0000)]
Merge "Remove the network capabilities which are added twice"

4 years agoMerge changes from topics "add-certs-cp", "feature_BusyTone_for_DisconnectCause"
Hall Liu [Tue, 15 Oct 2019 23:46:17 +0000 (23:46 +0000)]
Merge changes from topics "add-certs-cp", "feature_BusyTone_for_DisconnectCause"

* changes:
  Add new carrier config to extend DisconnectCause to play busy tone
  add certs to carrier configs and store them as UiccAccessRules

4 years agoMerge "[DO NOT MERGE] Check CellInfoCallback Detail for Null"
Nathan Harold [Tue, 15 Oct 2019 22:29:52 +0000 (22:29 +0000)]
Merge "[DO NOT MERGE] Check CellInfoCallback Detail for Null"