Commit Graph

19547 Commits

Author SHA1 Message Date
TreeHugger Robot
824095856b Merge "Allow chaining ImageDecoder's setters" 2018-02-28 19:05:29 +00:00
TreeHugger Robot
f10f40b03c Merge "setPreferRamOverQuality -> setConserveMemory" 2018-02-28 18:47:03 +00:00
TreeHugger Robot
7f1bceb325 Merge "MediaPlayerBase API" 2018-02-28 16:36:23 +00:00
TreeHugger Robot
5240541e01 Merge "Remove @removed from APIs still in use" 2018-02-28 13:43:36 +00:00
TreeHugger Robot
58c83fa7c8 Merge "Unhide VideoView2 APIs" 2018-02-28 10:43:38 +00:00
Robert Berry
5af199c56e Remove @removed from APIs still in use
I completely misunderstood this annotation.

Bug: 73962883
Test: ran unit tests
Change-Id: Id3e3863fc6fd1e0614a3c75d25cd35239667eaf0
2018-02-28 10:31:43 +00:00
TreeHugger Robot
dc66a1d891 Merge "Unhide MediaControlView2 APIs" 2018-02-28 10:28:25 +00:00
Insun Kang
b785faa1d7 Unhide VideoView2 APIs
Test: make update-api
Bug: 64293205
Change-Id: Ie57e3ea78dd623fc095c1ad5f270f3b97320f155
2018-02-28 08:45:37 +00:00
Maurice Lam
805ea225b9 Merge "Revert "Small fixes to StatsManager API."" 2018-02-28 07:20:36 +00:00
Jean-Michel Trivi
c3a438f65b MediaPlayerBase API
Define as an abstract class the high level interface for
  media players. Consumers are MediaSession2, providers
  are MediaPlayer2, which will extend this class.

Bug: 64098437
Test: to be in MediaPlayer2 tests once it extends MPB
Change-Id: Id0d0fcb6d1b377a0e05a4a8e3d659e12a58fc45e
2018-02-27 22:53:25 -08:00
TreeHugger Robot
7f88497514 Merge "Dynamics Processing Effect" 2018-02-28 06:19:35 +00:00
Jin Seok Park
a64d4b98b5 Unhide MediaControlView2 APIs
Test: make update-api
Bug: 64293205
Change-Id: Ia202a7fc1f8733cc2d95d13e7126916affe4f52e
2018-02-28 05:06:10 +00:00
Brad Ebinger
e9113e9046 Merge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0 am: 8f2c2ca09a
am: 27617a9894

Change-Id: Id4638c9126cce687bb4513731be2aeb962b2250d
2018-02-28 04:59:52 +00:00
Maurice Lam
c0df1f2354 Revert "Small fixes to StatsManager API."
This reverts commit 16dcd33abd.

Reason for revert: b/73975175

Bug: 73975175
Change-Id: I5bcccde100900b1370c2e43b8bcfc7d1697e5c72
2018-02-28 04:17:25 +00:00
rago
46a92d90df Dynamics Processing Effect
Adding Dynamics Processing Effect api and configuration helpers.

Bug: 64161702
Bug: 38266419

Test: manual testing and CTS test ag/3662965
Change-Id: I993e1621011a16596aa00ea049fa8681463e8551
2018-02-28 03:13:45 +00:00
Treehugger Robot
59391aa4a0 Merge "Modify shouldProcessCall API to remove redundancy" 2018-02-28 03:02:27 +00:00
TreeHugger Robot
bf6edacac9 Merge "New attribute textFontWeight for selecting weight in the font family" 2018-02-28 01:21:41 +00:00
TreeHugger Robot
7e96e0a137 Merge "createAndManageUser should communicate reason of failure to caller" 2018-02-28 00:39:33 +00:00
TreeHugger Robot
3b8957714d Merge "Update the RTT features constant." 2018-02-28 00:02:59 +00:00
Jeff Sharkey
15739d3099 Merge "Add explicit method to clear clipboard." 2018-02-27 23:10:44 +00:00
TreeHugger Robot
ecd5c4a8f7 Merge "Small fixes to StatsManager API." 2018-02-27 22:39:15 +00:00
Jiuyu Sun
e23ece0212 Merge "Mark EUICC_PROVISIONED as @SystemApi." 2018-02-27 22:04:15 +00:00
Seigo Nonaka
e245116af3 New attribute textFontWeight for selecting weight in the font family
Note that AppCompatTextView doesn't work well with this attribute since
it overwrites the selected Typeface.

Bug: 63135308
Test: atest android.widget.cts.TextViewFontWeightTest
Change-Id: I76ee5e3007ea5f96249d2a0bfb66ff5975c62522
2018-02-27 11:39:13 -08:00
Annie Meng
1b9877ab44 Move transport constant to BackupTransport API
Previously, the transport registration extra was a private
constant. Since GMSCore depends on this value being passed, moving
it to a public API prevents having to define it twice in
framework and GMSCore, and ensures compatibility between the two.

TODO: Update GMSCore with this constant once this drops
into GMSCore.

Bug: 72730566
Test: 1) m -j ROBOTEST_FILTER=TransportManagerTest RunFrameworksServicesRoboTests
2) m -j ROBOTEST_FILTER=TransportClientManagerTest RunFrameworksServicesRoboTests

Change-Id: I8f7a2ca0275047a5d3cc1a530cd86499d0170f2f
2018-02-27 15:17:56 +00:00
Alex Chau
89386bacc6 createAndManageUser should communicate reason of failure to caller
Bug: 71844474
Test: cts-tradefed run singleCommand cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LowStorage
Test: cts-tradefed run singleCommand cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_MaxUsers
Change-Id: I3c069ba86822178fa3f51f1d31cd4792883151cc
2018-02-27 09:12:45 +00:00
Mohamed Abdalkader
786c3abe93 Merge "Add more sms error codes" am: c16da498d5 am: 8a9d38fbbc
am: 55295f2d0c

Change-Id: I63e8d4ea85aeda6927418bf42362397fa8e7ffb7
2018-02-27 04:22:47 +00:00
Treehugger Robot
c16da498d5 Merge "Add more sms error codes" 2018-02-27 02:48:31 +00:00
Jaewan Kim
83e0574c03 Merge "MediaSession2: Unhide APIs" 2018-02-27 02:07:59 +00:00
Jaewan Kim
6cc1a5de46 MediaSession2: Unhide APIs
Bug: 64098437
Test: make update-api
Change-Id: Ib73a32b422502cef324869356d56acaa7c48b219
2018-02-27 09:58:03 +09:00
Jeff Sharkey
d60e07f04f Add explicit method to clear clipboard.
Fix several bugs along the way:

-- Clipboard permissions weren't being revoked for related users
when a new primary clip was set.
-- checkGrantUriPermissionLocked() wasn't checking to see if an
otherwise-open provider requires permissions on specific paths.
-- When granting Uri permissions for clipboard data, we need to
include the real source UID for the grant; we no longer allow the
system UID to source grants, to avoid confused deputy problems.
-- Use the Handler passed into ClipboardManager constructor so
it lives on the right thread.

Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.cts.ClipboardManagerTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests
Bug: 71711122, 73797203
Change-Id: I99315035efc0c6a90471c279311294dc86766c8d
2018-02-26 14:43:11 -07:00
TreeHugger Robot
f42a1080d5 Merge "Deprecate all inner classes of FingerprintManager" 2018-02-26 17:34:07 +00:00
Eric Erfanian
31612fde73 Update the RTT features constant.
The effect of this change is to properly set
the RTT constant to 32.

The constant was introduced in I3ed8ac5ad7300c44f87e2573d9409b3a92b98ab6
but accidentally overriden in Ib8d6ea48379a44951a4c2e46ee79b9d4c0bf30e7
fixed again in I09ea52720bf2439537e2f4ad32afb14f5df25f71 but
reverted again in I1ccc2c36b480f64c3a8b3df7eee73f80b7863722.

In a subsequent change, I will merge this change into public master.

Bug: 63934304
Test: TreeHugger
Change-Id: I828788e8d950687149d9094d0631171e2fd7212f
2018-02-26 08:36:23 -08:00
TreeHugger Robot
4993e55242 Merge "Revert "Add deep link to the assisted dialing settings."" 2018-02-26 16:02:34 +00:00
TreeHugger Robot
c73f954cc7 Merge "Revert "Add the assisted dialing carrier config."" 2018-02-26 16:02:34 +00:00
TreeHugger Robot
a620aa1a13 Merge "Remove account param from generateKey method" 2018-02-26 15:16:18 +00:00
Robert Berry
291bd32c9e Remove account from WrappedApplicationKey
Recovery controller will no longer be aware of accounts. It is up to
the recovery agent to decide where to upload keys, and if so what
accounts to use.

Bug: 73811828
Test: runtest frameworks-core -p android.security.keystore.recovery
Change-Id: I929076d948f4d36ba88b68cca08058a5cdde0107
2018-02-25 23:11:17 +00:00
Robert Berry
a3b994798d Remove account param from generateKey method
Bug: 73811828
Test: runtest frameworks-services -p
      com.android.server.locksettings.recoverablekeystore
Change-Id: If2f4174beea9cfb8c852139a7594815c377dbe7a
2018-02-25 14:48:42 +00:00
Robert Berry
f34ad9509d Merge "Remove packageName from getRecoveryStatus" 2018-02-25 14:08:47 +00:00
TreeHugger Robot
cc25afe000 Merge "Flip order of arguments" 2018-02-24 10:25:40 +00:00
TreeHugger Robot
8a36da32a1 Merge "Add CertPath to KeyChainSnapshot and startRecoverySession" 2018-02-24 10:19:21 +00:00
TreeHugger Robot
3016f335f0 Merge "Store carrier app name in global settings for SIM dialog/notification" 2018-02-24 02:38:26 +00:00
Ruchi Kandoi
99dac40437 Merge "Wrap raw binder interface into public classes" am: a4bde27012 am: 3cd878df0f
am: 21b4edb3cd

Change-Id: I9797e593a44b86f32f6c8c343d8bb15076e6ca87
2018-02-24 02:12:34 +00:00
Bo Zhu
7c1972ff71 Add CertPath to KeyChainSnapshot and startRecoverySession
CertPath will include a cert of the trusted hardware and necessary
intermediate certificates.

Bug: 73784851
Change-Id: Ic70616b8f119891a82402b91035456e404c5f6de
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
2018-02-23 16:44:41 -08:00
TreeHugger Robot
3a3bb15763 Merge "Added CTS test cases for getNetworkId() and getSystemId()" 2018-02-24 00:37:08 +00:00
Treehugger Robot
a4bde27012 Merge "Wrap raw binder interface into public classes" 2018-02-24 00:19:29 +00:00
TreeHugger Robot
2d0c4cc902 Merge "Add userRestriction attribute in Location settings injector." 2018-02-23 23:18:47 +00:00
Kurt Nelson
72534b7e22 Flip order of arguments
Callbacks as the second parameter is more Kotlin friendly.

Bug: 73751206
Test: cts-tradefed run commandAndExit cts-dev --module CtsOsTestCases --test android.os.cts.StrictModeTest
Change-Id: Ib9c9469be1b81dc65e74c9e303f474c54a43b18b
2018-02-23 15:12:59 -08:00
TreeHugger Robot
a72cab84cf Merge "Add information of microphone on peripheral for mic enumeration APIs." 2018-02-23 22:55:50 +00:00
TreeHugger Robot
aa360efee0 Merge changes from topic "wipedata"
* changes:
  Rename WipeDataWithReason API to wipeData.
  Block adb from changing certain settings value when corresponding user restriction is on.
2018-02-23 22:54:44 +00:00
goneil
15f5a7ef45 Store carrier app name in global settings for SIM dialog/notification
Bug: 70042722
Test: Manual QA
Change-Id: If3e97e90a37ac4e585a64c21ddfe234259cd0813
2018-02-23 13:47:44 -08:00