| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
**@semdoc add settings backup validators
Co-authored-by: jhonboy121 <alfredmathew05@gmail.com>
Co-authored-by: Ido Ben-Hur <idoybh2@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
Change-Id: I55fae9c85f69ebd72c60b11c2946c3bd94af10f5
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This op gets around the background restrictions on RECORD_AUDIO, when
used for SoundTrigger detection
In addition, moves the precise logic for soundtrigger RECORD_AUDIO
checks out of the soundtrigger system
Fixes: 230430779
Test: manual
Change-Id: I6d63c99e2d31e3f668070ac82afed71ff6672c9e
Merged-In: I6d63c99e2d31e3f668070ac82afed71ff6672c9e
|
| |
|
|
|
|
|
| |
Bug: 200280741
Test: atest com.android.systemui.privacy.PrivacyDialogTest
Change-Id: I7240db08025d801eb537234ca95aeb17c3f302f2
Merged-In: I7240db08025d801eb537234ca95aeb17c3f302f2
|
| |
|
|
|
|
|
| |
Bug: 200280741
Test: atest com.android.systemui.privacy.PrivacyDialogTest
Change-Id: I1dcd7bea997605f3caaac742419476f4e0ac2fdf
CTS-Coverage-Bug: 220157796
|
| |
|
|
|
|
|
|
| |
Also ensure each chain is attributed to only one op
Test: manual
Fixes: 212434116
Change-Id: I50efc2b305627f8e37eb28842487b911dce5d925
|
| |
|
|
|
|
| |
Test: manual
Fixes: 201451838
Change-Id: I4b17ed0e65fae45f393665f7f9d617a2acc1cbdd
|
| |
|
|
|
|
|
|
|
| |
This fixes a memory leak caused by automatically registering a
PermissionUsageHelper on PermissionManager instantiation.
Bug: 204222680
Test: manual
Change-Id: I94c6da3dd89e8b158552e94c94e4d0fb3f5d6f0d
|
| |
|
|
|
|
|
|
|
|
|
| |
Add attribution flags and chain IDs to start callbacks, and have the
PermissionUsageHelper listen for starts. This ensures that, if another
start happens while an op is already running, and has chain information,
then this chain information will be recorded.
Test: manual
Bug: 194198234
Change-Id: I0ab1aa0969b70e18001f4a814ea5689f9329a019
|
| |
|
|
|
|
|
|
|
| |
Add and populate a "trusted" attribution flag, that verifies the
attribution sources used to create it were trusted.
Fixes: 192270935
Test: atest RuntimePermissionsAppOpTrackingTest
Change-Id: Ifd8f825151bec55aa795da7bee0a3069509f5abe
|
| |
|
|
|
|
|
|
|
|
| |
Add a historical flag to signify that attribution chains should be
assembled. Assemble the chains, filter out middle nodes, and attach the
last visible node to the start as a proxy info
Bug: 158792096
Test: manual
Change-Id: I8fbd8f438c62b28fd90039440e86224c624dea79
|
| |
|
|
|
|
| |
Test: manual
Bug: 184963112
Change-Id: Idca4ccdaab1f243b754ef15888ea679788bfdd9b
|
| |
|
|
|
|
|
|
|
|
|
| |
Converts both the AppOpsControllerImpl and the PermissionUsageHelper to
use the same static method when filtering which packages to show. The
only packages which are filtered are 6 device intelligence roles, and
the system package. These values are updated at most every 15 seconds
Fixes: 184141707
Test: manual
Change-Id: I9dc44197a2ff3df7783b37f450ada4ef2fb1ca6f
|
| |
|
|
|
|
|
|
|
| |
Some proxy usages, in future, may not have matching attribution tags.
Match on package name and uid instead.
Bug: 183402046
Test: Manual
Change-Id: If122f13fb1d20bfe0bad415235f2143d41339650
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Also sets lastAccessTime = now for running ops
Test: atest PermissionIndicatorAppOpUsageTest
Bug: 172868375
Change-Id: I2a616f624640e0f219e33d6fa8ebf55559e24e1a
|
| |/
|
|
|
|
|
|
|
|
| |
Ensure that usages with the system package are not filtered entirely.
Instead, they should not be shown on their own, and the "system" label
should not be included in proxy label chains
Bug: 172868375
Test: manual
Change-Id: If9812ce915de0ca1ac47d93d96f199a8bb768bce
|
| |
|
|
|
|
| |
Bug: 172868375
Test: manual
Change-Id: I5e731bb821e879f6c314604912f13800ca668aa4
|
| |
|
|
|
|
|
|
|
|
| |
Location indicator has its own flag, so it is being removed from the hub
teamfood. Also, showing all system usages (except the system app) for
the hub teamfood.
Bug: 172868375
Test: atest PrivacyDialogControllerTest, PrivacyItemControllerFlagsTest
Change-Id: Iad5b141f600a0bf830d5b2ef5169ed90533914cb
|
| |
|
|
|
|
| |
Test: manual
Fixes: 181067845
Change-Id: I9be50bf4bbafcedbc1c52adc0780b9821c865c8d
|
| |
|
|
|
|
| |
Fixes: 180019623
Test: manual
Change-Id: I6e0681e0126bc563d8af4cd11c7db0785e47c912
|
| |
|
|
|
|
|
|
| |
Change default recent threshold to 15 seconds
Test: build
Bug: 172868375
Change-Id: Ib716cc68744aa563fcf8988be6da56c9f95b9ab9
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add the wifi call special case, where if a call is ongoing while a
carrier privileged app is using microphone, the phone call usage is
removed. Ensure the phone mic op is listened for, add code to find the
predictor app, and show it, if the user is in a teamfood. Filter the
system app out, since the system app can be a location provider
Fixes: 178701757
Test: Manual
Change-Id: Ic1bf7f28c99bc0f596492332f7b4656c3bd7d25e
|
| |
|
|
|
|
|
|
| |
Ensure the user context map is editable, and remove hardcoded enable.
Fixes: 178616169
Test: manual
Change-Id: I54d721be7712a2efcc3695bae5ae7e44920a40ed
|
| |
|
|
|
|
|
|
| |
When looking for duplicate usages, do not compare to self
Fixes: 178088373
Test: manual
Change-Id: I5e7316caff5ff33017cd868324c066a3f3e99bd6
|
| |
|
|
|
|
| |
Test: manual
Fixes: 177677430
Change-Id: I98e65447ee33e2c15785e7f1ef0c003bbc4d9540
|
| |
|
|
|
|
|
|
|
| |
Porting the proxy usage and mic special attribution cases from the
PermissionController to the PermissionManager
Bug: 172868375
Test: manual
Change-Id: I2af850c9cd709541abf862377b67153a1c477c94
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Bug: 172868375
Test: Build
Change-Id: Ib23ef6459f709a2743e9e662619cb785a1ce54c7
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure that it is checked if an app op is running before filtering it
due to an old "lastAccessTime".
Fixes: 177089983
Test: manual
Change-Id: Ibeb344ad691994a93bde1a93794093d7d4fc920c
|
| |/
|
|
|
|
|
|
|
|
| |
When assembling the op list, create a copy, do not use the existing
camera op list, as that list is final. Also return an empty list when
indicators are disabled, not null.
Fixes: 177005228
Test: Manual
Change-Id: I281085c12f0706836098fc2f16d196887596170e
|
|
|
Add the basic API for getting permission usage for mic, camera, and
location. Does not use special attribution yet. Mostly untested
Bug: 172868375
Test: Basic manual tests
Change-Id: Icb268b820557d62125e9307d6ffcf7046ab9b490
|