Home
last modified time | relevance | path

Searched refs:PrivilegeMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpstateUtil.h39 enum PrivilegeMode { enum
83 PrivilegeMode account_mode_;
134 PrivilegeMode PrivilegeMode() const;
DDumpstateUtil.cpp160 PrivilegeMode CommandOptions::PrivilegeMode() const { in PrivilegeMode() function in android::os::dumpstate::CommandOptions
230 if (options.PrivilegeMode() == SU_ROOT) { in RunCommandToFd()
239 if (options.PrivilegeMode() == SU_ROOT) { in RunCommandToFd()
256 if (options.PrivilegeMode() == SU_ROOT && PropertiesHelper::IsUserBuild()) { in RunCommandToFd()
299 if (options.PrivilegeMode() == DROP_ROOT && !DropRootUser()) { in RunCommandToFd()