Amith Yamasani
73e68bfed1
Merge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev am: 555767b616
...
am: 5cca011bd1
Change-Id: I9f94bbb867d3d55e3f03f6af4e89bb00216e4b97
2018-04-10 20:41:03 -07:00
TreeHugger Robot
555767b616
Merge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev
2018-04-11 02:38:26 +00:00
Jason Monk
0a83fef4ac
Merge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev am: 3c33d2b997
...
am: a1bb34ac1f
Change-Id: I1fc7cecd154e4151792c90ada582f19aec53b2a1
2018-04-10 19:08:28 -07:00
Jason Monk
4572d6cbaf
Merge "Revert "List<SliceSpec> -> Set<SliceSpec>"" into pi-dev am: 9107b53c6d
...
am: fa220e219b
Change-Id: Ib3910f93bc872e1bf2d059092173aebac935271f
2018-04-10 17:30:04 -07:00
Jason Monk
2d3932eb4d
List<SliceSpec> -> Set<SliceSpec>
...
Test: update-api
Bug: 73123786
Change-Id: I5668023eda0efcadf40a20259a92624e6680659f
2018-04-10 20:25:51 -04:00
Brian C. Young
a1f254dcc3
Merge "Allow CTS tests to access more from KeyProtection" into pi-dev am: de9d071fc1
...
am: a0f8cda39c
Change-Id: I276216d378e8edd01bbf4a8c516027960894b85e
2018-04-10 17:12:05 -07:00
Jason Monk
9107b53c6d
Merge "Revert "List<SliceSpec> -> Set<SliceSpec>"" into pi-dev
2018-04-11 00:00:26 +00:00
Jason Monk
e280990dd6
Revert "List<SliceSpec> -> Set<SliceSpec>"
...
This reverts commit e2a04b3ea4 .
Bug: 73123786
Change-Id: I1f09893fb3c68650340495f2833eb678099a895f
2018-04-11 00:00:04 +00:00
Jason Monk
9eff6399c0
Merge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev am: ae42e1d0c2
...
am: 67e71049b1
Change-Id: Idaa30c93f338228a19e8deb9852274e5e518fd18
2018-04-10 16:58:23 -07:00
TreeHugger Robot
de9d071fc1
Merge "Allow CTS tests to access more from KeyProtection" into pi-dev
2018-04-10 23:36:12 +00:00
Jason Monk
ae42e1d0c2
Merge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev
2018-04-10 23:23:43 +00:00
Brian C. Young
1c5ee613be
Allow CTS tests to access more from KeyProtection
...
Add @TestApi to allow CTS tests to use that call.
Encryption and decryption are reversed in some documentation.
Test: CtsKeystoreTestCases
Bug: 77596526
Change-Id: Ifaf8b3fa0e231eef256451a2514219fff1b16699
2018-04-10 17:05:39 -06:00
Suprabh Shukla
040bf34479
Merge "setPackagesSuspended now overwrites all the state" into pi-dev am: e901d69ea6
...
am: f283b41a63
Change-Id: I39ec00edf07095ae63d28dfd2fb69cd6a11f89c9
2018-04-10 13:46:14 -07:00
TreeHugger Robot
e901d69ea6
Merge "setPackagesSuspended now overwrites all the state" into pi-dev
2018-04-10 20:15:24 +00:00
Jason Monk
e2a04b3ea4
List<SliceSpec> -> Set<SliceSpec>
...
Test: update-api
Bug: 73123786
Change-Id: Ia618a35fbe81d2aeb5f58d58add0a14069f21bed
2018-04-10 19:23:34 +00:00
Amith Yamasani
ff1575f059
API Review: Rename getStandbyBucket to getAppStandbyBucket
...
Change-Id: Ifa0f5d0dba95d8bc6c2af814649594e9ca4a6c47
Fixes: 76831039
Test: Builds
2018-04-10 09:28:38 -07:00
Dan Gittik
8e7231bccf
Merge "Added system-wide minimum brightness curve." into pi-dev am: 082147cfe1
...
am: 746256b546
Change-Id: I457cfa2b9c4eec3606e2520446644a07ec2a8397
2018-04-10 04:52:34 -07:00
TreeHugger Robot
082147cfe1
Merge "Added system-wide minimum brightness curve." into pi-dev
2018-04-10 11:28:44 +00:00
Chad Brubaker
8cc3285cb4
Merge "Make isSameTrustConfiguration public API" into pi-dev am: eed55b3b15
...
am: 1c0e63f2fd
Change-Id: Ia13d109226724c6c124bbfaa996ba3fe966b46fb
2018-04-09 19:13:20 -07:00
Jeff Sharkey
f35b79c609
Merge "API council requested tweaks to SubscriptionPlan." into pi-dev am: 5e0d360411
...
am: 4cd485f8e5
Change-Id: I5f3f1b04573a8a2286cf4d6456d7196fc5ed417d
2018-04-09 18:09:12 -07:00
Suprabh Shukla
45b9e40a4f
setPackagesSuspended now overwrites all the state
...
Earlier setPackagesSuspended ignored the rest of the paramters when
suspend state did not change. This was a problem because then there was
no good way to update the other parameters without unsuspending the app,
which is not desirable.
Removed setSuspendedPackageAppExtras as now they can be update with this
api.
Also sending broadcasts when packages get unsuspended due to suspending
package removed.
Test: Existing tests pass:
atest com.android.server.pm.PackageUserStateTest
atest com.android.server.pm.SuspendPackagesTest
atest com.android.server.pm.PackageManagerSettingsTests
Bug: 77522553
Change-Id: I72a3c228d3d65c430e242da97b2bc6997ec6a135
2018-04-09 17:49:54 -07:00
TreeHugger Robot
eed55b3b15
Merge "Make isSameTrustConfiguration public API" into pi-dev
2018-04-09 23:53:18 +00:00
Jeff Sharkey
5e0d360411
Merge "API council requested tweaks to SubscriptionPlan." into pi-dev
2018-04-09 23:20:43 +00:00
Andy Hung
2ce1cc111f
Merge "PlaybackParams: Add @TestApi annotation to access stretch mode" into pi-dev am: 30a0d29107
...
am: b7b018ef50
Change-Id: Ie62784237193baed9817cb0f468b39e222123300
2018-04-09 10:18:10 -07:00
Andy Hung
30a0d29107
Merge "PlaybackParams: Add @TestApi annotation to access stretch mode" into pi-dev
2018-04-09 16:49:52 +00:00
Philip P. Moltmann
325f7284d9
Merge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev am: d565f04957
...
am: e2e7dd4eda
Change-Id: I57cbfacd181876b65447e5fe7497c83802a55b60
2018-04-09 09:17:38 -07:00
TreeHugger Robot
d565f04957
Merge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev
2018-04-09 15:57:42 +00:00
Lorenzo Colitti
ce90c70b15
Remove unwanted capability code per API council feedback. am: 4c6f4a65b6
...
am: 142f57e261
Change-Id: I315788a9b7ada0858b74dcd599c897bcf04f6c80
2018-04-06 20:14:57 -07:00
Lorenzo Colitti
142f57e261
Remove unwanted capability code per API council feedback.
...
am: 4c6f4a65b6
Change-Id: I359aad5d7dceb2b188544db18424598decf14c08
2018-04-06 19:56:30 -07:00
Lorenzo Colitti
2eae1e3a45
Merge changes from topic "unwanted" into pi-dev
...
* changes:
Add @param tag for state in queryDetailsForUidTagState.
Remove unwanted capability code per API council feedback.
2018-04-07 02:41:40 +00:00
Andy Hung
8ec4be4be9
PlaybackParams: Add @TestApi annotation to access stretch mode
...
Required due to CTS access restrictions in P.
Test: CTS ParamsTest
Bug: 77723867
Change-Id: I68b5fbc2096d5d1cb01c60fe1028def5ecfe2959
2018-04-06 19:23:53 -07:00
Jean-Michel Trivi
803a190669
Merge "AudioFocusRequest: getOnAudioFocusChangeListener in test API" into pi-dev am: 301a925597
...
am: 4a09bab517
Change-Id: Ia3346aa5ec6a4b263120e8a650cf93d32fd19b06
2018-04-06 19:19:35 -07:00
Jean-Michel Trivi
d043c3aba0
AudioFocusRequest: getOnAudioFocusChangeListener in test API
...
Bug: 77651038
Test: CTS AudioFocusTest
Change-Id: I071057f1ed0ed6c56c16182a48191d763d408ae1
2018-04-06 16:59:21 -07:00
Mikhail Naganov
be9301e9ae
Merge "AudioPresentation: Replace @VisibleForTesting with @TestApi" into pi-dev am: d1bc30a405
...
am: 163b606b0a
Change-Id: Id44d1c49e6f7308498c949a5e42e93a27c0cd32a
2018-04-06 16:33:28 -07:00
TreeHugger Robot
d1bc30a405
Merge "AudioPresentation: Replace @VisibleForTesting with @TestApi" into pi-dev
2018-04-06 22:52:43 +00:00
Philip P. Moltmann
f80809ffd7
Expose TestAPIs needed by GtsOsTestCases
...
Test: atest GtsOsTestCases on pi-dev:taimen and oc-mr1:sailfish
Bug: 77497338
Change-Id: I5de976991a857bfbed2faa943822af542601fa8b
2018-04-06 14:59:07 -07:00
Chad Brubaker
b8e1c6ec69
Make isSameTrustConfiguration public API
...
Test: make update-api
Bug: 77690898
Change-Id: Ie802287344faa1ed240f982efcc58e6fd671c3f2
2018-04-06 14:15:56 -07:00
Nader Jawad
2181bb70ff
Merge "Removed call to setWillNotCacheDrawing and deprecated it as well as willNotCacheDrawing as intermediate caching layers are obsolete since hardware accelerated rendering was introduced in API 11" into pi-dev
2018-04-06 20:40:46 +00:00
Mikhail Naganov
436ee82422
AudioPresentation: Replace @VisibleForTesting with @TestApi
...
This is to fix CTS tests failures.
Bug: 77715867
Test: make
Change-Id: I99a5ff8fab208a0e1f2e889cb7ad256e6ba08437
2018-04-06 13:30:28 -07:00
Xiangyu/Malcolm Chen
9f4ddb067b
Merge "Merge "Marking some hidden API as TestApi." into pi-dev am: 50c069f7c1" into pi-dev-plus-aosp
...
am: fd8ca1dbc4
Change-Id: I93d516f7a63bf2c3d8d2925bf287c4cba74b74f9
2018-04-06 12:16:51 -07:00
Andy Hung
165b66c23b
Merge "Merge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev am: 320c1ade67" into pi-dev-plus-aosp
...
am: 4568c4b9b8
Change-Id: I3b75a28876b8e9f4d110df2c7f9e6019a49d44b2
2018-04-06 12:08:39 -07:00
Fyodor Kupolov
8e75020431
Merge "Added dontSendToRestrictedApps broadcast option" into pi-dev am: 28faced973
...
am: 35ebfcac8c
Change-Id: I26d047e9ff7e6eaa4a2026a4ce0ad6aca0b30eee
2018-04-06 11:40:19 -07:00
Xiangyu/Malcolm Chen
50c069f7c1
Merge "Marking some hidden API as TestApi." into pi-dev
2018-04-06 18:32:12 +00:00
Andy Hung
320c1ade67
Merge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev
2018-04-06 18:19:48 +00:00
Fyodor Kupolov
28faced973
Merge "Added dontSendToRestrictedApps broadcast option" into pi-dev
2018-04-06 17:57:10 +00:00
Nader Jawad
236a183e8b
Removed call to setWillNotCacheDrawing and deprecated it as well as
...
willNotCacheDrawing as intermediate caching layers are obsolete since
hardware accelerated rendering was introduced in API 11
ImageView's current implementation of setScaleType would manually
disable it's cache if the ScaleType provided was CENTER. This was end up
not drawing the ImageView if View.LAYER_TYPE_SOFTWARE was configured on
the ImageView as the cache no longer existed. Removed the logic to
conditionally disable the drawing cache and marked
setWillNotCacheDrawing/willNotCacheDrawing as hardware accelerated
rendering makes these facilities obsolete
Fixes: 77653694
Fixes: 72139649
Test: Created a test application with an ImageView and manually set a
ScaleType of CENTER and forced the ImageView to render in a software
layer to confirm that it would render properly with a drawable of the
test application's launcher icon
Change-Id: Ie73b1e0708a265e3cc2cc74ed13539f4219dbd7d
(cherry picked from commit 2ac86880d6 )
2018-04-06 17:09:40 +00:00
Nader Jawad
e6df368392
Merge "Removed call to setWillNotCacheDrawing and deprecated it as well as willNotCacheDrawing as intermediate caching layers are obsolete since hardware accelerated rendering was introduced in API 11"
2018-04-06 17:08:07 +00:00
TreeHugger Robot
88c5c482d3
Merge "Mark methods as @TestApi"
2018-04-06 17:07:56 +00:00
Selim Cinek
108ebd0c4d
Merge "Migrated the Person class to its own file" into pi-dev am: cecec7bf5b
...
am: b1226660f6
Change-Id: I1066f90cf4a5a415dcf35abd9e27fea02073faf4
2018-04-06 09:37:58 -07:00
Dan Gittik
122df86891
Added system-wide minimum brightness curve.
...
The minimum brightness curve guarantess that any brightness curve
that dips below it is rejected by the system.
This prevent auto-brightness from setting the screen so dark as to
prevent the user from resetting or disabling it, and maps lux to
the absolute minimum nits that are still readable in that ambient
brightness.
Test: atest BrightnessConfigurationTest.
Fixes: 77176207
Change-Id: Ibd1e83e9b147f3849d6c907f828cbe5950c8367f
2018-04-06 17:04:45 +01:00