Commit Graph

3520 Commits

Author SHA1 Message Date
Mathias Agopian
cba73d3210 fix and extend the filter test a bit 2009-08-11 19:55:31 -07:00
Mathias Agopian
df37b62c62 SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
2009-08-11 16:12:56 -07:00
Android (Google) Code Review
d779f052b4 Merge change 20812
* changes:
  Fix possible exception in default live wallpaper
2009-08-11 14:43:02 -07:00
Android (Google) Code Review
5057318ead Merge change 20788
* changes:
  make private inner classes static
2009-08-11 14:04:32 -07:00
Android (Google) Code Review
52655f6322 Merge change 20775
* changes:
  Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
2009-08-11 14:01:18 -07:00
Android (Google) Code Review
1b3288b726 Merge change 20781
* changes:
  replace 'new String()' with ""
2009-08-11 13:14:16 -07:00
Android (Google) Code Review
15d4c4ecd4 Merge change 20683
* changes:
  Add operator name in network selection.
2009-08-11 12:07:16 -07:00
Android (Google) Code Review
6da2503c44 Merge change 8575
* changes:
  Support INSTALL_DRM permission
2009-08-11 11:31:34 -07:00
Android (Google) Code Review
6a361723ad Merge change 20750
* changes:
  remove unused locals
2009-08-11 10:55:24 -07:00
Android (Google) Code Review
107aeb448b Merge change 20739
* changes:
  Fix issue 2045983 ToneGenerator: fix void statement.
2009-08-11 10:18:07 -07:00
Android (Google) Code Review
d30f8b3392 Merge change 20663
* changes:
  Update getNumberFromIntent() to read from both providers.
2009-08-11 10:11:31 -07:00
Eric Laurent
f5aba82cb7 Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.

The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.

Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
Eric Laurent
9e7b81943b Fix issue 2043314: Recorded audio is choppy.
Fixed cut/paste error causing constant reset of current frame index in input buffer.
2009-08-11 09:07:44 -07:00
Android (Google) Code Review
0ecc6d9232 Merge change 20632
* changes:
  call super.finalize() from WebView
2009-08-11 08:17:43 -07:00
Eric Laurent
454409cb1b resolved conflicts for merge of 8af63bc9 to master 2009-08-11 00:01:01 -07:00
Android (Google) Code Review
544542bbb9 Merge change 20699
* changes:
  enable HW acceleration for the Dim Surface on 8k devices
2009-08-10 21:22:00 -07:00
Mathias Agopian
af0b0f09bb enable HW acceleration for the Dim Surface on 8k devices 2009-08-10 21:13:06 -07:00
Android (Google) Code Review
a60d3c8f1d Merge change 20686
* changes:
  fix the build
2009-08-10 17:46:27 -07:00
Android (Google) Code Review
dfe5d23889 Merge change 20627
* changes:
  Add ro.telephony.disable-call check in dialing.
2009-08-10 17:13:06 -07:00
Android (Google) Code Review
91b8d70cb5 Merge change 20674
* changes:
  Add a new setting for controling how much time to wait before discarding uphill operations
2009-08-10 17:00:20 -07:00
Android (Google) Code Review
706e069c54 Merge change 20677
* changes:
  workaround a bug in the SGX driver that would prevent eglGetConfig to work properly
2009-08-10 16:50:40 -07:00
Mathias Agopian
1d3bcd6e21 workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
Android (Google) Code Review
e55fd71b31 Merge change 20660
* changes:
  add the deleted flag to the Groups table
2009-08-10 16:30:16 -07:00
Android (Google) Code Review
70b38f2176 Merge change 20607
* changes:
  Limit AudioFlinger mixer track sampling rate.
2009-08-10 16:04:29 -07:00
Android (Google) Code Review
f693677737 Merge change 20643
* changes:
  Add calendar_sync_window_days setting to control calendar sync window.
2009-08-10 15:53:46 -07:00
Android (Google) Code Review
494118d09f Merge change 20668
* changes:
  Print restore tokens in hex
2009-08-10 15:44:30 -07:00
Android (Google) Code Review
326fd5b9a8 Merge change 20657
* changes:
  Fix possible NPE when mutating a DrawableContainer
2009-08-10 15:12:04 -07:00
Android (Google) Code Review
f0eecceaf7 Merge change 20654
* changes:
  The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex conform to that.
2009-08-10 15:02:36 -07:00
Android (Google) Code Review
7823b401f1 Merge change 20640
* changes:
  build libRS
2009-08-10 14:06:22 -07:00
Andreas Huber
e186431c33 Expose a variation of the createRenderer API that works on a plain Surface. 2009-08-10 12:58:05 -07:00
Android (Google) Code Review
fc40bc2e35 Merge change 20622
* changes:
  Remove unused member mHeaderValueIndex
2009-08-10 11:28:39 -07:00
Android (Google) Code Review
e1bcd0c343 Merge change 20611
* changes:
  Deprecate/remove now unused socketpair ipc communication in favour of exclusive binder use.
2009-08-10 11:03:56 -07:00
Eric Laurent
878c0e1d68 Limit AudioFlinger mixer track sampling rate.
When changing the audio output stream sampling rate with setParameters() make sure that all tracks have a sampling rate less or equal to 2 times the new output sampling rate.
2009-08-10 08:15:12 -07:00
Android (Google) Code Review
ae07aadd26 Merge change 20095
* changes:
  Fix network order for marshalling in keystore interface.
2009-08-10 03:11:28 -07:00
repo sync
74c332f184 Fix network order for marshalling in keystore interface.
This will fix the endian issue for heterogeneous architectures in keystore marshalling interface.
2009-08-10 16:13:00 +08:00
Android (Google) Code Review
983f1ea3f7 Merge change 20586
* changes:
  Let java put #defines into renderscript
2009-08-09 23:01:04 -07:00
Android (Google) Code Review
56c003ab11 Merge change 20582
* changes:
  Live wallpapers become a little more real.
2009-08-09 20:11:20 -07:00
Android (Google) Code Review
74f96f9bb3 Merge change 9608
* changes:
  Add configurable data-retry.
2009-08-09 16:33:14 -07:00
Android (Google) Code Review
a62ce81c4e Merge change 20578
* changes:
  Better ripples and leaves
2009-08-09 15:21:39 -07:00
Android (Google) Code Review
1af84c92f2 Merge change 20568
* changes:
  Revert "Disable data call in emergency call"
2009-08-09 07:45:40 -07:00
Android (Google) Code Review
4c748eff39 Merge change 20493
* changes:
  unhide postUrl
2009-08-08 10:27:36 -07:00
Eric Laurent
efd9ad93ff Test for issue 2041105: CPU pegged after lost of bluetooth connection[WAR ROOM].
Merge change 7419 from master that may help eliminate the problem.
This change was for a different use case (when disabling A2DP to switch output to SCO) but without a repro case it is worth trying.
2009-08-08 06:41:09 -07:00
Android (Google) Code Review
f82b3947bf Merge change 20536
* changes:
  add support for RGBX_8888
2009-08-07 20:59:33 -07:00
Mathias Agopian
dfbec0e282 add support for RGBX_8888 2009-08-07 20:55:14 -07:00
Android (Google) Code Review
063ea26d60 Merge change 20530
* changes:
  remove unused and confusing comment
2009-08-07 19:10:22 -07:00
Mathias Agopian
9fbeb7c6e2 remove unused and confusing comment 2009-08-07 19:08:18 -07:00
Android (Google) Code Review
3e4690be46 Merge change 20474
* changes:
  Change WIFI key
2009-08-07 18:23:00 -07:00
Android (Google) Code Review
f0c929c429 Merge change 20509
* changes:
  Touch activation screen shown up fix
2009-08-07 17:13:39 -07:00
Android (Google) Code Review
9cedf4c3f0 Merge changes 20497,20498,20499
* changes:
  minor code clean-up
  added EGLUtils::strerror
  better error handling
2009-08-07 16:39:34 -07:00
Mathias Agopian
0928e31cc7 minor code clean-up 2009-08-07 16:38:10 -07:00