Commit Graph

2928 Commits

Author SHA1 Message Date
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
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
ce5f5faab8 Merge "API council review for SearchUiManager" into sc-dev 2021-04-29 15:52:12 +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
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
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
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
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
69f6b650ae Merge "Javadoc URI permissions handling on Dataset.setContent" into sc-dev 2021-04-22 00:55:14 +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
65aed0d0a4 Merge "Ensure updateState() is available for software hotword." into sc-dev 2021-04-21 08:25:41 +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
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
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
3346694817 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev 2021-04-20 09:23:33 +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
8b7253d316 Merge "Fix a bug in SpellCheckerService." into sc-dev 2021-04-19 23:04:23 +00:00
Yi Jiang
8d7bd3610a Merge "Renames RotationResolutionRequest#getPackageName()" into sc-dev 2021-04-19 19:22:03 +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
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
7ae022ade8 Merge "Add cancellationSignal to the Translator#translate() api." into sc-dev 2021-04-16 20:58:59 +00:00
Qi Wang
2616a431e7 Fix a bug in SpellCheckerService.
Previously, the returned value of WordIterator#following is used without
checking, which will cause fatal error when it's WordIterator.DONE.

Fix: 184915852
Test: atest CtsInputMethodTestCases:SpellCheckerTest
Change-Id: I37418bb36bc49e7dfa729ffb7209a6f383b611dd
2021-04-16 12:48:42 +08:00
chaviw
1e16caa255 Update Wallpaper to use BLAST
Test: Wallpaper still works
Bug: 170765639
Change-Id: I97a3f412035e1e2977bdefd2389084a74b568f82
2021-04-15 15:10:07 -05:00
Yi Jiang
f2761a61a2 Renames RotationResolutionRequest#getPackageName()
As the API reviewer suggested, change getPackageName() to
getForeGroundPackageName().

Test: m
Bug: 182793543

Change-Id: I40c62d562786b24b0653a32a52445af53dd1ed09
2021-04-14 18:00:56 -07:00
chaviw
10fe18eaf8 Updated DisplayHash APIs
Updated the DisplayHash APIs and docs based on API review

Test: Builds
Bug: 183547053
Bug: 185274179
Change-Id: I23e6491341a3f9cac96c704aa0a93d7d3e8dfebb
2021-04-14 17:24:09 -05:00
Adam He
f00114d03f Allow throwing error on creating translation session (context not
supported by service).

Bug: 176208267
Test: atest CtsTranslationTestCases
Change-Id: Ib1a6b6ead5428b67fcd6fc911a051a70236cc776
2021-04-13 14:26:48 -07:00
Matt Pietal
6ee6b37c2f Merge "QS Wallet priority placement" into sc-dev 2021-04-13 19:07:08 +00:00
Alex Buynytskyy
2a3eef7ab6 Merge "API feedback with better documentation." into sc-dev 2021-04-13 15:53:20 +00:00
Matt Pietal
cf72270a2e QS Wallet priority placement
If the wallet service is available at all, move the tile into a
priority position so it is easily visible to users.

Fixes: 183024893
Test: atest AutoTileManagerTest WalletControllerImplTest

Change-Id: I8c75dff785555e3ca9d9a68ea3747f4c2fa35188
2021-04-13 11:30:41 -04:00
Chavi Weingarten
ca10b476ea Merge "Remove filtering option for display hash." into sc-dev 2021-04-13 14:31:54 +00:00
Alex Buynytskyy
bdd6f7d521 API feedback with better documentation.
+revert the Incremental installation API to be SystemApi as the corresponding native API is not exposed in the NDK.

Bug: 184713911
Fixes: 184713911
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I466eb6d2f98aed75c22b92877d5e8cb3ddf839bc
2021-04-12 14:37:17 -07:00
zhaojiac
47b9ccdf1c Addresses TODO in ResumeOnRebootService Javadoc
Also add service owners

Change-Id: I7669bbfc3975c164e773b9517dde5e3437b2fc1a
Bug: 184151180
2021-04-12 17:56:41 +00:00
Peter Li
2fa9e7823e Merge "Implement timeout mechanism when HotwordDetectionService initializes" into sc-dev 2021-04-09 04:25:46 +00:00
Santiago Etchebehere
676a66efc0 Merge "Provide access to a mirror of WallpaperEngine SurfaceControl" into sc-dev 2021-04-09 03:16:27 +00:00
Santiago Etchebehere
8a884b22a4 Provide access to a mirror of WallpaperEngine SurfaceControl
Bug: 179127643
Test: manual: tested behavior of wallpaper preview in older
WallpaperPicker apk and new version

Change-Id: I3b66cbdf2198228e990fae6400d019da91bc93c9
2021-04-09 03:14:26 +00:00
Adam He
aabd98f354 Add cancellationSignal to the Translator#translate() api.
Bug: 176208267
Bug: 183605243
Test: atest CtsTranslationTestCases
Change-Id: I974ef773dac360d04ee3a67f63e0ffb95ee7bafc
2021-04-08 15:38:43 -07:00