• Home
  • History
  • Annotate
  • only in /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
History log of /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de62d84eb9dbcd43c4db3100a3cd80209b04cd2f 23-Mar-2017 Emilian Peev <epeev@google.com> Camera: Initial support for vendor tag caches

Vendor tag cache will be used alternatively to the regular
Vendor tag descriptor. The caches can support multiple vendor
tag providers at the same time. The native metadata along with
the requests/results/characteristics will store vendor specific
information that will be used to indentify the respective
descriptor.

Bug: 34275821
Test: Complete Camera/Camera2 CTS tests
Change-Id: I50b7cf9aa5575944fde7673a1728869690b2ce0d
ameraMetadataTest.java
192bb0bc54f6bb418f5778fe26eb2e68514290fb 09-Mar-2017 Paul Duffin <paulduffin@google.com> Refactor code incompatible with Mockito 2.7.13

(cherry picked from 76e319f015c2b43498ce3ce610a253d63e76cbf3)

Some additional internal only refactorings were done as well.

Bug: 32912773
Test: make checkbuild
Change-Id: I96e3da967fad731fc8f39bde9db95f50ab7353fb
ediaInserterTest.java
9a052fd590cac86b5019ad8e41292b4117e44c3f 18-Oct-2016 Sungsoo <sungsoo@google.com> ExifInterfaceTest: Catch IOException am: c9ed3b8a5b am: a4ec9714b3 am: b6f40a84fa am: 815d687215
am: 4090df5b63

Change-Id: If0c1922b0563c8723704e78609f0d7d8e21fb957
c9ed3b8a5b97598621251b5cff4ebbd8939e9ae6 18-Oct-2016 Sungsoo <sungsoo@google.com> ExifInterfaceTest: Catch IOException

ExifInterface throws IOException instead of UnsupportedOperationException.

Bug: 32221877
Change-Id: I68a4a62f565a386434b774759271bf6f2af2b7db
xifInterfaceTest.java
a725f622b60b075e15c2d758185463f1a0cfbfbc 19-Aug-2016 Felipe Leme <felipeal@google.com> Refactored MediaInserterTest to use Mockito instead of EasyMock.

BUG: 30943463
Change-Id: Id857e7aa9469ae441c35f0b2ff46566454cffb0b
ediaInserterTest.java
38089ec567672adf2010b103b506acb8d12f5ab4 09-Aug-2016 Jin Park <jinpark@google.com> ExifInterface: Handle test behavior

This CL corrects the compare values of lg_g4_iso_800 test file, which
was originally default values. Also, since .xml files do not handle
empty string cases, this CL adds code to treat it equal to a null
value.

Bug: 29409825
Change-Id: I26ed06a2ba689911c45885cfdaf9dfc018dfa7da
xifInterfaceTest.java
baad7d84f46e8f1fd871b7f6d38093bca39045ec 09-Aug-2016 Jin Park <jinpark@google.com> ExifInterface: Remove AssetInputStream dependency

ExifInterface calls native method to retrieve thumbnail data from an
AssetInputStream data. This CL removes that dependecy.

Bug: 29409358
Change-Id: I890b0e813733a5dcaa5480ee48e68c63fc079114
xifInterfaceTest.java
043785660ca6450c96408377fe563f627d036353 21-Jul-2016 Jin Park <jinpark@google.com> ExifInterface: Process uncompressed thumbnail

An uncompressed thumbnail may use 24-bit RGB format to store image
data. This CL handles uncompressed thumbnail images and creates a
bitmap object by using the given byte data.

Bug: 28156704
Change-Id: Ie650de4398004dfa74519817e417c7002d4fbdbb
xifInterfaceTest.java
0e7d22535d4b3d3b9e6f520c5837b2d52629529c 06-Apr-2016 Jaesung Chung <jaesung@google.com> ExifInterface: keep the original metadata data instead of strings

This CL makes ExifInterface store the tag values as the original forms
and the format validiation is added that compares the given value and
the data format specificed in EXIF specification in order to keep the
valid tag values only.

Bug: 27583378, Bug: 27614052, Bug: 28075709
Change-Id: If60bbddefe74c4b87b4ce64b5fc79e467e36a5b9
xifInterfaceTest.java
8884af3ee9738a8642f4a5e0f6af3fc3352bcbf4 01-Apr-2016 Insun Kang <insun@google.com> ExifInterface: Code clean up

Replaces deprecated constants with newly added constants in the actual
implementation.

Bug: 27932489
Change-Id: Id54236a05127cd7ce3bf0668c002635fb86489a9
xifInterfaceTest.java
9e175f468e687bdab1938108792d101c2f89ab18 29-Mar-2016 Insun Kang <insun@google.com> ExifInterface: Clean up test code and increase test coverage

Bug: 27888859
Change-Id: I8a2d4f3cdafd932aa0c4272c80e4967097c62491
xifInterfaceTest.java
42ac0d00153cf8cd4c89cb9397c937be4e8f36e3 22-Mar-2016 Jaesung Chung <jaesung@google.com> ExifInterface: fix regression of re-writing JPEG

Bug: 27583378
Change-Id: I052dfedbb1393705eba378de5eaf3636ed0e65ea
xifInterfaceTest.java
ad76dc2e6286ffdfa5eca6bfac67e574cbecd04e 08-Mar-2016 Jaesung Chung <jaesung@google.com> ExifInterface: fix a bug in readExifEntryValue

The readExifEntry method has raised an unnessary EOFException on reading
an non-ASCII byte array.

Bug: 27484747
Change-Id: I19371e0eed25770929f50b3ca25f249c50113925
xifInterfaceTest.java
6e08d2b082acfc773907733f2ddab4e9b60616e1 25-Feb-2016 Jaesung Chung <jaesung@google.com> ExifInterface: add RAW input stream support

And also the following things are included:

- Remove mInputStream.
- Update javadoc accordingly.

Bug: 11224701
Change-Id: I30b4c29ac800ae396fca8f6b2c2c0f68028a44b3
xifInterfaceTest.java
5d2d7788f1759b0f3d2c057af0b3ea61b0354fee 18-Dec-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Switch to auto-gen C++ binder interfaces

- Move camera AIDL files to frameworks/av
- Update makefiles to point to new AIDL locations
- Adjust camera2 implementation to match modifications to AIDL needed
for native AIDL auto-generation
- Move Surface.aidl to frameworks/native to allow use in
native AIDL. Use android::view::Surface in Surface JNI to
serialize Surface objects to ensure parceling compatibility.
- Adjust service binder tests to new interface

Bug: 25091611
Change-Id: I85b817374b34a4540fa145328dbe4bbf7f746baf
ameraUtilsBinderDecoratorTest.java
ameraUtilsDecoratorTest.java
ameraUtilsRuntimeExceptionTest.java
15ef59e081846b43660635391d536361c3253a22 25-Feb-2016 Jaesung Chung <jaesung@google.com> Revert "Revert "ExifInterface: switch from using jhead to java implementation""

This reverts commit 3c233ee291cfe1b765184920b6b7a69cb1bb82d9.

Bug: 27349581
Change-Id: Ib9f687e79ec36692fa7505ba3852099eb3e44573
xifInterfaceTest.java
3c233ee291cfe1b765184920b6b7a69cb1bb82d9 25-Feb-2016 Sungsoo Lim <sungsoo@google.com> Revert "ExifInterface: switch from using jhead to java implementation"

This reverts commit bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6.

Change-Id: Id278e831a9c03f615208fd6eab51c65f7bb019eb
xifInterfaceTest.java
bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6 17-Feb-2016 Jaesung Chung <jaesung@google.com> ExifInterface: switch from using jhead to java implementation

Bug: 26044456, Bug: 11224701
Change-Id: I881ef0ead24bcec76c0fa5a7dd0b74cc71c77285
xifInterfaceTest.java
60cfad80bdf61db436643927337c2fb30186e99d 06-Jan-2016 Jeff Sharkey <jsharkey@android.com> Discourage use of "_data" column.

Moving forward, all client file access really needs to be going
through explicit APIs like openFileDescriptor(), since that allows
the provider to better protect its underlying files.

This change also changes several classes to use the AutoClosable
pattern, which enables try-with-resources usage. Older release()
methods are deprecated in favor of close().

Uniformly apply CloseGuard across several classes, using
AtomicBoolean to avoid double-freeing, and fix several resource
leaks and bugs related to MediaScanner allocation. Switch
MediaScanner and friends to use public API instead of raw AIDL calls.

Bug: 22958127
Change-Id: Id722379f72c9e4b80d8b72550d7ce90e5e2bc786
ediaInserterTest.java
8ea56f68517ffa42bd5f43ab67f4ebfcfcb0cd23 07-Jul-2015 Lazar Trsic <Lazar.Trsic@imgtec.com> Replace hard-coded errno values with OsConstants

Errno values have been hard-coded inside java code. On the native side
however, bionic's errno.h is used (through utils/Errors.h). Some of
the numbers are architecture dependent (EOPNOTSUPP, ETIMEDOUT...).

This causes Camera app to crash on MIPS devices. There is a check for
expected errors, in CameraBinderDecorator.throwOnError, but the error
(EOPNOTSUPP) is not recognized and an exception is thrown.

Change-Id: I8bcac8f1ced50c76614f566a6e624967a18a25e1
ameraUtilsBinderDecoratorTest.java
fc5e0ba6254d82074d8d4f46dbd5cc580f933ede 14-Jul-2015 Narayan Kamath <narayan@google.com> am b9f170ff: am b4db7923: Merge "Delete some obsolete test code."

* commit 'b9f170ff99a3ad25623bf20c77eb4f6173577c98':
Delete some obsolete test code.
85bdaae347ac3e6fc0e0cb1f2104958a79831d79 09-Jul-2015 Narayan Kamath <narayan@google.com> Delete some obsolete test code.

- Get rid of obsolete annotations in MediaInserterTest.

- Drop support for @BrokenTest and @SideEffect. Nobody uses
SideEffect and none of the tests that use this test runner
(vm-tests-tf, essentially) use @BrokenTest.

Change-Id: Id73c4d4eda8031689f9263c85b563c29e635d446
ediaInserterTest.java
b1300e39c7974937d563b3ec62f5246248a157b3 28-May-2015 Zhijun He <zhijunhe@google.com> Camera2: add high speed video APIs

Interface only.

Bug: 21442271
Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901
ameraMetadataTest.java
12da140082323d9aa048b3e928505a0a2adfdda7 15-Jul-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: add highSpeedVideoConfig wrapper and APIs

- Add wrapper class for highSpeedVideoConfiguration.
- Add APIs to query high speed video recording configurations in
StreamConfigurationMap
- Fix ColorSpaceTransform unit test in CameraMetadataTest
- Fix a bug in HashCodeHelper

Change-Id: I192e57f6ab5dfbba6d958571352f067a9eaec7b2
ameraMetadataTest.java
b1a236b85fa8f3f46e3f6b76a7bf6f72faf9ee5d 11-Jul-2014 Lajos Molnar <lajos@google.com> add utility methods to util.Range, Rational and Size

Bug: 12065651
Bug: 11990470
Change-Id: I0d0929ea0289ac5de5c17cca90f25abc4e9dfd7a
angeTest.java
4c913801141163362dd5bb7c9784c83f69c11054 17-Jun-2014 Zhijun He <zhijunhe@google.com> Camera: Implement HAL1 and higher HAL API coexistence

A higher hal version device like HAL3.2 can be opened as HAL1.0 device
if HAL supports it. This only applies to camera API1.

Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07
ameraOpenTest.java
007bfb14d2d720cdd699cfbb36ce206246901cef 06-Jun-2014 Igor Murashkin <iam@google.com> util: Make Rational a Number/Comparable; add Range#inRange

* Also changes Rational to reduce the numerator/denominator by
its greatest common divisor at construction time (e.g. (2/4 -> 1/2)).

Bug: 15432042
Change-Id: Ib827abccf44a040667e5931cf9442afc86b57e2d
angeTest.java
ationalTest.java
5743868e15c88d2886915163652a1571a218bf39 30-May-2014 Igor Murashkin <iam@google.com> camera2: Change android.lens.focusRange to Pair<Float,Float>

Since the focus range is defined in diopters (1/distance), it just so
happens that in a range [near, far] near >= far which is against the
android.util.Range contract.

Change it to pair instead.

Also adds a marshaler for Pairs since they didn't have one before
(and aren't parcelable).

Bug: 15335269
Change-Id: If2f3259aeec072438a1c18c1b9728a4c81e92a40
ameraMetadataTest.java
82984727642c5705cfb5d7868bc92997bd2bfd4d 29-May-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: Test null TonemapCurve behavior

Add a test to verify we return null TonemapCurve when at least one
channel of tonemap curve is absent.

Bug: 14628001
Change-Id: I3e89dbcf00e5f21b01fc78fe43fe5c4200690357
ameraMetadataTest.java
8490ace76fd350e53de9554c11fca715c5a37aaf 27-May-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: switch API interface to java classses

android.sensor.info.physicalSize: float[] -> SizeF
android.statistics.hotPixelMap: int[] -> Point[]
android.tonemap.curve[Red|Green|Blue]: float[] -> TonemapCurve

Bug: 14628001
Change-Id: I1e085f5e640a059852fcb504b6dd5f884039e653
ameraMetadataTest.java
78712a8bd7275542013ba099f33536eead0167fb 28-May-2014 Igor Murashkin <iam@google.com> camera2: Add new metadata keys, change types for existing range keys

Also adds the following keys:
* android.control.maxRegionsAe
* android.control.maxRegionsAwb
* android.control.maxRegionsAf
* android.request.maxNumOutputRaw
* android.request.maxNumOutputProc
* android.request.maxNumOutputProcStalling

Changes the following keys' type
generations:
* android.control.aeTargetFpsRange
* (Range<Integer>)
* android.control.aeAvailableTargetFpsRanges
* (Range<Integer>[])
* android.control.aeCompensationRange
* (Range<Integer>)
* android.lens.focusRange
* (Range<Float>)

Bug: 14628001
Change-Id: I141847dffc4b0d89cea37c19a54d6d5faf24a9bb
ameraMetadataTest.java
d6d65154e55612b489aae95b60f3145f3b81f3b4 20-May-2014 Igor Murashkin <iam@google.com> camera2: Refactor CameraMetadata.Key out into 3 key classes

Before:
* CameraMetadata.Key<T>

After:
* CameraCharacteristics.Key<T>
* CaptureResult.Key<T>
* CaptureRequest.Key<T>

CameraMetadata#get has been removed (each metadata subclass has
its own #get now) due to java generic limitations (in particular
a type bound <T1<T2> extends Key<T2>> is an illegal bound).

CameraMetadataNative gets a new #dumpToLog function to dump the native
metadata to logcat.

Bug: 15091017
Change-Id: Ic56c54c0d184e209e20de374dc8a6d79527c209f
ameraMetadataTest.java
72f9f0a96e4476ef231d5001cb30521ad4ce5b1e 15-May-2014 Igor Murashkin <iam@google.com> camera2: Move parameters around to different packages

* Camera-specific params to android.hardware.camera2.params
* Remove android.hardware.camera2.Size
* Move Rational to android.util

Bug: 14628001
Change-Id: Ie7a82bf9f4a0d8c18e0dc3a1581123c0d95da3f0
ameraMetadataTest.java
ationalTest.java
9c595174ccaaf3d36315c4a100e47ee4369073f6 12-May-2014 Igor Murashkin <iam@google.com> camera2: Use StreamConfigurationMap for format/size/duration lookup

* Also @hide/@deprecate a bunch of other keys
* Move some classes into android.hardware.camera2.params

Bug: 14628001
Change-Id: I2db490a0849680a133a901403477a147b004fb28
ameraMetadataTest.java
3c40a046cf0ea7b6af01ec93e5276eccb3234bfe 23-Apr-2014 Igor Murashkin <iam@google.com> camera2: Update native<->managed camera metadata marshalers

* Improve existing marshalers:
- each managed/native type combination can be queried marshal support
- marshalers can recursively call other marshalers for nested types
- support marshaling/unmarshaling generic classes by using super type tokens

* Add new marshalers for:
- ColorSpaceTransform
- MeteringRectangle
- Parcelable
- Range<T>
- ReprocessFormatsMap
- RggbChannelVector
- SizeF
- StreamConfiguration
- StreamConfigurationDuration

Batteries included; so are unit tests.

Bug: 14628001
Change-Id: I38d3e646ccfb3953898cd6f750c33e4097328482
yteArrayHelpers.java
ameraMetadataTest.java
ameraUtilsTypeReferenceTest.java
53a1d323df9370ccf1e3da694d7bf5e1b91ffb5e 23-Apr-2014 Igor Murashkin <iam@google.com> camera2: Fix broken camera metadata test due to key rename

Change-Id: I0367550b5bb9f80c8df272804eab7052c122104d
ameraMetadataTest.java
8d637b819b23d0fcca87a39d26d0350e062852f4 09-Apr-2014 Zhijun He <zhijunhe@google.com> Camera2: Fix the JPEG format issues

Also add unit test.

Bug: 13836016

Change-Id: I0af4bfe299f99c99e70faf5d3159eb0cbcc147eb
ameraMetadataTest.java
5c207ec9a080f3be8ca28de8310483fe1c182c51 02-Apr-2014 Igor Murashkin <iam@google.com> camera2: Fix out-of-date metadata test

* The tag android.sensor.calibrationTransform1 was renamed
to android.sensor.calibrationTransform (1 removed)

Bug: 12002757
Change-Id: Ida0e37a30222f08d0d9bb3871717c74c21e428ac
ameraMetadataTest.java
8a985d24ce9a38f40ed88fecbdcd0e75e3a68f44 25-Feb-2014 John Spurlock <jspurlock@google.com> Tabs -> spaces in frameworks/base.

Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
ediaInserterTest.java
b7bfdc7cf7f45805e8e7ebea77a15051b8ad3e8d 02-Oct-2013 Zhijun He <zhijunhe@google.com> Camera2: add metadata override

There are interface difference between managed and native side for some
metadata, like Face and JPEG format. we need override them when they are set/get
between native and managed sides.

Also fix some issues in the CameraMetadataTest.

Bug: 10406212

Change-Id: Ibd8be0415968445e711b3ea89f45e1edfa193ee2
ameraMetadataTest.java
e3351f1942bfe86682389b278e7ff128a72ea671 13-Sep-2013 Igor Murashkin <iam@google.com> media: Update ImageReader to remove MaxImagesAcquiredException

* acquiring images now throws IllegalStateException instead of
MaxImagesAcquiredException

Bug: 10691447
Change-Id: I7ce68f990fb96703705b9181012a28633fea0b7a
mageReaderTest.java
5e712064dfe48992f8f732208fa4fc13f3455b30 30-Aug-2013 Igor Murashkin <iam@google.com> media: Update ImageReader APIs

Bug: 10461757
Change-Id: Ic04e4c41965e3d417b29004f3f08e0cd56b8f4cb
mageReaderTest.java
70c2207c34cf0e6b3b383b1b1500ff5385aa51a6 27-Aug-2013 Eino-Ville Talvala <etalvala@google.com> Camera2: Immutable metadata

Make all camera metadata immutable once created; requests are
created using CameraRequest.Builder.

- Separate CameraMetadata implementation from interface
- Implement deep copying of metadata
- Requests/results/properties have-a native implementation

Bug: 10360518
Change-Id: Ia6300c237219d39f70c63156fa9ca666d951a36e
ameraMetadataTest.java
23c8809568b68430f875df759108c58016c44c16 21-Aug-2013 Timothy Knight <tknight@google.com> Camera2: Updated Rational for denom=0.

Handle NaN and INF using the same semantics as Java floats. No longer
throw an exception if a rational is constructed with a zero-denominator.

This commit is required for the ITS pdk app, since without it, the app
fails when it tries to deserialize rational values that are
(incorrectly) set to 0/0.

Bug: 10337323

Change-Id: I890ec2092f2945abc0f531fc46f9a7f5c71d2dbf
ationalTest.java
2f1a2e423e0fbb64467d6fcfa4e82c6384f31210 26-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Camera2 API: Rename package to android.hardware.camera2

Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c
ameraMetadataTest.java
ameraUtilsBinderDecoratorTest.java
ameraUtilsDecoratorTest.java
ameraUtilsRuntimeExceptionTest.java
ameraUtilsUncheckedThrowTest.java
ationalTest.java
3710db80d4b9e573d775790e4c9a2ab6e062201e 19-Jul-2013 Igor Murashkin <iam@google.com> camera2 api: marshal rect, size, string for metadata

Change-Id: Iec2fd823bc92394da44abb32ca38a625d7638e3d
ameraMetadataTest.java
d7bf1778df666e82268d1e4549d248ce3dfc9665 13-Jul-2013 Igor Murashkin <iam@google.com> camera2: Implement CameraDevice#getCameraInfo

Bug: 9529161
Change-Id: Ie37d1e07bb8416cbb141f4d49e52337bf7236610
ameraMetadataTest.java
b9dd637f830e6bd4f257ffb2c807c3ea27f8feee 12-Jul-2013 Igor Murashkin <iam@google.com> camera2 api: Generate metadata keys and enums from XML

Change-Id: I9b04b5933c5922fc522e9216f4deebcd6fc24d78
ameraMetadataTest.java
b519cc52ecba8f44da31173c9fc90a7b66d52b79 02-Jul-2013 Igor Murashkin <iam@google.com> camera2 api: Add CameraMetadata get/set support

* Add a Rational class
* Can get/set Key<T> where T is a primitive (or Rational)
* Can get/set Key<T> where T is a primitive array
* Can get/set Key<T> where T is an enum (synthetic constructor only)

Not implemented yet:
* When T is anything else, i.e. Rect, Size, etc

Bug: 9529161
Change-Id: I64438024a1e8327a38dd2672652626f0ffbb70e3
ameraMetadataTest.java
ationalTest.java
70725500dcf3b666b43d50563d64705aab58d2d3 25-Jun-2013 Igor Murashkin <iam@google.com> Initial camera device implementation

* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
ameraMetadataTest.java
e363fbb2647aeb5ef4c87160d84c6b9ae8d45598 25-Jun-2013 Igor Murashkin <iam@google.com> Partial CameraManager implementation

Bug: 9213377
Change-Id: I8f89fb94d7081a71b38e5cd0ad89116d219b4c33
ameraUtilsBinderDecoratorTest.java
ameraUtilsDecoratorTest.java
ameraUtilsRuntimeExceptionTest.java
ameraUtilsUncheckedThrowTest.java
a858308ed2c950fe800abeefcb845b9c3197a2f3 25-Jun-2013 Igor Murashkin <iam@google.com> Revert "Partial CameraManager implementation"

This reverts commit e473f7d8f96b5682141522378b761913192d8114.

Change-Id: I23e92ca2def0ebf507f6c782442a4698745bc926
ameraUtilsBinderDecoratorTest.java
ameraUtilsDecoratorTest.java
ameraUtilsRuntimeExceptionTest.java
ameraUtilsUncheckedThrowTest.java
e473f7d8f96b5682141522378b761913192d8114 11-Jun-2013 Igor Murashkin <iam@google.com> Partial CameraManager implementation

Bug: 9213377
Change-Id: I29864a5d1f7971ed589d1ffaddeefbb703e34018
ameraUtilsBinderDecoratorTest.java
ameraUtilsDecoratorTest.java
ameraUtilsRuntimeExceptionTest.java
ameraUtilsUncheckedThrowTest.java
9139625aaed3b553eb7a336a2a340b19056057a1 17-Jan-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I068539623b3b133793fc9b8188d876eca59a8281
ediaInserterTest.java
8e2ed8d512ade2ea481b3a292556782b17a74674 11-Oct-2011 Dongwon Kang <dwkang@google.com> Refactor FileInserter in MediaScanner and adding unit tests for the newly added class.

Change-Id: Ia0e8c95239916fd4c21cb5bf10ac94201e6eb6f1
ediaInserterTest.java
627f445a23b6c1188e366c0eec52abc488668bec 30-Sep-2011 Gloria Wang <gwang@google.com> Wait for some time before stopping the media recorder.
Fix for bug 5239001.

Change-Id: Ifa18a404e8568cced88a93b8d1a7125875aadb15
ediaRecorderStopStateUnitTest.java
1e1b13e62e38d6efc7cef4b496b3119bd45ee2c2 23-Jun-2011 Gloria Wang <gwang@google.com> - Public part of the Metadata API.
- Modify the media framework test for Metadata.

Change-Id: Ib8fa4991f114e1bb88a17ca662844b9b8e1d0faf
ediaPlayerMetadataParserTest.java
c4fe54a2385e8e67dcfed6b2c365214ed020d245 14-Jun-2011 Yu Shan Emily Lau <yslau@google.com> Add new open source test contents.
Removed old test files.
Updated the tests with new test contents.

Change-Id: Id74f1aae391ef868843ab4058ae9a9328d98f868
ediaMetadataRetrieverTest.java
11eab056dd0133a390169d3581edf3eef26d6a54 06-Jan-2011 James Dong <jdong@google.com> Publish MediaMetadataRetriever.java as public API

o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc

o part of a multi-project change.

bug - 2433195

Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
ediaMetadataRetrieverTest.java
df9b349b960fff95dff4fcf8b2661899e33059da 05-Jan-2011 James Dong <jdong@google.com> Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java

Change-Id: I34dfc1daa3bed1f334f3f266cbe70d1e3d7924f6
ediaMetadataRetrieverTest.java
f6bd1ea0c79516a5ef3c0c463761deec1a80e419 04-Dec-2010 James Dong <jdong@google.com> Replace MediaMetadataRetriever.captureFrame() with MediaMetadataRetriever.getFrameAtTime()

as part of the preparation for publishing MediaMetadataRetriever as public Java API

bug - 2433195

Change-Id: I6e8a771347e3d89bfe359ae403ebfe3205ea6313
ediaMetadataRetrieverTest.java
7411c1b8364ad1340c20f1da546e307c2d330e63 29-Nov-2010 James Dong <jdong@google.com> Renable the captureFrame unit tests

o We need to make sure that
/sdcard/media_api/metadata rwx to the test app
before tests

Change-Id: Iaa2d58bb2d380bf7e93ec71f77c4c769d65b1d85
ediaMetadataRetrieverTest.java
f360acf8759d5eedc2b4110c721c8d1a3262470c 19-Nov-2010 James Dong <jdong@google.com> Fixed MediaPlayer unit test issues

o We used to have two different "idle" state with OpenCore.
Now, with SF, we have a single and consistent "idle" state.

bug - 3198642

Change-Id: I2bbb5e8b6c2d8166841a6e99a1c2c4a47e00b574
ediaPlayerGetCurrentPositionStateUnitTest.java
ediaPlayerGetDurationStateUnitTest.java
ediaPlayerPauseStateUnitTest.java
ediaPlayerSeekToStateUnitTest.java
ediaPlayerSetAudioStreamTypeStateUnitTest.java
ediaPlayerStartStateUnitTest.java
ediaPlayerStopStateUnitTest.java
2fd4e5935c4d1760e846a7c98642ec0d348680a3 14-Nov-2010 James Dong <jdong@google.com> Fix a typo in LOG_TAG for MediaPlayer unit tests

Change-Id: I351f32fe4b4da82c32acf5c9e5ebdb81bb003525
ediaPlayerStateUnitTestTemplate.java
454f69c84c294b8e0875788653a9c7d4fd80b233 17-Mar-2010 James Dong <jdong@google.com> Don't stop a test case when the test case failed for some of the sample files.
Instead, only check against failure or success at the end of the test case.

bug - 2338793

Change-Id: I6c2f4fa2f48795d7efaba603688853d8d59b42ed
ediaMetadataRetrieverTest.java
1b7babd2cce5bb10adac7b061cf7ba065d480edb 16-Feb-2010 James Dong <jdong@google.com> Use Java API from xml configuration in the test application
ediaMetadataRetrieverTest.java
38b03a76616edffabb97f4131e268c701dffb00f 02-Nov-2009 James Dong <jdong@google.com> Add windows media support check in MediaMetadataRetrieverTest
bug 2232274
ediaMetadataRetrieverTest.java
525ad18663bdac0b378f5ae1db4de66ca71d907e 28-Sep-2009 James Dong <jdong@google.com> Turn on thubmnail capture unit test for media metadata retriever
ediaMetadataRetrieverTest.java
6fa41bbb56e0756d3eac15d6314007e4a450c9d3 20-Jul-2009 niko <niko@google.com> Minor cleanup in Metadata.java

Use a constant to express the size of a 32bits int.

In MediaPlayerMetadataParserTest, removed unused kTocken constant.
ediaPlayerMetadataParserTest.java
c39173be3237be9f39d2b57bb38249126e183c53 20-Jul-2009 niko <niko@google.com> Fixed a bug in the parser.

When we parse the metadata we check that there is enough data in the parcel by checking
the byte availables and the size in the header.
Since the size is in the header has been read, we should make sure than dataAvailable() >= size - 4

This bug was hidden by some test code which has been removed.
ediaPlayerMetadataParserTest.java
cb2e00eedce99b30faf5f238136a00bc5448c5f2 16-Jul-2009 Nicolas Catania <niko@google.com> Impl. of the metadata getters.

In Metadata, implemented the method that unmarshall the data from
a metadata parcel an return java entities.

Add 2 new types of metadata (Boolean and Date) and fixed an issue
in TimedText: the w3c standard specify a duration as well as the
time to be played => added a duration field.

In MetadataParserTest.java:
Moved the util private methods at the bottom of the file.
Added new tests for the getters (GETTERS section)
ediaPlayerMetadataParserTest.java
a5ccb22a3ddb342fe3f7e5493095c6e6dceda60b 15-Jul-2009 Nicolas Catania <niko@google.com> Partial implementation of the parsing of Parcel into Metadata.

In this first cut, a raw parcel is parsed to check that the overall
format is correct.

At the same time, we record the metadata seen and their position in
the parcel for later retrieval using the get* methods.

This means that the 'has' method to check the existence of a metadata
should work.

Removed size and iterator methods. Instead, I added a new method
to give access to the set of keys. The user can make use of the set
to call size(), empty(), iterator() etc...
ediaPlayerMetadataParserTest.java
3e7b3c0f270d2bf86fb701a94e55cb135480d571 25-Mar-2009 Yu Shan Emily Lau <> Automated import from //branches/master/...@142150,142150
ediaMetadataRetrieverTest.java
ediaRecorderPrepareStateUnitTest.java
ediaRecorderResetStateUnitTest.java
ediaRecorderSetAudioEncoderStateUnitTest.java
ediaRecorderSetAudioSourceStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderSetOutputFormatStateUnitTest.java
ediaRecorderStartStateUnitTest.java
ediaRecorderStopStateUnitTest.java
b22d55b9f8048b2a1ed99b90894c19388bebd7ae 06-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136620
ediaMetadataRetrieverTest.java
ediaRecorderPrepareStateUnitTest.java
ediaRecorderResetStateUnitTest.java
ediaRecorderSetAudioEncoderStateUnitTest.java
ediaRecorderSetAudioSourceStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderSetOutputFormatStateUnitTest.java
ediaRecorderStartStateUnitTest.java
ediaRecorderStopStateUnitTest.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ediaMetadataRetrieverTest.java
ediaPlayerGetCurrentPositionStateUnitTest.java
ediaPlayerGetDurationStateUnitTest.java
ediaPlayerGetVideoHeightStateUnitTest.java
ediaPlayerGetVideoWidthStateUnitTest.java
ediaPlayerIsPlayingStateUnitTest.java
ediaPlayerMethodUnderTest.java
ediaPlayerPauseStateUnitTest.java
ediaPlayerResetStateUnitTest.java
ediaPlayerSeekToStateUnitTest.java
ediaPlayerSetAudioStreamTypeStateUnitTest.java
ediaPlayerSetLoopingStateUnitTest.java
ediaPlayerSetVolumeStateUnitTest.java
ediaPlayerStartStateUnitTest.java
ediaPlayerStateErrors.java
ediaPlayerStateUnitTestTemplate.java
ediaPlayerStopStateUnitTest.java
ediaRecorderMethodUnderTest.java
ediaRecorderPrepareStateUnitTest.java
ediaRecorderResetStateUnitTest.java
ediaRecorderSetAudioEncoderStateUnitTest.java
ediaRecorderSetAudioSourceStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderSetOutputFormatStateUnitTest.java
ediaRecorderStartStateUnitTest.java
ediaRecorderStateErrors.java
ediaRecorderStateUnitTestTemplate.java
ediaRecorderStopStateUnitTest.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ediaMetadataRetrieverTest.java
ediaPlayerGetCurrentPositionStateUnitTest.java
ediaPlayerGetDurationStateUnitTest.java
ediaPlayerGetVideoHeightStateUnitTest.java
ediaPlayerGetVideoWidthStateUnitTest.java
ediaPlayerIsPlayingStateUnitTest.java
ediaPlayerMethodUnderTest.java
ediaPlayerPauseStateUnitTest.java
ediaPlayerResetStateUnitTest.java
ediaPlayerSeekToStateUnitTest.java
ediaPlayerSetAudioStreamTypeStateUnitTest.java
ediaPlayerSetLoopingStateUnitTest.java
ediaPlayerSetVolumeStateUnitTest.java
ediaPlayerStartStateUnitTest.java
ediaPlayerStateErrors.java
ediaPlayerStateUnitTestTemplate.java
ediaPlayerStopStateUnitTest.java
ediaRecorderMethodUnderTest.java
ediaRecorderPrepareStateUnitTest.java
ediaRecorderResetStateUnitTest.java
ediaRecorderSetAudioEncoderStateUnitTest.java
ediaRecorderSetAudioSourceStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderSetOutputFormatStateUnitTest.java
ediaRecorderStartStateUnitTest.java
ediaRecorderStateErrors.java
ediaRecorderStateUnitTestTemplate.java
ediaRecorderStopStateUnitTest.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
ediaRecorderPrepareStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderStateUnitTestTemplate.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
ediaRecorderPrepareStateUnitTest.java
ediaRecorderResetStateUnitTest.java
ediaRecorderSetAudioEncoderStateUnitTest.java
ediaRecorderSetAudioSourceStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderSetOutputFormatStateUnitTest.java
ediaRecorderStartStateUnitTest.java
ediaRecorderStopStateUnitTest.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ediaMetadataRetrieverTest.java
ediaPlayerGetCurrentPositionStateUnitTest.java
ediaPlayerGetDurationStateUnitTest.java
ediaPlayerGetVideoHeightStateUnitTest.java
ediaPlayerGetVideoWidthStateUnitTest.java
ediaPlayerIsPlayingStateUnitTest.java
ediaPlayerMethodUnderTest.java
ediaPlayerPauseStateUnitTest.java
ediaPlayerResetStateUnitTest.java
ediaPlayerSeekToStateUnitTest.java
ediaPlayerSetAudioStreamTypeStateUnitTest.java
ediaPlayerSetLoopingStateUnitTest.java
ediaPlayerSetVolumeStateUnitTest.java
ediaPlayerStartStateUnitTest.java
ediaPlayerStateErrors.java
ediaPlayerStateUnitTestTemplate.java
ediaPlayerStopStateUnitTest.java
ediaRecorderMethodUnderTest.java
ediaRecorderPrepareStateUnitTest.java
ediaRecorderResetStateUnitTest.java
ediaRecorderSetAudioEncoderStateUnitTest.java
ediaRecorderSetAudioSourceStateUnitTest.java
ediaRecorderSetOutputFileStateUnitTest.java
ediaRecorderSetOutputFormatStateUnitTest.java
ediaRecorderStartStateUnitTest.java
ediaRecorderStateErrors.java
ediaRecorderStateUnitTestTemplate.java
ediaRecorderStopStateUnitTest.java