113 Commits

Author SHA1 Message Date
Android (Google) Code Review
9d9f28b828 am ba2eba4: Merge change 539 into donut
Merge commit 'ba2eba40fe24eca6af1563181ce07e4e006a4f5d'

* commit 'ba2eba40fe24eca6af1563181ce07e4e006a4f5d':
  Modify and turn on the test case for video recording in portrait mode.
2009-04-29 13:35:24 -07:00
Yu Shan Emily Lau
2071043512 Modify and turn on the test case for video recording in portrait mode. 2009-04-23 21:46:55 -07:00
Jean-Baptiste Queru
74008f608a Merge donut into master 2009-04-22 17:12:34 -07:00
Marco Nelissen
9f0b1a4850 Do case-insensitive matching when determining whether something is music, an alarm sound, notification sound, etc. 2009-04-22 10:34:12 -07:00
Eric Laurent
ef02827d4c Fix issue 1745312: Various cleanups in media framework
AudioTrack, AudioRecord:
  - remove useless mAudioFlinger member of AudioTrack and AudioRecord.
  - signal cblk.cv condition in stop() method to speed up stop completion.
  - extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily

AudioFlinger:
  - remove some warnings in AudioFlinger.cpp.
  - remove function AudioFlinger::MixerThread::removetrack_l()  as its content is never executed.
  - remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute().
  - Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99.

AudioSystem.java:
  - correct typo in comment

IAudioflinger, IAudioFlingerClient:
  - make AudioFlinger binder interfaces used for callbacks ONEWAY.

AudioHardwareInterface:
  - correct routeStrings[] table in AudioHardwareInteface.cpp
2009-04-21 07:56:33 -07:00
Jean-Michel Trivi
486d95f714 Merge branch 'readonly-p4-master' 2009-04-20 16:33:36 -07:00
Jean-Michel Trivi
f3af6a0267 AI 147036: am: CL 147035 am: CL 147032 Finalize JetPlayer javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147036
2009-04-20 16:32:18 -07:00
Jean-Michel Trivi
6fb5a1d0ee AI 147035: am: CL 147032 Finalize JetPlayer javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 147035
2009-04-20 16:30:18 -07:00
Jean-Michel Trivi
e796cfaef8 Merge branch 'readonly-p4-master' 2009-04-20 10:48:16 -07:00
Jean-Michel Trivi
954bbe9fa3 AI 146941: am: CL 146938 am: CL 146937 Finalize AudioRecord javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146941
2009-04-20 10:46:26 -07:00
Jean-Michel Trivi
ea63a41d26 AI 146938: am: CL 146937 Finalize AudioRecord javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146938
2009-04-20 10:45:23 -07:00
Dave Sparks
094c065cbb Merge branch 'readonly-p4-master' 2009-04-18 23:02:23 -07:00
Dave Sparks
1bc5c2645d AI 146833: am: CL 146755 am: CL 146754 Fix some problems in the SoundPool docs and add additional text.
Original author: davidsparks
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146833
2009-04-18 23:01:09 -07:00
Jean-Michel Trivi
d4fd29e02c Merge branch 'readonly-p4-master' 2009-04-18 22:59:37 -07:00
Jean-Michel Trivi
3946a2b75b AI 146832: am: CL 146752 am: CL 146751 Finalize AudioTrack javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146832
2009-04-18 22:58:18 -07:00
Dave Sparks
89e2782d71 Merge branch 'readonly-p4-master' 2009-04-18 22:26:57 -07:00
Dave Sparks
32346a89c3 AI 146671: am: CL 146668 am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4 container format
Original author: davidsparks
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146671
2009-04-18 22:25:38 -07:00
Dave Sparks
ec9cacad76 Merge branch 'readonly-p4-master' 2009-04-18 22:21:29 -07:00
Dave Sparks
40a9d16087 AI 146658: am: CL 146655 am: CL 146654 Add java docs for SoundPool
Original author: davidsparks
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146658
2009-04-18 22:20:18 -07:00
Dave Sparks
6cb9900e6f AI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add additional text.
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146755
2009-04-17 11:48:25 -07:00
Jean-Michel Trivi
ff14c25339 AI 146752: am: CL 146751 Finalize AudioTrack javadoc.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146752
2009-04-17 11:45:30 -07:00
Dave Sparks
2170312ab0 AI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4 container format
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146668
2009-04-16 19:54:16 -07:00
Dave Sparks
cef302d095 AI 146655: am: CL 146654 Add java docs for SoundPool
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146655
2009-04-16 17:50:27 -07:00
Android (Google) Code Review
894fa6cc14 Merge change 79
* changes:
  Squashed commit of the following:
2009-04-14 11:54:14 -07:00
Jianhong Jiang
3ca47d101d Squashed commit of the following:
commit b6cf47306b642f7cf7e1b55cce448e0deff38f36
Author: Jianhong Jiang <jianhong@google.com>
Date:   Mon Apr 13 11:07:01 2009 -0700

    Change tabs into 4 spaces.

commit 93c5890dbcc68e37aa0ef039b4a203acddca8968
Author: Jianhong Jiang <jianhong@google.com>
Date:   Fri Apr 10 14:15:23 2009 -0700

    OpenCore 2.02 related changes.
2009-04-13 19:01:51 -07:00
Dianne Hackborn
75534fbe24 Merge branch 'readonly-p4-master' 2009-04-13 16:13:37 -07:00
Dianne Hackborn
935ae463d4 AI 145994: Integrate #145778 from Donut.
Automated import of CL 145994
2009-04-13 16:11:55 -07:00
Patrick Scott
9536d0b413 Merge branch 'readonly-p4-master' 2009-04-13 09:59:09 -07:00
Patrick Scott
3156bb00dd AI 145870: Add a build property for the default alarm alert. Update the various
framework classes to deal with the new property. Also update various
  documentation that mentions the default ringtones.
  Use the build property as the default alert when the user has not chosen
  an alert for an alarm. This is also used if the alarm alert is null when
  the alarm fires.
  BUG=1723684

Automated import of CL 145870
2009-04-13 09:57:38 -07:00
Andy Stadler
f8a7ceaef2 AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
2009-04-10 16:24:47 -07:00
Jean-Baptiste Queru
bb038d1604 Revert "Changes required to accommodate OpenCORE 2.0"
This reverts commit ea780b689f8ee3dff355deab2434bbd4ae04d208.

Conflicts:

	media/libmediaplayerservice/Android.mk
2009-04-08 14:40:48 -07:00
Jean-Michel Trivi
73cf2a11eb Merge branch 'readonly-p4-master' 2009-04-02 23:27:19 -07:00
Jean-Michel Trivi
e398e3bf22 AI 144409: am: CL 144327 am: CL 144326 Start the thread that initializes the camera for the test under lock to make sure the monitor is notified after it has started waiting.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144409
2009-04-02 23:26:11 -07:00
Xia Wang
e7e370369d Merge branch 'readonly-p4-master' 2009-04-02 23:22:15 -07:00
Xia Wang
74e77fba25 AI 144407: am: CL 144314 am: CL 144313 Add two test cases for AudioTrack.java
getMinBufferSize() returns ERROR_BAD_VALUE if
  sampleRateInHz < 4000 or > 48000.
  Original author: xiaw
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144407
2009-04-02 23:21:07 -07:00
Jean-Michel Trivi
655434763f AI 144327: am: CL 144326 Start the thread that initializes the camera for the test under lock to make sure the monitor is notified after it has started waiting.
Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 144327
2009-04-02 16:14:14 -07:00
Xia Wang
1b01f87b39 AI 144314: am: CL 144313 Add two test cases for AudioTrack.java
getMinBufferSize() returns ERROR_BAD_VALUE if
  sampleRateInHz < 4000 or > 48000.
  Original author: xiaw
  Merged from: //branches/cupcake/...

Automated import of CL 144314
2009-04-02 15:23:44 -07:00
Eric Laurent
070410ec7f Merge branch 'readonly-p4-master' 2009-04-02 09:33:55 -07:00
Eric Laurent
3547cc0124 AI 144097: am: CL 144054 am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
  The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
  Original author: elaurent
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 144097
2009-04-02 09:32:43 -07:00
Eric Laurent
d7f347bdc8 AI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
  The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
  Original author: elaurent
  Merged from: //branches/cupcake/...

Automated import of CL 144054
2009-04-01 12:55:13 -07:00
The Android Open Source Project
caee1703fe Merge commit 'goog/readonly-p4-master' 2009-03-31 21:34:25 -07:00
Yu Shan Emily Lau
aa7d8c88d3 AI 143906: am: CL 143905 am: CL 143904 Fix the failure in the media recorder large test by adding the Camera permission.
Original author: yslau
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143906
2009-03-31 18:16:08 -07:00
Yu Shan Emily Lau
b9f15d7b3c AI 143905: am: CL 143904 Fix the failure in the media recorder large test by adding the Camera permission.
Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 143905
2009-03-31 18:15:52 -07:00
The Android Open Source Project
762d30a313 Merge branch 'open_source' into google_internal
Conflicts:
	core/java/android/widget/TwoLineListItem.java
	core/res/res/values/public.xml
	preloaded-classes
2009-03-29 08:55:27 -07:00
Doug Kwan
d94755bf33 AI 143430: Remove broken and unused code.
This CL removes RoManager::getDevicePrivateKey() and its declaration.
  The method is not used anywhere and it contains bad code that returns
  reference to a local object.
  This is tested by building the master tree and running the framework
  testsuite.  No error was found in testsuite.
  BUG=1737538

Automated import of CL 143430
2009-03-28 21:53:49 -07:00
Dave Sparks
b8c055e7cb AI 143267: am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 143267
2009-03-27 20:28:22 -07:00
Dave Sparks
17612fcdcb AI 143396: am: CL 143267 am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
Original author: davidsparks
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143396
2009-03-27 19:56:11 -07:00
Mike Lockwood
64a5458e76 AI 143360: am: CL 143209 am: CL 143001 Remove sdutils from user build to save 12K on /system partition.
BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143360
2009-03-27 19:14:26 -07:00
The Android Open Source Project
b41349409b Merge commit 'goog/cupcake' 2009-03-27 18:48:32 -07:00
Mike Lockwood
3870a95435 AI 143209: am: CL 143001 Remove sdutils from user build to save 12K on /system partition.
BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...

Automated import of CL 143209
2009-03-27 18:11:25 -07:00