summaryrefslogtreecommitdiffstats
path: root/cmds/settings
Commit message (Collapse)AuthorAgeFilesLines
* settings: Implicitly use CMSettings for legacy settingsd34d2015-11-171-0/+21
| | | | Change-Id: Ibb04c5612ae010b0d19d6e58b994940f1349e384
* settings: Allow accessing CMSettings via settings commandd34d2015-11-172-19/+55
| | | | | | | This patch allows the settings command line tool to be used with the CMSettings provider by passing in --cm Change-Id: Ie0906c9957e9de8418164d7cc84983d57fa4a015
* Add a list verb to the settings cmd.John Spurlock2015-03-051-2/+48
| | | | Change-Id: I8a203eefced3431085fd1981b1d120baab2cb77a
* Content and settings shell commands passing invalid calling package.Svetoslav2015-03-021-4/+20
| | | | Change-Id: Ia80099ba0afba054b70511c0d95265ec303446e0
* Implement control of auto power save mode.Dianne Hackborn2014-06-111-2/+32
| | | | | | | | | | | | | | | | | | | Follow the setting for auto power save mode in both battery service and battery UI. Default level is 15 when setting is not set; otherwise it is whatever the setting gives, with 0 meaning auto battery save is off. Change how we define the "turn off warn" level to be an adjustment from the warn level, so we can have a good value for whatever auto setting is set. Fix power manager to never go in to power save mode when plugged in, even if the user has manually turned it on. Add new delete option to settings command, because I needed it for testing. Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
* More work on App Ops service.Dianne Hackborn2013-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Implemented reading and writing state to retain information across boots, API to retrieve state from it, improved location manager interaction to monitor both coarse and fine access and only note operations when location data is being delivered back to app (not when it is just registering to get the data at some time in the future). Also implement tracking of read/write ops on contacts and the call log. This involved tweaking the content provider protocol to pass over the name of the calling package, and some infrastructure in the ContentProvider transport to note incoming calls with the app ops service. The contacts provider and call log provider turn this on for themselves. This also implements some of the mechanics of being able to ignore incoming provider calls... all that is left are some new APIs for the real content provider implementation to be involved with providing the correct behavior for query() (return an empty cursor with the right columns) and insert() (need to figure out what URI to return). Change-Id: I36ebbcd63dee58264a480f3d3786891ca7cbdb4c
* New command line tool: "settings"Christopher Tate2012-10-083-0/+243
Because the usual content provider interface doesn't allow specification of the target user under which to perform settings reads/writes, this CL introduces a new command line app specifically for that. Usage: settings [--user num] get namespace key settings [--user num] put namespace key value If a --user argument is not given, the owner user is targetted. Bug 7299066 Change-Id: I73108bb76b04fad133cc4e0f218d64490de549f1