James Dong
aa773543c4
Merge "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."
2010-03-17 15:51:48 -07:00
James Dong
454f69c84c
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
2010-03-17 15:40:15 -07:00
Yu Shan Emily Lau
1cffa446ee
Inserted a 1.5s wait time between the camera release and new camrea.
...
Change-Id: I7540064a6e5229be1ef0fe266cd3050ae36b33a4
2010-03-16 18:38:26 -07:00
Yu Shan Emily Lau
adc238a97c
Fix the bug that it should write the zero diff to the output file when the actual diff is negative.
...
Change-Id: I5d7c12b0ad9c0286658067cacb7f385626a3107f
2010-03-12 12:04:30 -08:00
Yu Shan Emily Lau
d3d9b85ef4
Merge "Update the new activity name."
2010-03-12 11:10:56 -08:00
Kenny Root
15a4d2ffd0
Add correct copyright headers to multiple files
...
Format for the list of changes shows the origin commit reference followed
by the file name.
33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b14 core/java/android/accounts/AuthenticatorDescription.java
5333288354 core/java/android/app/UiModeManager.java
93e7e22ec9 core/java/android/app/FullBackupAgent.java
328c0e7986 core/java/android/content/CursorEntityIterator.java
307da1a46b core/java/android/content/SyncQueue.java
307da1a46b core/java/android/content/SyncOperation.java
eb034652c2 core/java/android/content/pm/LabeledIntent.java
49237345d8 core/java/android/content/pm/FeatureInfo.java
a2b6c3775e core/java/android/content/pm/PackageInfoLite.java
3ecd5f4375 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2 core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e core/java/com/android/internal/view/BaseIWindow.java
e540833fdf core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab90388 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab8 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e59 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b1 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b1 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b1 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77 opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77 opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77 opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f1 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f1 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f1 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d8 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
Copyright header moved to top in following file:
core/tests/coretests/src/android/widget/ListViewTest.java
Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
2010-03-11 18:22:10 -08:00
Yu Shan Emily Lau
806cdd82f0
Update the new activity name.
...
Change-Id: I94d986a5a7f3f8ebf0b7491adf3887b21f1de1eb
2010-03-11 17:33:08 -08:00
Yu Shan Emily Lau
a6f9e38b7f
Modified the expected metadata result as the behavior of Stagefright.
...
Change-Id: Id86e262f0d3375eeda68d5df04e4ebd2f21ffc4f
2010-03-10 19:03:56 -08:00
James Dong
0fc6bc4cac
Clean up MediaRecorder for public Java SDK
...
- update comments and fix a check in setAudioChannels()
bug - 2362412
2010-03-03 17:01:32 -08:00
Yu Shan Emily Lau
30a1390819
Added the Camera Preveiw memory test which can help to isolate the memory leak issue.
2010-03-02 15:42:31 -08:00
James Dong
1b7babd2cc
Use Java API from xml configuration in the test application
2010-02-22 11:32:02 -08:00
Wu-cheng Li
6201440298
Increase the sleep time to fix testTakePicture.
...
One of the build needs 5 seconds for snapshot in low light. I don't want to
increase the sleep time, but this is what we have now.
bug:2141755
2010-02-22 15:08:16 +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
Romain Guy
980a938c1c
Deprecate fill_parent and introduce match_parent.
...
Bug: #2361749 .
2010-01-08 15:11: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
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
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
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
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
13b93713f3
Fixed the H263 video duation which caused the incorrect video validation.
2009-10-26 18:04:11 -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
55a6ac8c54
Fixed the long recorder time and reduce the number of loops.
2009-09-29 21:38:39 -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
34831c9330
Removed the device type checking
2009-09-25 16:01:20 -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
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
17d7ea4947
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 16:27:24 -07:00
Yu Shan Emily Lau
9d7b2fa808
Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore.
2009-09-18 14:58:56 -07:00
Yu Shan Emily Lau
bc95d663ad
Modified the validation to use singal media player instance.
2009-09-17 23:43:18 -07:00
Android (Google) Code Review
56af9e9f9c
Merge change 25452 into eclair
...
* changes:
Modified the new stream video url.
2009-09-18 02:20:43 -04:00
Yu Shan Emily Lau
208ad8e413
Modified the new stream video url.
2009-09-16 23:16:44 -07:00
Yu Shan Emily Lau
20a6b955fe
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
...
Added the error callback to handle the media server crash.
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
2009-09-15 21:42:07 -07:00
Yu Shan Emily Lau
610e3595d2
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
...
Fixed the meta data duration
2009-09-15 20:40:07 -07:00
Yu Shan Emily Lau
1619367ab8
new file: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
...
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaRecorderTest.java
Added a new test suite which parse the system media properties and group in into the high quality and low quality recording tests.
new file: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaRecorderTest.java
2009-09-14 16:27:34 -07:00
Yu Shan Emily Lau
147a0c270b
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
...
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
Fix the m4a1 duration and the also fix the random_seek time error in the stress test.
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
2009-09-11 16:37:42 -07:00
Yu Shan Emily Lau
bde54df020
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
...
Fixed the incorrect expected druation
2009-09-08 18:55:01 -07:00
Android (Google) Code Review
52d6245ba2
Merge change 22995 into eclair
...
* changes:
modified: res/layout/surface_view.xml modified: src/com/android/mediaframeworktest/MediaFrameworkTest.java modified: src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java Fixed the async mp3 playback test case and also switch the base activity to full screen.
2009-08-31 12:07:07 -07:00