OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge changes from topic "R"
Dan Willemsen [Sat, 20 Apr 2019 02:17:46 +0000 (19:17 -0700)]
Merge changes from topic "R"
am: 39a77f1951

Change-Id: I32a27fb346e236a6836d4c139cac2fb4cfdb733d

5 years agoAAPT2: Update SDK development codename to Q
Ryan Mitchell [Sat, 20 Apr 2019 02:10:25 +0000 (19:10 -0700)]
AAPT2: Update SDK development codename to Q
am: ad5b4ba2a2

Change-Id: Ief47a337a79c4b2ae8cfa27bcbe5cc75f18c4887

5 years agoMerge changes from topic "R"
Dan Willemsen [Sat, 20 Apr 2019 01:06:00 +0000 (01:06 +0000)]
Merge changes from topic "R"

* changes:
  master designated for R. Update MAX_PLATFORM_VERSION, etc.
  AAPT2: Update SDK development codename to Q

5 years agoMerge changes from topic "GameDriver3"
Yiwei Zhang [Fri, 19 Apr 2019 21:38:53 +0000 (14:38 -0700)]
Merge changes from topic "GameDriver3"
am: 5d832d2988

Change-Id: If2449acb0eef75ad81d913ab8fc07ae927f2ab8e

5 years agoMerge "Return copies for get methods"
Jack Yu [Fri, 19 Apr 2019 21:26:46 +0000 (14:26 -0700)]
Merge "Return copies for get methods"
am: 0c9a514c20

Change-Id: Ic082bc01fc23b902b6412f6e242759c25662146a

5 years agoMerge changes from topic "GameDriver3"
Treehugger Robot [Fri, 19 Apr 2019 20:47:35 +0000 (20:47 +0000)]
Merge changes from topic "GameDriver3"

* changes:
  Game Driver: process sphal libraries in GPU service
  Game Driver: Add a Settings.Global property for sphal libraries
  [Game Driver] Add global whitelist option.
  [GPU Service] Move blacklists process to GPU service.
  Split blacklist from versioned blacklists.
  Game Driver: clean up GraphicsEnvironment
  [GPU Service] Implement GPU service.

5 years agoMerge "Return copies for get methods"
Jack Yu [Fri, 19 Apr 2019 20:29:08 +0000 (20:29 +0000)]
Merge "Return copies for get methods"

5 years agoMerge "Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS"
Dan Willemsen [Fri, 19 Apr 2019 19:56:42 +0000 (12:56 -0700)]
Merge "Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS"
am: 644792c7d6

Change-Id: I659115cec0db8ccae778e1b842a08bb04c63e10f

5 years agoGame Driver: process sphal libraries in GPU service
Yiwei Zhang [Thu, 14 Feb 2019 20:05:47 +0000 (12:05 -0800)]
Game Driver: process sphal libraries in GPU service

This change adds the sphal libraries text file parsing to the GPU
service. As the result, when the Game Driver apk is updated, the sphal
library list will be read out to the GAME_DRIVER_SPHAL_LIBRARIES
settings global property to be used in the graphics environment to
extend the current linker namespace.

Bug: 124448366
Test: Build, flash and boot. Install the apk to verify settings global.

Change-Id: Ifb4007a1fe7269e0a2857fe7badc8642342b1449
Merged-In: Ifb4007a1fe7269e0a2857fe7badc8642342b1449

5 years agoGame Driver: Add a Settings.Global property for sphal libraries
Yiwei Zhang [Thu, 14 Feb 2019 18:43:42 +0000 (10:43 -0800)]
Game Driver: Add a Settings.Global property for sphal libraries

This change add the GAME_DRIVER_SPHAL_LIBRARIES property to save the
list of sphal libraries assessible to Game Driver.

Bug: 124448366
Test: Build, flash and boot.
Change-Id: I7cb06df80f19d87f5fd13d7df3c991ceb5bdfb06
Merged-In: I7cb06df80f19d87f5fd13d7df3c991ceb5bdfb06
Exempt-From-Owner-Approval: Change in CoreSettingsObserver.java is too
minor

5 years agoMerge "Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS"
Dan Willemsen [Fri, 19 Apr 2019 19:30:50 +0000 (19:30 +0000)]
Merge "Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS"

5 years ago[Game Driver] Add global whitelist option.
Peiyong Lin [Wed, 13 Feb 2019 22:46:54 +0000 (14:46 -0800)]
[Game Driver] Add global whitelist option.

Allow a '*' at the beginning of the whitelist file to mean whitelist
everything.

BUG: 120869311
Test: Build, flash and boot. Verify with apk
Change-Id: Ia1b772f545a04acb7f5b4ccbe5489e43ecddb9d2
Merged-In: Ia1b772f545a04acb7f5b4ccbe5489e43ecddb9d2

5 years ago[GPU Service] Move blacklists process to GPU service.
Peiyong Lin [Thu, 7 Feb 2019 03:37:04 +0000 (19:37 -0800)]
[GPU Service] Move blacklists process to GPU service.

Instead of re-process blacklists proto everytime, we move the processing to GPU
Service, and add SettingsObserver to observe the change of
Settings.Global.GAME_DRIVER_BLACKLISTS such that we only re-process the
blacklists when needed.

As a result, we will have GAME_DRIVER_BLACKLISTS which is used to accept a list
of blacklist from the server, one for each game driver version that needs to
have blacklist, and GAME_DRIVER_BLACKLIST will only contain a list of
blacklisted application package names for the current version of game driver on
the device, separated by comma.

BUG: 120869311
Test: Build, flash and boot. Use adb shell settings put command to verify.
Change-Id: Ic49800cd0b5b82ddbbdf9907d603243415d5bd3b
Merged-In: Ic49800cd0b5b82ddbbdf9907d603243415d5bd3b

5 years agoReturn copies for get methods
Jack Yu [Tue, 16 Apr 2019 15:20:18 +0000 (08:20 -0700)]
Return copies for get methods

NetworkRegistrationInfo and ServiceState are not
immutable class. Their get methods should return a new
copy of object so the caller won't modify its state.

Bug: 130538118
Test: Unit tests + manual

Merged-In: I51662a92b0b6189a8c8aa017085affedac417190
Change-Id: I51662a92b0b6189a8c8aa017085affedac417190
(cherry picked from commit 37538594e68dea9a1965ffb8307b259d8cf3717b)

5 years agoMerge changes from topic "128616035"
Xiangyu/Malcolm Chen [Fri, 19 Apr 2019 17:14:32 +0000 (10:14 -0700)]
Merge changes from topic "128616035"
am: dc4d14b37a

Change-Id: I0f9807127cdd46079a969532bdeb121bf544921d

5 years agoMerge changes from topic "128616035"
Xiangyu/Malcolm Chen [Fri, 19 Apr 2019 16:53:19 +0000 (16:53 +0000)]
Merge changes from topic "128616035"

* changes:
  Adding @hide API to return whether an APN is metered or not.
  Add API to set alwaysAllowMms

5 years agoMerge "Add CallLog provider loggging to check for app-ops denial."
Tyler Gunn [Fri, 19 Apr 2019 15:46:11 +0000 (08:46 -0700)]
Merge "Add CallLog provider loggging to check for app-ops denial."
am: cc469a276b

Change-Id: I14099b4e5c28b85623fafab0add45b44d828e340

5 years agoMerge "Add CallLog provider loggging to check for app-ops denial."
Tyler Gunn [Fri, 19 Apr 2019 15:33:53 +0000 (15:33 +0000)]
Merge "Add CallLog provider loggging to check for app-ops denial."

5 years agoMerge "Don't call ConnectivityService when holding ActivityManagerService lock."
Irina Dumitrescu [Fri, 19 Apr 2019 12:08:54 +0000 (05:08 -0700)]
Merge "Don't call ConnectivityService when holding ActivityManagerService lock."
am: 31c89ed72e

Change-Id: I6f371c32085d7e76cac1891b7ff5dbf3a5e8d415

5 years agoMerge "Don't call ConnectivityService when holding ActivityManagerService lock."
Treehugger Robot [Fri, 19 Apr 2019 11:50:28 +0000 (11:50 +0000)]
Merge "Don't call ConnectivityService when holding ActivityManagerService lock."

5 years agoAdding @hide API to return whether an APN is metered or not.
Malcolm Chen [Thu, 18 Apr 2019 20:49:17 +0000 (13:49 -0700)]
Adding @hide API to return whether an APN is metered or not.

In addition, make isMmsDataEnabled more generic:
isDataEnabledForApn

Bug: 128616035
Test: manual
Change-Id: Icd520c3094dd761a13435fae79b7b6b3ba2ebda9
Merged-In: Icd520c3094dd761a13435fae79b7b6b3ba2ebda9

5 years agoAdd API to set alwaysAllowMms
Malcolm Chen [Wed, 10 Apr 2019 02:27:57 +0000 (19:27 -0700)]
Add API to set alwaysAllowMms

Add API in SubscriptionManager setAlwaysAllowMmsData
and isMmsDataAllowed.

Bug: 128616035
Test: unittest
Change-Id: Ie56c2d0619a68b188c35e8e24db6c2012d22538b
Merged-In: Ie56c2d0619a68b188c35e8e24db6c2012d22538b

5 years agoMerge "locked_region_code_injection: copy jar timestamp to output"
Colin Cross [Fri, 19 Apr 2019 02:16:00 +0000 (19:16 -0700)]
Merge "locked_region_code_injection: copy jar timestamp to output"
am: 69db849f7c

Change-Id: I14853f14994692c0417f76ecdf85a4567d38f23b

5 years agoMerge "locked_region_code_injection: copy jar timestamp to output"
Treehugger Robot [Fri, 19 Apr 2019 01:57:28 +0000 (01:57 +0000)]
Merge "locked_region_code_injection: copy jar timestamp to output"

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 agoExpose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS
Dan Willemsen [Thu, 18 Apr 2019 20:38:57 +0000 (13:38 -0700)]
Expose android.os.Build.VERSION.ACTIVE_CODENAMES to CTS

So that CTS can handle more than one active codename.

Bug: 130764058
Test: atest CtsOsTestCases:android.os.cts.BuildTest#testBuildConstants
Change-Id: I671e28308723ee9e79ded01f12330e4efdbbbe17

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 agolocked_region_code_injection: copy jar timestamp to output
Colin Cross [Thu, 11 Apr 2019 21:29:30 +0000 (14:29 -0700)]
locked_region_code_injection: copy jar timestamp to output

Copy the input jar's timestamps to the output jar to ensure
deterministic results.

Test: m checkbuild
Change-Id: Ifdd3ddc36c35429a0396b968dd3dd20b8cc57793

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 agoDon't call ConnectivityService when holding ActivityManagerService lock.
Irina Dumitrescu [Mon, 15 Apr 2019 18:20:38 +0000 (19:20 +0100)]
Don't call ConnectivityService when holding ActivityManagerService lock.

Exclude system server thread from the threads on which we call updateHttpProxy() from the Activity Manager.

Test: atest HostsideVpnTests
Bug: 128465980
Merged-in: Ia2b2c6de8a01a264bfb09393144641d91ee2c164
Change-Id: Ia2b2c6de8a01a264bfb09393144641d91ee2c164

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 agoSplit blacklist from versioned blacklists.
Peiyong Lin [Thu, 7 Feb 2019 23:52:38 +0000 (15:52 -0800)]
Split blacklist from versioned blacklists.

Previously we use blacklist to get all blacklists, to maintain the consistency
between blacklist and whitelist, and to move blacklist processing to GPU
service, we added blacklists to store all blacklists, and now blacklist will
only represent one blacklist.

BUG: 120869311
Test: Build, flash and boot. Verified in master patch ag/6288554
Change-Id: Ifac875177ad959705c8f80672341c4cbee7bbc93
Merged-In: Ifac875177ad959705c8f80672341c4cbee7bbc93
Exempt-From-Owner-Approval: Change in CoreSettingsObserver.java is too minor

5 years agoGame Driver: clean up GraphicsEnvironment
Yiwei Zhang [Tue, 5 Feb 2019 01:53:57 +0000 (17:53 -0800)]
Game Driver: clean up GraphicsEnvironment

Bug: 123529932
Test: Build, flash and boot. Verify by installing game driver apk
Change-Id: Id73605125410a2b4054d9179227022e177d20af2
Merged-In: Id73605125410a2b4054d9179227022e177d20af2

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 ago[GPU Service] Implement GPU service.
Peiyong Lin [Wed, 23 Jan 2019 23:29:59 +0000 (15:29 -0800)]
[GPU Service] Implement GPU service.

GPU Service is used to monitor all GPU and graphics driver related features.
This patch implements GPU service into System Server, and implements
functionality to extract the whitelist out of game driver package when the
package is upgraded or removed. This will move the whitelist processing off
critical path when app launches.

BUG: 123290424
Test: Build, flash and boot. Verify by upgrading game driver apk.
Change-Id: I563a138bfe0c4c1bb17ed28dab5d6a8df244021d
Merged-In: I563a138bfe0c4c1bb17ed28dab5d6a8df244021d

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 agomaster designated for R. Update MAX_PLATFORM_VERSION, etc.
Ryan Mitchell [Thu, 11 Apr 2019 21:29:25 +0000 (14:29 -0700)]
master designated for R. Update MAX_PLATFORM_VERSION, etc.

Test: aapt2_tests
Bug: 128934651
Change-Id: I179f7b92dcf65e77f039e6cd42d91bf5b1461e35
Merged-In: I179f7b92dcf65e77f039e6cd42d91bf5b1461e35

5 years agoAAPT2: Update SDK development codename to Q
Ryan Mitchell [Thu, 9 Aug 2018 16:18:26 +0000 (09:18 -0700)]
AAPT2: Update SDK development codename to Q

Test: aapt2_tests
Change-Id: I815e0bfc786660d6ad70897287fb5fb21023068c
Merged-In: I815e0bfc786660d6ad70897287fb5fb21023068c

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