HomeSort by relevance Sort by last modified time
    Searched refs:PrivilegeMode (Results 1 - 2 of 2) sorted by null

  /frameworks/native/cmds/dumpstate/
DumpstateUtil.h 39 enum PrivilegeMode {
83 PrivilegeMode account_mode_;
100 /* Sets the command's PrivilegeMode as `SU_ROOT` */
102 /* If !IsUserBuild(), sets the command's PrivilegeMode as `SU_ROOT` */
104 /* Sets the command's PrivilegeMode as `DROP_ROOT` */
126 /** Gets the PrivilegeMode of the command. */
127 PrivilegeMode PrivilegeMode() const;
DumpstateUtil.cpp 157 PrivilegeMode CommandOptions::PrivilegeMode() const {
219 if (options.PrivilegeMode() == SU_ROOT) {
228 if (options.PrivilegeMode() == SU_ROOT) {
245 if (options.PrivilegeMode() == SU_ROOT && PropertiesHelper::IsUserBuild()) {
288 if (options.PrivilegeMode() == DROP_ROOT && !DropRootUser()) {

Completed in 60 milliseconds