* Comment out unused parameters.
* Remove unused local constants.
* Use both unsigned/signed values for EXPECT_EQ.
Bug: 66996870
Test: normal build.
Change-Id: Ia396e5ba1f57e547ac731bd7cdb3e6ff4290b52a
It hasn't been used in a long time.
Bug: 69351196
Test: build
Change-Id: Ib9b88c94deaa1019df1e5382f9e32c2aaff50bd3
Merged-In: Ib9b88c94deaa1019df1e5382f9e32c2aaff50bd3
The Camera subsystem maintains lists of camera and torch states, that
are updated during Camera Provider enumeration. These lists have to
be updated at runtime when a camera is plugged in or unplugged too.
Reuse the same code for both cases.
Also fix a bogus PRESENT callback in stopCameraOps.
Change-Id: I9028a3b25d8d983441e89d52a354bed61e3f8976
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Put AIDL files into a filegroup so they can be imported as sources
for framework.jar.
Bug: 69917341
Test: m checkbuild
Change-Id: Ia500ff881bcc8d4a6f0aa66e12d9e6bb5a07ecc1
Merged-In: Ia500ff881bcc8d4a6f0aa66e12d9e6bb5a07ecc1
(cherry picked from commit 6bf135b03e)
Put AIDL files into a filegroup so they can be imported as sources
for framework.jar.
Bug: 69917341
Test: m checkbuild
Change-Id: Ia500ff881bcc8d4a6f0aa66e12d9e6bb5a07ecc1
Merged-In: Ia500ff881bcc8d4a6f0aa66e12d9e6bb5a07ecc1
(cherry picked from commit 6bf135b03e)
Media files of MPEG1 container should not be detected
because MPEG1 container is not supported
Bug: 69278105
Test: manual - push a MPEG1 file whose audio track is of mp3 format
Merged-In: Ia6b49bd05e86f0056efa1359d982feaf20e7063d
Change-Id: Ia6b49bd05e86f0056efa1359d982feaf20e7063d
Signed-off-by: Jin Xue <jin.xue@intel.com>
When copying directories, files and sub-directories should be
recursively copied. And we have to update the database by scanning
the entire directory.
Test: Copy directories with sub-directories and files inside to
another location. All directories and files are successfully
copied.
Change-Id: Iea9603b51bd0a944c87dedd962804d18d11984c4
Signed-off-by: kyle_tso <kyle_tso@htc.com>
The dependency to libgui was bogus. Remove it.
Bug: 38298593
Test: m -j android.hardware.media.omx@1.0-service
Change-Id: If3d871fc54d34e71f1c24b59dea66e8f49932575
Sometimes, due to a race, the configure
will fail even though descriptors are actually
written because MtpServer did not die properly.
MtpServer lifetime is fixed properly in master
with multiplexed io, but to work around the
issue here, we set the property at all times.
Also reduce the timeout to leave room for
UsbDeviceManager.
Bug: 67844294
Test: Plug/replug device on sled with usb debugging off x50
Test: Verify that the race is hit, but projection still starts
Test: Verify that all other usb configurations still work
Change-Id: I39dd4d3db95e087f065d58ba80ca980559920c99
This reverts commit debd04d3df.
The new Clang prebuilt contains fix for the issue, this workaround is no longer necessary.
Bug: 38349491
Change-Id: Ia45f6bf3a151e35460b60ea7e087fc00a80084ab
For folders to recursively update their paths,
MediaProvider expects the folder to already exist
when database moveObject is called.
Bug: 66925416
Test: Move a folder containing files and use content query --uri content://media/external/file to verify paths are correct.
Change-Id: I45668159d2d3f99db088d8d4dcd065a79b732c44