summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | Coalesce multiple encoded AAC frames into a single input buffer on this ↵Andreas Huber2010-04-021-4/+15
| | | | | | | | | | | | | | | | | | | | | particular OMX codec to increase throughput significantly. Change-Id: I90c7db6656a53339c5d454336548c4f00d0d9064 related-to-bug: 2548426
* | | am b3f7fe44: am 22375e4a: Merge "Make ↵Christopher Tate2010-03-301-6/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | RestoreSession.getAvailableRestoreSets() asynchronous" into froyo Merge commit 'b3f7fe44f5a3a6a4c04d4102eb61f29edf83129c' into kraken * commit 'b3f7fe44f5a3a6a4c04d4102eb61f29edf83129c': Make RestoreSession.getAvailableRestoreSets() asynchronous
| * | Make RestoreSession.getAvailableRestoreSets() asynchronousChristopher Tate2010-03-301-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This transaction can involve the transport having to query a remote backend over the wire, so it can take a Long Time(tm). Make it main-thread-safe by making it asynchronous, with the results passed as a callback to the invoker's RestoreObserver. We also make the IRestoreObserver callback interface properly oneway. Bug #2550665 Bug #2549422 Change-Id: If18a233a0a3d54c7b55101715c9e6195b762c5a0
| * | DO NOT MERGEOscar Montemayor2010-03-293-118/+43
|/ / | | | | | | | | | | | | Removing unused features from source tree. Please refer to Bug#2502219. Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a
* | Fix issue #2538228: Intents targeting browsers constantly naggingDianne Hackborn2010-03-261-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some applications are setting the MIME type field for an http: intent, which is technically wrong because the recipient opening the URI will get the MIME type from the header. This was hitting a bug when we compute the intent filter when setting the preferred activity, where we have to set both the MIME type and data URI for the intent filter. (For file: and content: URIs only the MIME type is needed, since these can be opened directly through ContentResolver so everyone is presumed to be able to handle them.) Change-Id: Ia7025e6859e9c90997bf56c2c80f225fca7a2007
* | API CHANGE: Backup/restore API changes requested by the API CouncilChristopher Tate2010-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * @hide the android.app.backup.RestoreSession class and functionality * Provide a public method on android.app.backup.BackupManager that apps can use to request a restore pass of their last-known-good dataset. The new method is called requestRestore(). * Provide the name of the package being restored, not just its ordinal, in the RestoreObserver's onUpdate() callback. Part of bug #2545514 Change-Id: I9689bf8d6e2b808b4ee412424a36a835be0a5ca8
* | QueryCodecs now returns the names of the software codecs (non-OpenMax) as well.Andreas Huber2010-03-241-1/+3
| | | | | | | | | | Change-Id: Ic4cd61f4dd722fb0dda544ffaa5615e87e3a4d40 related-to-bug: 2541647
* | Add new method call back in MountService.Suchi Amalapurapu2010-03-221-37/+0
| | | | | | | | | | | | | | | | | | | | | | PackageManager invokes this call back when its done handling the media status update. Add new uid check for updateExternalMediaStatus Change killPids method in ActivityManager. Remove mountsd command in Pm.java We cannot arbitrarily enable/disable packages in PackageManager now. Change-Id: I28dcba4afd2b4486f68abdaa1628a31b66544c91
* | Merge "Fix bcm4329 FW dump in bugreport for user-debug build"Dmitry Shmidt2010-03-191-1/+1
|\ \
| * | Fix bcm4329 FW dump in bugreport for user-debug buildDmitry Shmidt2010-03-191-1/+1
| | | | | | | | | | | | | | | Change-Id: I56dfdc700db5704a91015ddcdc2adb0952b097ba Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | Only backup real files.Dianne Hackborn2010-03-181-1/+1
|/ / | | | | | | | | | | Fixes hang when backing up droid. Change-Id: Ie8b5c9f76c39c2e6c2cdf1e3b03f56ae37912bad