History log of /frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dc589ac82b5fe2063f4cfd94c8ae26d43d5420a0 11-Nov-2016 Sudheer Shanka <sudheersai@google.com> Update usage of ActivityManagerNative.

- Remove references to ActivityManagerProxy.
- Add isSystemReady to ActivityManager.

Bug: 30977067
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts
adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \
-w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
38dcca51a739d3273b24e84ba5e89e505f45960c 19-Apr-2016 Kenny Guy <kennyguy@google.com> Add test method to remove admins.

Add test method to remove admins that declare
FLAG_TEST_APP without informing them.
The method will also remove the device and profile
owner status of the admin.

Bug: 28027468
Change-Id: Idb4d3299a9c6595c94bfb424546cd8a384131835
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
afad8783699b1ba6f3c7ee5961d6ddc2bd771dc1 19-Jan-2016 Alan Treadway <alantreadway@google.com> Add explicit and persistent user provisioning state.

Add explicit modelling of provisioning state so that integration
of management provisioning flows with packages such as setup-wizard
are cleaner, and can be more direct. Previously we relied upon
USER_SETUP_COMPLETE secure setting and HOME intents to signal intent,
but this is not very clear and can be fragile.

Bug: 25858670
Change-Id: Idc56a040f710c3aee281db420f21717da3960722
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
6bccb76a64ba74c2e0267db1d2ec14a4ffa96771 04-Dec-2015 Fyodor Kupolov <fkupolov@google.com> Allow --user current in dpm command

dpm command now accepts current user as an argument.

Bug: 25974105
Change-Id: I5335a2fc2159f9574e319697dcf5e0485233d8f2
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
a52562ca9a4144cf30e6d5c6ffe856cc8e284464 02-Oct-2015 Makoto Onuki <omakoto@google.com> setDeviceOwner() now requires a full component name.

Bug 20149907

Change-Id: I24e66159d1d966925aa3a494b1e2839b07cdafa2
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
58b684f1cdc52467b71c42cfae18433a19ce7d0b 04-Sep-2015 Makoto Onuki <omakoto@google.com> [split system] Tentatively support running DO on meat user

- setDeviceOwner() now takes a user ID. (We can infer it from Binder, but
we still need it for the dpm command.)

- Change broadcast target UID for DO to the DO user

- Start the DO user on boot complete.
TODO Investigate whether this is actually the good timing.

TODO Prevent the DO user from being killed

Bug 23827706

Change-Id: I227dbd444f1f4e94d98c317489d151554fe79d91
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
cc791bc47c004967557c44abe1764f1f2f7aef8b 26-Aug-2015 Xiaohui Chen <xiaohuic@google.com> More cleanup USER_OWNER

Bug: 19913735
Change-Id: I7fe1bb2a66231b7d1ae0670dff5e2ec736b2e541
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
b52c7330d986e62812fd7c1b77020629e8ff7930 06-Aug-2015 Xiaohui Chen <xiaohuic@google.com> Clean up USER_OWNER reference in cmds.

Again, the easy ones.

Bug: 19913735
Change-Id: Ib9519cb8309b332258b20dee54a38007eaba3b1d
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
474c7aceae0c6a91049deb7db944cbe85b56bcc7 13-Jan-2015 Sudheer Shanka <sudheersai@google.com> Update dpm command to follow --user convention.

Bug: 18426246
Change-Id: Ieacba15c4b4bfaf6ac325d20554ac91a1051ca4c
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
e9119876a21575ee7a7d058da85d04c4c4b8a971 28-Oct-2014 Zoltan Szatmary-Ban <szatmz@google.com> Add new subcommand 'set-active-admin' to the dpm command.

Bug: 18002490
Change-Id: I91746032df08ef0fdef05711114691da18796a0a
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
c48bca50fa64765d3019b0bf82511e030cabcc7a 18-Sep-2014 Esteban Talavera <etalavera@google.com> Make dpm command output more test friendly

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
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
41de9bb6fda113f7cfb8b7b8d64d07d3809f8f20 15-Sep-2014 Esteban Talavera <etalavera@google.com> Add 'adb dpm' subcommand to set profile owner

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
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
9c17388cff98fba9679ce6457ac5003a660c6013 12-Sep-2014 Esteban Talavera <etalavera@google.com> Set device admin on dpm set-device-owner command

Bug: 17312478
Change-Id: I4ef730a97d603352eda77f04a2b00fa97c2be662
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java
b5ef162129ced7e9636052af6b7f08d677a01f13 08-Sep-2014 Esteban Talavera <etalavera@google.com> Add new adb dpm (= DevicePolicyManager) command

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
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/Dpm.java