Commit Graph

3107 Commits

Author SHA1 Message Date
TreeHugger Robot
7ae743134f Merge "Fix color sampling API per review comments." 2019-03-19 11:12:45 +00:00
TreeHugger Robot
e147bba371 Merge "Update acquisition strings" 2019-03-19 02:50:43 +00:00
Kevin Chyn
650c3faaa1 Merge "Update BiometricPrompt documentation" 2019-03-19 00:53:31 +00:00
Kevin Chyn
7e7b509f17 Update acquisition strings
Fixes: 128629012
Fixes: 128452700
Bug: 111548033

Test: Builds
Change-Id: If5ea688cbd6603d05c9f6883e8038ce3a7bc6a6c
2019-03-18 17:40:32 -07:00
TreeHugger Robot
01e63ea5fd Merge "Camera: Update "RecommendedStreamConfigurationMap" annotations" 2019-03-18 23:42:53 +00:00
Kenny Guy
517f16ca19 Fix color sampling API per review comments.
Fix the API review javadoc comments on the color sampling API.

Test: atest BrightnessTrackerTest
Bug: 125800625
Change-Id: I5cbeea02b4350232b95485ec59f8a3c02e708b23
2019-03-18 16:01:23 +00:00
Emilian Peev
506acca748 Camera: Add low latency suggested use case
Extend the recommended configuration map use cases
with additional entry for low latency snapshots.
The map could be absent in case devices are not able
to support such low latency requests.

Bug: 128450197
Test: Camera CTS
Change-Id: Ica9285978aeb40fce636f519f38488ac539c0bce
2019-03-18 08:50:45 -07:00
Kevin Chyn
2927d2c6d9 Update BiometricPrompt documentation
Bug: 128452510

Test: Builds
Change-Id: I561324c90e8beb25aefd16c3b656c40db0588f15
2019-03-16 19:27:12 -07:00
Kevin Chyn
00220617cd Merge changes from topic "face-hidl"
* changes:
  Update framework together with HIDL onRemoved
  Update constants with HIDL
2019-03-14 21:53:31 +00:00
Eino-Ville Talvala
f85bf68041 Merge "Camera: Centralize OWNERS" 2019-03-14 17:13:46 +00:00
TreeHugger Robot
bbb81852b4 Merge "Revert "Camera: Temporarily add @UnsupportedAppUsage to various Key things."" 2019-03-14 16:56:38 +00:00
Eino-Ville Talvala
06185b2a4e Camera: Centralize OWNERS
Test: Builds
Change-Id: I90dfa29624de114b442621031ee82805fb901f21
2019-03-13 15:27:01 -07:00
George Lu
b62f541a9e Merge "Catch IllegalStateException in RadioManager.openTuner()" 2019-03-13 16:26:30 +00:00
George Lu
de874608e7 Catch IllegalStateException in RadioManager.openTuner()
b/126887436 is caused by the failure to catch this exception, which
prevents the creation of RadioAppService, which in turn causes
RadioActivity to crash upon creation.

Bug: 126887436
Test: Manually verified mitigation of b/126887436
Change-Id: I99a35c6c26a00ea1b977a592fc1c08e3127b6351
2019-03-13 04:01:23 +00:00
TreeHugger Robot
63d37cc4bd Merge "Camera: Update priority callback documentation" 2019-03-12 22:57:58 +00:00
Emilian Peev
c474a8b320 Camera: Update priority callback documentation
Describe the callback purpose so it is consistent
with the rest of the callbacks.

Bug: 128427361
Test: Successful build
Change-Id: Ia97dbd33eb65f8166865ce0b297a83d4728507ff
2019-03-12 12:04:46 -07:00
Kevin Chyn
d3d2583dff Update constants with HIDL
Test: Builds
Bug: 127993599
Change-Id: I02c7a841a9ddd98808b174c889a0f3f203b01107
2019-03-11 14:48:28 -07:00
David Brazdil
3f6c596f0a Merge "Move Camera.EventHandler constructor to greylist" am: b31032b3b0 am: 7746e7c553
am: 847b02cac4

Change-Id: I24e65e05fcf46b584af80c732330623ec521870f
2019-03-08 07:45:34 -08:00
David Brazdil
67e37d6fc7 Revert "Camera: Temporarily add @UnsupportedAppUsage to various Key things."
This reverts commit 60331e278d.

Reason for revert: Not needed after issue was fixed.

Bug: 126901248
Change-Id: I8955caf9ab7851ada8c4830e73e51f8bbdfffca9
2019-03-08 11:27:17 +00:00
Treehugger Robot
b31032b3b0 Merge "Move Camera.EventHandler constructor to greylist" 2019-03-07 23:16:40 +00:00
David Brazdil
982df3ba83 Move Camera.EventHandler constructor to greylist
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 122331906
Test: m appcompat
Change-Id: I3abc8221706bd69668c90aa61b8ca5f137a88bb9
2019-03-07 17:44:10 +00:00
Eino-Ville Talvala
e739064b74 Merge "Camera: Annotate the Key constructors with nullability." 2019-03-07 00:25:36 +00:00
Eino-Ville Talvala
79d4aac39b Camera: Annotate the Key constructors with nullability.
Test: Builds
Bug: 126699273
Change-Id: Ifd14a79ff6ffbb19ef1a45ac0da45efa2be748b1
2019-03-06 14:26:10 -08:00
Kevin Chyn
f2f31c212b Merge "Update framework together with IBiometricsFace.hal" 2019-03-06 19:29:58 +00:00
Andrei Onea
8c2fb5b99b Add @UnsupportedAppUsage annotations
For packages:
  android.database
  android.hardware.display
  android.hardware.input
  android.hardware.location
  android.location
  android.media
  android.media.projection
  android.media.tv

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: I570c08292f8a9f512c96f9dce13f5337718f112c
Change-Id: I1d6c60fcb53f404d5775163bf6929395921f5a45
2019-03-06 15:39:19 +00:00
Kevin Chyn
b95f152910 Update framework together with IBiometricsFace.hal
Bug: 123262389

Test: Builds
Change-Id: I7d6f874e93180cb41f30cf02dd7f47c57dd6bb92
2019-03-05 17:41:12 -08:00
Kevin Chyn
e64d74ecaf Update BiometricPrompt API naming
Fixes: 126190552

Test: make -j56 update-api
Test: make -j56
Change-Id: I1c0700106e46b8dbfb825df341a8196a33f8bc83
2019-03-04 22:34:07 -08:00
TreeHugger Robot
1354a960be Merge "Camera: Temporarily add @UnsupportedAppUsage to various Key things." 2019-03-05 02:57:17 +00:00
Emilian Peev
98decf535d Camera: Update "RecommendedStreamConfigurationMap" annotations
Several changes:
- Added support for the new "Format" annotation.
- Fixed the position of "IntRange" and "Nullable"
  of several methods.

Bug: 126701623
Test: Camera CTS
Change-Id: I67d59939ad549d383f1d161cafc6d65d47aec2fb
2019-03-04 18:09:43 -08:00
Eino-Ville Talvala
60331e278d Camera: Temporarily add @UnsupportedAppUsage to various Key things.
To fix compatibility problems with existing devices.

Test: Vendor extension libraries work as expected on Pixel.
      Camera app starts.
Bug: 126901248

Change-Id: Id585eaf7126828093497f0600767381b85d9fb6b
2019-03-04 16:48:00 -08:00
TreeHugger Robot
f80eb9dcde Merge "Camera: Add support for camera access permission callback" 2019-03-04 20:36:37 +00:00
lumark
ec75b42179 Add the check for UID presence to Display#hasAccess()
It would be nice if there is a common & reliable method for both outer
& internal modules to check the UID presense of the display.

Add more check in Display#hasAccess() to ask system if calling UID can
precense on the specific display, to consolidate only few special UIDs
& display flag checking.

Bug: 117347985
Test: atest ActivityManagerMultiDisplayTests
Change-Id: I2f8989598c99c0962e925c5aa65500972b4fc62b
2019-03-04 14:59:41 +08:00
TreeHugger Robot
68ae9ebd4b Merge "Camera: Extend mandatory stream combination annotations" 2019-03-03 20:21:43 +00:00
TreeHugger Robot
ede9ed323b Merge "Camera: Annotate 'getKeysNeedingPermission'" 2019-03-03 20:03:47 +00:00
TreeHugger Robot
726e36e8c5 Merge "Camera: doc improvement for activePhysicalId metadata key" 2019-03-01 21:55:56 +00:00
Amy
f741f34796 Add Nullable annotations for HDMI APIs.
Test: manual
Bug: 126700355
Change-Id: Id9b6f29c1aa58da32a2a81d38e986f496b69086c
2019-03-01 11:16:10 -08:00
Emilian Peev
5389f1aa9f Camera: Annotate 'getKeysNeedingPermission'
CameraCharacteristics.getKeysNeedingPermission() must have
correct nullability annotation.

Bug: 126700407
Test: Camera CTS
Change-Id: I5a4186299fa386c3dcaec1f6fa358e711720a1eb
2019-03-01 07:48:22 -08:00
Jeff Sharkey
9e8f83db6d All Parcelable CREATOR fields are @NonNull.
If they were null, then the Parcelable would fail to work.

Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations
2019-02-28 23:29:04 -07:00
Kevin Chyn
d4596b4ed3 Merge "Add NonNull to remaining BiometricPrompt Builder methods" 2019-03-01 02:40:55 +00:00
Kevin Chyn
400f243eec Add NonNull to remaining BiometricPrompt Builder methods
Test: make -j56 update-api
Test: builds

Fixes: 126799710

Change-Id: Ifc074863b5ffa5c69f7b8edb7aecbad9220faab4
2019-03-01 02:40:08 +00:00
TreeHugger Robot
8338f5177d Merge "More @NonNulls on BrightnessConfiguartion" 2019-03-01 00:01:30 +00:00
Kevin Chyn
f608cfc9ac Merge "Update BiometricPrompt API annotations and comments" 2019-02-28 23:55:53 +00:00
Shuzhen Wang
8f62084f7e Camera: doc improvement for activePhysicalId metadata key
Test: build and read docs
Bug: 125346954
Change-Id: I4e3e89f07701eb76788a84c9580562d09ea5e483
2019-02-28 15:24:02 -08:00
TreeHugger Robot
e21580fc82 Merge "Camera: Add @NonNull annotation for metadata keys" 2019-02-28 23:04:12 +00:00
Kevin Chyn
91688c2d2e Update BiometricPrompt API annotations and comments
Fixes: 126701154
Fixes: 126699531
Fixes: 126190552

Test: make -j56 update-api
Test: make -j56
Change-Id: I8c04fa1232589d1062e9df61e003cce40e2f5974
2019-02-28 12:44:47 -08:00
Kevin Chyn
aab56413e2 Merge "Check for hardware before authenticating" 2019-02-28 20:41:57 +00:00
Emilian Peev
0081bcf103 Camera: Extend mandatory stream combination annotations
Also extend the documentation and clarify the meaning of
mandatory and reprocessable stream combinations.

Bug: 126391833
Bug: 126702075
Bug: 126699529
Test: Camera CTS, docs build without errors
Change-Id: I8773458062a1b661e7eef61df982374b6b8e3092
2019-02-28 18:49:59 +00:00
Shuzhen Wang
1484a21e75 Camera: Add @NonNull annotation for metadata keys
Test: Read Javadoc
Bug: 126700187
Change-Id: Ie73da5423199c805f5f4bfd3430f7402e41d4c22
2019-02-28 10:39:07 -08:00
Andrei-Valentin Onea
94bd7aac42 Merge "Add @UnsupportedAppUsage annotations" 2019-02-28 15:21:13 +00:00
Kenny Guy
31eb3783c6 More @NonNulls on BrightnessConfiguartion
Bug: 126699168
Test: builds - just adding annotations to return values.
Change-Id: I3fa0a7c7398ae511b454cd694db6bff17f4ac795
2019-02-28 14:40:51 +00:00