Commit Graph

379195 Commits

Author SHA1 Message Date
liulvping
a2b2a415f0 Merge "fix mmap leak of graphicsstats service"
am: 9ebc299b73

Change-Id: I6d13762a54bcf7417379c67385848e81e953ff2b
2019-01-07 21:22:46 -08:00
Treehugger Robot
9ebc299b73 Merge "fix mmap leak of graphicsstats service" 2019-01-08 05:03:47 +00:00
Remi NGUYEN VAN
133f281d12 Merge "Add parceling for DhcpServingParams"
am: f6209cf0dd

Change-Id: I3462d829ea5aca3e2d8a76db3c522f355da36153
2019-01-07 18:07:51 -08:00
Remi NGUYEN VAN
f6209cf0dd Merge "Add parceling for DhcpServingParams" 2019-01-08 01:53:19 +00:00
Chih-hung Hsieh
0e0edd08ac Merge "Fix/suppress hwui/tests google-explicit-constructor warnings"
am: 6832595911

Change-Id: Iffb7f6fc3e829d8ebdb97d7e1a98e823a6ad5b44
2019-01-07 17:15:42 -08:00
Chih-hung Hsieh
6832595911 Merge "Fix/suppress hwui/tests google-explicit-constructor warnings" 2019-01-08 00:29:21 +00:00
Andreas Gampe
bd37561226 Merge "NetworkPolicy: Replace fake allLocks"
am: 1afa2c413e

Change-Id: Iff90737a3d2ade86e8cbf7ac1a2663c4e886e285
2019-01-07 10:27:15 -08:00
Andreas Gampe
1afa2c413e Merge "NetworkPolicy: Replace fake allLocks" 2019-01-07 18:10:15 +00:00
Eric Holk
755467bb4f Merge "[view compiler] Add XML to DEX compilation"
am: d426ee84a0

Change-Id: I095a2113ea714a66bcca915dee076aa20a908f31
2019-01-07 09:53:41 -08:00
Treehugger Robot
d426ee84a0 Merge "[view compiler] Add XML to DEX compilation" 2019-01-07 17:43:50 +00:00
Jack Yu
d05f403adc Merge "Stop exposing reasons through phone state listener"
am: 26ebccdcff

Change-Id: I81f44a4c127309e7358d4aadb6148d6448ff55a6
2019-01-07 07:45:01 -08:00
Jack Yu
26ebccdcff Merge "Stop exposing reasons through phone state listener" 2019-01-07 15:25:38 +00:00
Jack Yu
bcea94219a Merge "Cleaned up dead code"
am: d14ed44c52

Change-Id: I2b28c73090b0a1a9a15e4a104acdbca7e43abecf
2019-01-06 22:49:13 -08:00
Jack Yu
f05919ab76 Stop exposing reasons through phone state listener
The data connection reasons are implementation details
of telephony and should not be exposed externally. The
data connection fail cause, which is different from
reasons, are still available.

Test: Telephony sanity tests + unit tests
Bug: 73659459

Merged-In: Ia005abf19664e6213118ee932495950af118456d
Change-Id: Ia005abf19664e6213118ee932495950af118456d
(cherry picked from commit 4d1c945000)
2019-01-07 06:39:38 +00:00
Jack Yu
d14ed44c52 Merge "Cleaned up dead code" 2019-01-07 06:37:30 +00:00
Manpreet
9568191633 Merge "Null locale causing the VTS fail."
am: 179f30a443

Change-Id: I8ae92392e70c046194df1c8ebee0bd32ed9513cf
2019-01-06 20:30:46 -08:00
Treehugger Robot
179f30a443 Merge "Null locale causing the VTS fail." 2019-01-07 04:19:22 +00:00
Remi NGUYEN VAN
761198a05d Add parceling for DhcpServingParams
Introduce a stable AIDL parcel class, DhcpServingParamsParcel, and
methods to convert to and from that class to DhcpServingParams.
This will be used to move DhcpServer to the NetworkStack app.

Test: atest FrameworksNetTests
Bug: b/112869080
Change-Id: I276b7affccb938059769c90a53f0f6beb26e6ede
2019-01-07 12:07:18 +09:00
Jack Yu
239aa0ae0a Cleaned up dead code
Renamed the scanning state to retrying. Removed the
old retrying dead code.

Test: Telephony sanity tests
Bug: 73659459

Merged-In: I54849bafbd0d05206e67636f0717b4b833a5e229
Change-Id: I54849bafbd0d05206e67636f0717b4b833a5e229
(cherry picked from commit 5de4a2d869)
2019-01-06 11:48:32 -08:00
Sahin Caliskan
57d3db1230 Merge "Implement RcsThread querying (base)"
am: 7ec9e6849e

Change-Id: Ie6800e9dbcf0bb56fafe0fa7791dd524df72162c
2019-01-05 13:33:17 -08:00
Sahin Caliskan
7ec9e6849e Merge "Implement RcsThread querying (base)" 2019-01-05 21:19:09 +00:00
Nathan Harold
e3db7cfb12 Merge "Fix WCDMA Level Calculation for Default CC"
am: 3ada51469a

Change-Id: I7f5f0fca6c5b92a87d9ba276a48fdc00e919a490
2019-01-04 17:43:28 -08:00
Eric Holk
4273457c9e [view compiler] Add XML to DEX compilation
Test: atest
Bug: 111895153
Change-Id: I91c01ff4474e080c87b902ae963b5d655346f859
2019-01-05 01:36:05 +00:00
Nathan Harold
3ada51469a Merge "Fix WCDMA Level Calculation for Default CC" 2019-01-05 01:25:14 +00:00
Eric Holk
07b293f8af Merge "Add tryCreateView to LayoutInflater"
am: aa8f1b7033

Change-Id: Ib89a1d1b292aca7404d646ff61974558422fc959
2019-01-04 17:17:28 -08:00
Treehugger Robot
aa8f1b7033 Merge "Add tryCreateView to LayoutInflater" 2019-01-05 01:02:28 +00:00
Sahin Caliskan
424945e010 Implement RcsThread querying (base)
This change does a first pass to introduce RcsThread querying. We can
now insert threads and query them back.

Test: Added unit test

Bug: 109759350
Change-Id: Ib116cd533a19ce4d099864a095f585ac47cdc9f6
2019-01-04 23:53:58 +00:00
Ruchi Kandoi
d0c8a165d8 Merge "Deprecate Android beam APIs and create a feature flag to gate them"
am: 6a3d45c4b2

Change-Id: I6305379f787de122e35a9a2a12eb9f99385da4df
2019-01-04 13:57:48 -08:00
Treehugger Robot
6a3d45c4b2 Merge "Deprecate Android beam APIs and create a feature flag to gate them" 2019-01-04 21:49:14 +00:00
Ruchi Kandoi
96fe50bc1b Deprecate Android beam APIs and create a feature flag to gate them
Test: Test application trying to invoke the API
Bug: 117519147
Change-Id: Icd3187e4f3e0f180cb42d36011f60895fb395002
2019-01-04 21:49:00 +00:00
Nathan Harold
549c3ba3b5 Fix WCDMA Level Calculation for Default CC
The default carrier config was setting the level
calculation method to an empty string, which caused
the level to be set forcibly to NONE/UNKNOWN due to
the logic failing to account for empty strings. This
patch sets the default to something sane "rssi" that
matches legacy behavior and also adds guards so that
an empty string will be considered default, and a non
empty but otherwise invalid string will also try to
use RSSI instead of simply failing to display signal
bars.

-Add protection against invalid array sizes
-Fix a bug where RSCP could use RSSI thresholds
-Add fallback for RSCP thresholds being null when the
 measurement type is set to RSCP.
-Define RSCP thresholds as constants.

Bug: 118800169
Test: atest CellSignalStrengthWcdmaTest
Change-Id: I8d6261bc5adab6bf9b0a88f7d59b259d338a49e9
2019-01-04 13:34:02 -08:00
Eric Holk
29d0cd6fa1 Add tryCreateView to LayoutInflater
This method is needed so that precompiled layouts can reuse the factory logic
from the LayoutInflater.

Bug: 111895153
Test: atest android.view.cts.LayoutInflaterTest
Change-Id: Ifd1028906b655af2bd14247d586dc16b35550c82
2019-01-04 12:57:14 -08:00
Ruchi Kandoi
9c0ec9be9f Merge changes from topic "multi-se-support"
am: 54502d68ea

Change-Id: I10dad203c4e46b28546f1bb3c721e5d4e7fb0aec
2019-01-04 12:10:50 -08:00
Ruchi Kandoi
54502d68ea Merge changes from topic "multi-se-support"
* changes:
  Add a mechanism to register AIDs to specific off-host SE
  Add Off-Host Card Emulation Features
2019-01-04 19:56:41 +00:00
Chih-Hung Hsieh
d42fe48c93 Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings"
am: cdf6be573f

Change-Id: I4fbcbdd7e845f2ce7106a85ce8224c17517db1f5
2019-01-04 11:55:42 -08:00
Treehugger Robot
cdf6be573f Merge "Fix/suppress aapt/aapt2 google-explicit-constructor warnings" 2019-01-04 19:34:30 +00:00
Chih-Hung Hsieh
1c57378eed Fix/suppress hwui/tests google-explicit-constructor warnings
* Add explicit to conversion constructors/operators

Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I59c61af29ab09209c5a4c2bf43b10215bf59756a
2019-01-04 17:42:27 +00:00
Chih-Hung Hsieh
1fc78e1814 Fix/suppress aapt/aapt2 google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
* Use NOLINT or NOLINTNEXTLINE to suppress warnings on intended converters

Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Ie02101ea7c422e8add535c111a30a2f21ead0ace
2019-01-04 17:38:13 +00:00
Junyu Lai
cb53e78f56 Merge "Ignore ipv6 tx traffic on clat uid."
am: bd73798585

Change-Id: I181c3c812caa9bcd359fbddf74d14adeb7e83419
2019-01-04 08:13:29 -08:00
Junyu Lai
bd73798585 Merge "Ignore ipv6 tx traffic on clat uid." 2019-01-04 09:29:10 +00:00
Ruchi Kandoi
44bb579621 Add a mechanism to register AIDs to specific off-host SE
Test: manual
Bug: 117253962
Change-Id: Id34bf84dcff7789548eac19478010838bebd9758
2019-01-04 01:14:50 +00:00
Sahin Caliskan
ac974d0b0d Merge "Skeleton implementation of RCS APIs"
am: 94d92dc3cf

Change-Id: I923bcaa8f55bea054696bf8c07f38d1d37803406
2019-01-03 16:23:10 -08:00
Sahin Caliskan
94d92dc3cf Merge "Skeleton implementation of RCS APIs" 2019-01-04 00:04:43 +00:00
Ruchi Kandoi
ebf267a2a4 Add Off-Host Card Emulation Features
Test: CTS test; manual
Bug: 117253962
Change-Id: I7c35b1bffbc57870bb8c67704811a2649854d94e
2019-01-03 23:00:59 +00:00
Sahin Caliskan
ec851b1f98 Skeleton implementation of RCS APIs
This change adds the classes for RCS Storage APIs. There
is no business logic implemented yet, and the parcelable boilerplate
code doesn't really do anything.

This was needed as these APIs are meant to be interconnected, i.e. to
use an RcsPart, the app developer will need an RcsMessage, and for
that they will need the RcsThread etc.

Test: Builds fine. Tests will be added as I add business logic.

Bug: 109759350
Change-Id: I20897946dc1d9218f60274c7e3242194c7e2ac32
2019-01-03 14:18:06 -08:00
Seungho Lee
21d607da99 Merge "Update sound/vibrate notification key only when it actually buzz/beep."
am: 5432355d0c

Change-Id: I14f418a9b09826c58817586f7635277ef6833b90
2019-01-03 13:09:22 -08:00
Treehugger Robot
5432355d0c Merge "Update sound/vibrate notification key only when it actually buzz/beep." 2019-01-03 20:51:22 +00:00
Julia Reynolds
186fcb585f Merge "Check if notification is valid before it finally vibrates because it can be canceled as soon as enqeued"
am: 172458e014

Change-Id: I7832387ba4294b68865cc725e5d1e474370e8e54
2019-01-03 11:57:40 -08:00
Julia Reynolds
172458e014 Merge "Check if notification is valid before it finally vibrates because it can be canceled as soon as enqeued" 2019-01-03 19:43:36 +00:00
Chih-Hung Hsieh
14756c26fa Merge "Fix/suppress services/core google-explicit-constructor warnings"
am: ffb51ba0f0

Change-Id: Ibea7a936c7313a38cd5e148ce504106081d47899
2019-01-02 15:59:01 -08:00