summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* AppsOnSd feature - Add default containerSuchi Amalapurapu2010-01-271-1/+17
| | | | | | | | | | | | | | | | | | Add new remote interface to do temporary copies. The new remote stub handling is done on mHandler thread and doesn't need locking for now. Add new InstallArgs class and subclasses to isolate cases for installation. Move resource deletion for failed installs/upgrades to later on in installation cycle. Fix code path for forward locked apps when using scanPackageLI TODO's Fix installation paths to completely use InstallArgs based design later on. Get rid of using flags in various install/uninstall code paths. Ideally InstallArgs should be created using these flags and used in the rest of the code. Function renames. Revisit mount api's.
* Use six dashes instead of five.Dan Egnor2010-01-262-7/+7
|
* Initial checkin of AudioSource and AMRWriter, a pair of classes supporting ↵Andreas Huber2010-01-251-2/+22
| | | | | | pure-audio recording in stagefright. related-to-bug: 2295449
* Merge "Mount/Unmount secure containers Persist flags in PackageSetting. ↵Suchi Amalapurapu2010-01-191-0/+40
|\ | | | | | | Flags are relevant to ApplicationInfo.FLAG_SYSTEM, Application.FLAG_ON_SDCARD, ApplicationInfo.FLAG_FORWARD_LOCK. New pm command to simulate mount/unmount in Pm. This will be removed when MountService/vold event generation gets fixed. Calls from MountService into PackageManager when media gets mounted/unmounted. Scan the packages and grant permissions when the sdcard gets mounted. This api might change again."
| * Mount/Unmount secure containersSuchi Amalapurapu2010-01-191-0/+40
| | | | | | | | | | | | | | | | | | Persist flags in PackageSetting. Flags are relevant to ApplicationInfo.FLAG_SYSTEM, Application.FLAG_ON_SDCARD, ApplicationInfo.FLAG_FORWARD_LOCK. New pm command to simulate mount/unmount in Pm. This will be removed when MountService/vold event generation gets fixed. Calls from MountService into PackageManager when media gets mounted/unmounted. Scan the packages and grant permissions when the sdcard gets mounted. This api might change again.
* | Merge "Upgrade for the stagefright commandline tool to support extracting ↵Andreas Huber2010-01-191-3/+58
|\ \ | |/ |/| | | thumbnails and to optionally prefer software codecs."
| * Upgrade for the stagefright commandline tool to support extracting ↵Andreas Huber2010-01-141-3/+58
| | | | | | | | thumbnails and to optionally prefer software codecs.
* | app install on sdcard. provide skeleton implementationSuchi Amalapurapu2010-01-143-4/+14
|/ | | | | | | | | | | | | | | | | | | | | | to install an app on sdcard, just resources. Add new install path for /asec in installd. ignore . when checking for apk path since the sdcard packages id'ed by package name. Add new -s option to adb shell pm Refactor fwd locked from scanMode to ApplicationInfo. Add new flag for sd install Add new parse flags for fwd locking and installing on sdcard New mock api's in PackageManagerService to invoke MountService api's. These will be refactored again and so have been wrapped internally. Some error codes in PackageManager Changes in PackageManagerService to use mPath and mScanPath during installation and switch to using PackageParser.Package.applicationInfo attributes for source and public resource directories. Some known issues that will be addressed later using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid error handling from vold not very robust. ignoring lot of things for now sending a delayed destroy to delete packages. will revisit later revisit temp file creation later. just copy for now
* Overhaul of dumpstate (aka bugreport) with cleanups & enhancements:Dan Egnor2010-01-134-604/+473
| | | | | | | | | | | | | | | | - include basic build & timestamp information in the header - collect stack traces immediately at bugreport time - *also* show stack traces from last ANR (as before), if in the last 15 minutes - alphabetize system properties dump - remove now-obsolete (and always questionable) "dumpcrash" functionality - write to a .tmp file first, then rename to the final filename - friendly usage message - output sections include the exact file/command run - source de-weirdification -- it's several hundred lines shorter now The same data is present in the same order as before, and I've tried to preserve all the grep/search targets people might use to find their way through the file.
* less log spewJoe Onorato2010-01-081-1/+1
|
* keystore: compute the padding in an intuitive way.Chia-chi Yeh2009-12-301-7/+3
|
* Add missing shared libraries in linker commands. Currently these libraries areDoug Kwan2009-12-221-3/+3
| | | | linked implicitly via dependencies of other shared libraries.
* Merge change I70f91838Android (Google) Code Review2009-12-221-10/+13
|\ | | | | | | | | * changes: keystore: Add paddings before checksumming.
| * keystore: Add paddings before checksumming.Chia-chi Yeh2009-12-221-10/+13
| | | | | | | | | | | | Also fix a file descriptor leak when file system is nearly full. Bug: 2339184
* | Rework activity manager debug dumps.Dianne Hackborn2009-12-211-10/+14
|/ | | | | | | | | | | | | | | | Change how we do debug dumps from the activity manager to make everything go through the activity manager interface (no more secondary interfaces), and use the command line arguments to control what gets dumped. The output from dumpsys without args still dumps everything. When just dumping the activity service, we now dump a subset of all of the am state that is interesting without being overwhelming. You can use "dumpsys activity -h" to get help with other things that can be dumped.
* am b5c6be6d: am 082e5171: Merge change I895fb7d7 into eclair-mr2Andreas Huber2009-12-171-3/+3
|\ | | | | | | | | | | | | Merge commit 'b5c6be6db25d9e9405ea4cf20bbedd46a62dc0bb' * commit 'b5c6be6db25d9e9405ea4cf20bbedd46a62dc0bb': Squashed commit of the following:
| * Squashed commit of the following:Andreas Huber2009-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 144b1c40e9cf08a584c50e1bef7ba3f287e81a4f Author: Andreas Huber <andih@google.com> Date: Wed Dec 16 09:28:23 2009 -0800 This H264 file shows a certain problem even better. commit 3245f1f3b7471975aeeb824a756c987abd610f55 Author: Andreas Huber <andih@google.com> Date: Wed Dec 16 09:20:08 2009 -0800 Using only the QA testfiles now. commit 074817eb3816c5dd70858a3594e3b92d799d873b Author: Andreas Huber <andih@google.com> Date: Tue Dec 15 16:17:39 2009 -0800 Yay, roles are back again now that the API is in place. commit 6d847e4932cc38301ae27cb7283b7f1553a95457 Author: Andreas Huber <andih@google.com> Date: Tue Dec 15 13:01:20 2009 -0800 Added commandline option for specifying the random seed for reproducable tests. commit 62ab37b26336eaa67e49791c41c996acb6acee3f Author: Andreas Huber <andih@google.com> Date: Mon Dec 14 10:53:27 2009 -0800 When issuing a seek it is important that only the first MediaSource::read call has the seek option. commit e77c46644b2fb6862bafa3569f7d304252074f1e Author: Andreas Huber <andih@google.com> Date: Mon Dec 7 16:39:07 2009 -0800 Make sure the tests are actually built, sp<OMXCodec> becomes sp<MediaSource> commit 6df56915bd55a9445b3c6f953d3cc251d81579b8 Author: Andreas Huber <andih@google.com> Date: Thu Dec 3 14:25:36 2009 -0800 Temporarily disable support for querying the roles of OMX components. commit 31bb26930df9e3658dea684cedb4b0f1a06a4a88 Author: Andreas Huber <andih@google.com> Date: Tue Dec 1 13:36:52 2009 -0800 Disregard EOS events, slightly change the way the EOS flag on output buffers is handled. commit 4c382fbc9aebee8197d5988d04378062809e7c48 Author: Andreas Huber <andih@google.com> Date: Tue Dec 1 09:37:24 2009 -0800 New random seek test for the codec tests. Fixed "sticky" end-of-output-buffers flag behaviour in OMXCodec. commit c762eac3e44309592b61a168d66e091cf609fa03 Author: Andreas Huber <andih@google.com> Date: Tue Nov 3 14:13:43 2009 -0800 Fix a typo. commit 50540a59b65c7d476b0193c7494cd75895e6ca6d Author: Andreas Huber <andih@google.com> Date: Tue Nov 3 09:48:35 2009 -0800 Some more fine tuning of the unit tests, make MPEG4Extractor less verbose. commit 1157a7e52a0636706caa235abe16d2ff8a0b8140 Author: Andreas Huber <andih@google.com> Date: Wed Oct 28 12:01:01 2009 -0700 Changes to the IOMX::listNodes API, this now returns the component's roles as well, unit tests now test all components in all supported roles by default. commit 30fbf2d8c6cb927689f7ba75eb550a81e9df488a Author: Andreas Huber <andih@google.com> Date: Mon Oct 26 09:45:26 2009 -0700 Initial check-in of unit tests for OMX components.
* | Add FW log dump for bcm4329Dmitry Shmidt2009-12-163-2/+19
| | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | am 23915ddd: am eec100b2: Merge change If0d04246 into eclair-mr2Andreas Huber2009-12-101-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '23915ddde9ce3ed9f1ce50ea321c8fdce612faf0' * commit '23915ddde9ce3ed9f1ce50ea321c8fdce612faf0': Don't count empty buffers when computing the frame rate.
| * Don't count empty buffers when computing the frame rate.Andreas Huber2009-12-101-1/+1
| |
* | am f553a584: am 5921fb51: Merge change I91eb0354 into eclair-mr2Andreas Huber2009-12-072-4/+4
|\ \ | |/ | | | | | | | | | | Merge commit 'f553a58425c66a990dbc5f4579c976a0636fc573' * commit 'f553a58425c66a990dbc5f4579c976a0636fc573': Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
| * Change OMXCodec::Create to return an sp<MediaSource> instead of an ↵Andreas Huber2009-12-072-4/+4
| | | | | | | | sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
* | am ae34cf92: am 781ac162: Merge change I8768f2cc into eclair-mr2Andreas Huber2009-12-013-0/+104
|\ \ | |/ | | | | | | | | | | Merge commit 'ae34cf92db9c54ba72fdcac33a8ba855a2215e4e' * commit 'ae34cf92db9c54ba72fdcac33a8ba855a2215e4e': 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).
| * A small sample tool to encode pcm audio data to amr, decode it again and ↵Andreas Huber2009-12-013-0/+104
| | | | | | | | play it. Some changes to OMXCodec to properly configure the AMR decoder(s).
* | am bf72820e: am b292461c: Merge change I305e1b8f into eclair-mr2Doug Zongker2009-12-011-9/+14
|\ \ | |/ | | | | | | | | | | Merge commit 'bf72820e7775748c7239287b49b81031167b3428' * commit 'bf72820e7775748c7239287b49b81031167b3428': add --esn option to am to allow adding extra with a null value
| * add --esn option to am to allow adding extra with a null valueDoug Zongker2009-11-301-9/+14
| |
* | am c92f3bcd: am e11a1b4d: am f817218e: dumpstate: Pick up the last kernel ↵Dima Zavin2009-11-291-1/+1
|\ \ | |/ | | | | | | | | | | | | | | log from /proc Merge commit 'c92f3bcd556be6086aabcdcf437cc29c2ac605f6' * commit 'c92f3bcd556be6086aabcdcf437cc29c2ac605f6': dumpstate: Pick up the last kernel log from /proc
| * am f817218e: dumpstate: Pick up the last kernel log from /procDima Zavin2009-11-291-1/+1
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'f817218e09a556f20efc81309ba2cdb3475a370b' into eclair-mr2 * commit 'f817218e09a556f20efc81309ba2cdb3475a370b': dumpstate: Pick up the last kernel log from /proc
| | * dumpstate: Pick up the last kernel log from /procDima Zavin2009-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | This is needed since its no longer copied to /data/dontpanic by init. Change-Id: I5217da73ec470653824b7fb9a31e093e263a8dc9 Signed-off-by: Dima Zavin <dima@android.com>
* | | Encrypted File Systems Project. Installer modifications.Oscar Montemayor2009-11-243-37/+108
| | | | | | | | | | | | Started to modify isntaller for data redirection to a secure location.
* | | am 5493df91: am bbd6cb46: Merge change Ib1b7bce4 into eclair-mr2Andreas Huber2009-11-232-8/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '5493df919b01952857eb3b78fad3fe2cff573935' * commit '5493df919b01952857eb3b78fad3fe2cff573935': Squashed commit of the following:
| * | Squashed commit of the following:Andreas Huber2009-11-232-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | am 26a9a13a: am b2a51667: am 23b3ef82: Merge change I99194df1 into eclairMike Chan2009-11-191-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '26a9a13ac32a9109300e323d26af5865bf5244cc' * commit '26a9a13ac32a9109300e323d26af5865bf5244cc': frameworks: base: dumpstate: Dump kernel cpufreq speeds.
| * | am 23b3ef82: Merge change I99194df1 into eclairMike Chan2009-11-191-0/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '23b3ef82c0c4175e8c953740306ee6b080dae8e7' into eclair-mr2 * commit '23b3ef82c0c4175e8c953740306ee6b080dae8e7': frameworks: base: dumpstate: Dump kernel cpufreq speeds.
| | * frameworks: base: dumpstate: Dump kernel cpufreq speeds.Mike Chan2009-11-191-0/+2
| | | | | | | | | | | | | | | Change-Id: I99194df1d6c46254affef86ea8eb39e784c3dfb3 Signed-off-by: Mike Chan <mike@android.com>
* | | am d28fcd5b: resolved conflicts for merge of efd91d7c to eclair-mr2-plus-aosprepo sync2009-11-181-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'd28fcd5bb8e5734a12b83f7cefde759c009e7b6e' * commit 'd28fcd5bb8e5734a12b83f7cefde759c009e7b6e': Fixes for proximity sensor behavior:
| * | am 03786b83: Merge change I813fdb7a into eclairMike Lockwood2009-11-181-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '03786b83bd02f8dd8e1049d333fbfdee395ac965' into eclair-mr2 * commit '03786b83bd02f8dd8e1049d333fbfdee395ac965': Fixes for proximity sensor behavior:
| | * Fixes for proximity sensor behavior:Mike Lockwood2009-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | am 7174fcf6: am f9bf75d5: am e2071c6b: Merge change I326e3e29 into eclairIliyan Malchev2009-11-171-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7174fcf6031234bfc9aa29bf3085d14742cab944' * commit '7174fcf6031234bfc9aa29bf3085d14742cab944': dumpstate: include the contents of the last radio log
| * | am e2071c6b: Merge change I326e3e29 into eclairIliyan Malchev2009-11-161-0/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'e2071c6b1d68220976d495d917566edf01303680' into eclair-mr2 * commit 'e2071c6b1d68220976d495d917566edf01303680': dumpstate: include the contents of the last radio log
| | * dumpstate: include the contents of the last radio logIliyan Malchev2009-11-151-0/+4
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | am 45e89568: am d71ab51a: Merge change I3e1bdd38 into eclair-mr2Andreas Huber2009-11-101-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '45e89568b6004db847b9e4057e386aa7db2e764c' * commit '45e89568b6004db847b9e4057e386aa7db2e764c': Transcode files again.
| * | Merge change I3e1bdd38 into eclair-mr2Android (Google) Code Review2009-11-101-1/+3
| |\ \ | | | | | | | | | | | | | | | | * changes: Transcode files again.
| | * | Transcode files again.Andreas Huber2009-11-021-1/+3
| | | |
* | | | am c481990b: am b4488930: am 45dd12cb: Merge change I9f3020db into eclairMathias Agopian2009-11-061-0/+15
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'c481990b630c7ff5bca155f4b1385f71097500d3' * commit 'c481990b630c7ff5bca155f4b1385f71097500d3': fix [2243164] live wallpaper screen artifacts at end of boot
| * | | am 45dd12cb: Merge change I9f3020db into eclairMathias Agopian2009-11-061-0/+15
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | Merge commit '45dd12cb0834ea5d72872a6d5b3095f3af152434' into eclair-mr2 * commit '45dd12cb0834ea5d72872a6d5b3095f3af152434': fix [2243164] live wallpaper screen artifacts at end of boot
| | * | Merge change I9f3020db into eclairAndroid (Google) Code Review2009-11-061-0/+15
| | |\ \ | | | | | | | | | | | | | | | | | | | | * changes: fix [2243164] live wallpaper screen artifacts at end of boot
| | | * | fix [2243164] live wallpaper screen artifacts at end of bootMathias Agopian2009-11-061-0/+15
| | | | | | | | | | | | | | | | | | | | make sure to glClear() the areas not touched by the animation
| | * | | DO NOT MERGE: Squashed commit of the following:Andreas Huber2009-11-051-3/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | am 66c25573: am 12bc3af0: Merge change I6f6bf3d8 into eclair-mr2Andreas Huber2009-11-041-8/+17
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '66c2557334d6c8116c874aa65e84b280d325009e' * commit '66c2557334d6c8116c874aa65e84b280d325009e': Support raw audio sources in stagefright commandline tool.