Anh Pham
61d2be2dd0
Merge "Update API doc w/ high-rate permission requirement" into sc-dev am: 3e244be4e9 am: 3e787848d1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15054857
Change-Id: I18b6ed16f1004a71f73bebaf45217de0ec818445
2021-06-24 06:50:41 +00:00
Anh Pham
3e244be4e9
Merge "Update API doc w/ high-rate permission requirement" into sc-dev
2021-06-24 06:22:24 +00:00
TreeHugger Robot
bd231611a4
Merge "Camera: Switch camera extension proxy service package name" into sc-dev am: 81419f4be3 am: dde87e7167
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14986716
Change-Id: Ib821eeaac59b7b85b8e213982cde3bc290f238c6
2021-06-23 19:26:00 +00:00
TreeHugger Robot
81419f4be3
Merge "Camera: Switch camera extension proxy service package name" into sc-dev
2021-06-23 18:55:59 +00:00
Anh Pham
629ba4958e
Update API doc w/ high-rate permission requirement
...
Test: Build successfully
Bug: 191301110
Change-Id: I653036036bea0e2889807ec44ed98206a427dfb8
2021-06-23 19:49:50 +02:00
TreeHugger Robot
b92e1b839f
Merge "Added fingerprint acquire immobile message" into sc-dev am: 64e22ca06d am: 1eb2cf70df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15017991
Change-Id: Ia035a0373db67658995f3b402a9b39648845ab03
2021-06-22 19:53:19 +00:00
TreeHugger Robot
64e22ca06d
Merge "Added fingerprint acquire immobile message" into sc-dev
2021-06-22 19:28:04 +00:00
TreeHugger Robot
eeacf72270
Merge "Split long vibration composition using HAL limits" into sc-dev am: 55a8db6450 am: 4391344e4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14807584
Change-Id: Ie7282dc3d3b916b1410fc8110d9bba1e7dd6deee
2021-06-22 16:45:01 +00:00
TreeHugger Robot
55a8db6450
Merge "Split long vibration composition using HAL limits" into sc-dev
2021-06-22 16:08:22 +00:00
Lais Andrade
a1167c2a06
Split long vibration composition using HAL limits
...
Load composition and pwle limits from the HAL and apply them on
VibrationThread to split long vibrations in multiple calls.
This ensures that long vibration will be performed by the HAL.
Bug: 188431691
Fix: 183517124
Test: VibrationThreadTest & VibrationInfoTest
Change-Id: I09a04c7b1de331320d453899f59b01e4bbb42ac3
2021-06-22 15:36:23 +01:00
Santos Cordon
9bd9c15673
Merge "High Brightness Mode (HBM) Refresh Rate Limiting." into sc-dev am: 410dd5be58 am: f812d45d43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15020470
Change-Id: I98588891c035568233140bb7382401ebe80cddf7
2021-06-22 11:52:38 +00:00
Santos Cordon
410dd5be58
Merge "High Brightness Mode (HBM) Refresh Rate Limiting." into sc-dev
2021-06-22 11:23:02 +00:00
Joshua Mccloskey
ef9f87c635
Added fingerprint acquire immobile message
...
Test: Verified string shows up during enrollment.
Fixes: 189803387
Change-Id: Ia7f2308b368091cbbe299ec3845de8957ed56fd6
2021-06-21 21:02:28 -07:00
Joshua Mccloskey
47eaa5e84d
Merge "Added fingerprint_bad_calibration." into sc-dev am: 95b8d4bc80 am: d20558f692
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15029368
Change-Id: I6b011f136852e3a6fd03be6c286355de23fde31d
2021-06-21 21:03:09 +00:00
Joshua Mccloskey
95b8d4bc80
Merge "Added fingerprint_bad_calibration." into sc-dev
2021-06-21 20:41:01 +00:00
Santos Cordon
816b80e883
High Brightness Mode (HBM) Refresh Rate Limiting.
...
Defines refresh-rate limits for high-brightness-mode in display-config
xml files. DisplayModeDirector listens to HBM status changes from
DisplayManager and applies the pre-defined refresh-rate limits when HBM
is enabled.
Test: Manual, verify a Refresh Rate vote when HBM is enabled, and a
null-vote when disabled.
Test: atest com.android.server.display
Bug: 181955334
Change-Id: Id642cbff96fca9ce79a50d6cd97e75cd6061ac74
2021-06-18 20:23:56 +01:00
Joshua Mccloskey
acf6fdf0ff
Added fingerprint_bad_calibration.
...
Test: Verified error message shows up during enrollment.
Bug: 189133688
Change-Id: I36737bd3b8ab5f445eac98ec40e7c9ba8e2dd2ee
2021-06-18 11:42:14 -07:00
TreeHugger Robot
753551584c
Merge "Camera: Pass an executor during the extension characteristics service bind call" into sc-dev am: 4ed9ab51ff am: e3cc783db2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14986715
Change-Id: I28b9a861a7754ea8934fba0f9e660eda1eb4bf83
2021-06-18 00:23:03 +00:00
Santos Cordon
db64f5a835
Merge "Specify refresh rate limits for sensors in config." into sc-dev am: fa51515513 am: 396f8e782b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14690890
Change-Id: Iea74b7724eed6a3e1225c47ddd026fa05ee27a44
2021-06-18 00:22:52 +00:00
TreeHugger Robot
4ed9ab51ff
Merge "Camera: Pass an executor during the extension characteristics service bind call" into sc-dev
2021-06-18 00:15:36 +00:00
Santos Cordon
fa51515513
Merge "Specify refresh rate limits for sensors in config." into sc-dev
2021-06-18 00:05:09 +00:00
Diego Wilson
1174850c9e
Merge "Add an option for vendors to provide a camera extensions proxy" into sc-dev am: b4d7c251cd am: 478ccaa781
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15001230
Change-Id: Iec7c56412d3f5c5fabe3482eaae3a80da0dfa0f1
2021-06-17 23:43:16 +00:00
TreeHugger Robot
785f8a95db
Merge "Camera: Pass targetSdkVersion to camera service APIs" into sc-dev am: 59239bf794 am: 7a5a5a9336
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14801971
Change-Id: I820cfee4ee45a92941e8c9138efeff4ec42784e2
2021-06-17 23:27:10 +00:00
Diego Wilson
b4d7c251cd
Merge "Add an option for vendors to provide a camera extensions proxy" into sc-dev
2021-06-17 23:16:34 +00:00
TreeHugger Robot
59239bf794
Merge "Camera: Pass targetSdkVersion to camera service APIs" into sc-dev
2021-06-17 22:51:39 +00:00
Karthik Bharadwaj
691d97ef27
Merge "Update code comments to mention sensor name uniqueness." into sc-dev am: 5f9e20b375 am: 072f70d5ad am: 390299060e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14987633
Change-Id: I88aa3aa2053e211ff387652a8ebc542d28fbb2c7
2021-06-17 22:01:35 +00:00
Karthik Bharadwaj
5f9e20b375
Merge "Update code comments to mention sensor name uniqueness." into sc-dev
2021-06-17 21:41:18 +00:00
Santos Cordon
8a3115ba6e
Specify refresh rate limits for sensors in config.
...
Some sensors can limit the range of supported refresh rate when
enabled. This change adds a way to specify that limit withing the
display device config file.
Bug: 175793106
Test: Verify that when sensor is enabled, there is an additional
refresh rate vote for the rate specified in config file.
Test: atest DisplayModeDirectorTest, LocalDisplayAdapterTest
Change-Id: Id210c25fe56cd5353a2436b9b97f2ad01980e465
2021-06-17 21:34:05 +01:00
Diego Wilson
f10bf6d66e
Add an option for vendors to provide a camera extensions proxy
...
Test: build and run Camera2ExtensionsBasic
Bug: 183533362
Change-Id: I250db33288f62808a9a8d883c0a5f27e9c425f6e
2021-06-17 19:55:02 +00:00
karthik bharadwaj
8f886322ae
Update code comments to mention sensor name uniqueness.
...
Bug: 179076515
Test: N/A
Change-Id: I906000864a14acd1dcd364ad71c4dde5233dd700
2021-06-17 12:18:48 -07:00
Kevin Chyn
8a4df4ade3
Merge "Add BiometricActionDisabledByAdminController" into sc-dev am: c3e64b14c5 am: 2fe7d4ebed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972616
Change-Id: I4c6c7b65a994b9e2be0e46b39b9d899dc7aed28a
2021-06-17 02:13:43 +00:00
Kevin Chyn
c3e64b14c5
Merge "Add BiometricActionDisabledByAdminController" into sc-dev
2021-06-17 01:27:03 +00:00
Kevin Chyn
4e84b8849a
Add BiometricActionDisabledByAdminController
...
1) Adds UserManager#DISALLOW_BIOMETRIC. We actually need to
pass a restriction from settings to ActionDisabledByAdmin area,
otherwise the biometric-specific dialog would be shown outside of
biometric flows.
2) Adds an interface to ActionDisabledByAdminController to return a
optional OnClickListener for the positive dialog button
3) Returns an instance of the biometric controller when conditions
are met
4) Adds string interfaces to DeviceAdminStringProvider to retrieve
biometric-specific strings
Bug: 188847063
Bug: 191306258
Test: manual
Change-Id: Iaeffdeb1336d5db56d464104cdc7677b9021f609
2021-06-16 16:41:14 -07:00
Kevin Chyn
e9a4e63f1b
Merge "Refactor/Move isTestModeEnabled to frameworks/base" into sc-dev am: 5c7cdbb8f5 am: 0fbe35e895
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14984518
Change-Id: I08e95bddab4d70fe163f092a972f66add9952c85
2021-06-16 08:10:25 +00:00
Kevin Chyn
5c7cdbb8f5
Merge "Refactor/Move isTestModeEnabled to frameworks/base" into sc-dev
2021-06-16 07:55:01 +00:00
Kevin Chyn
c595da470a
Merge "Move non-settings-specific logic to frameworks/base" into sc-dev am: ffc5989fd3 am: acf7ff5b9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972615
Change-Id: Ic026341c33aca987cf97b5f1cc3f0b9f6bb55ea7
2021-06-16 06:47:10 +00:00
Kevin Chyn
ffc5989fd3
Merge "Move non-settings-specific logic to frameworks/base" into sc-dev
2021-06-16 06:13:17 +00:00
Kevin Chyn
c0c3e583c1
Refactor/Move isTestModeEnabled to frameworks/base
...
ActionDisabledByAdminControllerFactory is also in frameworks/base,
and should take test mode into consideration.
Bug: 188847063
Test: atest ParentalControlsUtilsTest
Change-Id: I0195478606361aa8b6406376d96b2fc219d9cc4d
2021-06-15 17:14:49 -07:00
Emilian Peev
a250cbc60f
Camera: Switch camera extension proxy service package name
...
The current service package name is somewhat generic. To avoid
any potential name clashes, include the word 'extensions'.
Bug: 191192321
Test: Camera CTS
Change-Id: Ib89c455bcadc2c7c888ababd077d4deebe3e8d14
2021-06-15 16:16:31 -07:00
Emilian Peev
0b0c9dc844
Camera: Pass an executor during the extension characteristics service bind call
...
Camera extensions characteristics will bind to the camera extensions
proxy service without passing a dedicated executor for the connection
callbacks. In this case, the callbacks will be called in the main thread
which can be problematic for clients using the same thread.
Bug: 191192317
Test: Camera CTS
Change-Id: Ic952edd766d26016b6203c84d067a6b1061ed090
2021-06-15 16:14:46 -07:00
Kevin Chyn
e35911fad6
Move non-settings-specific logic to frameworks/base
...
The dialog that's shown when admin disables functionality lives in
frameworks/base. This change extracts common logic required there
into frameworks/base.
Bug: 188847063
Test: atest ParentalControlsUtilsTest
Change-Id: I9aa9f5664e04a226d2c30a72585bebeb8645494b
2021-06-15 12:02:31 -07:00
TreeHugger Robot
6898d236cd
Merge "Disable screenOffUdfps by default" into sc-dev am: 39e1e04a04 am: 83fe2b3337
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14922213
Change-Id: I8d88f6f8ed6a1cc72590f154234c3e081697f4e4
2021-06-15 18:02:50 +00:00
TreeHugger Robot
b8266fd891
Merge "Camera: Add black test pattern mode for privacy" into sc-dev am: 280db03351 am: ee9ce5d3c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14752379
Change-Id: If835d09ddbf4664b867b181c84fd3a6922bd65ab
2021-06-15 18:01:56 +00:00
TreeHugger Robot
39e1e04a04
Merge "Disable screenOffUdfps by default" into sc-dev
2021-06-15 17:42:50 +00:00
TreeHugger Robot
280db03351
Merge "Camera: Add black test pattern mode for privacy" into sc-dev
2021-06-15 17:29:19 +00:00
Jayant Chowdhary
312f0700e8
Merge changes from topic "OutputConfigurationParcel" into sc-dev am: a0c39535ac am: f346681d78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14925783
Change-Id: Ibbbed2de54f38d3f285042f1b791fffc26324f84
2021-06-15 00:59:19 +00:00
Jayant Chowdhary
a0c39535ac
Merge changes from topic "OutputConfigurationParcel" into sc-dev
...
* changes:
OutputConfiguration: fix CREATOR readList for sensor pixel modes.
camera2: Fix exception swallowing in params classes createFromParcel
2021-06-15 00:49:30 +00:00
TreeHugger Robot
156ae76d66
Merge "Camera: Various Camera2 extension updates" into sc-dev am: 88be1435e1 am: 25bdff4280
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14630851
Change-Id: Iad99022e397b8520f51099a77638a18e4e1293fb
2021-06-14 18:50:31 +00:00
TreeHugger Robot
88be1435e1
Merge "Camera: Various Camera2 extension updates" into sc-dev
2021-06-14 18:29:34 +00:00
Anh Pham
e72e532ce7
Merge "Throw Exception only if sensors are in capped set." into sc-dev am: e55a9d9036 am: 110823e72b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14934050
Change-Id: I7f00cb1f52823976ec4509da0cf877a5963ea0a0
2021-06-14 08:32:26 +00:00