Commit Graph

2953 Commits

Author SHA1 Message Date
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
Chavi Weingarten
8890beccd3 Merge "Updated DisplayHash APIs" into sc-dev am: 8570e52d00
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14100524

Change-Id: Ia49e144989dbb341dcc2e10cc26a093520e5453f
2021-04-19 18:43:01 +00:00
TreeHugger Robot
df8de5061e Merge "Allow HotwordDetectionService to obtain ContentCaptureManager." into sc-dev 2021-04-19 17:15:50 +00:00
Chavi Weingarten
8570e52d00 Merge "Updated DisplayHash APIs" into sc-dev 2021-04-19 16:30:45 +00:00
Sergey Volnov
f421bf17fc Allow HotwordDetectionService to obtain ContentCaptureManager.
This would allow pushing data into sandboxed ContentCaptureService.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I798b4f525a5707d4c97ae525ed69bd3864cb261d
2021-04-19 14:23:40 +01:00
lpeter
afef0beebf Add TestApi to trigger the onDetect function of HotwordDetectionService
Bug: 184685043
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I531c1229de908c64e29f1976bd2fd1e70e545853
2021-04-19 14:22:38 +08:00
Alex Buynytskyy
33255cf959 Merge "API feedback: make DataLoader API System." into sc-dev am: 910f855fe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187676

Change-Id: Ie4180e92c678c3366f46ade615e7275aba9bef99
2021-04-19 04:04:58 +00:00
Alex Buynytskyy
e7339d98df API feedback: make DataLoader API System.
Bug: 184713911
Fixes: 184713911
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I00107102eb2e98004ed0a5db2a318a052ab60220
2021-04-18 15:48:21 +00:00
Sergey Volnov
307f51a17d Ensure updateState() is available for software hotword.
We accidentally missed propagating this method to the interface before
the previous deadline.
Otherwise the change should be trivial and backwards compatible.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: Ib85f5264932aeab73ff67a3371f2304d368383ae
2021-04-16 22:23:06 +01:00
Adam He
7f065dedca Merge "Add cancellationSignal to the Translator#translate() api." into sc-dev am: 7ae022ade8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14069971

Change-Id: Ibd9ebb681f6abd1e6f3e324f85518029f7d60407
2021-04-16 21:17:56 +00:00