summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Squashed commit of the following:" into gingerbreadAndreas Huber2010-09-281-0/+6
|\
| * Squashed commit of the following:Andreas Huber2010-09-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 29a4d3effb05a2e074cb0693316ab1977baeb0b6 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 12:01:32 2010 -0700 Fully working implementation of MPEG2TSWriter (for AAC and AVC sources). Change-Id: I8a32a47565b647bf6c078c520e39565e08ea0d84 commit f4dec4c3899f3be393508e180d6c07e249d3335e Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 10:36:31 2010 -0700 More reliable identification of MPEG2 transport streams. Don't keep scanning forever in case the stream does not have both audio and video tracks. Change-Id: Icc5b4e8be145b2805e8776559546a6818342aea7 commit 4fe3cc942f9b3d3cf54138b828c41214aa916dd2 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 08:23:39 2010 -0700 test code Change-Id: I16560a17661407d06497f99ff88230724bb898af commit 64d988b24f49f179a90fa677be11c823959e734b Author: Andreas Huber <andih@google.com> Date: Thu Sep 23 14:42:52 2010 -0700 First shot at supporting writing to an MPEG2 transport stream. Change-Id: Ie537939a99fa3ddc0c7661c47c18277584817c74 Change-Id: If78fd034af8f6e8ceac8dbeff96d5ecb3f6b96dc
* | Move SipService out of SystemServer to phone process.Hung-ying Tyan2010-09-281-0/+1
|/ | | | | | | Companion CL: https://android-git/g/#change,70187 http://b/issue?id=2998069 Change-Id: I90923ac522ef363a4e04292f652d413c5a1526ad
* Some debugging support.Dianne Hackborn2010-09-242-13/+105
| | | | | | | | | | | | | - New feature to "am monitor" to have it automatically launch gdbserv for you when a crash/ANR happens, and tell you how to run the client. - Update dumpstate to match new location of binder debug logs - Various commented out logs that are being used to track down issues. Change-Id: Ia5dd0cd2df983a1fc6be697642a4590aa02a26a5
* Instead of just writing one track to the .mp4 file, write all of them (at ↵Andreas Huber2010-09-241-42/+111
| | | | | | most 1 video and 1 audio track). Also support httplive URIs in the stagefright commandline tool. Change-Id: I67b287cf76546191f398939aabe4480d9e79a948
* Merge "Proper sync-frame detection for sources that don't already provide ↵Andreas Huber2010-09-241-12/+105
|\ | | | | | | it." into gingerbread
| * Proper sync-frame detection for sources that don't already provide it.Andreas Huber2010-09-231-12/+105
| | | | | | | | Change-Id: Iafeee847b015c5cf6bec6dd5fac22a8d3e8cb78e
* | Fix issue #3022508: Crash during media scanDianne Hackborn2010-09-231-0/+214
|/ | | | | | | | | | | | | | | | | | | | | | Don't kill processes for excessive wake lock use, even if they are in the background, as long as they have running services. Also fix some problems with this, such as not noting the kill in battery stats. And add killing of processes for cpu usage as well, along with some optimizations to computing CPU usage. And fix BatteryWaster to be better behaving for testing these cases. Add new "monitor" command to am to watch as the activity manager does stuff (so we can catch things at the point of ANR). Finally some miscellaneous debug output for the stuff here, as well as in progress debugging of an ANR. Change-Id: Ib32f55ca50fb7486b4be4eb5e695f8f60c882cd1
* Allow record to set input color format as a command line optionJames Dong2010-09-191-11/+49
| | | | | | o Only YUV420SP and YUV420P are supported Change-Id: I425e8b29d9dca8c05066c1cd777f8bdede52964a
* Make sure stagefright -o terminates even if we're using a raw audio source ↵Andreas Huber2010-09-161-1/+3
| | | | | | (such as .wav pcm) Change-Id: Iec809df89e6b75706cf5b1ce21006c2e217e018f
* Track client requests through location manager.Dianne Hackborn2010-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem where applications could ask the location manager to do very heavy-weight things (like... say... update location every minute), which would get accounted against the system instead of the application because ultimately it is the system making the heavy calls (wake locks, etc). To solve this, we introduce a new class WorkSource representing the source of some work. Wake locks and Wifi locks allow you to set the source to use (but only if you are system code and thus can get the permission to do so), which is what will be reported to the battery stats until the actual caller. For the initial implementation, the location manager keeps track of all clients requesting periodic updates, and tells its providers about them as a WorkSource param when setting their min update time. The network location provider uses this to set the source on the wake and wifi locks it acquires, when doing work because of the update period. This should also be used elsewhere, such as in the GPS provider, but this is a good start. Change-Id: I2b6ffafad9e90ecf15d7c502e2db675fd52ae3cf
* Allow installd to handle large partitionsKenny Root2010-09-073-21/+27
| | | | | | | Use int64_t because we're RPCing over to Java which uses a Long to represent the filesystem space. Change-Id: I842b2cf9f2ff8f980ff5895c1c8eb9ebefa1ea31
* When dropping privileges, check return values.Nick Kralevich2010-09-011-2/+12
| | | | | | | | | setuid() and family can fail. Check return values to make sure this doesn't happen unexpectedly. Also call setgid() to drop root group permissions. Change-Id: Id06fbe6239e2ed2fe23368695e333514e0581e6d
* Add some encoding parameters for the "record" utilityJames Dong2010-08-311-1/+19
| | | | | | - TODO: remove some of the hard coded values Change-Id: Ib58bbb8af45fd102176ac49da0a71613a12fa5fc
* Add more debugging to installdKenny Root2010-08-042-3/+13
| | | | | | | If a command to installd fails, it would be nice to know exactly why. Log failures and the errno associated with the failures. Change-Id: Ia3122675f243037c556d3a49d06da7e03b8c59f6
* Merge "Various changes to improve rtsp networking, reduce packet loss and ↵Andreas Huber2010-07-221-5/+36
|\ | | | | | | adapt to ALooper API changes." into gingerbread
| * Various changes to improve rtsp networking, reduce packet loss and adapt to ↵Andreas Huber2010-07-221-5/+36
| | | | | | | | | | | | ALooper API changes. Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
* | Merge "new SensorService" into gingerbreadMathias Agopian2010-07-212-0/+6
|\ \ | |/ |/|
| * new SensorServiceMathias Agopian2010-07-192-0/+6
| | | | | | | | | | | | | | remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
* | Add a seek test to the stagefright commandline tool.Andreas Huber2010-07-211-1/+67
|/ | | | Change-Id: Ibf3517afa288fc4c7e2184c11bc7a63594f321df
* added BinderService<> template to help creating native binder servicesMathias Agopian2010-07-141-12/+19
| | | | Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe
* move native services under services/Mathias Agopian2010-07-142-4/+4
| | | | | | | | moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
* Support for writing the extracted data to an .mp4 file in the stagefright ↵Andreas Huber2010-07-012-3/+36
| | | | | | commandline tool. Change-Id: I972324a8fc9757e6e8116b0270ec0882106f8733
* Remove most stagefright property overrides, remove VorbisPlayer and ↵Andreas Huber2010-06-231-4/+0
| | | | | | | VorbisMetadataRetriever as this functionality is now provided by stagefright. Change-Id: Ieafe75a4550c273ad59b4518d7cd4c0fce0f7cce related-to-bug: 2370115
* Merge "Make sure sine: is supported again in stagefright commandline tool." ↵Andreas Huber2010-06-221-1/+1
|\ | | | | | | into gingerbread
| * Make sure sine: is supported again in stagefright commandline tool.Andreas Huber2010-06-211-1/+1
| | | | | | | | Change-Id: I703f1a8b7556543ef71b141dc8e38d8b82d8c6dc
* | Start of work on passing around StrictMode policy over Binder calls.Brad Fitzpatrick2010-06-212-2/+8
|/ | | | | | | | | | | | This is (intendend to be) a no-op change. At this stage, Binder RPCs just have an additional uint32 passed around in the header, right before the interface name. But nothing is actually done with them yet. That value should right now always be 0. This now boots and seems to work. Change-Id: I135b7c84f07575e6b9717fef2424d301a450df7b
* Simplify the code in the stagefright commandline utility.Andreas Huber2010-06-102-14/+4
| | | | Change-Id: Ia222b25ef12af34f6434421fd96b67eca800d1ab
* Fail gracefully if the user fails to supply necessary args to bmgrChristopher Tate2010-06-091-0/+10
| | | | | | Fixes bug #2755355 Change-Id: I4690756bb5077a6b4bbbfb232cd852cad43cef77
* more clean-up in preparation of bigger changesMathias Agopian2010-05-281-1/+1
| | | | | | | the most important change here is the renaming of ISurfaceFlingerClient to ISurfaceComposerClient Change-Id: I94e18b0417f50e06f21377446639c61f65f959b3
* Make the -o option actually terminate.Andreas Huber2010-05-201-0/+3
| | | | Change-Id: I91b70ee5c3e1fc9b8bb645e219af296867692e65
* am 3c16154a: am 2723e092: Merge "Better handling of codec initialization ↵Andreas Huber2010-05-201-1/+6
|\ | | | | | | | | | | | | | | | | failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize." into froyo Merge commit '3c16154a3309fe250177d69f3fcd5b6e9a82d1b3' into kraken * commit '3c16154a3309fe250177d69f3fcd5b6e9a82d1b3': Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize.
| * am 2723e092: Merge "Better handling of codec initialization failure in the ↵Andreas Huber2010-05-201-1/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize." into froyo Merge commit '2723e09229ce916724861ab90b6b8fc7c9ea9f2e' into froyo-plus-aosp * commit '2723e09229ce916724861ab90b6b8fc7c9ea9f2e': Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize.
| | * Better handling of codec initialization failure in the player and thumbnail ↵Andreas Huber2010-05-201-1/+6
| | | | | | | | | | | | | | | | | | | | | extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize. Change-Id: I5cba02ee85a41e43c2623053de40f26e2cf2efe4 related-to-bug: 2699505
* | | am d6c0bb0f: merge from open-source masterThe Android Open Source Project2010-05-191-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'd6c0bb0f0f3827f1c336db20ac9dc0eb90cd46fa' into kraken * commit 'd6c0bb0f0f3827f1c336db20ac9dc0eb90cd46fa': Removed Calls to deprecated APIs
| * | merge from open-source masterThe Android Open Source Project2010-05-191-1/+1
| |\ \ | | |/ | |/| | | | Change-Id: I0598edad283a177a5ddcc30e20d2284503e6038e
| | * Removed Calls to deprecated APIsChristian Mehlmauer2010-05-171-1/+1
| | | | | | | | | | | | Change-Id: I3f9b6a8d3c8a050156a6cc7ea0eb9de33b82f79a
| | * Unify am startservice commands.Jean-Baptiste Queru2010-04-161-14/+12
| | | | | | | | | | | | | | | | | | This replaces the implementation with an equivalent one. Change-Id: I1343ddee9414a67906cd426b8381ddbace873894
| | * Allow Am to start servicesAnthony Newnam2010-04-141-0/+15
| | | | | | | | | | | | Change-Id: I31d066ae2c980cc293e55034446a63a0f42088ad
* | | add execution permission to "input" script (DO NOT MERGE)Guang Zhu2010-05-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Although when building system image, "input" script will be given execution permission, adb sync will push a version without x onto device from build tree. Refer to frameworks/base/cmds/svc/svc, which has execution bit set. Change-Id: Ie82df2f0d3150c3df9498399f2c446f07ea89ca5
* | | am bd535646: am 57fff78a: dumpstate: Add blocked process wait-channel info ↵San Mehat2010-04-273-1/+66
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | to bugreport Merge commit 'bd5356468a5e6823fe4dce040ee75fbef66488dc' into kraken * commit 'bd5356468a5e6823fe4dce040ee75fbef66488dc': dumpstate: Add blocked process wait-channel info to bugreport
| * | dumpstate: Add blocked process wait-channel info to bugreportSan Mehat2010-04-273-1/+66
| | | | | | | | | | | | | | | | | | | | | Fix for http://b/2630027 Change-Id: I3606d8bf95c58df2b290dbd13f48538d82f16088 Signed-off-by: San Mehat <san@google.com>
* | | am 30e9c2d4: am db281311: Merge "Better diagnostics in the stagefright ↵Andreas Huber2010-04-132-4/+59
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a"." in Merge commit '30e9c2d4db145e02b5312ce29606b03dd78349d3' into kraken * commit '30e9c2d4db145e02b5312ce29606b03dd78349d3': Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".
| * | Better diagnostics in the stagefright commandline tool, support for playing ↵Andreas Huber2010-04-132-4/+59
| | | | | | | | | | | | | | | | | | | | | sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a". related-to-bug: 2553359 Change-Id: Ic49eb89feb62474d9513bc21571e0e8fe3a15e0b
* | | Various fixes to enable recording on passion and nexus1.Andreas Huber2010-04-091-3/+8
| | | | | | | | | | | | Change-Id: I75a461c9882e2449082ad754ee7b231c1ceec039
* | | am a599469f: am c2461be6: Merge "Fix 2579461 Move install location values to ↵Suchi Amalapurapu2010-04-071-3/+69
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm." into froyo Merge commit 'a599469f9095532cac95a8e7600412f156b88f1c' into kraken * commit 'a599469f9095532cac95a8e7600412f156b88f1c': Fix 2579461
| * | Fix 2579461Suchi Amalapurapu2010-04-071-3/+69
| | | | | | | | | | | | | | | | | | | | | | | | Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm. Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
* | | am ccb2c6cf: am 1bfcaa59: Merge "Fix \'bmgr restore\'" into froyoChristopher Tate2010-04-061-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'ccb2c6cf3a2bf2ddbf5cd261bd22ee02f0bf7aa7' into kraken * commit 'ccb2c6cf3a2bf2ddbf5cd261bd22ee02f0bf7aa7': Fix 'bmgr restore'
| * | Fix 'bmgr restore'Christopher Tate2010-04-061-1/+1
| | | | | | | | | | | | | | | | | | Zero means success. Fixes bug #2573785 Change-Id: I11bd4d85aa2b3a061aa37e085790ee8cd52d50a2
* | | am 0f7c543c: am eb6e3edc: Merge "Coalesce multiple encoded AAC frames into a ↵Andreas Huber2010-04-021-4/+15
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | single input buffer on this particular OMX codec to increase throughput significantly." into froyo Merge commit '0f7c543cc48d287591b5638a15bf8ca977e162a2' into kraken * commit '0f7c543cc48d287591b5638a15bf8ca977e162a2': Coalesce multiple encoded AAC frames into a single input buffer on this particular OMX codec to increase throughput significantly.