Michal Olech
cd149b8aa6
Merge "[CEC Configuration] Add 'system_audio_control' setting"
2021-06-02 14:12:49 +00:00
Svetoslav Ganov
757486cde6
Merge "Switch media fw permissions checks to AttributionSource"
2021-06-01 21:31:30 +00:00
Svet Ganov
b033da4e3a
Switch media fw permissions checks to AttributionSource
...
Attribution source is the abstraction to capture the data
flows for private data across apps. Checking permissions
for an attribution source does this for all apps in the
chain that would receive the data as well as the relevant
app ops are checked/noted/started as needed.
Teach speech recognition service about attribution
chains. If an implementation does nothing the OS
would enforce permisisons and do blame as always.
This apporach leads to double blaming and doesn't
support attribition chains where app calls into
the default recognizer which calls into the on
device recognizer (this nests recursively). If the
implementer takes advantage of the attribution chain
mechanims the permissions for the entire chain are
checked at mic access time and all apps are blamed
only once.
Fixed a few bugs around finishing ops for attribution
chains. Also ensured that any app death in a started
attribution chain would lead to finishing the op for
this app
bug: 158792096
Test: ((added tests for speech reco))
atest CtsMediaTestCases
atest CtsPermissionTestCases
atest CtsPermission2TestCases
atest CtsPermission3TestCases
atest CtsPermission4TestCases
atest CtsPermission5TestCases
atest CtsAppOpsTestCases
atest CtsAppOps2TestCases
Change-Id: Ic92c7adc14bd2d135ac13b96f17a1b393dd562e4
2021-06-01 15:12:57 +00:00
Michal Olech
3d007e9ce4
[CEC Configuration] Add 'system_audio_control' setting
...
This ports Settings.Global.HDMI_SYSTEM_AUDIO_CONTROL_ENABLED to
HdmiCecConfig.
Bug: 187284252
Test: run cts
Change-Id: Idb0e069f915a9a7c04c4f7fd24d8c200666c47a9
2021-05-31 13:03:46 +02:00
Jeff Sharkey
19e14f1d4c
Merge "Revert "Add user privacy sensitivity APIs."" into sc-dev am: 14016d39a6 am: c3943f2be7 am: d02d709d8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14669180
Change-Id: Icf9a664e58bdab771768890978bf81c93698a30e
2021-05-28 03:03:54 +00:00
Jeff Sharkey
d02d709d8b
Merge "Revert "Add user privacy sensitivity APIs."" into sc-dev am: 14016d39a6 am: c3943f2be7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14669180
Change-Id: Id6aba428c2f508b4669ea26ff0cdf1f29105e814
2021-05-28 02:54:17 +00:00
Jeff Sharkey
14016d39a6
Merge "Revert "Add user privacy sensitivity APIs."" into sc-dev
2021-05-27 11:59:21 +00:00
Jeff Sharkey
6beb9880bd
Merge changes from topic "may26-dab" into sc-dev am: 163db52409 am: c142a92708 am: 88d7d7b4e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14738430
Change-Id: Ib9f321554e7bd827c42b2d468fed568c79064bb0
2021-05-26 21:29:47 +00:00
Jeff Sharkey
c142a92708
Merge changes from topic "may26-dab" into sc-dev am: 163db52409
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14738430
Change-Id: I22eeac1697b302e632534486f498e1503f170919
2021-05-26 21:08:34 +00:00
Jeff Sharkey
725a2ea256
Clean up "Deprecated at Birth" APIs.
...
When APIs are refactored mid-release, they can often be left marked
as @Deprecated with the intention of eventually removing them before
the SDK is finalized.
Well, the time has come to finalize the SDK, so let's clean them up.
Bug: 189325658
Test: manual
Change-Id: I48e3e1c1306fbaf071e4acfd9e8107e6ad564ffe
2021-05-26 13:09:00 -06:00
Brad Ebinger
4b097031bf
Set all references to SipDelegateImsConfiguration as @removed
...
SipDelegateImsConfiguration should not be included in the final
API.
Bug: 186118835
Test: atest CtsTelephonyTestCases
Change-Id: I6321ac6d0c9fbcc4258d1a068934d1116b1819cf
2021-05-26 12:55:56 -06:00
Ahaan Ugale
ec95ec054f
Merge "Manual overwrite @removed for genereated builder apis." into sc-dev am: c449e23d4d am: ab5c58b56d am: 598fe13232
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722632
Change-Id: I4bd202929763009ebf656bacc5323b1aedb74870
2021-05-26 02:02:57 +00:00
Ahaan Ugale
ab5c58b56d
Merge "Manual overwrite @removed for genereated builder apis." into sc-dev am: c449e23d4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722632
Change-Id: I3e83169d1915cd98ce88572619ee0b9d23b8f11c
2021-05-26 01:08:11 +00:00
Ahaan Ugale
c449e23d4d
Merge "Manual overwrite @removed for genereated builder apis." into sc-dev
2021-05-26 01:01:43 +00:00
Brad Ebinger
76765ff8b7
Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" into sc-dev am: df366773b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722677
Change-Id: I6eb510480b3a76ff98e6b19169e20511b85b3ce3
2021-05-25 23:03:46 +00:00
Brad Ebinger
df366773b4
Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" into sc-dev
2021-05-25 22:54:27 +00:00
Sergey Volnov
fdd8f55445
Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev am: 76660ef721 am: 20a30b3855 am: ac235e9a60
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718524
Change-Id: I8d4a47536d42264f72854390c5d48f47964d97a8
2021-05-25 22:39:36 +00:00
Sergey Volnov
ebfddc542d
Merge "Make builder public for HotwordRejectedResult." into sc-dev am: 12d855bbb5 am: 982328c402 am: b6c928d1f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14720630
Change-Id: I9b254cbe081450b130cdff4ef075bc4a9136c350
2021-05-25 22:39:19 +00:00
Sergey Volnov
ac235e9a60
Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev am: 76660ef721 am: 20a30b3855
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718524
Change-Id: Ib3cc9feb1b9339c5502dfbcfa4fe805274a85c02
2021-05-25 22:23:32 +00:00
Sergey Volnov
b6c928d1f3
Merge "Make builder public for HotwordRejectedResult." into sc-dev am: 12d855bbb5 am: 982328c402
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14720630
Change-Id: I25fd76aca10978fc95611f9baf669a3dd2c41644
2021-05-25 22:23:17 +00:00
Brad Ebinger
2114adb0b8
Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" am: e2540fd31f am: bebe46bfb0 am: 1cba9be5c8 am: 0a2f949f56
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702026
Change-Id: I0832b3b9909a5ad115c07b54b738e45ae5299a99
2021-05-25 22:14:58 +00:00
Sergey Volnov
20a30b3855
Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev am: 76660ef721
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718524
Change-Id: Id52a02d9e7c53b3d8fe373397452d20c36fa6a1c
2021-05-25 22:09:01 +00:00
Sergey Volnov
982328c402
Merge "Make builder public for HotwordRejectedResult." into sc-dev am: 12d855bbb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14720630
Change-Id: Icd398bb1550d1c35af78f070dab7e4867ae18eb7
2021-05-25 21:50:47 +00:00
Brad Ebinger
0a2f949f56
Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" am: e2540fd31f am: bebe46bfb0 am: 1cba9be5c8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702026
Change-Id: I967bc97ee91fe6be71f8b02bb718ae6e02f5e9bb
2021-05-25 21:42:23 +00:00
Sergey Volnov
76660ef721
Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev
2021-05-25 21:41:58 +00:00
Brad Ebinger
1cba9be5c8
Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" am: e2540fd31f am: bebe46bfb0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702026
Change-Id: Ic5ac0f6a6468b8e4977edf3eef4785a417e57794
2021-05-25 21:26:13 +00:00
Brad Ebinger
a0dcca7cb5
Remove the deprecated SipDelegate methods pertaining to Dialogs
...
Remove deprecated APIs pertaining to closeDialog now that all
dependencies on this method have been removed.
Bug: 187747944
Test: atest CtsTelephonyTestCases
Merged-In: I2675d3bd15199c75d70560b7ba529f267ac08970
Change-Id: I2675d3bd15199c75d70560b7ba529f267ac08970
2021-05-25 13:51:06 -07:00
Brad Ebinger
e2540fd31f
Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs"
2021-05-25 20:48:31 +00:00
Adam He
a8ad787594
Manual overwrite @removed for genereated builder apis.
...
Fixes: 186475868
Test: atest CtsTranslationTestCases
Change-Id: Ie56e57ac0afb2a3b1c99eb489d38d557fd1e2124
2021-05-25 13:07:12 -07:00
Ahaan Ugale
31f241cc63
Hotword: Add onStopDetection() for software detectors.
...
For DSP-based detection, stopRecognition() disables detection at the
sound trigger layer. For software detection, the HotwordDetectionService
must be notified so it can stop detection.
Bug: 189236104
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I220d2255e5e500c22723f6e2fbc34860a529f216
2021-05-25 18:59:29 +00:00
Sergey Volnov
a0906a1759
Make builder public for HotwordRejectedResult.
...
This is the P0 feature we found 10 minutes ago from the client team:
there is currently no way to create HotwordRejectedResult.
Bug: 189189762
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I6260a43dda89ba812ac1a6d6b5486145d6777f84
2021-05-25 18:30:41 +00:00
Jeff Sharkey
554d83dae9
Merge "Retire preliminary FGS deferral control API" into sc-dev am: 023570d056 am: 11f386e9e8 am: 741c0ca2fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703963
Change-Id: Ib60ef0b86d12d7e5656002c38aa1d0d86c9aa230
2021-05-25 14:58:14 +00:00
TreeHugger Robot
69b9a19be5
Merge "Address API council feedback: s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/." into sc-dev am: 6ec781dea5 am: 8adbfe0624 am: e12c57d5a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703100
Change-Id: I6f36dc8fbf586d0f94c6a313c859ad73628ca6a2
2021-05-25 14:54:37 +00:00
Jeff Sharkey
11f386e9e8
Merge "Retire preliminary FGS deferral control API" into sc-dev am: 023570d056
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703963
Change-Id: I2b413742e88115d143a13b3caeefcdb231402a6b
2021-05-25 14:36:36 +00:00
Jeff Sharkey
023570d056
Merge "Retire preliminary FGS deferral control API" into sc-dev
2021-05-25 14:27:07 +00:00
TreeHugger Robot
8adbfe0624
Merge "Address API council feedback: s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/." into sc-dev am: 6ec781dea5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703100
Change-Id: I7a8efe1aad76e3a74ba8062be30958a379ee4a96
2021-05-25 14:01:27 +00:00
Sergey Volnov
8d488e7fa0
Address API council feedback:
...
s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/.
Bug: 189189762
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: Ibd39eb95c9e3066e251288f9b2dc3c8278f2b1d6
2021-05-25 12:58:04 +01:00
Hyunyoung Song
69b35897b2
Merge "ApiCouncil review round3 / setHidden, Query.getExtras" into sc-dev am: 46d6e25d25 am: 0a0aa9d7e5 am: 5c67dc96a6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14683051
Change-Id: I57d2fb2367ef424ff1173c9cd5a4beeda6dc4c3a
2021-05-24 21:57:20 +00:00
Adam He
5a38b7b0be
Merge "Make APIs abstract once AiAi has implemented them." into sc-dev am: 102dd28dd0 am: 4ce1449467 am: f34da02a3e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14631836
Change-Id: I06b23be2ff9729ba27036f29f1db030aefb6ce08
2021-05-24 21:57:05 +00:00
TreeHugger Robot
0a1762022f
Merge "Update associate API by adding certificate param" into sc-dev am: 06cd94a6de am: 9e7f3ba32a am: 6a290ccf9e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14686826
Change-Id: I27cb2f5a9107fb36420778fd2ab7ee6283d4857b
2021-05-24 21:54:25 +00:00
Hyunyoung Song
5c67dc96a6
Merge "ApiCouncil review round3 / setHidden, Query.getExtras" into sc-dev am: 46d6e25d25 am: 0a0aa9d7e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14683051
Change-Id: Icb10cc457a852205e6fc635e8dc70ecc539c9a67
2021-05-24 21:42:01 +00:00
Adam He
f34da02a3e
Merge "Make APIs abstract once AiAi has implemented them." into sc-dev am: 102dd28dd0 am: 4ce1449467
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14631836
Change-Id: Icb8a9ba6cc59d1c8682730ff14a66c16c3320663
2021-05-24 21:41:45 +00:00
TreeHugger Robot
6a290ccf9e
Merge "Update associate API by adding certificate param" into sc-dev am: 06cd94a6de am: 9e7f3ba32a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14686826
Change-Id: I9ae672c36d955a73131e53589de86f3a4b4fd491
2021-05-24 21:41:04 +00:00
Christopher Tate
baf1aad78e
Retire preliminary FGS deferral control API
...
Now that we've settled the final API for this mechanism, retire the
preliminary one.
Bug: 186475652
Test: atest CtsAppTestCases:ServiceTest
Test: atest CtsAppTestCases:NotificationManagerTest
Change-Id: Ibe911627ad59b991f2e498689f7fa3019c19dc36
2021-05-24 14:28:16 -07:00
Hyunyoung Song
4062c9f6a9
Merge "ApiCouncil review round3 / setHidden, Query.getExtras" into sc-dev am: 46d6e25d25
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14683051
Change-Id: I774d7109e0296adcf2072ddf4659dcf2da3c5d04
2021-05-24 21:22:00 +00:00
Adam He
f58ee5eaa0
Merge "Make APIs abstract once AiAi has implemented them." into sc-dev am: 102dd28dd0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14631836
Change-Id: I59cd1fe6205ed0fa4e4bc8349e98ddd2eb6696ec
2021-05-24 21:21:11 +00:00
TreeHugger Robot
255e1d22d4
Merge "Update associate API by adding certificate param" into sc-dev am: 06cd94a6de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14686826
Change-Id: If8298c12710389537d97cfb80a0760cc9501e91a
2021-05-24 21:20:00 +00:00
Hyunyoung Song
46d6e25d25
Merge "ApiCouncil review round3 / setHidden, Query.getExtras" into sc-dev
2021-05-24 21:14:10 +00:00
Adam He
102dd28dd0
Merge "Make APIs abstract once AiAi has implemented them." into sc-dev
2021-05-24 21:06:16 +00:00
TreeHugger Robot
06cd94a6de
Merge "Update associate API by adding certificate param" into sc-dev
2021-05-24 21:00:17 +00:00