Commit Graph

2962 Commits

Author SHA1 Message Date
Andrea Ambu
ce138216bf Merge "hotword: Fix inconsistent @NonNull and API comment" into sc-dev am: 250374368b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14424463

Change-Id: Ib028d4469e1ee61a0adc097c28755a402327ecdd
2021-05-05 15:18:07 +00:00
Andrea Ambu
250374368b Merge "hotword: Fix inconsistent @NonNull and API comment" into sc-dev 2021-05-05 14:54:02 +00:00
Andrea Ambu
c3f72bcf3d hotword: Fix inconsistent @NonNull and API comment
- setMediaSyncEvent does not need to accept any @Nullable param.
- getMediaSyncEvent return @Nullable.

This CL manually define the getter to allow for the @Nullable/@NotNull
and doc asymmetry.

Bug: 186469575
Fix: 186469575
Test: CtsVoiceInteractionTestCases
Change-Id: Icc0b6282e6ee13c8fcaa7dea763a39c430e66644
2021-05-05 10:24:51 +01:00
TreeHugger Robot
9804b8209a Merge "Add the javadoc for HotwordDetectionService" into sc-dev am: 4a247f9186
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14326782

Change-Id: I78835c6e5d266bbae756e0f8c7773928301ec30b
2021-05-03 06:53:34 +00:00
TreeHugger Robot
4a247f9186 Merge "Add the javadoc for HotwordDetectionService" into sc-dev 2021-05-03 06:40:04 +00:00
lpeter
8fbe605e1a Add the javadoc for HotwordDetectionService
Bug: 180945857
Test: Build
Change-Id: I42bb01949ec019da80077eeaf96c63b2c94f70a5
2021-05-03 11:48:37 +08:00
Yi Jiang
88a5f8bdcb Merge "Adds expirations for remote callbacks" into sc-dev am: 73d3172e96
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14362743

Change-Id: Ic9f0dd4a3a96577e63b0905149108c446bbca4ba
2021-04-30 20:49:22 +00:00
Yi Jiang
73d3172e96 Merge "Adds expirations for remote callbacks" into sc-dev 2021-04-30 20:33:03 +00:00
Yi Jiang
bd4a600225 Adds expirations for remote callbacks
Right now there is no timeout/expiration in the remote service. In cases
that the implementer of Rotation Resolver Service doesn't call back
and the pending callback blocks the following requests, we should
add an expiration of the pending callback in the remote service.

Bug: 186674250
Test: Manually tested the feature

Change-Id: I82f08155243e2205a2c95ae39c71c3118e9249ec
2021-04-29 18:05:04 -07:00
Hyunyoung Song
97dc9e6f00 Merge "API council review for SearchUiManager" into sc-dev am: ce5f5faab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14166233

Change-Id: I64a6cd1cdeade7ebb260411fe379a3e970558254
2021-04-29 16:31:00 +00:00
Hyunyoung Song
ce5f5faab8 Merge "API council review for SearchUiManager" into sc-dev 2021-04-29 15:52:12 +00:00
Chavi Weingarten
4366cd0e13 Merge "Updated DisplayHash APIs" into sc-dev am: 89e0e3fb07
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14342123

Change-Id: Ic11a312c6a0e9a17ce7d16a4082ddbab8a25b1a2
2021-04-29 15:37:08 +00:00
Chavi Weingarten
89e0e3fb07 Merge "Updated DisplayHash APIs" into sc-dev 2021-04-29 15:31:20 +00:00
Hyunyoung Song
1717e02ea6 API council review for SearchUiManager
Bug: 184265048
Test: atest CtsSearchUiServiceTestCases

Change-Id: Ib4dd0d3b29438418d4deb31e999a076e5eeff484
2021-04-28 20:57:11 -07:00
chaviw
286642aecd Updated DisplayHash APIs
Test: DisplayHashingServiceImplTest
Test: DisplayHashManagerTest
Fixes: 185274179
Fixes: 185940192
Change-Id: I8562fc8f0f3b53d41214a80168be5d14b9eb4c10
2021-04-28 17:43:03 -05:00
Yi Jiang
bd2891cc6c Merge "Cleans up lagecy annotations" into sc-dev am: 424b267ef9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14329579

Change-Id: Ia60a7cf62bf509590ef4aa77805afc0bfc2162bf
2021-04-28 21:22:08 +00:00
Yi Jiang
424b267ef9 Merge "Cleans up lagecy annotations" into sc-dev 2021-04-28 21:15:18 +00:00
Yi Jiang
c9be3d120f Cleans up lagecy annotations
Bug: 175334753
Test: None
Change-Id: Id8d60e7bd282a4efcea4eebd4de536e3c4cd63fc
2021-04-27 13:23:18 -07:00
TreeHugger Robot
f77d03f0d9 Merge "Fix wallpaper scaling issues" into sc-dev am: 49b78296ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14316242

Change-Id: Ifb5c04c0d8cdf4fc10bd9dc9500498f6dc55065e
2021-04-27 15:18:54 +00:00
TreeHugger Robot
49b78296ed Merge "Fix wallpaper scaling issues" into sc-dev 2021-04-27 15:13:31 +00:00
Vishnu Nair
44e44a7353 Fix wallpaper scaling issues
BlastBufferQueue adapter will modify the passed in SurfaceControl
properties. This conflicts with updates from the Wallpaper service. To
fix this, create a wrapper layer for the wallpaper BlastBufferQueue.

Fixes: 185561343
Test: rotate wallpaper, confirm wallpaper is scaled correctly

Change-Id: Ie0057652d72e07f811c22afc97e7417cda94bb2d
2021-04-26 16:54:00 -07:00
Ahaan Ugale
485e6a9f6c Merge "Leverage new Audio history sharing for HotwordDetectionService." into sc-dev am: b8144d38cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14279958

Change-Id: I134a8b214ed5c55bac7d11b7ae5ef2a779a865f9
2021-04-26 15:30:45 +00:00
Ahaan Ugale
b8144d38cc Merge "Leverage new Audio history sharing for HotwordDetectionService." into sc-dev 2021-04-26 15:22:04 +00:00
Ahaan Ugale
35f28d1bb2 Leverage new Audio history sharing for HotwordDetectionService.
The Audio Framework now supports sharing audio history, so
VoiceInteractionManagerService no longer needs to handle audio streams
itself.
See I5beba6c1e489148a14ba86165b8ef2fdc78c802a.

Bug: 168305377
Test: atest CtsVoiceInteractionTestCases
Test: manual
Change-Id: Ia7c5830aa5af6c015ae26619e0a90967ddff74e5
2021-04-26 07:50:01 +00:00
TreeHugger Robot
ee8555b637 Merge "Add api to propagating translation capability updates." into sc-dev am: efc7e4c0f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14164553

Change-Id: I9b609dc35f454eaa9edf896bec41f392867953e5
2021-04-23 00:50:15 +00:00
TreeHugger Robot
efc7e4c0f0 Merge "Add api to propagating translation capability updates." into sc-dev 2021-04-23 00:39:27 +00:00
Adam He
e5c140a59d Add api to propagating translation capability updates.
This change adda the apia in the TranslationService that allows to
update the TranslationCapability to the registered clients. This
change doesn't contain the register part in the TranslationManager,
the change will be done on the next change.

Bug: 176208267
Test: atest CtsTranslationTestCases
Test: manual verification
CTS-Coverage-Bug: 182990474

Change-Id: Iec7b3dc30f99985415162394d0e64d8e825ea5d9
2021-04-22 14:54:21 -07:00
Nikita Dubrovsky
0fa3fcdff9 Merge "Javadoc URI permissions handling on Dataset.setContent" into sc-dev am: 69f6b650ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14253746

Change-Id: I802c28c94c28c5fe55fe617165eba8e0bb141814
2021-04-22 01:01:25 +00:00
Nikita Dubrovsky
69f6b650ae Merge "Javadoc URI permissions handling on Dataset.setContent" into sc-dev 2021-04-22 00:55:14 +00:00
TreeHugger Robot
07b6e601a3 Merge "Create a callback method to invoke when the hotword detector is restarted." into sc-dev am: c9a99af53a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14236424

Change-Id: Id79b821994218566e81e208f701fccccf03147c0
2021-04-21 22:06:43 +00:00
Sergey Volnov
50fc906521 Create a callback method to invoke when the hotword detector is
restarted.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I73076562d822b95b39132cada8bfce904cc231cb
2021-04-21 20:27:46 +01:00
Sergey Volnov
2471c88b75 Merge "Ensure updateState() is available for software hotword." into sc-dev am: 65aed0d0a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14211642

Change-Id: I6f911c6378fd3197d42050dd248107128378067d
2021-04-21 08:39:36 +00:00
Sergey Volnov
65aed0d0a4 Merge "Ensure updateState() is available for software hotword." into sc-dev 2021-04-21 08:25:41 +00:00
Peter Li
f9872254ab Merge "Change API names and constants by API review" into sc-dev am: 993e1907a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14232874

Change-Id: Ief188208763980a2908f641d8b4e6b3235b0c4b5
2021-04-21 03:30:19 +00:00
Peter Li
993e1907a6 Merge "Change API names and constants by API review" into sc-dev 2021-04-21 03:20:56 +00:00
Adam He
899d10eb47 Merge "Remove onError from translationResultCallback." into sc-dev am: 1c3372f37d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14037434

Change-Id: Ie0da4f31c603e25ef35f0dda03ab98f0270deb94
2021-04-21 00:30:40 +00:00
Adam He
1c3372f37d Merge "Remove onError from translationResultCallback." into sc-dev 2021-04-21 00:26:34 +00:00
Nikita Dubrovsky
c9c617f88d Javadoc URI permissions handling on Dataset.setContent
Fix: 178715049
Test: Build (javadoc-only change)
Change-Id: Ia5f24520f514ac4862186798d26aaa47d81c94ca
2021-04-20 13:18:13 -07:00
Adam He
dabbce82d8 Merge "Allow throwing error on creating translation session (context not supported by service)." into sc-dev am: 9349ad48ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14144648

Change-Id: Icb4fe9c0fb4f23e8f9820fc84f55b2ed89a6a0dd
2021-04-20 10:22:41 +00:00
Adam He
9349ad48ce Merge "Allow throwing error on creating translation session (context not supported by service)." into sc-dev 2021-04-20 10:00:42 +00:00
TreeHugger Robot
dd100ed2b2 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev am: 3346694817
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14161092

Change-Id: I41200d38286fde2633a9642004d451633f5f3a21
2021-04-20 09:32:06 +00:00
TreeHugger Robot
3346694817 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev 2021-04-20 09:23:33 +00:00
TreeHugger Robot
9a63a6263f Merge "Rename destSpecs to targetSpecs" into sc-dev am: e354625105
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13912258

Change-Id: Ia187703101ac6e048851d9e8dbf7a7f81c18a717
2021-04-20 01:33:16 +00:00
TreeHugger Robot
e354625105 Merge "Rename destSpecs to targetSpecs" into sc-dev 2021-04-20 01:21:06 +00:00
lpeter
13d028d884 Change API names and constants by API review
Bug: 179814121
Test: atest FillEventHistoryTest
Test: atest InlineFillEventHistoryTest
Change-Id: Iae9109e57842cda15cc3b11ec3c18e57d6ffea2c
2021-04-20 08:36:30 +08:00
TreeHugger Robot
34a33226dd Merge "Fix a bug in SpellCheckerService." into sc-dev am: 8b7253d316
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14206612

Change-Id: If0d3f69bd05e7b99f17b68b0b1c50d85306fc3b8
2021-04-19 23:18:09 +00:00
TreeHugger Robot
8b7253d316 Merge "Fix a bug in SpellCheckerService." into sc-dev 2021-04-19 23:04:23 +00:00
Yi Jiang
7f942b8a15 Merge "Renames RotationResolutionRequest#getPackageName()" into sc-dev am: 8d7bd3610a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187671

Change-Id: Ifc030e70c75095270254358c512a7f55b16ef758
2021-04-19 19:32:42 +00:00
Yi Jiang
8d7bd3610a Merge "Renames RotationResolutionRequest#getPackageName()" into sc-dev 2021-04-19 19:22:03 +00:00
TreeHugger Robot
472662de6c Merge "Allow HotwordDetectionService to obtain ContentCaptureManager." into sc-dev am: df8de5061e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14216285

Change-Id: I18bbfd60d60570a96d9672dfa830c6cea07efcc8
2021-04-19 18:44:58 +00:00