summaryrefslogtreecommitdiffstats
path: root/cmds/dpm/src
Commit message (Collapse)AuthorAgeFilesLines
* Update dpm command to follow --user convention.Sudheer Shanka2015-01-131-10/+8
| | | | | Bug: 18426246 Change-Id: Ieacba15c4b4bfaf6ac325d20554ac91a1051ca4c
* Add new subcommand 'set-active-admin' to the dpm command.Zoltan Szatmary-Ban2014-11-191-0/+27
| | | | | Bug: 18002490 Change-Id: I91746032df08ef0fdef05711114691da18796a0a
* Make dpm command output more test friendlyEsteban Talavera2014-09-181-3/+3
| | | | | | | | | | Added 'Success' at the beginning of the command output every time it didn't fail, so that we can easily check the output in tests. The command is brand new, only used by us on CTS tests, so this shouldn't break anybody. Bug: 17312478 Change-Id: Ie67bf5b2f44e658e7009e5bd87f8cb81be515584
* Add 'adb dpm' subcommand to set profile ownerEsteban Talavera2014-09-161-10/+51
| | | | | | | | | Required for GTS tests. Needed to relax the restriction that only root user can run 'pm create-user' as GTS tests can't get root permissions. Bug: 17312478 Change-Id: I1841286ddf51756c73018c087a5f29afeb5b9f15
* Set device admin on dpm set-device-owner commandEsteban Talavera2014-09-151-9/+26
| | | | | Bug: 17312478 Change-Id: I4ef730a97d603352eda77f04a2b00fa97c2be662
* Add new adb dpm (= DevicePolicyManager) commandEsteban Talavera2014-09-121-0/+77
Adds new adb command to execute DevicePolicyManager tasks. First subcommand allows us to set a device owner on a provisioned device (provided no accounts are associated with the device). This is required as GTS tests run on provisioned devices. We plan to add more subcomands required for new GTS tests, such as the ability to create a managed profile. Bug: 17312478, 17316711 Change-Id: I2613178ea82a6c6268e7f8012e74c4a852fea0d4