139 Commits

Author SHA1 Message Date
Andreas Huber
2564300936 API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played.
related-to-bug: 2393577

Original change by Andrei Popescu <andreip@google.com>
2010-01-28 11:52:43 -08:00
Yu Shan Emily Lau
9cf5b455d9 am 47f1d4d5: am b1780474: Merge "Instead of caputre the memory footprint before and after the test. We would like to monitor the memory trend while the test is running. This can eliminate the overhead for the frist test case in creating the player." into eclair
Merge commit '47f1d4d509b271ddb2f158c761e572413f39f1a8'

* commit '47f1d4d509b271ddb2f158c761e572413f39f1a8':
  Instead of caputre the memory footprint before and after the test. We would like to monitor the memory trend while the test is running. This can eliminate the overhead for the frist test case in creating the player.
2010-01-27 17:27:41 -08:00
Yu Shan Emily Lau
eea6ecdfce Add the new golden thumbnail image as the PV and stagefright implementations in capturing thumbnail is different. 2010-01-25 20:49:08 -08:00
Yu Shan Emily Lau
f465dc0367 Instead of caputre the memory footprint before and after the test. We would like to monitor the memory trend while the test is running. This can eliminate the overhead for the frist test case in creating the player. 2010-01-21 12:38:02 -08:00
Andreas Huber
06b3ff7d5a Make the MediaMetadataTest a little more lenient when it comes to verifying the duration of media files, only require that the returned duration is within 100ms of the expected one, as the PV and stagefright implementations differ slightly.
related-to-bug: 2377534
2010-01-20 12:16:36 -08:00
Doug Kwan
474a97a428 Add missing libjpeg in linker option. Currently this library is used by the
main executable but is included implicitly via inter-library dependency.
2010-01-19 11:22:55 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Jean-Baptiste Queru
f66de3cd8e Fix typo: test -> tests in makefile tags
Change-Id: Icf23b5ae5d84f6ba9032d1707635a75352f920d2
2010-01-06 14:00:36 -08:00
Dave Sparks
1905530bb1 Replace sine with organ for some SoundPool tests. 2009-12-23 09:55:21 -08:00
Dave Sparks
d94466c4c8 Add SoundPool test 2009-12-23 09:47:12 -08:00
Doug Kwan
5038c78f13 Add missing shared libraries in linker commands. Currently these libraries are
linked implicitly via dependencies of other shared libraries.
2009-12-22 13:30:25 -08:00
Andreas Huber
987dbde838 Fix full stagefright build in master, various warnings/errors in omx_jpeg_decoder 2009-12-16 13:13:27 -08:00
Yu Shan Emily Lau
e204b9f84f am a3d15d3b: am 8e6d79e2: am 8445f367: Merge change Ibb9b1de1 into eclair
Merge commit 'a3d15d3b01146df40e72d67b79dd1f9368398f23'

* commit 'a3d15d3b01146df40e72d67b79dd1f9368398f23':
  1) Capture the start memory before the test started
2009-12-07 18:33:38 -08:00
Yu Shan Emily Lau
8e6d79e2b5 am 8445f367: Merge change Ibb9b1de1 into eclair
Merge commit '8445f367070514dce3154be73827107b8a93f234' into eclair-mr2

* commit '8445f367070514dce3154be73827107b8a93f234':
  1) Capture the start memory before the test started
2009-12-07 10:54:38 -08:00
Yu Shan Emily Lau
30daf09cb6 1) Capture the start memory before the test started
2) Report the mem diff to zero if it is negative.
2009-12-04 14:15:59 -08:00
Wei-Ta Chen
b355012797 Fix the broken build of omxjpegdecoder: http://b/2299035.
1) Add the include path for jni.h.

2) Rename InitCheck() and read_at() to initCheck() and readAt(),
   repectively in StreamSource, as done in DataSource.

3) Add back the definition of SkJPEGImageDecoder to jpeg_decoder_bench.cpp.
   Need to do so because SkJPEGImageDecoder is not defined in a header file.
2009-12-03 23:19:19 +08:00
Yu Shan Emily Lau
ea1862bbf4 am c6bb089d: am 507322ca: am 9ed314ce: Merge change Ib3191441 into eclair
Merge commit 'c6bb089df15c25948757f6dbd9007fc0d49bb568'

* commit 'c6bb089df15c25948757f6dbd9007fc0d49bb568':
  Add the checking for mediaplayer stress test.
2009-11-20 12:13:26 -08:00
Yu Shan Emily Lau
507322ca5c am 9ed314ce: Merge change Ib3191441 into eclair
Merge commit '9ed314cefb5ec711dfcb5527a2a0a6b87a643c24' into eclair-mr2

* commit '9ed314cefb5ec711dfcb5527a2a0a6b87a643c24':
  Add the checking for mediaplayer stress test.
2009-11-20 12:03:34 -08:00
Yu Shan Emily Lau
b1ce51fb73 Add the checking for mediaplayer stress test. 2009-11-20 11:55:05 -08:00
Gloria Wang
5cfcedc540 am 28b0e311: am 9d7e75eb: am bf964e6a: Merge change Ic060d86f into eclair
Merge commit '28b0e311959baa55e0c6c9762831165dbafb5046'

* commit '28b0e311959baa55e0c6c9762831165dbafb5046':
  Check whether test server is up before running tests which use streaming files.
2009-11-10 10:14:46 -08:00
Gloria Wang
9d7e75eb0c am bf964e6a: Merge change Ic060d86f into eclair
Merge commit 'bf964e6a0488c25bfe18d2c041aafe42cf493b9e' into eclair-mr2

* commit 'bf964e6a0488c25bfe18d2c041aafe42cf493b9e':
  Check whether test server is up before running tests which use streaming files.
2009-11-10 10:07:10 -08:00
Gloria Wang
c060d86f7d Check whether test server is up before running tests which use streaming files. 2009-11-09 15:51:12 -08:00
James Dong
b09c8ba082 am 421a32fb: am 99588d59: am 1e495da1: Merge change I4b03c2cd into eclair
Merge commit '421a32fb31f46860ce77b0e8131178a0af52d087'

* commit '421a32fb31f46860ce77b0e8131178a0af52d087':
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java
2009-11-05 20:18:19 -08:00
James Dong
99588d590f am 1e495da1: Merge change I4b03c2cd into eclair
Merge commit '1e495da19f3f0061de38821a4ac733dca833b3eb' into eclair-mr2

* commit '1e495da19f3f0061de38821a4ac733dca833b3eb':
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java
2009-11-05 19:09:58 -08:00
James Dong
b1c85ec47a Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java 2009-11-04 23:00:09 -08:00
James Dong
ffca760612 am 76370140: am 9d4dcf28: am f67eff17: Merge change Ib0036762 into eclair
Merge commit '763701408b09195a2b82bd088fc83c61b27c9be4'

* commit '763701408b09195a2b82bd088fc83c61b27c9be4':
  Add windows media support check in MediaMetadataRetrieverTest
2009-11-02 17:46:36 -08:00
Brett Chabot
a98c5675d2 am 64e648fd: am b580d53e: am 774d956d: Merge change Ic8c7ca7b into eclair
Merge commit '64e648fdd93c9642bdbda3e44082e50f4baeb0c1'

* commit '64e648fdd93c9642bdbda3e44082e50f4baeb0c1':
  Remove testCheckMediaPlaybackHandlesApplicationItunes from continuous.
2009-11-02 17:46:12 -08:00
James Dong
9d4dcf287c am f67eff17: Merge change Ib0036762 into eclair
Merge commit 'f67eff177515baa421d8717ee20efdc516fde580' into eclair-mr2

* commit 'f67eff177515baa421d8717ee20efdc516fde580':
  Add windows media support check in MediaMetadataRetrieverTest
2009-11-02 17:19:51 -08:00
Android (Google) Code Review
f67eff1775 Merge change Ib0036762 into eclair
* changes:
  Add windows media support check in MediaMetadataRetrieverTest bug 2232274
2009-11-02 20:13:20 -05:00
Android (Google) Code Review
d6af2e0cbf Merge change I43a335c3 into eclair
* changes:
  Suppress takePicture test from continuous DO NOT MERGE.
2009-11-02 20:08:16 -05:00
James Dong
38b03a7661 Add windows media support check in MediaMetadataRetrieverTest
bug 2232274
2009-11-02 12:20:58 -08:00
Brett Chabot
43a335c3cc Suppress takePicture test from continuous DO NOT MERGE.
Bug 2141755
2009-10-30 17:07:03 -07:00
Brett Chabot
c8c7ca7bd7 Remove testCheckMediaPlaybackHandlesApplicationItunes from continuous.
This test causes the whole suite to hang.
2009-10-30 16:48:09 -07:00
Yu Shan Emily Lau
79e56a215e am f97dec83: am 42ea8dc7: am adf4b4f5: Merge change I96458368 into eclair
Merge commit 'f97dec837c1fa47250af023bbaea0566a0ec9695'

* commit 'f97dec837c1fa47250af023bbaea0566a0ec9695':
  Fixed the H263 video duation which caused the incorrect video validation.
2009-10-28 23:53:27 -07:00
Yu Shan Emily Lau
13b93713f3 Fixed the H263 video duation which caused the incorrect video validation. 2009-10-26 18:04:11 -07:00
Yu Shan Emily Lau
c2f945c047 am c3d8f16a: am 720ac1d4: am da2ecbeb: Merge change Idcaa1ef8 into eclair
Merge commit 'c3d8f16a72fe803494d68ab53442afbfb5c5ad8d'

* commit 'c3d8f16a72fe803494d68ab53442afbfb5c5ad8d':
  1) Add 10 seconds wait time before collecting the end memory.
2009-10-16 15:55:16 -07:00
Yu Shan Emily Lau
999101368f 1) Add 10 seconds wait time before collecting the end memory.
2) Modified the player stress test, shorten the plabyack time.
2009-10-15 18:52:31 -07:00
Yu Shan Emily Lau
f2496dc8b9 am f1fa1eac: am edd942c2: Merge change I55a6ac8c into eclair
Merge commit 'f1fa1eacaa36c80c2094ba679b8384d9f4541e11'

* commit 'f1fa1eacaa36c80c2094ba679b8384d9f4541e11':
  Fixed the long recorder time and reduce the number of loops.
2009-10-01 11:49:46 -07:00
Yu Shan Emily Lau
55a6ac8c54 Fixed the long recorder time and reduce the number of loops. 2009-09-29 21:38:39 -07:00
James Dong
d4a9711057 am 9365c8fa: am 99638e74: Merge change 27466 into eclair
Merge commit '9365c8fa7c66c62de98b859f08c881ea2ad65980'

* commit '9365c8fa7c66c62de98b859f08c881ea2ad65980':
  Turn on thubmnail capture unit test for media metadata retriever
2009-09-28 11:53:55 -07:00
James Dong
525ad18663 Turn on thubmnail capture unit test for media metadata retriever 2009-09-28 10:57:17 -07:00
Yu Shan Emily Lau
0a63934d97 am 20f8fcd9: am 7756cbee: Merge change 27073 into eclair
Merge commit '20f8fcd9fe2a1c034113431ecbab8aa03114bb63'

* commit '20f8fcd9fe2a1c034113431ecbab8aa03114bb63':
  Removed the device type checking
2009-09-27 15:42:30 -07:00
Yu Shan Emily Lau
34831c9330 Removed the device type checking 2009-09-25 16:01:20 -07:00
Yu Shan Emily Lau
f5171c13a1 am 384350e8: am 3f790d87: Merge change 27011 into eclair
Merge commit '384350e8043b02e332ad4bea0a0c1e9b26f2e1bb'

* commit '384350e8043b02e332ad4bea0a0c1e9b26f2e1bb':
  Added the checking for the wma in the memory test.
2009-09-25 11:22:58 -07:00
Yu Shan Emily Lau
50ee15793b am 99c156cd: am 7d0bdfaf: Merge change 26948 into eclair
Merge commit '99c156cd9ff67119e20d4ebc851998d68492da05'

* commit '99c156cd9ff67119e20d4ebc851998d68492da05':
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-25 11:14:52 -07:00
Yu Shan Emily Lau
a56e653130 Added the checking for the wma in the memory test. 2009-09-25 00:07:47 -07:00
Yu Shan Emily Lau
5b0b63b674 Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build 2009-09-24 16:17:14 -07:00
Yu Shan Emily Lau
f97eb8f932 am 5653e41e: am 008fc5d1: Merge change 26332 into eclair
Merge commit '5653e41e71a07c104da3f01e5a022198ee39dafe'

* commit '5653e41e71a07c104da3f01e5a022198ee39dafe':
  1) Add the wma / wmv profile reader.
2009-09-23 11:30:58 -07:00
Yu Shan Emily Lau
dc1af5befa 1) Add the wma / wmv profile reader.
2) Add the flag which check the wma/wmv enable properties. If the codec is not enable, then skip the wma / wmv related test cases.
3) Added a workaround which let the testcodecspecific test case continue even though there is a failure in the middle of the test. Besides, take out the remvoeFile for temporary usage.
2009-09-22 10:52:56 -07:00
Yu Shan Emily Lau
f7e8872036 am 58c24345: am 92b27daf: Merge change 25858 into eclair
Merge commit '58c243450d054893c234159ea62262c7f2c0a139'

* commit '58c243450d054893c234159ea62262c7f2c0a139':
  There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension
2009-09-18 20:19:00 -07:00