387 Commits

Author SHA1 Message Date
Andreas Huber
8768f2ccef A small sample tool to encode pcm audio data to amr, decode it again and play it. Some changes to OMXCodec to properly configure the AMR decoder(s). 2009-12-01 15:26:54 -08:00
Doug Zongker
1b3c375ce2 am bf72820e: am b292461c: Merge change I305e1b8f into eclair-mr2
Merge commit 'bf72820e7775748c7239287b49b81031167b3428'

* commit 'bf72820e7775748c7239287b49b81031167b3428':
  add --esn option to am to allow adding extra with a null value
2009-12-01 09:12:22 -08:00
Doug Zongker
305e1b8fe9 add --esn option to am to allow adding extra with a null value 2009-11-30 16:15:15 -08:00
Dima Zavin
84ba348474 am c92f3bcd: am e11a1b4d: am f817218e: dumpstate: Pick up the last kernel log from /proc
Merge commit 'c92f3bcd556be6086aabcdcf437cc29c2ac605f6'

* commit 'c92f3bcd556be6086aabcdcf437cc29c2ac605f6':
  dumpstate: Pick up the last kernel log from /proc
2009-11-29 14:01:14 -08:00
Dima Zavin
e11a1b4d1a am f817218e: dumpstate: Pick up the last kernel log from /proc
Merge commit 'f817218e09a556f20efc81309ba2cdb3475a370b' into eclair-mr2

* commit 'f817218e09a556f20efc81309ba2cdb3475a370b':
  dumpstate: Pick up the last kernel log from /proc
2009-11-29 13:51:14 -08:00
Dima Zavin
f817218e09 dumpstate: Pick up the last kernel log from /proc
This is needed since its no longer copied to /data/dontpanic by init.

Change-Id: I5217da73ec470653824b7fb9a31e093e263a8dc9
Signed-off-by: Dima Zavin <dima@android.com>
2009-11-25 23:34:19 -08:00
Oscar Montemayor
a8529f6867 Encrypted File Systems Project. Installer modifications.
Started to modify isntaller for data redirection to a secure location.
2009-11-24 11:44:19 -08:00
Andreas Huber
e21fb34387 am 5493df91: am bbd6cb46: Merge change Ib1b7bce4 into eclair-mr2
Merge commit '5493df919b01952857eb3b78fad3fe2cff573935'

* commit '5493df919b01952857eb3b78fad3fe2cff573935':
  Squashed commit of the following:
2009-11-23 10:55:40 -08:00
Andreas Huber
27366fc954 Squashed commit of the following:
commit 1efc38dc3c33fef57b759002db3965ed07a28cb0
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 19 14:36:14 2009 -0800

    Sending the SEEK-COMPLETE notification temporarily broke seeking backwards in time behaviour. This is now fixed.

    Also, get rid of the semi-random delay after posting buffers to surface flinger in favour of delaying the buffer release until the next frame is displayed.

commit 51973062eb5ee63fd64b845d72bac517cc3369cf
Author: Andreas Huber <andih@google.com>
Date:   Wed Nov 18 14:01:43 2009 -0800

    Fix one more unit test, properly send seek-complete notification only after seek actually completed.

commit cb22250b34b1fcfe1bf459723a761fd003950229
Author: Andreas Huber <andih@google.com>
Date:   Wed Nov 18 12:31:36 2009 -0800

    Fix seek-while-paused in AwesomePlayer, revert to using FileSource if MmapSource fails.

commit 25eb9241138ddf7bb27ce90657116c5f8a94d880
Author: Andreas Huber <andih@google.com>
Date:   Wed Nov 18 12:30:40 2009 -0800

    Support seeking and duration in AMRExtractor, assuming all frames are the same size.

commit 44192f2ebb7ea3bbd3ba5910025692dbc6a08faa
Author: Andreas Huber <andih@google.com>
Date:   Wed Nov 18 10:21:44 2009 -0800

    MediaPlayerImpl is dead, long live AwesomePlayer.

commit c5b52d3c0674f5dc94db506afbce52401cceddac
Author: Andreas Huber <andih@google.com>
Date:   Wed Nov 18 09:42:23 2009 -0800

    New implementation of the stagefright mediaplayer.
2009-11-23 10:44:30 -08:00
Mike Chan
cc829a652b am 26a9a13a: am b2a51667: am 23b3ef82: Merge change I99194df1 into eclair
Merge commit '26a9a13ac32a9109300e323d26af5865bf5244cc'

* commit '26a9a13ac32a9109300e323d26af5865bf5244cc':
  frameworks: base: dumpstate: Dump kernel cpufreq speeds.
2009-11-19 17:44:59 -08:00
Mike Chan
b2a5166704 am 23b3ef82: Merge change I99194df1 into eclair
Merge commit '23b3ef82c0c4175e8c953740306ee6b080dae8e7' into eclair-mr2

* commit '23b3ef82c0c4175e8c953740306ee6b080dae8e7':
  frameworks: base: dumpstate: Dump kernel cpufreq speeds.
2009-11-19 16:23:56 -08:00
Mike Chan
c6b406f0eb frameworks: base: dumpstate: Dump kernel cpufreq speeds.
Change-Id: I99194df1d6c46254affef86ea8eb39e784c3dfb3
Signed-off-by: Mike Chan <mike@android.com>
2009-11-19 16:01:05 -08:00
repo sync
c1786f1697 am d28fcd5b: resolved conflicts for merge of efd91d7c to eclair-mr2-plus-aosp
Merge commit 'd28fcd5bb8e5734a12b83f7cefde759c009e7b6e'

* commit 'd28fcd5bb8e5734a12b83f7cefde759c009e7b6e':
  Fixes for proximity sensor behavior:
2009-11-18 17:55:09 -08:00
Mike Lockwood
efd91d7ce0 am 03786b83: Merge change I813fdb7a into eclair
Merge commit '03786b83bd02f8dd8e1049d333fbfdee395ac965' into eclair-mr2

* commit '03786b83bd02f8dd8e1049d333fbfdee395ac965':
  Fixes for proximity sensor behavior:
2009-11-18 16:24:37 -08:00
Mike Lockwood
0e39ea83c5 Fixes for proximity sensor behavior:
Add optional flag to Wakelock.release() to specify whether we should wait for proximity sensor to go negative before turning on the screen.
Clear the "waiting for proximity sensor to go negative" state when the power key is pressed.

Part of the fix for b/2243198 (Black screen lockup after ending call)

Change-Id: I813fdb7aa4192cd3384a25be9e59d7d4b90da53a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-18 18:45:59 -05:00
Iliyan Malchev
425c77e681 am 7174fcf6: am f9bf75d5: am e2071c6b: Merge change I326e3e29 into eclair
Merge commit '7174fcf6031234bfc9aa29bf3085d14742cab944'

* commit '7174fcf6031234bfc9aa29bf3085d14742cab944':
  dumpstate: include the contents of the last radio log
2009-11-17 07:29:03 -08:00
Iliyan Malchev
f9bf75d59a am e2071c6b: Merge change I326e3e29 into eclair
Merge commit 'e2071c6b1d68220976d495d917566edf01303680' into eclair-mr2

* commit 'e2071c6b1d68220976d495d917566edf01303680':
  dumpstate: include the contents of the last radio log
2009-11-16 00:34:38 -08:00
Iliyan Malchev
326e3e291a dumpstate: include the contents of the last radio log
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-11-15 18:28:41 -08:00
Andreas Huber
f814fc6c4b am 45e89568: am d71ab51a: Merge change I3e1bdd38 into eclair-mr2
Merge commit '45e89568b6004db847b9e4057e386aa7db2e764c'

* commit '45e89568b6004db847b9e4057e386aa7db2e764c':
  Transcode files again.
2009-11-10 12:00:03 -08:00
Android (Google) Code Review
d71ab51a46 Merge change I3e1bdd38 into eclair-mr2
* changes:
  Transcode files again.
2009-11-10 11:53:19 -08:00
Mathias Agopian
2a32cbed2c am c481990b: am b4488930: am 45dd12cb: Merge change I9f3020db into eclair
Merge commit 'c481990b630c7ff5bca155f4b1385f71097500d3'

* commit 'c481990b630c7ff5bca155f4b1385f71097500d3':
  fix [2243164] live wallpaper screen artifacts at end of boot
2009-11-06 17:34:54 -08:00
Mathias Agopian
b448893039 am 45dd12cb: Merge change I9f3020db into eclair
Merge commit '45dd12cb0834ea5d72872a6d5b3095f3af152434' into eclair-mr2

* commit '45dd12cb0834ea5d72872a6d5b3095f3af152434':
  fix [2243164] live wallpaper screen artifacts at end of boot
2009-11-06 17:15:45 -08:00
Android (Google) Code Review
45dd12cb08 Merge change I9f3020db into eclair
* changes:
  fix [2243164] live wallpaper screen artifacts at end of boot
2009-11-06 20:08:35 -05:00
Mathias Agopian
9f3020db15 fix [2243164] live wallpaper screen artifacts at end of boot
make sure to glClear() the areas not touched by the animation
2009-11-06 16:30:18 -08:00
Andreas Huber
dcaa220ff5 DO NOT MERGE: Squashed commit of the following:
commit 08259dd3dc9026887f9bbfedaf45866eb56ea9bc
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 12:02:31 2009 -0800

    DO NOT MERGE: Use PV for metadata extraction even if stagefright is used for playback.

commit 991832fe4dc012e51d3d9ed8d647c7f09991858f
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:24:11 2009 -0800

    DO NOT MERGE: Do not assert if we encounter OMX_StateInvalid. All bets are off though.

commit cec45cf302d9218fe79956cbe8a462d7ca3a10bb
Author: Andreas Huber <andih@google.com>
Date:   Mon Oct 26 16:11:54 2009 -0700

    DO NOT MERGE: When freeing an OMX node, attempt to transition it from its current state all the way to "Loaded" in order to properly free any allocated buffers.

commit 34a1e885ef9113d68acbc26d36fcc47fdebbed84
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:10:49 2009 -0800

    DO NOT MERGE: Fix heap corruptin in OMXNodeInstance.

commit 5a47f7439a1298b330541a7e4e647a8b44487388
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:08:19 2009 -0800

    DO NOT MERGE: Fix seek-on-initial-read behaviour of OMXCodec.

commit 45bed64722501b9f411a2940aff5aff4cc4d2e98
Author: Andreas Huber <andih@google.com>
Date:   Thu Nov 5 11:02:23 2009 -0800

    DO NOT MERGE: Renaming string.h to stagefright_string.h to avoid conflicts.

commit 6738e306a50196f31a73d4fc7b7c45faff639903
Author: Andreas Huber <andih@google.com>
Date:   Thu Oct 15 13:46:54 2009 -0700

    DO NOT MERGE: Reimplement the OMX backend for stagefright.

    Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup.

    Changed APIs to conform to the rest of the system.
2009-11-05 13:06:17 -08:00
Andreas Huber
9aaa59076a am 66c25573: am 12bc3af0: Merge change I6f6bf3d8 into eclair-mr2
Merge commit '66c2557334d6c8116c874aa65e84b280d325009e'

* commit '66c2557334d6c8116c874aa65e84b280d325009e':
  Support raw audio sources in stagefright commandline tool.
2009-11-04 10:52:42 -08:00
Andreas Huber
6f6bf3d8d2 Support raw audio sources in stagefright commandline tool. 2009-11-03 15:59:13 -08:00
Andreas Huber
3e1bdd386b Transcode files again. 2009-11-02 15:17:48 -08:00
Evan Millar
9543042b03 am 8e5063ca: am 2d05af0c: am 3034624f: Merge change I26a2d829 into eclair
Merge commit '8e5063ca3af9adadf3cca13fe9b907d4da0a451d'

* commit '8e5063ca3af9adadf3cca13fe9b907d4da0a451d':
  Add -P flag to ps in dumpstate
2009-10-29 20:18:13 -07:00
Evan Millar
2d05af0c8a am 3034624f: Merge change I26a2d829 into eclair
Merge commit '3034624f68d373d7c79237425319b5b7fd84317e' into eclair-mr2

* commit '3034624f68d373d7c79237425319b5b7fd84317e':
  Add -P flag to ps in dumpstate
2009-10-29 19:31:24 -07:00
Andreas Huber
8650575552 am 5647eebc: am 9dba1f92: Merge change Ib482ce88 into eclair-mr2
Merge commit '5647eebc3aeef6e644b8c7587a36206d8f0d6314'

* commit '5647eebc3aeef6e644b8c7587a36206d8f0d6314':
  Revive support for video encoding in OMXCodec.
2009-10-29 14:44:36 -07:00
Evan Millar
26a2d829b3 Add -P flag to ps in dumpstate 2009-10-29 12:53:46 -07:00
Andreas Huber
b482ce8837 Revive support for video encoding in OMXCodec. 2009-10-29 12:02:48 -07:00
Andreas Huber
d437ac6a7c am d919aa74: am 9069aa31: Merge change I57515f33 into eclair-mr2
Merge commit 'd919aa74927fcabd18a9ea14a57f44240aecc7af'

* commit 'd919aa74927fcabd18a9ea14a57f44240aecc7af':
  Moving the individual extractor headers files to the private include directory.
2009-10-23 10:37:24 -07:00
Andreas Huber
57515f334b Moving the individual extractor headers files to the private include directory. 2009-10-23 09:55:10 -07:00
Andreas Huber
36ad2c62b0 am 1705d87b: am bfea1e13: resolved conflicts for merge of f585be7f to eclair-mr2
Merge commit '1705d87b7e576bcd3bdc670411511376b4e245c5'

* commit '1705d87b7e576bcd3bdc670411511376b4e245c5':
  A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.
2009-10-16 15:55:33 -07:00
Andreas Huber
bfea1e1396 resolved conflicts for merge of f585be7f to eclair-mr2 2009-10-16 15:32:50 -07:00
Andreas Huber
11ebbfd903 A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image. 2009-10-16 15:05:45 -07:00
Andreas Huber
07914840df am 4b9dbdfa: am d96f6e85: Merge change I8176f35e into eclair-mr2
Merge commit '4b9dbdfa1805cfb5be1eca2d26ca18a01724839a'

* commit '4b9dbdfa1805cfb5be1eca2d26ca18a01724839a':
  Reimplement the OMX backend for stagefright.
2009-10-16 13:02:24 -07:00
Andreas Huber
784202ea11 Reimplement the OMX backend for stagefright.
Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup.

Changed APIs to conform to the rest of the system.
2009-10-16 11:22:43 -07:00
Andreas Huber
5dc13b769f am 9550e289: am cfd55579: OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
Merge commit '9550e2892f88194c9abbb85616bb55db67231d6e'

* commit '9550e2892f88194c9abbb85616bb55db67231d6e':
  OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
2009-10-13 17:06:41 -07:00
Andreas Huber
0b4acfcc60 am c55bb59e: am ef703f60: Merge change I98276091 into eclair-mr2
Merge commit 'c55bb59e542368500937d6737ce2ea2d3524d6d7'

* commit 'c55bb59e542368500937d6737ce2ea2d3524d6d7':
  Change to a int64_t usecs representation for timestamps and duration throughout stagefright.
2009-10-13 17:04:19 -07:00
Eric Fischer
945ff20243 am 94f3a363: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into eclair-mr2-plus-aosp
Merge commit '94f3a36326ddecaa09787d795451b0a229fe111c'

* commit '94f3a36326ddecaa09787d795451b0a229fe111c':
  Remove STOPSHIP BT logging.
  BT API security audit: fix a couple of permission mistakes.
  Fix issue #2175693: Add vmallocinfo to dumpstate
  add a way to easily catch and log GL errors (compile time flag)
  GPS: Fix problem with SUPL when SUPL APN is already active.
  Import revised translations.  DO NOT MERGE
  Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device.
  Import revised translations.  DO NOT MERGE
2009-10-13 12:04:49 -07:00
Marc Blank
80010ff5ee am 3c5600ec: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into eclair-mr2-plus-aosp
Merge commit '3c5600ecccd38d8fb6d39330f31fe91b5f99481b'

* commit '3c5600ecccd38d8fb6d39330f31fe91b5f99481b':
  dumpstate: 'RAMCONSOLE' -> 'LAST KMSG'
  Only dismiss search dialog after launching intent.
2009-10-13 11:54:04 -07:00
Andreas Huber
cfd55579c2 OMXCodec now notifies the reader of changes in the output format by returning a special result/error code. 2009-10-13 09:46:46 -07:00
Andreas Huber
fa8de75250 Change to a int64_t usecs representation for timestamps and duration throughout stagefright. 2009-10-12 16:00:07 -07:00
Mike Lockwood
4ccbd5ade5 am 2d0dee0e: am 0daf3e91: am 7fdd67d3: Merge change I5b650a61 into eclair
Merge commit '2d0dee0e6ccebced9eac11dec24fbb66a1a40b2b'

* commit '2d0dee0e6ccebced9eac11dec24fbb66a1a40b2b':
  dumpstate: Emit a logcat message at beginning and end of execution.
2009-10-12 11:37:39 -07:00
Dianne Hackborn
9809d5149b am 4bc6158d: am baad552d: am 68d881cf: Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
Merge commit '4bc6158d6bdeff796cfd61d489c01db0d203534c'

* commit '4bc6158d6bdeff796cfd61d489c01db0d203534c':
  Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
2009-10-12 11:34:00 -07:00
Mike Lockwood
b90a9d88da am e0461147: am 2ecf3f5e: dumpstate: Add backlight information to bugreport output.
Merge commit 'e04611471133650731bcd06229dfd38f3fcdc889'

* commit 'e04611471133650731bcd06229dfd38f3fcdc889':
  dumpstate: Add backlight information to bugreport output.
2009-10-12 11:20:51 -07:00
San Mehat
234afe8f91 am 21ee78b3: am 7b16834a: Merge change Iaf686344 into eclair
Merge commit '21ee78b372ac38f7844b1877192513ca0388fc82'

* commit '21ee78b372ac38f7844b1877192513ca0388fc82':
  dumpstate: Display mtime instead of ctime
2009-10-12 11:20:08 -07:00