Avichal Rakesh 4bf91c7e38 Camera VTS: Fix incorrect return value check
The AIDL interface specificies that ICameraProvider::setCallback should
return Status::ILLEGAL_ARGUMENT if the provided callback is null. The
setCallback test incorrectly checked for the return value to be OK
instead.

This CL fixes the test to check for ILLEGAL_ARGUMENT and removes setting
callback to null from setTorchMode test. In addition it fixes
`setCallback` test to use Bn* variant of ICameraProviderCallback to
ensure that the object makes it through the binder.

Bug: 233221359
Test: atest VtsAidlHalCameraProvider_TargetTest
Change-Id: Ia33226b15efd9628bf8e1b53ec2a3012b08eaaac
2022-05-24 21:06:41 +00:00
2021-12-14 01:45:47 +00:00
2022-01-26 09:50:04 -08:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2021-06-02 16:01:53 -07:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2021-12-14 01:45:47 +00:00
2022-05-21 10:43:24 +00:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2021-12-14 01:45:47 +00:00
2021-10-28 22:04:46 +00:00
2019-12-13 14:24:23 -08:00
2016-08-30 11:28:36 -07:00
2020-12-16 18:09:12 +00:00
2021-01-21 15:06:51 +09:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%