Commit Graph

3186 Commits

Author SHA1 Message Date
Shuzhen Wang
c88ead7d18 Merge "Camera: Clarify manual capture behavior for logical camera" into qt-dev am: 6da414a8f6
am: 028b5789b6

Change-Id: Ie19cfb44eaf5d958778633ba8f2b4881b722b1b4
2019-06-28 18:22:20 -07:00
Shuzhen Wang
028b5789b6 Merge "Camera: Clarify manual capture behavior for logical camera" into qt-dev
am: 6da414a8f6

Change-Id: Ic7abd99805b450f0a1d1acbd2a0cd03c185e3a83
2019-06-28 17:33:50 -07:00
Edgar Wang
aa9010894b Merge "Allow wake_lock_screen when AOD is off" into qt-r1-dev
am: 98a51d1080

Change-Id: Ia5aebe8d37a7c375137dc0c4895da62a6ed305cc
2019-06-28 14:30:25 -07:00
Shuzhen Wang
da189bddc2 Camera: Clarify manual capture behavior for logical camera
Test: Build and read docs
Bug: 136098496
Change-Id: I4a2e9ac66ef79379b9c50932ddc845f56d7d01b4
2019-06-27 10:29:38 -07:00
Edgar Wang
98a51d1080 Merge "Allow wake_lock_screen when AOD is off" into qt-r1-dev 2019-06-27 06:36:34 +00:00
Yin-Chia Yeh
e8ff13376f Merge "Camera: block session init callback until ctor returns" into qt-dev am: 0e1eecd080
am: 0aa57fe073

Change-Id: I26ef69e151344e4ff1c42705b8841f0862802631
2019-06-25 10:08:45 -07:00
Yin-Chia Yeh
0aa57fe073 Merge "Camera: block session init callback until ctor returns" into qt-dev
am: 0e1eecd080

Change-Id: I999510b0513b0b32a86af8e5460aa5688476e9f5
2019-06-25 09:45:42 -07:00
Yin-Chia Yeh
0e1eecd080 Merge "Camera: block session init callback until ctor returns" into qt-dev 2019-06-25 16:26:54 +00:00
Yin-Chia Yeh
8b9b9f065c Camera: block session init callback until ctor returns
To fix race condition where session init callback is executed
before the ctor finished (and mSessionImpl is initialized)

Test: manuall testing GCA
Bug: 134218348
Change-Id: I6985b489a8cb459d9b1dce4d56a9c3e97ceb366c
2019-06-24 11:32:34 -07:00
Lucas Dupin
7c7b8c28ca Allow wake_lock_screen when AOD is off
Also decoupling the settings, so they can be configured
separately.

Fixes: 135023656
Test: manual
Test: adb shell settings put secure doze_wake_lock_screen_gesture 0
Test: adb shell settings put secure doze_wake_lock_screen_gesture 1
Change-Id: I2138d5d06919b9c23428663e49381fc1b694e301
2019-06-17 23:56:52 +00:00
Kevin Chyn
0d9b47977b Merge changes I96ad00cb,I2b1193b9,I2850007f into qt-r1-dev
am: 24c57b6a70

Change-Id: I7cb53490bc94631432bfd9d1cb1511f0665468bc
2019-06-13 21:57:57 -07:00
Kevin Chyn
29692c5e8b Return empty string when invalid error codes are received
Bug: 134857990

Test: Builds
Change-Id: I2850007f5aa5a00fa3ef7d95138200a3e6cec559
2019-06-13 16:28:44 -07:00
Kevin Chyn
c4320f393f Merge changes from topic "face-challenge-bug" into qt-r1-dev
am: 01462c0b95

Change-Id: I86587feb4d6a1e845cf605c8e5b6536d10f1b479
2019-06-12 11:04:31 -07:00
Kevin Chyn
28623b6d29 LSS must check canAuthenticate(userId) for correct user/profile
Bug: 134834442

Test: With unified challenge enabled and work profile non-enrolled,
      resetLockout is not invoked for work profile anymore

Change-Id: Ifb91df0ea66dbcd29d7f5fb648295b154074392c
2019-06-12 10:52:53 -07:00
Brian Duddie
985f1299cf Merge "Clarify documentation for sensor placement" into qt-dev
am: 6e9c0741b5

Change-Id: I56695e9ea76f802b171c47fbb3f2dead651eb697
2019-06-05 13:53:01 -07:00
Brian Duddie
086d840d74 Clarify documentation for sensor placement
Update documentation to be in sync with new language added to HAL
interface, which better explains the expected payload, format, and
usage.

Fixes: 133264933
Test: make docs, view HTML
Change-Id: Ib602674d395cb8c8e6431d23b051685c8d172560
2019-06-05 11:44:44 -07:00
Shuzhen Wang
0c65fb0931 Merge "Camera: Handle hidden physical camera without camcorder profile" into qt-dev
am: 3960d2232d

Change-Id: I0be4d73cb018510ca49a498a895ac5aacf4463eb
2019-06-01 18:49:56 -07:00
Shuzhen Wang
aae389639d Camera: Handle hidden physical camera without camcorder profile
For hidden physical sub-camera, if there is no camcorder profile,
use stream configuration map to figure out maximum recording size.

Test: RobustnessTest
Bug: 133819902
Change-Id: Ie0e76b51b1942b6fd3612c0b849a07bbb5d205e9
2019-05-31 13:23:40 -07:00
Emilian Peev
54d7219b0c Merge "Camera: Always return 'null' for unsupported formats" into qt-dev
am: c7c173389a

Change-Id: I70498dcc38c16912230eb28f2975cd758f12e694
2019-05-17 15:17:49 -07:00
Shuzhen Wang
400c6fc4ee Merge "Camera: Handle out-of-order frameNumber for ZSL requests" into qt-dev
am: 34bc57f738

Change-Id: If601700de8ea43d1bf1538984951b0ec76151f88
2019-05-17 14:55:46 -07:00
TreeHugger Robot
c7c173389a Merge "Camera: Always return 'null' for unsupported formats" into qt-dev 2019-05-17 21:35:23 +00:00
TreeHugger Robot
34bc57f738 Merge "Camera: Handle out-of-order frameNumber for ZSL requests" into qt-dev 2019-05-17 21:20:44 +00:00
Emilian Peev
c9fe56e893 Merge "Camera: Fix some documentation typos" into qt-dev
am: ee0d8180b6

Change-Id: Ib774bda31bd6aee67eaa88f8e840ba5930d6d9b3
2019-05-16 12:23:44 -07:00
Emilian Peev
0105dfbe78 Camera: Fix some documentation typos
Bug: 132419505
Test: Successful build
Change-Id: Ifb610998422264f565a16eae005e7096a6a2f611
2019-05-15 12:00:13 -07:00
Emilian Peev
0fde6be448 Camera: Always return 'null' for unsupported formats
According to the API documentation, output size queries must
return 'null' in case the respective format is not supported.

Bug: 132594990
Test: Camera CTS
Change-Id: I832efe73dae8753baa635b359a68062f2ef63476
2019-05-15 11:12:19 -07:00
Shuzhen Wang
b45449b9bc Camera: Handle out-of-order frameNumber for ZSL requests
Allow the frame number of ZSL capture to be out of order compared to
reprocessing or normal captures.

Test: Camera CTS, 3P camera app sanity test.
Bug: 120604717
Change-Id: I6bc81dc522329153c0ea27c3409d7237470d1850
2019-05-10 12:35:45 -07:00
Christine Franks
29e86faf4e Merge "Validate vendor display color modes" into qt-dev
am: 1da3d01b5e

Change-Id: Iad3419fbbb43177bb137c17c45b34f494d34ff8b
2019-05-08 11:12:24 -07:00
Christine Franks
c5f0d146db Validate vendor display color modes
Bug: 128607042
Test: atest FrameworksServicesTests:ColorDisplayServiceTest

Change-Id: I78dca7eeb9d4855007b5616b444b2b715860bed1
2019-05-06 12:26:08 -07:00
Brian Stack
2e9b2b31a1 Merge changes from topic "step_event_permission" into qt-dev
am: 76d9f44133

Change-Id: I595aac545678b7059c817c62a73ff88a473bf556
2019-05-03 09:31:38 -07:00
Shuzhen Wang
4f4fa12784 Merge "Camera: Consider mPhysicalCameraId in OutputConfiguration comparison" into qt-dev
am: 6c7014dd52

Change-Id: If661321a74436c850652e728e16cf13e8de83668
2019-05-03 06:37:40 -07:00
TreeHugger Robot
76d9f44133 Merge changes from topic "step_event_permission" into qt-dev
* changes:
  Update Step Detector and Step Counter docstring
  Add support for retrieving targetSdkVersion
2019-05-02 22:56:56 +00:00
TreeHugger Robot
6c7014dd52 Merge "Camera: Consider mPhysicalCameraId in OutputConfiguration comparison" into qt-dev 2019-05-02 21:10:59 +00:00
Shuzhen Wang
46c390a1c6 Camera: Consider mPhysicalCameraId in OutputConfiguration comparison
Test: Camera CTS
Bug: 131714581
Change-Id: Ifbd44a0cd16116311e0eef9c194dd90c9210952c
2019-05-02 11:08:22 -07:00
Brian Stack
fef1a81593 Update Step Detector and Step Counter docstring
Explicitly states that the Step Detector and Step Counter require the
android.permission.ACTIVITY_RECOGNITION permission in order to be
used.

Bug: 130640415
Test: Builds
Change-Id: I3c6bb00128343dff8dbb97c71e9fe2a912662ff0
2019-05-01 19:18:27 +00:00
Ian Chang
cb12c60411 Merge "Add tracepoints for potential performance issues" into qt-dev
am: 28cb4d23db

Change-Id: I6de4fb84870d0e67d0b944b8fd7ad5307e6fe46e
2019-04-30 19:42:39 -07:00
Ian
fd4021c26a Add tracepoints for potential performance issues
Bug: 124521164
Test: Builds
Change-Id: Ie70f2aae6c5b2e70d9f6029281a761c872451337
2019-04-30 00:01:11 +00:00
Shuzhen Wang
578e1637bd Merge "Camera: Relax BURST_CAPTURE FPS requirements" into qt-dev
am: b9177522ff

Change-Id: Ib1da89bbfafa3f5c1231d14aa071f6e22c268da0
2019-04-23 18:59:19 -07:00
Shuzhen Wang
062c22ba60 Camera: Relax BURST_CAPTURE FPS requirements
Allow resolutions larger than 24 megapixels to have fps lower than
10fps.

Test: Build
Bug: 129693371
Change-Id: Ie0403d80bf4c441e268d266eb30dacc2ea8184b9
2019-04-22 08:58:16 -07:00
Shuzhen Wang
d514575d59 Merge "Camera: Clarify multi-camera RAW and FOV behaviors" into qt-dev
am: c901e419e3

Change-Id: I51a7aa4c7246b6899f933cd3c8e82093f8f1b43a
2019-04-17 17:18:49 -07:00
TreeHugger Robot
c901e419e3 Merge "Camera: Clarify multi-camera RAW and FOV behaviors" into qt-dev 2019-04-17 23:23:29 +00:00
Shuzhen Wang
0fdc9358c6 Camera: Clarify multi-camera RAW and FOV behaviors
- RAW capability can exist for multi-camera even if physical cameras are
of different sizes/capabilities.
- FOV for all processes streams must be the same regardless of logical
or physical streams.

Test: Build and read docs
Bug: 118906351
Bug: 126220135
Change-Id: I14ab4844630a048e66a42ec3a776c87830565e49
2019-04-16 17:13:44 -07:00
Amy Zhang
7a7ebecb9b Merge "Resolve CEC related API requests from API Council" into qt-dev
am: 64b51f91ff

Change-Id: I8c9f89d3bd8c4124e4d09115684a02156e19e1fb
2019-04-15 11:05:06 -07:00
Amy Zhang
64b51f91ff Merge "Resolve CEC related API requests from API Council" into qt-dev 2019-04-15 17:46:49 +00:00
Kevin Chyn
1ebd55b1f5 Merge "Authenticate with the correct user from KeyguardUpdateMonitor" into qt-dev
am: 9b92030ad5

Change-Id: Iee77d2830ea0837441c362f8d435511cfac7d5b0
2019-04-12 14:34:33 -07:00
Kevin Chyn
9b92030ad5 Merge "Authenticate with the correct user from KeyguardUpdateMonitor" into qt-dev 2019-04-12 21:10:23 +00:00
Eino-Ville Talvala
6000bb9884 Merge "Camera: Document LEGACY not being allowed on new devices" into qt-dev
am: 9943f8db84

Change-Id: I6732f2a736187d930887055bd1b0c4b8fe95cb51
2019-04-12 12:19:27 -07:00
Kevin Chyn
8d2694a351 Authenticate with the correct user from KeyguardUpdateMonitor
Fixes: 130242795

Test: manual
Change-Id: I5c5e400de9d204d89abbe07bc6b3265dbc4ea973
2019-04-12 11:48:12 -07:00
Eino-Ville Talvala
9943f8db84 Merge "Camera: Document LEGACY not being allowed on new devices" into qt-dev 2019-04-12 18:11:06 +00:00
Amy
d23043a255 Resolve CEC related API requests from API Council
Test: manual
Bug: 128427908
Change-Id: I1c8cd3ed843c91ecb94076160fd1bd93295c619b
2019-04-12 00:55:29 +00:00
Kevin Chyn
76fa5f0060 Merge "Update documentation for fingerprint -> biometric" into qt-dev
am: 3fe3dc7f5f

Change-Id: I8539e40e236c2f993028075eeee32b3a8ed619d9
2019-04-11 14:43:32 -07:00