42969 Commits

Author SHA1 Message Date
Joe Onorato
a4a5ec5e74 am 1aadb210: Merge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb
* commit '1aadb2108d7614d9d1ff61b41c6c31cb8d211ab9':
  Expose the window flags for lights out mode.
  Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its own.
  Make FLAG_FULLSCREEN not go into lights out mode anymore.
2011-01-26 11:48:48 -08:00
Andreas Huber
c397566492 am e328d1c0: am a9f27fa6: Merge "Protect notification callback parameters with a mutex." into honeycomb
* commit 'e328d1c0bea62f4dc28210dbcab0da40f4449bf2':
  Protect notification callback parameters with a mutex.
2011-01-26 11:48:12 -08:00
Andreas Huber
dca5cb3204 am 38a1714b: am 7765c65d: Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb
* commit '38a1714bf79821dad296eeddfda1b6a7ce93ebbd':
  Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.
2011-01-26 11:48:07 -08:00
Andreas Huber
36fc650bd8 am 807398e7: am d030359f: Merge "Instead of not feeding the AudioTrack any data after EOS, play silence instead." into honeycomb
* commit '807398e7f0718aaa9e8f53c556d0707c083819cf':
  Instead of not feeding the AudioTrack any data after EOS, play silence instead.
2011-01-26 11:48:01 -08:00
Joe Onorato
1aadb2108d Merge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb
* changes:
  Expose the window flags for lights out mode.
  Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its own.
  Make FLAG_FULLSCREEN not go into lights out mode anymore.
2011-01-26 11:46:58 -08:00
Jaikumar Ganesh
0706fed520 Fix some unmatched javadoc tags.
Bug: 3392175
Change-Id: I84aa86c07060bc4ba399fd5c8f7cda162b432031
2011-01-26 11:46:56 -08:00
Andreas Huber
e328d1c0be am a9f27fa6: Merge "Protect notification callback parameters with a mutex." into honeycomb
* commit 'a9f27fa631ab21d52c75842ccaacc1cbcd75fca0':
  Protect notification callback parameters with a mutex.
2011-01-26 11:44:17 -08:00
Andreas Huber
38a1714bf7 am 7765c65d: Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb
* commit '7765c65dbe1ba8f2229f2fec5a83ba2d1da79733':
  Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.
2011-01-26 11:44:11 -08:00
Andreas Huber
807398e7f0 am d030359f: Merge "Instead of not feeding the AudioTrack any data after EOS, play silence instead." into honeycomb
* commit 'd030359ff10a031c762d4f229d9c1bdfd366cb50':
  Instead of not feeding the AudioTrack any data after EOS, play silence instead.
2011-01-26 11:43:50 -08:00
Kenny Root
bd549fe0bb am 7dbf0696: resolved conflicts for merge of 2c1d0967 to honeycomb-plus-aosp
* commit '7dbf0696ef37097f2bcec058f876f7f4ba63d357':
  Make ObbActionListener a on-way call
2011-01-26 11:43:31 -08:00
Dharmaray Kundargi
9c077e44c0 Overlay java files Issue 3370836
Change-Id: If062ad12dc2f5faf58936436527234ce80dffad9
2011-01-26 11:35:29 -08:00
Andreas Huber
a9f27fa631 Merge "Protect notification callback parameters with a mutex." into honeycomb 2011-01-26 11:28:01 -08:00
Andreas Huber
7765c65dbe Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb 2011-01-26 11:24:13 -08:00
Andreas Huber
2ffbb18053 Protect notification callback parameters with a mutex.
This avoids the race condition where notifications are dispatched to a NULL receiver
after notifications have been disabled.

Change-Id: I6d351ffbee97616e2c35559c132a6c5e6a66948a
related-to-bug: 3394139
2011-01-26 11:20:42 -08:00
Jean-Michel Trivi
2ba92c71b5 do not merge bug 3370834 Cherrypick from master
Cherripick from master CL 79833, 79417, 78864, 80332, 87500

Add new audio mode and recording source for audio communications
 other than telelphony.

The audio mode MODE_IN_CALL signals the system the device a phone
 call is currently underway. There was no way for audio video
 chat or VoIP applications to signal a call is underway, but not
 using the telephony resources. This change introduces a new mode
 to address this. Changes in other parts of the system (java
 and native) are required to take this new mode into account.
The generic AudioPolicyManager is updated to not use its phone
 state variable directly, but to use two new convenience methods,
 isInCall() and isStateInCall(int) instead.

Add a recording source used to designate a recording stream for
voice communications such as VoIP.

Update the platform-independent audio policy manager to pass the
 nature of the audio recording source to the audio policy client
 interface through the AudioPolicyClientInterface::setParameters()
 method.

SIP calls should set the audio mode to MODE_IN_COMMUNICATION,
 Audio mode MODE_IN_CALL is reserved for telephony.

SIP: Enable built-in echo canceler if available.
1. Always initialize AudioRecord with VOICE_COMMUNICATION.
2. If echo canceler is available, disable our echo suppressor.

Note that this CL is intentionally not correcting the
 getAudioSourceMax() return value in MediaRecorder.java as the
 new source is hidden here.

Change-Id: Ie68cd03c50553101aa2ad838fe9459b2cf151bc8
2011-01-26 11:20:01 -08:00
Jason Sams
ca11318ac0 DO NOT MERGE
Remove the rs_quaternion functions until mr1

Change-Id: I1c48624a308ce6f5c4a13215170f34c810b4cf00
2011-01-26 11:16:23 -08:00
JP Abgrall
1436341b4f Merge "dumpstate: improved collection, better error handling." 2011-01-26 11:13:28 -08:00
Andreas Huber
d030359ff1 Merge "Instead of not feeding the AudioTrack any data after EOS, play silence instead." into honeycomb 2011-01-26 11:11:50 -08:00
Kenny Root
7dbf0696ef resolved conflicts for merge of 2c1d0967 to honeycomb-plus-aosp
Change-Id: Ie9b0166b0260ee7eea7bdd275e64f2714024bf1c
2011-01-26 11:10:36 -08:00
Kenny Root
2c1d0967ba Merge "Make ObbActionListener a on-way call" into honeycomb 2011-01-26 11:01:14 -08:00
Romain Guy
f5240cddbd am 7c55da5d: am f5b27e35: Merge "Fix NPE in YouTube. Bug #3385339" into honeycomb
* commit '7c55da5db50400400efbcd53a5cdc1a79c04cc63':
  Fix NPE in YouTube. Bug #3385339
2011-01-26 10:59:11 -08:00
JP Abgrall
8935bcacd2 dumpstate: improved collection, better error handling.
- Some of the commands used by dumpstate, which drops root, will not collect
anything during a bug report. E.g. df fails on /mnt/secure/asec.
- force flushing of error message
  . without the flush (using gingerbread and not master)
     *** netcfg: Exit code 255
  . with the flush()
     *** exec(netcfg): Permission denied
     *** netcfg: Exit code 255
- add a check before using WEXITSTATUS()

Change-Id: Ia3924b9cc8a12cecab894cbf7f2c79614a358d34
Signed-off-by: JP Abgrall <jpa@google.com>
2011-01-26 10:58:29 -08:00
Romain Guy
7c55da5db5 am f5b27e35: Merge "Fix NPE in YouTube. Bug #3385339" into honeycomb
* commit 'f5b27e35c1e0e46ffd882606d0783875e1a1ff7b':
  Fix NPE in YouTube. Bug #3385339
2011-01-26 10:56:08 -08:00
Romain Guy
d30b36d3cd Fix NPE in YouTube.
Bug #3385339

Change-Id: Id7b307994e343cdb808161a7fae590536f04252e
2011-01-26 10:54:43 -08:00
Romain Guy
f5b27e35c1 Merge "Fix NPE in YouTube. Bug #3385339" into honeycomb 2011-01-26 10:54:23 -08:00
Jeff Brown
dc9988feec am f0ea11d7: am 8b557459: Merge "Fix emulator touchscreen." into honeycomb
* commit 'f0ea11d7128f3e654d91683ea6efe59ac714b9ef':
  Fix emulator touchscreen.
2011-01-26 10:50:30 -08:00
Jeff Brown
f0ea11d712 am 8b557459: Merge "Fix emulator touchscreen." into honeycomb
* commit '8b557459da3e1ac27d8aaa527be2eb795e61d926':
  Fix emulator touchscreen.
2011-01-26 10:48:22 -08:00
Joe Onorato
14782f705e Expose the window flags for lights out mode.
I hadn't wanted to do this, but it makes porting the FLAG_FULLSCREEN
stuff over to this simpler because you don't have to go find a view
to proxy through.

This change also clears the flag everywhere when the window manager
notifies the views that the change has come back.

Change-Id: I48392c7550925bcca50c5bb9e1f263e99de6c7bc
2011-01-26 10:47:39 -08:00
Jeff Brown
8b557459da Merge "Fix emulator touchscreen." into honeycomb 2011-01-26 10:46:29 -08:00
Shih-wei Liao
ed469907c4 am 969b3ae4: am 39740e1e: Merge "Fix b/2943524: On-device linking the rs_cl." into honeycomb
* commit '969b3ae440d9bef1a7a0f3c642ac9c81b37e2c32':
  Fix b/2943524: On-device linking the rs_cl.
2011-01-26 10:42:00 -08:00
Andreas Huber
4aeec2da39 Instead of not feeding the AudioTrack any data after EOS, play silence instead.
Change-Id: I9aa797cf5bb58eefed51d732f4e5d09450551158
related-to-bug: 3347428
2011-01-26 10:41:38 -08:00
Jeff Brown
77ef8b5061 Fix emulator touchscreen.
Bug: 3393763
Change-Id: Ief16640344d61d283aac08ef4b53e85d7ee3c73f
2011-01-26 10:40:10 -08:00
Shih-wei Liao
969b3ae440 am 39740e1e: Merge "Fix b/2943524: On-device linking the rs_cl." into honeycomb
* commit '39740e1e96baa9db399ef2bdc236974b3ae049af':
  Fix b/2943524: On-device linking the rs_cl.
2011-01-26 10:39:46 -08:00
Shih-wei Liao
39740e1e96 Merge "Fix b/2943524: On-device linking the rs_cl." into honeycomb 2011-01-26 10:37:08 -08:00
Joe Onorato
55bf3809b9 Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its
own.

Bug: 3241144
Change-Id: Id09437a4f32f1d64daa7ae65e41c99897b5964d7
2011-01-26 10:32:18 -08:00
Joe Onorato
644f9c3ad9 Make FLAG_FULLSCREEN not go into lights out mode anymore.
Change-Id: I4a0aa8789f537717f82df4efb6a35108e1ab1784
2011-01-26 10:32:18 -08:00
Wink Saville
3947716e69 am c3a2747f: am d8b525c3: Merge "Increase the default timeout from 30 to 60 seconds." into honeycomb
* commit 'c3a2747fee9f96fdcd075f582b5b4892cbecf7df':
  Increase the default timeout from 30 to 60 seconds.
2011-01-26 10:19:00 -08:00
Wink Saville
c3a2747fee am d8b525c3: Merge "Increase the default timeout from 30 to 60 seconds." into honeycomb
* commit 'd8b525c398aeda1f583ed4ed90450e0a0fc9b6ef':
  Increase the default timeout from 30 to 60 seconds.
2011-01-26 10:16:43 -08:00
Andreas Huber
231640950e Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.
Change-Id: Id53e7831761619f72ddc61f63571230011c93f16
related-to-bug: 3362836
2011-01-26 10:14:38 -08:00
Wink Saville
d8b525c398 Merge "Increase the default timeout from 30 to 60 seconds." into honeycomb 2011-01-26 10:14:20 -08:00
Kenny Root
29a208e12c am ff271a22: am 2ec4af59: am 138757db: Merge "Make OBB results a one-way call" into gingerbread
* commit 'ff271a2288f375fc7a5854ac0d1f7c969d91996d':
  Make OBB results a one-way call
2011-01-26 10:13:54 -08:00
Kenny Root
ff271a2288 am 2ec4af59: am 138757db: Merge "Make OBB results a one-way call" into gingerbread
* commit '2ec4af59209ab3a7088a001bbbcb10ef0b846564':
  Make OBB results a one-way call
2011-01-26 10:11:21 -08:00
Leon Scroggins
2fbb623afa am 666158e0: am 8b2d4825: Merge "Move last touch point when moving the cursor node." into honeycomb
* commit '666158e09b694a6883a9d8207fe33de4fe4eca3e':
  Move last touch point when moving the cursor node.
2011-01-26 10:09:47 -08:00
Leon Scroggins
666158e09b am 8b2d4825: Merge "Move last touch point when moving the cursor node." into honeycomb
* commit '8b2d4825e1d7ca22aab9ae9fdfa1ecd34f154e22':
  Move last touch point when moving the cursor node.
2011-01-26 10:08:17 -08:00
Leon Scroggins
8b2d4825e1 Merge "Move last touch point when moving the cursor node." into honeycomb 2011-01-26 10:06:42 -08:00
Daniel Sandler
970e94cdd1 am f96e0eb4: am 66a9f48b: Merge "Wrong clock font in system bar. Whoops." into honeycomb
* commit 'f96e0eb49f7ed4f49a1a9ea3e256f1280851207e':
  Wrong clock font in system bar. Whoops.
2011-01-26 09:40:47 -08:00
Daniel Sandler
f96e0eb49f am 66a9f48b: Merge "Wrong clock font in system bar. Whoops." into honeycomb
* commit '66a9f48bbf9c2dfc25c1e520fcc05e3d5c2abe84':
  Wrong clock font in system bar. Whoops.
2011-01-26 09:37:34 -08:00
Daniel Sandler
66a9f48bbf Merge "Wrong clock font in system bar. Whoops." into honeycomb 2011-01-26 09:35:03 -08:00
Kenny Root
2ec4af5920 am 138757db: Merge "Make OBB results a one-way call" into gingerbread
* commit '138757db4f19cb626ef5c1d371d4fca004304a08':
  Make OBB results a one-way call
2011-01-26 09:25:43 -08:00
Jaikumar Ganesh
4ff8f51ef2 am b774f261: am ff3b3ade: Merge "Revert "Temporary Changes for certification of SCO."" into honeycomb
* commit 'b774f261ea63c44ec70b5d337b19368269800a06':
  Revert "Temporary Changes for certification of SCO."
2011-01-26 09:21:53 -08:00