Commit Graph

19465 Commits

Author SHA1 Message Date
TreeHugger Robot
93891ea8aa Merge "Split query permission from update permission" 2018-02-22 19:58:38 +00:00
Gus Prevas
9c0951304d Merge "Deprecates methods on WearableExtender.Builder which have not been honored since Wear 1.0." 2018-02-22 18:06:54 +00:00
Robert Berry
428a59ab20 Merge "Remove package name parameter from setRecoveryStatus" 2018-02-22 16:40:12 +00:00
Hall Liu
a433bdc9e8 Merge "EMBMS API tweaks" am: 47e1d11b47 am: 3b40c709a3
am: 2a08ccdd8b

Change-Id: I617e2bca44d52b55f2d032db0fe59aa0a9f88e24
2018-02-22 15:38:26 +00:00
Benjamin Franz
751cbc64b6 Merge "Update lock task features name and javadoc" 2018-02-22 14:08:33 +00:00
Annie Meng
69ad4a1565 Merge "Add TestApis for updateTransportAttributes GTS tests" 2018-02-22 12:22:42 +00:00
Mihai Popa
acd4e6de6e Merge changes from topic "magnifier_sync_movement"
* changes:
  [Magnifier-24] Add completion callback TestApi
  [Magnifier-21] Rate-limit drawings to renderer
  [Magnifier-20] Raw Surface instead of PopupWindow
2018-02-22 12:03:01 +00:00
Robert Berry
bbe02ae8a3 Remove package name parameter from setRecoveryStatus
Package name is implicit. Recovery agent can only act for the same uid.

Bug: 73757432
Test: runtest frameworks-services -p
      com.android.server.locksettings.recoverablekeystore

Change-Id: I45abf4b956fa4e97d981614d9e61295e85d5669e
2018-02-22 10:45:32 +00:00
Hall Liu
47e1d11b47 Merge "EMBMS API tweaks" 2018-02-22 00:35:51 +00:00
Jakub Pawlowski
1e73cdc45c Add Hearing Aid output device
This output is used to send audio to Hearring Aid device.

Bug: 69623109
Test: mm
Change-Id: I6ffdb0a404efb645592624612c7ebc187fb933a6
2018-02-22 00:01:50 +00:00
Gus Prevas
b5f9cf540d Deprecates methods on WearableExtender.Builder which have not been honored since Wear 1.0.
Bug: 67605167
Change-Id: I3c9a0b607fd85e4784b29784035a9b0772c94228
2018-02-21 20:49:09 +00:00
Mihai Popa
2ba5d8e8e8 [Magnifier-24] Add completion callback TestApi
The CL adds a TestApi callback mechanism which enables CTS tests to know
when magnifier operations have completed. This is required since
the magnifier is using an auxiliary thread (different from the main
thread) to do work.

Bug: 72041926
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I44f324297b63910d19d60bd7462e9aee8d8a4f3e
2018-02-21 18:29:48 +00:00
Makoto Onuki
2ebb021231 Merge "Shortcut permissions for default text classifier" 2018-02-21 17:22:28 +00:00
Richard Ledley
d173506597 Merge "Replace Entity Presets with hints and an explicit factory." 2018-02-21 09:33:05 +00:00
Hall Liu
5b844876ba EMBMS API tweaks
Make changes per API council recommendations
Also clean up the download flow -- provide option for app to specify a
destination as long as it's on the same filesystem.

Bug: 72837388
Fixes: 72231372
Test: CTS and testapp

Change-Id: Ia2a68a73e6d61f426b55068542a66995afc20407
2018-02-20 17:08:47 -08:00
TreeHugger Robot
b729375d47 Merge "MediaFormat: declare key for AAC decoder DRC effect type" 2018-02-20 22:58:34 +00:00
Seigo Nonaka
e68ba070bb Merge "Reorganize MeasuredText API (2nd)" 2018-02-20 21:14:53 +00:00
Leon Scroggins
67190cf8eb Merge "Deprecate Movie.java" 2018-02-20 21:08:14 +00:00
Makoto Onuki
700feef8a6 Shortcut permissions for default text classifier
- Add two shortcut related permissions as SystemAPI for the default
text classifier.

- The default text classifier package name still comes from the
system resource.

Bug: 73083596
Bug: 71555985
Test: atest CtsPermission2TestCases
Test: Manual test with a test package, with the following in config.xml
<string name="config_defaultTextClassifierPackage" translatable="false">com.example.android.pm.shortcutlauncherdemo</string>

Change-Id: I19081d9d6ba0b33eb25d19aa55b4fe2f26a75897
2018-02-20 12:14:18 -08:00
Kodlee Yin
3feba764d6 Merge "Add Notification.Action.SEMANTIC_ACTION_CALL" 2018-02-20 18:39:19 +00:00
Leon Scroggins III
fe2ab67894 Deprecate Movie.java
Bug: 27847286
Test: none

Now that we have a framework replacement, deprecate this little-used
class.

Change-Id: Iedec214c7eb729ccb77d2b4818971393938b2295
2018-02-20 11:38:11 -05:00
Richard Ledley
1fc998b0fd Replace Entity Presets with hints and an explicit factory.
This remove APIs to inspect the list of entities a TextClassifier will choose. We decided the developer should have no need to see these, and by not exposing it we allow more flexibility on the TextClassifier.

Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest

Bug: 67629726

Change-Id: I70978e692bb8a1edee1567a10c31d5ded44baa49
2018-02-19 18:05:56 +00:00
Benjamin Franz
caffa7789c Update lock task features name and javadoc
Remove reference to recent and replace by overview. Also throw an IAE
if recents is enabled without home.

Also address API council feedback for ActivityOption.setLockTaskMode

Bug: 72807036
Bug: 72799389
Bug: 71790952
Bug: 71866618
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Change-Id: I70bed3b46137870e6bf0af5bf7f0846dc51f91ab
2018-02-19 16:47:28 +00:00
Etan Cohen
2094d9d306 Merge "[RTT] Replace Handler with Executor in public APIs" 2018-02-17 15:37:24 +00:00
TreeHugger Robot
0c200baed4 Merge "Minor autofill changes to support compat mode CTS tests." 2018-02-17 11:17:05 +00:00
Etan Cohen
554fa64cc9 Merge "[RTT] Ranging timestamp is in millis" 2018-02-17 05:27:30 +00:00
Jean-Michel Trivi
bba1e9f24d MediaFormat: declare key for AAC decoder DRC effect type
Bug: 71430241
Test: CTS AAC decoder test

Change-Id: I077bdccf2b3ce935feaa6f14c75640d2f20affb7
2018-02-16 21:04:48 -08:00
Seigo Nonaka
beafa1f9d2 Reorganize MeasuredText API (2nd)
This is 2nd attempt of I7db9e2ca4db68a16648cfb8fcf63555f501304c2

This CL changes the MeasuredText API:
- Rename MeasuredText to PrecomputedText.
- Introduce PrecomputedText.Param which holds all text layout parameters.
- Add API to get PrecomputedText.Param from TextView.
- Remove MeasuredText.Builder and add PrecomputedText.create method instead.
- Remove setRange from MeasuredText since it is not for normal use case.
  (It can not be used for TextView)

Bug: 67504091
Bug: 72861572
Test: bit FrameworksCoreTests:android.text.
Test: atest CtsWidgetTestCases:EditTextTest \
    CtsWidgetTestCases:TextViewFadingEdgeTest \
    FrameworksCoreTests:TextViewFallbackLineSpacingTest \
    FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest \
    CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest \
    CtsTextTestCases

Change-Id: Ie73bce52c6c673cda58973ddad04627a7cf2e5e9
2018-02-16 19:42:00 -08:00
Svet Ganov
47b37aa034 Minor autofill changes to support compat mode CTS tests.
Bug: 72811561
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest

Change-Id: I6ec2563cea75afc77a1598805988d8e6c433c574
2018-02-16 18:01:17 -08:00
Etan Cohen
15235cd5f7 Merge "[RTT] LCI/LCR to System API - unparsed" 2018-02-17 00:17:55 +00:00
TreeHugger Robot
4a1daf8da8 Merge "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs" 2018-02-16 22:21:41 +00:00
Jeff Sharkey
5e4bebb891 Merge "Better handling of NTP-based clocks." 2018-02-16 22:13:01 +00:00
Jeff Sharkey
9911a28adb Better handling of NTP-based clocks.
Now that we have a nice Clock abstraction, we can use it to represent
a clock backed by an NTP fix.  (This makes testing logic much easier
to write.)

We now rely completely on NetworkTimeUpdateService to keep our NTP
fix up to date, instead of trying to refresh in the middle of
critical paths which could trigger random ANRs.

Add internal FallbackClock to make it easier to handle missing NTP
fixes.  Add internal SimpleClock to let implementers focus on single
millis() method.

Test: bit FrameworksNetTests:com.android.server.net.NetworkStatsServiceTest
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 69714690, 72320957
Change-Id: Ic32cdcbe093d08b73b0e4b23d6910b23ea8e1968
Exempt-From-Owner-Approval: approved in previous PS
2018-02-16 22:11:35 +00:00
TreeHugger Robot
961b465ac4 Merge "Allowing Typeface as a param in TypefaceSpan." 2018-02-16 19:06:53 +00:00
Kodlee Yin
cda5b09e32 Add Notification.Action.SEMANTIC_ACTION_CALL
Adds the Call semantic action which allows apps to declare an action as
one that will perform a call. No logical changes.

Test: none
Bug: 67717177
Change-Id: I2bc63122ca285ba504f004da05ea79db74c01e08
2018-02-16 11:02:18 -08:00
TreeHugger Robot
1d84b1734d Merge "Adding maximum input size checks" 2018-02-16 18:46:50 +00:00
Etan Cohen
52982a9e40 [RTT] Replace Handler with Executor in public APIs
Per new API guidelines.

Bug: 73088768
Test: unit tests & integration tests
Change-Id: I5aba667e746f4a031fcf53c168e89cbdcfc0c5ec
2018-02-16 10:13:26 -08:00
Etan Cohen
4577b9b17c [RTT] Ranging timestamp is in millis
API review mods: change ranging timestamp to milliseconds. Update
docs to clarify which time is being measured.

Bug: 73088768
Test: unit tests & integration tests
Change-Id: I8a81e92d1a3d264abd98a1695be6a5da6fa5f6a1
2018-02-16 10:13:26 -08:00
Etan Cohen
870301c9e2 [RTT] LCI/LCR to System API - unparsed
Move LCI/LCR to a System API - unparsed:
- Punting parsing for future release
- Not widely available in APs for testing
- Usability/deployment unclear

Bug: 71643239
Bug: 73088768
Test: unit tests & sanity integration tests
Change-Id: Idd3bded55e887abbad6c51b00b31e75c859ba579
2018-02-16 10:13:20 -08:00
Oscar Shu
e7a379cdd9 Merge "Deprecate supplicant related stuff in WifiManager" 2018-02-16 18:09:01 +00:00
Oscar Shu
4d012a6b77 Merge "Deprecate WpsInfo" 2018-02-16 18:08:29 +00:00
Alan Viverette
045abe73e2 Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs
Due to themes always overlaying, legacy and Holo themes must explicitly
define Material attributes as @null (e.g. unset).

Deprecates Holo themes. Nobody should be using these anymore.

Bug: 72203192
Test: CtsThemeHostTests & manual verification of bug
Change-Id: I65e9ceddc7aec54b1b8df0231f0755cbd5529886
2018-02-16 12:42:43 -05:00
Tim Volodine
bfd30802f7 Merge "WebView Tracing API: address comments from the API council." 2018-02-16 15:00:27 +00:00
Annie Meng
9a2e77c3cc Add TestApis for updateTransportAttributes GTS tests
These TestApis are getters to access BackupManagerService transport
attributes. This is to validate that BackupManager.updateTransportAttributes
system api succeeds when testing in GTS (see ag/3615301).

Bug: 72485407
Test: gts-tradefed run gts -m GtsBackupHostTestCases -t com.google.android.gts.backup.BackupManagerTransportAttributesHostSideTest
Change-Id: I0edb1aa0fd776e062f800cf7a79de5cd2e2436df
2018-02-16 12:06:47 +00:00
TreeHugger Robot
a6a0d1304d Merge "New Autofill API: notifyViewClicked()" 2018-02-16 05:52:06 +00:00
Brian Young
a83d333843 Merge "Add "Unlocked device required" parameter to keys" 2018-02-16 01:18:53 +00:00
Treehugger Robot
d35e81d615 Merge "Un-hide Connection-side RTT APIs for Dialer" 2018-02-15 23:56:55 +00:00
Hall Liu
4e0f11c65f Merge "RTT bugfixes, part 5" 2018-02-15 23:31:18 +00:00
Felipe Leme
67e6209f32 New Autofill API: notifyViewClicked()
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityTest#testSave_submitButtonClicked
Test: atest CtsAutoFillServiceTestCases

Bug: 72982765

Change-Id: I60ea67fce94f324c2a79031f8fe9596d45088bcb
2018-02-15 15:05:29 -08:00
Hall Liu
13ee5767e1 Un-hide Connection-side RTT APIs for Dialer
Bug: 63934808
Test: builds
Change-Id: I59a892fb0e314810e92dd9ad7d0c2f4610055045
Merged-In: I59a892fb0e314810e92dd9ad7d0c2f461005504
2018-02-15 21:34:55 +00:00