Commit Graph

23 Commits

Author SHA1 Message Date
Kilik Kuo
0fc3783ca7 Bug 942032 - Add singleton pattern to AudioManager and avoid accessing it from content processes. r=mchen 2014-05-28 14:19:22 +08:00
Jose Antonio Olivera Ortega
b1de933084 Bug 1006380 - Set phone in PHONE_STATE_IN_COMMUNICATION audio state when telephony audio channel is in use. r=mchen 2014-05-29 09:20:42 +02:00
Neil Rashbrook
936188506a Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Birunthan Mohanathas
0d3a767ee1 Bug 798033 - Remove 'using namespace' from dom/ headers. r=echou 2013-12-08 21:53:11 -05:00
Shawn Ku
c4af1a5c1f Bug 946062 - Disable nsIRadioInterfaceLayer in AudioManager.cpp for fixing flatfish build break. r=mchen
--HG--
extra : rebase_source : 75726539cf0f16bebaf6e83ad23452010d6f545f
2013-12-04 14:57:40 +08:00
Shawn Ku
0154de919d Bug 931722 - Part 2: Extra mute request to RIL at AudioManager. r=mchen 2013-11-27 15:46:27 +08:00
Star Cheng
cd24dc28ae Bug 937434: Because Android API-AudioSystem::setStreamVolumeIndex() is different when Android Version more than 16, we have to provide A2DP device information to let the volume of the A2DP devices can be changed r=mchen 2013-11-22 15:20:25 +08:00
Marco Chen
4bbb968982 Bug 904531 - AudioManager should actively ask settings DB for volume initialization. r=mwu 2013-08-23 11:29:11 +08:00
Randy Lin
6712768b30 Bug 842934 - [Bluetooth]A2DP sound disappear after SCO disconnected (call ended) and switching patch to A2DP. r=mchen 2013-07-30 14:58:58 +08:00
Marco Chen
cb96a38404 Bug 876334 - Gecko should use AudioChannelType to control volume not stream types. r=mwu, r=baku 2013-07-18 13:22:36 +08:00
Randy Lin
8793d43e00 Bug 868932 - All channel volume is not updated. r=mwu 2013-05-16 12:00:02 +08:00
rlin@mozilla.com
3d5618e60d Bug 868960 - [FMRadio] FM Radio volume is not updated by headset ejecting. r=mwu 2013-05-07 15:31:13 +08:00
Marco Chen
fdd19173a2 Bug 819858 - Add AudioChannelAgent to AudioManager for telephony joining AudioChannelService. r=baku, a=blocking-basecamp 2012-12-13 09:45:10 +08:00
Randy Lin
7574b7cb26 Bug 815452 - Don't unmute FM audio if the user increases the volume when FM audio is muted for channel policy reasons. r=sicking 2012-12-11 18:26:01 +08:00
Gina Yeh
d2213ee525 Bug 794903 - Final version: BluetoothScoManager implementation, r=qdot 2012-09-29 17:39:05 +08:00
Marco Chen
371f9b4e53 Bug 791329 - Let AudioManager set correct device (headset or headphone) into setDeviceConnectionState according to event from GonkSwitch.cpp. r=mwu 2012-09-25 19:03:50 +08:00
Steven Lee
d974bfb778 Bug 749053 - FM radio support: AudioManager implementation. r=jlebar,mwu 2012-09-19 13:51:35 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham
1c9fc1e594 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Steven Lee
d7038612fa Bug 736939 - AudioManager implementation. r=cjones, a=b2g-only 2012-04-22 14:14:36 -04:00
Kyle Machulis
b604262aa4 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 2: Change mozilla::dom::telephony to mozilla::dom::gonk for dom/system/gonk objects; r=bent 2012-03-14 15:43:26 -07:00
Kyle Machulis
5a8150c5e0 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 1: Change dom/system/b2g to dom/system/gonk; r=philikon
--HG--
rename : dom/system/b2g/AudioManager.cpp => dom/system/gonk/AudioManager.cpp
rename : dom/system/b2g/AudioManager.h => dom/system/gonk/AudioManager.h
rename : dom/system/b2g/GonkGPSGeolocationProvider.cpp => dom/system/gonk/GonkGPSGeolocationProvider.cpp
rename : dom/system/b2g/GonkGPSGeolocationProvider.h => dom/system/gonk/GonkGPSGeolocationProvider.h
rename : dom/system/b2g/Makefile.in => dom/system/gonk/Makefile.in
rename : dom/system/b2g/RadioInterfaceLayer.js => dom/system/gonk/RadioInterfaceLayer.js
rename : dom/system/b2g/RadioInterfaceLayer.manifest => dom/system/gonk/RadioInterfaceLayer.manifest
rename : dom/system/b2g/SystemWorkerManager.cpp => dom/system/gonk/SystemWorkerManager.cpp
rename : dom/system/b2g/SystemWorkerManager.h => dom/system/gonk/SystemWorkerManager.h
rename : dom/system/b2g/net_worker.js => dom/system/gonk/net_worker.js
rename : dom/system/b2g/nsIAudioManager.idl => dom/system/gonk/nsIAudioManager.idl
rename : dom/system/b2g/nsIRadioInterfaceLayer.idl => dom/system/gonk/nsIRadioInterfaceLayer.idl
rename : dom/system/b2g/nsIWorkerHolder.idl => dom/system/gonk/nsIWorkerHolder.idl
rename : dom/system/b2g/nsRadioInterfaceLayer.h => dom/system/gonk/nsRadioInterfaceLayer.h
rename : dom/system/b2g/ril_consts.js => dom/system/gonk/ril_consts.js
rename : dom/system/b2g/ril_worker.js => dom/system/gonk/ril_worker.js
rename : dom/system/b2g/systemlibs.js => dom/system/gonk/systemlibs.js
rename : dom/system/b2g/tests/header_helpers.js => dom/system/gonk/tests/header_helpers.js
rename : dom/system/b2g/tests/test_ril_worker_buf.js => dom/system/gonk/tests/test_ril_worker_buf.js
rename : dom/system/b2g/tests/test_ril_worker_sms.js => dom/system/gonk/tests/test_ril_worker_sms.js
rename : dom/system/b2g/tests/xpcshell.ini => dom/system/gonk/tests/xpcshell.ini
2012-03-14 15:42:31 -07:00