Commit Graph

19493 Commits

Author SHA1 Message Date
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
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
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
Gil O'Neil
183a553273 Merge "Allow certificates to be stored in the carrier app whitelist" 2018-02-23 21:18:40 +00:00
Leon Scroggins
08ddee7303 Merge "Add AnimatedImageDrawable.getLoopCount" 2018-02-23 20:39:21 +00:00
TreeHugger Robot
e406ac080f Merge "camera: Add OisSamples synthetic key" 2018-02-23 18:47:56 +00:00
TreeHugger Robot
6dcc9de2fe Merge "New APIs to let app developers manage autofill semantics when reusing views." 2018-02-23 18:26:36 +00:00
jiabin
589a236acf Add information of microphone on peripheral for mic enumeration APIs.
Bug: 64038649
Test: run cts
Change-Id: If66747359b6544d239898fc16fbf1d99002b6402
2018-02-23 10:04:35 -08:00
TreeHugger Robot
ed24f903ea Merge "Revert "Add "Unlocked device required" parameter to keys"" 2018-02-23 17:42:45 +00:00
Robert Berry
01468dae19 Merge "Make it possible to construct a RecoverySession" 2018-02-23 16:40:36 +00:00
yuemingw
8227e5b9d2 Rename WipeDataWithReason API to wipeData.
Bug: 71818126
Test: run cts --module DevicePolicyManager -t com.android.cts.devicepolicy.ManagedProfileTest#testWipeDataWithReason
Change-Id: I5e2e445fffeebc0d15cb312e3679181f8934fc76
2018-02-23 16:06:02 +00:00
Leon Scroggins III
1474b78888 Add AnimatedImageDrawable.getLoopCount
Bug: 73791004
Test: Id0335f15fdf0ebdc16d1edcabca547b9399c506f
Change-Id: I1c048196e45b91a1039c1f89e2176592765d2967
2018-02-23 09:43:00 -05:00
Robert Berry
e04e09ad87 Make it possible to construct a RecoverySession
These methods are currently inaccessible.

Bug: 73763265
Test: it builds

Change-Id: I8358a8084e1c4fa96b1fe599ef6b17d6196d6a12
2018-02-23 12:00:34 +00:00
yuemingw
172da62178 Add userRestriction attribute in Location settings injector.
We would like to disable location accuracy ui in Settings when DISALLOW_CONFIG_LOCATION is set.
As disable location accuracy preference in Settings is injected from GmsCore, we would like a way to identify which injected settings is location accuracy.
So we want to add an additional field here: https://cs.corp.google.com/piper///depot/google3/java/com/google/android/gmscore/integ/container/proxies/location/base/res/xml/location_accuracy_injected_settings.xml?q=SettingInjectorService+file:%5E//depot/google3/java/com/google/android/gmscore/integ/+package:%5Epiper$&dr=C
Thus we need to update attributes in framework

Bug: 72633181
Test: manually by replacing userRestriction in attrs.xml with an existing
attribute "id", change location_accuracy_injected_settings.xml in gmscore to
include user restriction value, and tested Settings UI via TestDPC
Change-Id: Idd568dc549c68097f31368b1dd567f24922bdc4b
2018-02-23 11:43:14 +00:00
TreeHugger Robot
431df70cc7 Merge "MediaPlayer2: use long type for media time." 2018-02-23 03:21:27 +00:00
Jack Yu
1b8b38928b Added CTS test cases for getNetworkId() and getSystemId()
Bug: 32718590
Test: atest CtsTelephonyTestCases:ServiceStateTest#testServiceState
Change-Id: I5826a59d85028f0350ee39c69553f4e488d6456b
2018-02-22 17:37:38 -08:00
Brian Young
da82e2cb71 Revert "Add "Unlocked device required" parameter to keys"
This reverts commit efc3f16be7.

Reason for revert: Regression in creating auth-bound keys

Bug: 73773914

Bug: 67752510

Change-Id: Ic3886ceb3c3c0c4274682ed9f5f2bfbf8fdd71b9
2018-02-23 01:31:49 +00:00
Jason Monk
f09c8c168d Merge "Move metadata key from Slice to SliceManager" 2018-02-23 01:03:33 +00:00
Ruchi Kandoi
0b0b183f24 Wrap raw binder interface into public classes
Test: Dummy application using the API
Bug: 73751309
Change-Id: If697100ed28b6b5217367d9988ed45f8baa14c34
2018-02-22 16:59:36 -08:00
goneil
6db18a9bad Allow certificates to be stored in the carrier app whitelist
Use CARRIER_APP_WHITELIST to store app certificate mapped to package
name (instead of just package name as we had before).

Bug: 70042722
Test: SettingsBackupTest
Test: UiccProfileTest#testParseWhitelistMapFromString() for parsing map
Change-Id: Ia0c7c364cd8154272ef62cbbf412036b4eae1b21
2018-02-22 16:39:01 -08:00
Chien-Yu Chen
c804d1cc87 camera: Add OisSamples synthetic key
Add a synthetic OisSamples key containing timestamps and
shifts.

Test: CTS
Bug: 64847201
Change-Id: I0d7ce67a91de7dec65543d626e67ddac76c985c5
2018-02-22 15:38:43 -08:00
Wei Jia
1288759965 MediaPlayer2: use long type for media time.
add getAudioAttributes
add srcId for DRM callbacks
remove setNextMediaPlayer
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: Ibc890a9cb2a29ab58ae7eed25f41e96e04ccafcc
2018-02-22 21:55:08 +00:00
Felipe Leme
42b9793d0f New APIs to let app developers manage autofill semantics when reusing views.
From the Autofill workflow point of view, each view has an unique AutofillId
that is used to semantically, semantically identify the view. Currently, once
the View's AutofillId is set it cannot be changed, which make it hard to reuse
views for optimization (for example, in a RecyclerView).

This change introduces 2 new APIs (View.setAutofillId() and
Activity.getNextAutofillId()) that let app developers reuse views without
breaking their logical autofill semantics.

Fixes: 73555342

Test: atest CtsAutoFillServiceTestCases:MutableAutofillIdTest
Test: atest CtsAutoFillServiceTestCases

Change-Id: I35fe07b10657f17d7b260f90f578ca7a13782a18
2018-02-22 12:47:24 -08:00
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
Mady Mellor
3267ed8f74 Move metadata key from Slice to SliceManager
Bug: 73741418 
Test: make -j20
Change-Id: Ia22b47d8b6d278944566641b07fcfb0fb7662d07
2018-02-22 18:06:13 +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
e9041241de RTT bugfixes, part 5
* Add a new API to allow Telecom to inform ConnectionServices when the
RTT text stream changes
* No longer set the RTT property from ConnectionService. Client apps
should be setting properties themselves.
* Add Dialer-side RTT property in order to remove the dependence on
checking the RTT streams, which have a complex lifecycle

Bug: 72951201
Bug: 72648661
Test: manual, with real RTT calls and Dialer's SimulatorConnection, also
cts
Change-Id: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e
Merged-In: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e
2018-02-22 03:19:19 +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