206 Commits

Author SHA1 Message Date
Eric Laurent
5e7acae2c3 Fix issue 5355047: Automated effect tests fail.
Fixed several regressions in automated audio effect tests due
to changes in effect framework and visualizer FFT output range.

- Do not suspend Volume effect on session 0 when effects are
enabled on specific sessions.
- Adapt energy detection thresholds to new visualizer FFT range.
- Leave more time for BassBoost and Virtualizer effects to ramp up
before measuring the effect.
- Removed second insert reverb left by mistake on the player session
in preset reverb test.

Change-Id: I7a1ad1372d783fa7900eb9dd1d3b47f54d8d766f
2011-09-23 10:15:05 -07:00
Rajneesh Chowdury
3f43e7d37f Fix for bug 5309242 [Prime] VideoEditorAPITest testVideoContentHD failed
Change-Id: Ibd52a3bda8e1cb17f1c110cc219f2c71a46e5122
2011-09-14 12:37:02 -07:00
Devaraj Rangasamy
d8f7c2c2dc MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile
MTS tests have hardcoded video framerates.
MTS can query the video framerate supported by device via
Camcorder profiles and use.

Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
2011-09-09 17:22:24 -07:00
James Dong
4cf9a3b857 Merge "Fix another hardcoded frame rate in the media framework test" 2011-09-09 15:50:39 -07:00
Chih-Chung Chang
a18886ca08 Fix 5278371: OOM in MediaItemThumbnailTest
Because we request 400x240 thumbnails. 100 thumbnails needs 38M,
which is too much. Change it to 70 now.

Also handle the case if the thumbnail callback throws exception.

Change-Id: Iac4ee72f308b7c7a6ae860983197601cf89bee8f
2011-09-09 13:58:59 +08:00
James Dong
b05a600352 Fix another hardcoded frame rate in the media framework test
Change-Id: I7d7f9d0812a0228dbf924084a32dbede0338b421
related-to-bug: 5264298
2011-09-07 19:31:24 -07:00
James Dong
a985135daa Use device-dependent frame rate in the media recorder performance test
Change-Id: I778eca69c4acb9842f600c6ae23e7a89fb2e55f4
related-to-bug: 5264298
2011-09-06 19:15:48 -07:00
James Dong
4afbe2ec75 The test application falsely reports that the test result even if the test failed.
Change-Id: Ia632f04da73642dc4c1e3147b16664b5672108bc
2011-08-29 14:40:52 -07:00
Rajneesh Chowdury
3ced044154 Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)
Also fixes 5118207 add other video codec support for video editor export.

Change-Id: If72427173bd8ff684af07ba00f4425c1deef29c6
2011-08-19 14:34:47 -07:00
James Dong
c9b9cbc76e Use camcorder profiles for MediaRecorderStressTest
related-to-bug: 5167351

Change-Id: Ia21ca39a404484b2dda25c6101780d2ff11c4623
2011-08-15 17:23:00 -07:00
Eric Laurent
09f1735fad Fix issue 5144429: CTS test fails for AudioEffects
android_media_AudioEffect_native_setup() was not initializing
properly the effect descriptor for audio pre processings.

AudioEffect tests should create per processing effects on a valid
AudioRecord session.

Change-Id: Ia1862ca91c98e272f9374b9225a7d4ce7ef132fc
2011-08-11 18:06:18 -07:00
Yu Shan Emily Lau
55c1ad9994 Replace the hard coded video recording
properties with media profile.

Change-Id: I431838839f52431e68183eebe7ebce382a44bdb7
2011-08-01 23:52:47 -07:00
Rajneesh Chowdury
e3065f23a2 Merge "Fix for issue 5007510 AssertionFailed for MediaPropertiesTest#testPropertiesH263QCIF" 2011-07-15 16:08:01 -07:00
Rajneesh Chowdury
aea7d6cdfb Fix for issue 5007510 AssertionFailed for MediaPropertiesTest#testPropertiesH263QCIF
Change-Id: I1c7c32fee491871223ad12df4696363415902377
2011-07-15 15:11:48 -07:00
Rajneesh Chowdury
559bb7951f Fix for issue 5007228 IllegalArgumentException when testing VideoEditorAPITest#testEffectKenBurn
Change-Id: Ic8b4360cdabb157fa7739552b73e3c3daab88129
2011-07-08 14:56:06 -07:00
James Dong
88f7194f6d Add a testcase to test PNG files support for KenBurn effect.
Change-Id: I1d0b3ff7b5aa21c25c141b440521e64b4a82043d
related-to-bug: 4861071
2011-06-27 13:42:55 -07:00
Gloria Wang
1e1b13e62e - Public part of the Metadata API.
- Modify the media framework test for Metadata.

Change-Id: Ib8fa4991f114e1bb88a17ca662844b9b8e1d0faf
2011-06-23 15:28:36 -07:00
Yu Shan Emily Lau
c4fe54a238 Add new open source test contents.
Removed old test files.
Updated the tests with new test contents.

Change-Id: Id74f1aae391ef868843ab4058ae9a9328d98f868
2011-06-15 18:45:54 -07:00
Yu Shan Emily Lau
d1d17b1651 Cleaned up the old test cases and test media files.
Change-Id: Icc3c04c69b11b2bb91588a8bb916baf69594e8d3
2011-06-07 12:08:13 -07:00
Yu Shan Emily Lau
fa22e62589 Convert the video editor performance
test suite output from float to int.

Change-Id: I62fada18a4c34d06b8d0ed91885e5bd98f12523f
2011-06-01 16:33:35 -07:00
shailendra
88a14dcd1c am 6b49e9a8: am a450ef06: am ac390b8c: Merge "Fix for Media Server memory leak" into honeycomb-mr1
* commit '6b49e9a8829c87088dc7fbc0945237030e63327a':
  Fix for Media Server memory leak
2011-03-23 16:03:46 -07:00
shailendra
ac390b8cac Merge "Fix for Media Server memory leak" into honeycomb-mr1 2011-03-23 15:33:51 -07:00
shailendra
2d06aee095 Fix for Media Server memory leak
bug - 4081123

Change-Id: Ic88c13f8006227cff2c91a31f5d1828d007125af
2011-03-22 21:30:35 -07:00
shailendra
35c654c3f5 am 8e0f2d71: am b819dcd4: am 8483073e: Merge "Fix for testPropertiesWMVFile case failed with build HMI75B(4128259)" into honeycomb-mr1
* commit '8e0f2d71a1d2353228ba04562c8189f4904a11d1':
  Fix for testPropertiesWMVFile case failed with build HMI75B(4128259)
2011-03-22 11:54:44 -07:00
shailendra
8483073ec2 Merge "Fix for testPropertiesWMVFile case failed with build HMI75B(4128259)" into honeycomb-mr1 2011-03-22 11:48:12 -07:00
Yu Shan Emily Lau
8b17346a43 am 5460bb3e: am 112852b5: am 02109972: Merge "Add the mem logging into test utility. Bug# 4108259" into honeycomb-mr1
* commit '5460bb3e09766d45105dfb05f54f97da1dbc57a3':
  Add the mem logging into test utility. Bug# 4108259
2011-03-22 11:42:26 -07:00
Yu Shan Emily Lau
0210997218 Merge "Add the mem logging into test utility. Bug# 4108259" into honeycomb-mr1 2011-03-21 17:32:17 -07:00
Eric Laurent
602b3286ff Fix issue 3509396: AudioEffect.getParameter JAVA.
Removed dead/buggy code in AudioEffect.getParameter() and
AudioEffect.command() that was meant to return the actual length of
meaningful data in the returned parameter or command reply.

This is replaced by the method return status indicating this length when
positive (negative return codes still indicate the same errors as before).

Modified automated AudioEffect tests accordingly.

Change-Id: Ie89617f912766b8dee73b81f92af9c48027c982d
2011-03-21 17:11:59 -07:00
Yu Shan Emily Lau
75afb97c4d Add the mem logging into test utility.
Bug# 4108259

Change-Id: Ifc8091490beef1430a1a0ab297e514b605da56f6
2011-03-18 13:27:51 -07:00
shailendra
d0c2813289 Fix for testPropertiesWMVFile case failed with build HMI75B(4128259)
Change-Id: I0a7081f901684ff7c7388b830afc6ae2f2ce7bcd
2011-03-18 10:45:29 -07:00
shailendra
c8b4efdd74 Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)
Change-Id: Iab523e666c11b7f99aac71c761a4295d32ca026c
2011-03-17 14:53:20 -07:00
Yu Shan Emily Lau
9dab784705 Suppress the 1 hour video editor export test case which exceed the 5 mins large test limit.
Add the media test util for capturing the memory usage.
Bug# 4108259
Change-Id: I751a622ff5dfbb1d563f63a2cbc9db71d194a0f6
2011-03-16 16:36:17 -07:00
Yu Shan Emily Lau
4fdc6ebb91 Merge "Remove the hard coded media recorder test cases. Add the native heap dump catpure functionality." 2011-02-28 14:10:23 -08:00
Yu Shan Emily Lau
62f755ac65 Remove the hard coded media recorder test cases.
Add the native heap dump catpure functionality.

Change-Id: I434ff886152cbb9b2b9a4e39c75bfd016e0e50a0
2011-02-25 20:20:53 -08:00
Basavapatna Dattaguru
0c6a5182ed VideoEditor: Issue:3396697: Update Perf and Stress test code
Change-Id: Ifd90e8e1fdff1a04d47a3ae65813584cab78255c
2011-02-24 16:45:30 -08:00
Basavapatna Dattaguru
3ed54d03ee Merge "VideoEditor:IssueID:3396697: Added Performance test code" 2011-02-22 10:56:29 -08:00
Basavapatna Dattaguru
f1f9ff28c3 VideoEditor:IssueID:3396697: Added Performance test code
Updated with review comments: MediaFrameworkStressTestRunner.java deleted
Updated with growing heap report in Stress test case

Change-Id: I847f8810e2b844015c47b7d24e488a611d85287c
2011-02-18 18:42:56 -08:00
Basavapatna Dattaguru
c2b9eb88fd VideoEditor:IssueID:3396697: Updated Preview Test code
Change-Id: I895bcdbb0c65679b837e616de58e533a080bbf2f
2011-02-17 20:43:08 -08:00
Yu Shan Emily Lau
414e15309c Fixed the media playback report format.
Change-Id: I8b943f8cd914acc6c9ee81a71f0efbecece7263e
2011-02-17 15:51:56 -08:00
Yu Shan Emily Lau
ce6ff2c2e6 Update the summary output format which match the PM data posting.
Change-Id: I3e3f7313020da6d0d219acd90ac9edc8a4d0bce4
2011-02-17 12:10:17 -08:00
Yu Shan Emily Lau
85305f04d5 Change the media player stress test to repor the total number of failure and the total number of info.
Register the surface callback in the test application bug# 2909064

Change-Id: I3420b5bc81e276b50f612c126ed5fc1f4f16c08c
2011-02-16 12:24:34 -08:00
Basavapatna Dattaguru
0554f32afd VideoEditor:IssueID:3396697: Added Preview Test code
This has dependency on Ide5ee82b24806a52b4e612db4bc3c34f75e4465a
Removed trailing space in xml file
Removed dependency on test cases other than Preview & API

Change-Id: I835c0ca17d6ff15819407eb930cca8a08b095287
2011-02-14 20:59:51 -08:00
Basavapatna Dattaguru
c0171d3e7b VideoEditor: IssueID:3396697:Added TN,MP,Exp,API test codes
Updated with review comments: code cleaning in MP.

Change-Id: Ide5ee82b24806a52b4e612db4bc3c34f75e4465a
2011-02-14 18:00:57 -08:00
Basavapatna Dattaguru
86e9e9be1e Video Editor CTS Test Code: annotation suppress
Fix for Issue: ID:3396697
Updated with review comments

Change-Id: Ie20e60598f046b23ed49b2533e9d500607a23c17
2011-02-11 13:30:07 -08:00
Yu Shan Emily Lau
5d386a1ae2 Fix the build.
Change-Id: Ie02c5086c1dc8c4ef1c52c6ae43b018a48a18bdd
2011-02-07 21:18:00 -08:00
Yu Shan Emily Lau
a58389bdc1 Remove the old media player stress test.
Add the new playback stress that which caputred the total number of crashes, frame drops from a list of video which
side-loaded to the device.

Change-Id: I41d54b5286da0aecb52a37feec176d8ae5456d9e
2011-02-07 18:59:40 -08:00
Basavapatna Dattaguru
90982936a0 am 89378fd1: Merge "Revert "Video editor CTS: Framework modifications"" into honeycomb
* commit '89378fd1666cd589599a0c5a7d0c71fa2f8159a5':
  Revert "Video editor CTS: Framework modifications"
2011-01-26 22:52:38 -08:00
Basavapatna Dattaguru
141a2adb25 am 3b728ca7: Merge "Revert "Fixes Issue ID: 3396697"" into honeycomb
* commit '3b728ca70a4fe6760b682589505d76848c47d765':
  Revert "Fixes Issue ID: 3396697"
2011-01-26 22:52:31 -08:00
Basavapatna Dattaguru
3b728ca70a Merge "Revert "Fixes Issue ID: 3396697"" into honeycomb 2011-01-26 22:50:50 -08:00
Basavapatna Dattaguru
d36b1f0739 Revert "Video editor CTS: Framework modifications"
This reverts commit eb6d6ecf4ba7a3965ce6ab178dce48eb9416bfc7.
2011-01-26 22:38:47 -08:00