OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge changes from topic "StatsLog.write_migrate"
Chiachang Wang [Fri, 19 Apr 2019 01:13:57 +0000 (18:13 -0700)]
Merge changes from topic "StatsLog.write_migrate"
am: 32df8810c6

Change-Id: I5a5c6ac356fee904eb0b8707c667d90f98a8e095

5 years agoMerge changes from topic "StatsLog.write_migrate"
Chiachang Wang [Fri, 19 Apr 2019 00:58:24 +0000 (00:58 +0000)]
Merge changes from topic "StatsLog.write_migrate"

* changes:
  Java code for mainline modules to log to statsd.
  Migrate NetworkStack metrics off StatsLog.write

5 years agoMerge changes from topic "GameDriver2"
Yiwei Zhang [Fri, 19 Apr 2019 00:25:47 +0000 (17:25 -0700)]
Merge changes from topic "GameDriver2"
am: a88226283d

Change-Id: I632eae432db8490ae78d32b245717a6ab0861f8a

5 years agoMerge changes from topic "GameDriver2"
Treehugger Robot [Fri, 19 Apr 2019 00:06:39 +0000 (00:06 +0000)]
Merge changes from topic "GameDriver2"

* changes:
  Game Driver: rename GUP to Game Driver
  [Game Driver] Add support for whitelist.
  [Game Driver] Add blacklist mechanism.
  GUP: Add a global property for genreal preference
  GUP: Update global property for the new dev opt
  GUP: Add metrics constant for GUP UI

5 years agoMerge "Reorder ImsFeature initialization to handle STATE_READY"
Brad Ebinger [Thu, 18 Apr 2019 20:40:30 +0000 (13:40 -0700)]
Merge "Reorder ImsFeature initialization to handle STATE_READY"
am: 3876ca9d81

Change-Id: Ib0b4a3711af362a0d535ebaa804e57c7a84f6b2d

5 years agoMerge "Reorder ImsFeature initialization to handle STATE_READY"
Brad Ebinger [Thu, 18 Apr 2019 20:18:16 +0000 (20:18 +0000)]
Merge "Reorder ImsFeature initialization to handle STATE_READY"

5 years agoMerge "Change ServiceState and TelephonyRegistry logging"
Hall Liu [Thu, 18 Apr 2019 18:49:13 +0000 (11:49 -0700)]
Merge "Change ServiceState and TelephonyRegistry logging"
am: 7aa9020feb

Change-Id: Iae49c001986cb0e4ee6887f249d0f9eb2ab1225f

5 years agoMerge "Update Multi-OffHost related API definition"
Jack Yu [Thu, 18 Apr 2019 18:30:14 +0000 (11:30 -0700)]
Merge "Update Multi-OffHost related API definition"
am: 65af5e2470

Change-Id: I2dd321f4b961c281b4e87a8d0202e86593c0c076

5 years agoMerge "Change ServiceState and TelephonyRegistry logging"
Hall Liu [Thu, 18 Apr 2019 18:22:12 +0000 (18:22 +0000)]
Merge "Change ServiceState and TelephonyRegistry logging"

5 years agoMerge "Update Multi-OffHost related API definition"
Treehugger Robot [Thu, 18 Apr 2019 18:08:11 +0000 (18:08 +0000)]
Merge "Update Multi-OffHost related API definition"

5 years agoMerge "Fix incorrect leap year logic"
Neil Fuller [Thu, 18 Apr 2019 11:22:32 +0000 (04:22 -0700)]
Merge "Fix incorrect leap year logic"
am: 8b5eb92120

Change-Id: If9c70bb913abb8ef8a1dbe140ebdcbf24d2d87cf

5 years agoMerge "Fix incorrect leap year logic"
Treehugger Robot [Thu, 18 Apr 2019 11:09:32 +0000 (11:09 +0000)]
Merge "Fix incorrect leap year logic"

5 years agoMerge "Move Setting constants for NetworkStack"
Chiachang Wang [Thu, 18 Apr 2019 07:58:02 +0000 (00:58 -0700)]
Merge "Move Setting constants for NetworkStack"
am: 587ee7240e

Change-Id: Ieedf7af48c408637c11c4ea7fe4cc93261ce613d

5 years agoMerge "Move Setting constants for NetworkStack"
Chiachang Wang [Thu, 18 Apr 2019 07:35:19 +0000 (07:35 +0000)]
Merge "Move Setting constants for NetworkStack"

5 years agoJava code for mainline modules to log to statsd.
Tej Singh [Thu, 18 Apr 2019 03:31:52 +0000 (11:31 +0800)]
Java code for mainline modules to log to statsd.

Adds support for generating app code to allow java mainline modules to
call the StatsLog.writeRaw public API. Supports primitives, enums,
attribution chains, MODE_BYTES. Does not support key value pairs,
worksource methods (because worksource uses hidden apis in the
worksource object).

Test: manually tested atom logging from DocumentsUI
Test: existing autogenerated code is not modified
Test: cts will follow
Bug: 126134616

Change-Id: Ia321cf2d9952e3875ed0c7a28db1f4113711513f
Merged-In: I97ac1890fda2262e343acafbbb8822e1de5f6515

5 years agoGame Driver: rename GUP to Game Driver
Yiwei Zhang [Thu, 24 Jan 2019 22:45:53 +0000 (14:45 -0800)]
Game Driver: rename GUP to Game Driver

Bug: 119221883
Test: Build, flash, boot and make RunSettingsRoboTests
Change-Id: I39724917b516b4871c6b1b1f0d30aa0f793942a4
Merged-In: I39724917b516b4871c6b1b1f0d30aa0f793942a4

5 years agoMerge "Public StatsLog API for generic mainline logging."
Chiachang Wang [Thu, 18 Apr 2019 01:40:26 +0000 (18:40 -0700)]
Merge "Public StatsLog API for generic mainline logging."
am: e1556e9096

Change-Id: Id2d8290e1278b4c5de2de6110a68bbbcd7bd9b4b

5 years agoMigrate NetworkStack metrics off StatsLog.write
Chiachang Wang [Thu, 11 Apr 2019 13:24:28 +0000 (21:24 +0800)]
Migrate NetworkStack metrics off StatsLog.write

Now that the new metrics API can be used, NetworkStack
metrics need to migrate off the legacy StatsLog.write.

Bug: 130323000
Test: Test with ./out/host/linux-x86/bin/statsd_testdrive 121
      to ensure log properly
Test: Ensure NetworkStackStatsLog will be generated as expected
Test: atest NetworkStackTest

cherry-picking commit e512b269132.

Change-Id: I8c70503cf1d9f1d06f30a1936d2d88857d0cff53
Merged-In: I1bfe856d771bf56fe33790aea22eceae2001921a

5 years agoMerge "Public StatsLog API for generic mainline logging."
Chiachang Wang [Thu, 18 Apr 2019 01:14:58 +0000 (01:14 +0000)]
Merge "Public StatsLog API for generic mainline logging."

5 years ago[Game Driver] Add support for whitelist.
Peiyong Lin [Thu, 24 Jan 2019 00:27:54 +0000 (16:27 -0800)]
[Game Driver] Add support for whitelist.

Instead of keeping reading the whitelist everytime, we want to store it in
Settings.Global variable and reuse it later.

BUG: 120869311
Test: Build, flash and boot.
Change-Id: I5e39757383c5ba7d31af7efb3e6e8a2996e669f4
Merged-In: I5e39757383c5ba7d31af7efb3e6e8a2996e669f4

5 years ago[Game Driver] Add blacklist mechanism.
Peiyong Lin [Sun, 13 Jan 2019 01:44:29 +0000 (17:44 -0800)]
[Game Driver] Add blacklist mechanism.

When a blacklist is set, we must not use driver package for those applications
on the blacklist.

BUG: 120869311
Test: Build, flash, boot. Verify with command line.
Change-Id: I1c9f10a3086007038c328a20346ffadeff1861ae
Merged-In: I1c9f10a3086007038c328a20346ffadeff1861ae

5 years agoMerge "PreloadCheck: Add some comments"
Andreas Gampe [Wed, 17 Apr 2019 23:20:03 +0000 (16:20 -0700)]
Merge "PreloadCheck: Add some comments"
am: a1759a9bd8

Change-Id: I923ea92dc15dbfcc597d2d00f63707e32ec296af

5 years agoGUP: Add a global property for genreal preference
Yiwei Zhang [Thu, 10 Jan 2019 02:23:09 +0000 (10:23 +0800)]
GUP: Add a global property for genreal preference

This change also fixes typos and adds some missing comments

Bug: 119221883
Test: Build, flash and boot, verify with prototype
Change-Id: Ida976c4fb3d4af5ffc1d9b977f00fa9c7239a434
Merged-In: Ida976c4fb3d4af5ffc1d9b977f00fa9c7239a434

5 years agoMerge "PreloadCheck: Add some comments"
Treehugger Robot [Wed, 17 Apr 2019 22:43:44 +0000 (22:43 +0000)]
Merge "PreloadCheck: Add some comments"

5 years agoMerge "PreloadCheck: Reset UncaughtExceptionHandler"
Andreas Gampe [Wed, 17 Apr 2019 21:44:02 +0000 (14:44 -0700)]
Merge "PreloadCheck: Reset UncaughtExceptionHandler"
am: 73b25f4fcc

Change-Id: I6fee87846fe5b8b64500b880b08fa6371578102b

5 years agoMerge "PreloadCheck: Add support for regex checking"
Andreas Gampe [Wed, 17 Apr 2019 21:39:54 +0000 (14:39 -0700)]
Merge "PreloadCheck: Add support for regex checking"
am: d46ae2ca5b

Change-Id: I93ec332ecff26f11289c3f81e289219fe9dc3824

5 years agoMerge "Modify docs to reflect operational changes in overrideConfig"
Brad Ebinger [Wed, 17 Apr 2019 21:33:52 +0000 (14:33 -0700)]
Merge "Modify docs to reflect operational changes in overrideConfig"
am: 2d5af940ae

Change-Id: I25aa7cf91e8f515be7a3124f238781d57b5ee23d

5 years agoMerge "SELinuxMMAC.java: update OWNERS"
Nick Kralevich [Wed, 17 Apr 2019 21:18:25 +0000 (14:18 -0700)]
Merge "SELinuxMMAC.java: update OWNERS"
am: d90decc286

Change-Id: I0f0831da7149ba6aa59ef63355ca0dc951b606d9

5 years agoMerge "CtsAndroidTestBase27ApiSignatureTestCases: Rename CtsAndroidTestBase27ApiSigna...
easoncylee [Wed, 17 Apr 2019 21:14:00 +0000 (14:14 -0700)]
Merge "CtsAndroidTestBase27ApiSignatureTestCases: Rename CtsAndroidTestBase27ApiSignatureTestCases to CtsAndroidTestBase28ApiSignatureTestCases from TEST MAPPING file."
am: c232dbe4a2

Change-Id: Ica7050d1751e4db2c0d15e431530ef32b141e3ba

5 years agoMerge changes from topic "GameDriver"
Peiyong Lin [Wed, 17 Apr 2019 21:02:56 +0000 (14:02 -0700)]
Merge changes from topic "GameDriver"
am: e10cb9bd1c

Change-Id: I4627c998da042bfab14769455c874aae2e19b91c

5 years ago[GUP] Hard code the name of the whitelist file.
Peiyong Lin [Wed, 17 Apr 2019 20:55:43 +0000 (13:55 -0700)]
[GUP] Hard code the name of the whitelist file.
am: be09eef818

Change-Id: Ib63d6d818600961a5cba4ed2c2d33d654bd1c849

5 years agoMerge "PreloadCheck: Reset UncaughtExceptionHandler"
Andreas Gampe [Wed, 17 Apr 2019 20:54:23 +0000 (20:54 +0000)]
Merge "PreloadCheck: Reset UncaughtExceptionHandler"

5 years agoMerge "PreloadCheck: Add support for regex checking"
Andreas Gampe [Wed, 17 Apr 2019 20:54:04 +0000 (20:54 +0000)]
Merge "PreloadCheck: Add support for regex checking"

5 years agoAdd global property to store opt-in application package name.
Peiyong Lin [Wed, 17 Apr 2019 20:47:55 +0000 (13:47 -0700)]
Add global property to store opt-in application package name.
am: e23f59aa5a

Change-Id: I2dcd31f5110a5f65cb52a501b2dcfc5b3de75c83

5 years ago[GraphicsEnvironment] Add whitelist support.
Peiyong Lin [Wed, 17 Apr 2019 20:38:48 +0000 (13:38 -0700)]
[GraphicsEnvironment] Add whitelist support.
am: 443894f8bb

Change-Id: I9353ed28aa66dbc845012bc99fd789a970e6ea09

5 years agoChange ServiceState and TelephonyRegistry logging
Hall Liu [Wed, 17 Apr 2019 20:33:43 +0000 (13:33 -0700)]
Change ServiceState and TelephonyRegistry logging

When an app bypasses a location access check due to its target SDK for
queries to ServiceState or when we're pushing out info through
TelephonyRegistry, log it as info instead of error to avoid spamming the
logs too much.

Fixes: 130668054
Test: manual
Change-Id: Ia490f2de2f0b5d326e5290e166e6f97b25e6e187

5 years agoMerge "Modify docs to reflect operational changes in overrideConfig"
Brad Ebinger [Wed, 17 Apr 2019 20:25:32 +0000 (20:25 +0000)]
Merge "Modify docs to reflect operational changes in overrideConfig"

5 years agoMerge "Remove isV2App"
Nick Kralevich [Wed, 17 Apr 2019 20:23:05 +0000 (13:23 -0700)]
Merge "Remove isV2App"
am: 992356cc83

Change-Id: I3fe68b9e491872ee652307cba84690b94b382c86

5 years agoReorder ImsFeature initialization to handle STATE_READY
Brad Ebinger [Tue, 2 Apr 2019 23:01:59 +0000 (16:01 -0700)]
Reorder ImsFeature initialization to handle STATE_READY

The method ImsFeature#setFeatureState can not be called
in the constructor of MmTelFeature currently, because the
IMS_SERVICE_UP intent will not be sent until mContext != null.

Remove this dependency and ensure addImsFeatureStatusCallback
is called after ImsFeature#initialize.

Bug: 130569556
Test: atest GtsTelephonyTestCases; atest FrameworksTelephonyTests
Merged-In: I562246c1995365308d26f44683f75bf5c46b7405
Change-Id: Ib3ca59eeeda89c0989cfd767257a6a598a97a670

5 years agoMerge "SELinuxMMAC.java: update OWNERS"
Treehugger Robot [Wed, 17 Apr 2019 19:57:03 +0000 (19:57 +0000)]
Merge "SELinuxMMAC.java: update OWNERS"

5 years agoMerge "CtsAndroidTestBase27ApiSignatureTestCases: Rename CtsAndroidTestBase27ApiSigna...
Treehugger Robot [Wed, 17 Apr 2019 19:49:33 +0000 (19:49 +0000)]
Merge "CtsAndroidTestBase27ApiSignatureTestCases: Rename CtsAndroidTestBase27ApiSignatureTestCases to CtsAndroidTestBase28ApiSignatureTestCases from TEST MAPPING file."

5 years agoMerge changes from topic "GameDriver"
Treehugger Robot [Wed, 17 Apr 2019 19:28:15 +0000 (19:28 +0000)]
Merge changes from topic "GameDriver"

* changes:
  Rename updatable graphics driver to Game Update Package.
  [GUP] Hard code the name of the whitelist file.
  Add global property to store opt-in application package name.
  [GraphicsEnvironment] Add whitelist support.

5 years agoMerge "Remove isV2App"
Treehugger Robot [Wed, 17 Apr 2019 19:22:53 +0000 (19:22 +0000)]
Merge "Remove isV2App"

5 years agoMerge "Remove gMallocLeakZygoteChild."
Christopher Ferris [Wed, 17 Apr 2019 18:32:56 +0000 (11:32 -0700)]
Merge "Remove gMallocLeakZygoteChild."
am: 31c0ceba9c

Change-Id: Idf2885d706ba968c12e93b3fae073d6b291bd654

5 years agoMerge "Remove gMallocLeakZygoteChild."
Christopher Ferris [Wed, 17 Apr 2019 17:31:04 +0000 (17:31 +0000)]
Merge "Remove gMallocLeakZygoteChild."

5 years agoPreloadCheck: Add some comments
Andreas Gampe [Wed, 17 Apr 2019 16:46:47 +0000 (09:46 -0700)]
PreloadCheck: Add some comments

Test: m
Change-Id: I61039d4fc64f0958bc3f81a49f3a78620c86e34c

5 years agoFix incorrect leap year logic
Neil Fuller [Wed, 17 Apr 2019 14:54:22 +0000 (15:54 +0100)]
Fix incorrect leap year logic

Fixing an issue for 2100 in SimpleMonthView.

Tweak the logic in DatePickerCalendarDelegate to optimize
for the common case and save a calculation.

Bug: 28784177
Test: build only
Change-Id: I7395ab9f3dc90ac4f7cef1edee6f7bc156f4ab76

5 years agoSELinuxMMAC.java: update OWNERS
Nick Kralevich [Wed, 17 Apr 2019 16:14:13 +0000 (09:14 -0700)]
SELinuxMMAC.java: update OWNERS

Update the list of people responsible for this file.

Test: compiles
Change-Id: I0f610fd18f37583509ff2fdbbc5d0ce308fa0476

5 years agoMerge "Fix incorrect leap year logic"
Neil Fuller [Wed, 17 Apr 2019 15:16:38 +0000 (08:16 -0700)]
Merge "Fix incorrect leap year logic"
am: ca13216bd1

Change-Id: Iebb67ebbd2e186f51ec6f08578e7c8dd1e10e528

5 years agoMerge "Fix incorrect leap year logic"
Neil Fuller [Wed, 17 Apr 2019 14:50:04 +0000 (14:50 +0000)]
Merge "Fix incorrect leap year logic"

5 years agoMerge "Backwards-incompatible resolv module API change for making setResolverConfigur...
Wayne Ma [Wed, 17 Apr 2019 14:15:43 +0000 (07:15 -0700)]
Merge "Backwards-incompatible resolv module API change for making setResolverConfiguration take a parcelable."
am: 59d332387c

Change-Id: I429437f3f4c6f5159be907c287a9d59bceb537a5

5 years agoMerge "Remove getDefaultTransactionName and getTransactionName from API"
Jiyong Park [Wed, 17 Apr 2019 14:05:57 +0000 (07:05 -0700)]
Merge "Remove getDefaultTransactionName and getTransactionName from API"
am: 8c74e1a7c0

Change-Id: I89efceac3ee5d19530b4f759303379de91c19b75

5 years agoMerge "Backwards-incompatible resolv module API change for making setResolverConfigur...
Wayne Ma [Wed, 17 Apr 2019 13:58:11 +0000 (13:58 +0000)]
Merge "Backwards-incompatible resolv module API change for making setResolverConfiguration take a parcelable."

5 years agoBackwards-incompatible resolv module API change for making setResolverConfiguration...
waynema [Tue, 12 Mar 2019 10:13:49 +0000 (18:13 +0800)]
Backwards-incompatible resolv module API change for making setResolverConfiguration take a parcelable.

Test: built, flashed, booted
      atest FrameworksNetTests

Change-Id: I3b4e8672f5273c3baa9378025bfaef2e6514df64

5 years agoMerge "Remove getDefaultTransactionName and getTransactionName from API"
Treehugger Robot [Wed, 17 Apr 2019 13:46:19 +0000 (13:46 +0000)]
Merge "Remove getDefaultTransactionName and getTransactionName from API"

5 years agoMove Setting constants for NetworkStack
Chiachang Wang [Wed, 17 Apr 2019 09:00:54 +0000 (17:00 +0800)]
Move Setting constants for NetworkStack

From mainline perspective, we should use android flag api
instead of using Settings. Thus, move the definitions into
NetworkStack and apply new flag design.

Bug: 123167629
Test: atest NetworkStackTests
Change-Id: I9602263f0bff5d8e942bd652de69ccfcb3034a2f

5 years agoFix incorrect leap year logic
Neil Fuller [Wed, 17 Apr 2019 07:48:23 +0000 (08:48 +0100)]
Fix incorrect leap year logic

Fixing an issue for 2100.

Bug: 28784177
Test: build only
Change-Id: I4579ba2d07b8157f368fd31df5396677156aeeb0

5 years agoGUP: Update global property for the new dev opt
Yiwei Zhang [Fri, 28 Dec 2018 19:47:56 +0000 (03:47 +0800)]
GUP: Update global property for the new dev opt

We updated the development opt in mechanism for GUP. Now we have
GUP_DEV_OPT_IN_APPS for applications selected to use GUP and
GUP_DEV_OPT_OUT_APPS for applications selected not to use GUP.

Bug: 119221883
Test: Build, flash and boot, verify with prototype
Change-Id: I52869ecf9e411a8dbdc1146f00c82023ba41bebf
Merged-In: I52869ecf9e411a8dbdc1146f00c82023ba41bebf

5 years agoMerge "Move TrafficStats tags for the network stack constants"
Chalard Jean [Wed, 17 Apr 2019 06:08:07 +0000 (23:08 -0700)]
Merge "Move TrafficStats tags for the network stack constants"
am: 3444dd03d6

Change-Id: I13ba9e3077bb4ec28229a09f2d4747a43c281bcc

5 years agoGUP: Add metrics constant for GUP UI
Yiwei Zhang [Fri, 28 Dec 2018 03:32:42 +0000 (11:32 +0800)]
GUP: Add metrics constant for GUP UI

Bug: 119221883
Test: build
Change-Id: Ife43b388fce1e158ecc6ea1088530f005ff0f583
Merged-In: Ife43b388fce1e158ecc6ea1088530f005ff0f583

5 years agoRename updatable graphics driver to Game Update Package.
Peiyong Lin [Wed, 26 Dec 2018 21:22:52 +0000 (13:22 -0800)]
Rename updatable graphics driver to Game Update Package.

We have rebranded this project to Game Update Package, and GUP for short.

BUG: 119221883
Test: Build, flash and boot. Verify by going to developer options.
Change-Id: If284bd3e0b29cb025833be29fa33179011c151d7
Merged-In: If284bd3e0b29cb025833be29fa33179011c151d7

5 years agoMerge "Move TrafficStats tags for the network stack constants"
Chalard Jean [Wed, 17 Apr 2019 05:45:56 +0000 (05:45 +0000)]
Merge "Move TrafficStats tags for the network stack constants"

5 years agoMove TrafficStats tags for the network stack constants
Chalard Jean [Tue, 9 Apr 2019 02:16:56 +0000 (11:16 +0900)]
Move TrafficStats tags for the network stack constants

As per API council feedback, these constants should live in
a place that is private to the network stack, only with a
range defined in system API.

Bug: 129433383
Test: m
Change-Id: I84a90f84a9af6fef4667ee4d512ebd0413222086
Merged-In: I4882686a86e7c6d42f4b0619b921d02619ed6d4c
Merged-In: I9b648ed6c687d56db61a54570c7880c51c1bae51

5 years agoMerge "Make connection events work for conferences"
Hall Liu [Wed, 17 Apr 2019 02:10:04 +0000 (19:10 -0700)]
Merge "Make connection events work for conferences"
am: fc53864672

Change-Id: I2248723dfc7ce7c1488b58c6907b23bf3c713ee7

5 years agoMerge "Make connection events work for conferences"
Hall Liu [Wed, 17 Apr 2019 01:38:57 +0000 (01:38 +0000)]
Merge "Make connection events work for conferences"

5 years ago[GUP] Hard code the name of the whitelist file.
Peiyong Lin [Thu, 3 Jan 2019 01:46:55 +0000 (17:46 -0800)]
[GUP] Hard code the name of the whitelist file.

Allowing customized whitelist filename could result in inconsistency and
fragmentations in toolings.

BUG: 120870520
Test: Build, flash and boot
Change-Id: Ibe9337b358b6a67600048f1661d73574d7bea607
Merged-In: Ibe9337b358b6a67600048f1661d73574d7bea607

5 years agoAdd global property to store opt-in application package name.
Peiyong Lin [Thu, 8 Nov 2018 05:10:07 +0000 (21:10 -0800)]
Add global property to store opt-in application package name.

We provide a way in developer option to opt-in an application to use updated
graphics driver. To make sure we set up the graphics environment correctly, we
need to access the package name of the selected application. This patch
introduces a global property to store the package name.

BUG: 119221883
Test: Build, flash and boot, verify with prototype
Change-Id: I49dfcccf387169c072fb9345f7a50c00fcdb0737
Merged-In: I49dfcccf387169c072fb9345f7a50c00fcdb0737

5 years ago[GraphicsEnvironment] Add whitelist support.
Peiyong Lin [Fri, 12 Oct 2018 22:34:15 +0000 (15:34 -0700)]
[GraphicsEnvironment] Add whitelist support.

This patch adds the ability to load whitelist from updatable graphcis driver
apk. Typically a whitelist is part of the graphics driver apk, and the name is
set by overwriting ro.gfx.driver.whitelist.0

BUG: 117241379
Test: Build, flash and boot, whitelist an app and verify.
Change-Id: Ie36ca0173a90a8e48acaca2979ab64bbf92eeaed
Merged-In: Ie36ca0173a90a8e48acaca2979ab64bbf92eeaed

5 years agoRemove isV2App
Nick Kralevich [Wed, 17 Apr 2019 00:29:09 +0000 (17:29 -0700)]
Remove isV2App

This selector is no longer used.

Bug: 123605817
Bug: 111314398
Test: compiles and boots
Change-Id: Ice7825909609289d400870d1b7cc40e125726ce4

5 years agoUpdate Multi-OffHost related API definition
Jack Yu [Tue, 26 Mar 2019 13:56:28 +0000 (21:56 +0800)]
Update Multi-OffHost related API definition

Test: build pass
Bug: 128831640
Change-Id: Ia0a8ec38b0c4e60df18f727b0f5a7fdba84fe9e1

5 years agoPreloadCheck: Reset UncaughtExceptionHandler
Andreas Gampe [Tue, 16 Apr 2019 21:50:42 +0000 (14:50 -0700)]
PreloadCheck: Reset UncaughtExceptionHandler

Do not use the framework's exception handler. Rather use the default
behavior and print the exception to stdout, so that it appears in the
test failure.

Test: atest --test-mapping frameworks/base/tools/preload-check
Test: manual
Change-Id: I3563392408a72c97788452f467c027112f52f193

5 years agoPreloadCheck: Add support for regex checking
Andreas Gampe [Tue, 16 Apr 2019 21:49:42 +0000 (14:49 -0700)]
PreloadCheck: Add support for regex checking

Add some reflection hackery to retrieve boot classpath dex files. This
requires unstripped jars. Then use DexFile APIs to retrieve all classes,
and run a check if the given regular exception matches.

Use the new infrastructure to check that NoPreloadHolder classes are
not initialized.

Test: atest --test-mapping frameworks/base/tools/preload-check
Change-Id: Ic19e950647e5827d3c3ec4a7109553f39be7f43a

5 years agoMerge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process"
Brad Ebinger [Tue, 16 Apr 2019 21:09:33 +0000 (14:09 -0700)]
Merge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process"
am: bc17e4b328

Change-Id: I02b96bc07a8b81775ce0b719a38a6dbb68d13ad9

5 years agoMerge "Clarify ImsMmTelManager#setRttCapabilitySetting docs"
Brad Ebinger [Tue, 16 Apr 2019 21:04:10 +0000 (14:04 -0700)]
Merge "Clarify ImsMmTelManager#setRttCapabilitySetting docs"
am: 2c0e192436

Change-Id: Ie39a49624ce8e4505153fd814d1926ed1089f9b8

5 years agoMake connection events work for conferences
Hall Liu [Tue, 16 Apr 2019 21:00:55 +0000 (14:00 -0700)]
Make connection events work for conferences

Pipe through the onConnectionEvent call between the conference host
connection and the android.telecom.Conference object.

Fixes: 130404376
Test: manual
Change-Id: Ifad3e59dc9764aa2efb2b9766271e18853bf1c76

5 years agoMerge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process"
Brad Ebinger [Tue, 16 Apr 2019 20:56:12 +0000 (20:56 +0000)]
Merge "Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process"

5 years agoMove deprecated IMS_SERVICE_UP/DOWN intents to Phone process
Brad Ebinger [Fri, 5 Apr 2019 22:23:32 +0000 (15:23 -0700)]
Move deprecated IMS_SERVICE_UP/DOWN intents to Phone process

The ImsService was sending the deprecated IMS intents, which
should only be send using the Phone process. This was causing
GTS failures.

Bug: 130569556
Test: atest FrameworksTelephonyTests; atest GtsTelephonyTestCases
Merged-In: I06d7a8c6a43a596042cb74e3e9b88a2d9e61bed6
Change-Id: Ie844053aac9c067e66d03c02cf2b87134ee91065

5 years agoMerge "Clarify ImsMmTelManager#setRttCapabilitySetting docs"
Brad Ebinger [Tue, 16 Apr 2019 20:51:15 +0000 (20:51 +0000)]
Merge "Clarify ImsMmTelManager#setRttCapabilitySetting docs"

5 years agoModify docs to reflect operational changes in overrideConfig
Brad Ebinger [Tue, 16 Apr 2019 00:10:26 +0000 (17:10 -0700)]
Modify docs to reflect operational changes in overrideConfig

Bug: 130372397
Test: Manual
Change-Id: I8958cb04d734ddd3dc8a9b5812dca265c008225b

5 years agoMerge "hwbinder: explicitly disallow local java binder"
Steven Moreland [Tue, 16 Apr 2019 19:35:40 +0000 (12:35 -0700)]
Merge "hwbinder: explicitly disallow local java binder"
am: c33c224b4e

Change-Id: I77af04cd56b8f5c4af4f320f3273ec610c3d087e

5 years agoMerge "hwbinder: explicitly disallow local java binder"
Treehugger Robot [Tue, 16 Apr 2019 18:47:41 +0000 (18:47 +0000)]
Merge "hwbinder: explicitly disallow local java binder"

5 years agoRemove gMallocLeakZygoteChild.
Christopher Ferris [Tue, 9 Apr 2019 23:42:32 +0000 (16:42 -0700)]
Remove gMallocLeakZygoteChild.

Bug: 130028357

Test: Verified that call is made and that memory is properly marked in a
Test: child as not in the Zygote.
Change-Id: I9b94637cc0e48eec3bbccfdc1afd531a1ee10a89
(cherry picked from commit ed364d6caa067ea46a07e9530fd01212b99aeaad)

5 years agoMerge "PreloadCheck: Add preloaded-classes-blacklist"
Andreas Gampe [Tue, 16 Apr 2019 17:50:09 +0000 (10:50 -0700)]
Merge "PreloadCheck: Add preloaded-classes-blacklist"
am: 4e572b596f

Change-Id: Iccecfc6f47f31a1ac7e5894813a3d96a2c4dcd79

5 years agoMerge "PreloadCheck: Add preloaded-classes-blacklist"
Treehugger Robot [Tue, 16 Apr 2019 17:29:59 +0000 (17:29 +0000)]
Merge "PreloadCheck: Add preloaded-classes-blacklist"

5 years agoMerge "Tethering: fix using wrong subId problem"
Mark Chien [Tue, 16 Apr 2019 12:40:44 +0000 (05:40 -0700)]
Merge "Tethering: fix using wrong subId problem"
am: 899f397175

Change-Id: I0a88e3ccfca1618c275dfdc4694a9eb18f47e726

5 years agoMerge "Tethering: fix using wrong subId problem"
Mark Chien [Tue, 16 Apr 2019 12:31:10 +0000 (12:31 +0000)]
Merge "Tethering: fix using wrong subId problem"

5 years agoMerge "Notify the caller about I/O error"
Abhijeet Kaur [Tue, 16 Apr 2019 12:10:31 +0000 (05:10 -0700)]
Merge "Notify the caller about I/O error"
am: 2f206c6270

Change-Id: I59b43aa3c092ee577833da5dc110953d4b21154d

5 years agoMerge "Notify the caller about I/O error"
Treehugger Robot [Tue, 16 Apr 2019 11:52:31 +0000 (11:52 +0000)]
Merge "Notify the caller about I/O error"

5 years agoTethering: fix using wrong subId problem
markchien [Tue, 9 Apr 2019 07:53:24 +0000 (15:53 +0800)]
Tethering: fix using wrong subId problem

There is the potential bug[1] that default data subId change
intent may lose. So tethering may cache the outdated default
data subId in TetheringConfiguration. Now EntitlementManager
would fetch configuration every time and this would re-exam
whether subId is changed.
Additional passing subId to Settings to avoid default data
subId change right away when launching entitlement check.
Thus, Settings can know whether this is outdated entitlement
check request.
[1] b/129224596

Bug: 129751453
Test: -build, flash, boot
      -atest FrameworksNetTests
      -manual test with carrier SIM

Change-Id: If334dd1cd383cced9db5cf0d0bc9dc60ed198816

5 years agoNotify the caller about I/O error
Abhijeet Kaur [Mon, 15 Apr 2019 09:16:42 +0000 (10:16 +0100)]
Notify the caller about I/O error

Call onError for caller of BugreportManager.start() if any io error
occurs during runtime.

Test: Tested manually by throwing IO exception in the code when
bugreport is being generated, onError of the callback successfully
called.
Change-Id: I9033d85d392b926041fc26a86806a370752d062d

5 years agoMerge "Fix DnsResolver API could not bypass private DNS correctly"
Luke Huang [Tue, 16 Apr 2019 09:17:09 +0000 (02:17 -0700)]
Merge "Fix DnsResolver API could not bypass private DNS correctly"
am: 40e7fb6a9b

Change-Id: Iaa36a882c2bcfd3bb11153d2b37cdab887ad9004

5 years agoMerge "Fix DnsResolver API could not bypass private DNS correctly"
Luke Huang [Tue, 16 Apr 2019 09:03:22 +0000 (09:03 +0000)]
Merge "Fix DnsResolver API could not bypass private DNS correctly"

5 years agoMerge "Restrict access to dangerous methods to <= P"
Chalard Jean [Tue, 16 Apr 2019 05:29:28 +0000 (22:29 -0700)]
Merge "Restrict access to dangerous methods to <= P"
am: ae8548df0b

Change-Id: I3c1271e00e026518e9c4ddafc931a2cac87dcee0

5 years agoMerge "Restrict access to dangerous methods to <= P"
Chalard Jean [Tue, 16 Apr 2019 05:17:20 +0000 (05:17 +0000)]
Merge "Restrict access to dangerous methods to <= P"

5 years agoMerge "Release keepalive slot after stopped"
Junyu Lai [Tue, 16 Apr 2019 05:04:18 +0000 (22:04 -0700)]
Merge "Release keepalive slot after stopped"
am: a1fedb8f5c

Change-Id: Ic707f22fb12c98c187e89cc8ad39773f61737506

5 years agoMerge "Release keepalive slot after stopped"
Junyu Lai [Tue, 16 Apr 2019 04:46:18 +0000 (04:46 +0000)]
Merge "Release keepalive slot after stopped"

5 years agoFix DnsResolver API could not bypass private DNS correctly
Luke Huang [Tue, 16 Apr 2019 03:50:15 +0000 (11:50 +0800)]
Fix DnsResolver API could not bypass private DNS correctly

Bug: 130594022
Test: atest DnsResolverTest
Change-Id: Ibf3edac3075d921d189237c485871efb869b320b

5 years agoPublic StatsLog API for generic mainline logging.
Chiachang Wang [Tue, 16 Apr 2019 02:22:38 +0000 (10:22 +0800)]
Public StatsLog API for generic mainline logging.

This is a cherry pick to aosp.

Sets up a public api for logging atoms to statsd. The API excepts a
buffer which is already encoded in the proper format for the socket, as
well as the number of bytes of the buffer to write. It performs a JNI
call to perform the socket write. Autogenerated app code will be built
for each mainline module that needs to use this API to log.

Test: builds
Test: existing logs flow properly
Bug: 126134616
Change-Id: I8a9a91e638d730e3ff69cb9345692e49e0db3c96
Merged-In: I8a9a91e638d730e3ff69cb9345692e49e0db3c96

5 years agoClarify ImsMmTelManager#setRttCapabilitySetting docs
Brad Ebinger [Tue, 16 Apr 2019 00:43:45 +0000 (17:43 -0700)]
Clarify ImsMmTelManager#setRttCapabilitySetting docs

Bug: 130181297
Test: none - docs change
Change-Id: Ied012ce428051b080da7b5e740caee2a956fa8c3

5 years agoMerge "Add comments in grouping APIs to clarify possible exceptions."
Xiangyu/Malcolm Chen [Tue, 16 Apr 2019 00:13:31 +0000 (17:13 -0700)]
Merge "Add comments in grouping APIs to clarify possible exceptions."
am: 42adca41b9

Change-Id: I6dd991c9e77cdaa8a295e31d382086327d168b21