Searched refs:isRoot (Results 1 – 11 of 11) sorted by relevance
| /developtools/hdc/src/common/ |
| D | async_cmd.cpp | 127 static void SetSelinuxLabel(bool isRoot) in SetSelinuxLabel() argument 132 WRITE_LOG(LOG_WARN, "SetSelinuxLabel isRoot:%d", isRoot); in SetSelinuxLabel() 136 WRITE_LOG(LOG_WARN, "SetSelinuxLabel con:%s isRoot:%d", con, isRoot); in SetSelinuxLabel() 143 if (isRoot) { in SetSelinuxLabel() 158 bool isRoot = false; in ThreadFork() local 164 isRoot = true; in ThreadFork() 166 AsyncParams params = AsyncParams(command, readWrite, cpid, isRoot); in ThreadFork() 205 bool isRoot = params.isRoot; in Popen() 212 fds[pipeRead], fds[pipeWrite], isRoot); in Popen() 232 SetSelinuxLabel(isRoot); in Popen()
|
| D | async_cmd.h | 66 bool isRoot; member 68 AsyncParams(const string &commandParam, bool readWriteParam, int &cpidParam, bool isRoot) in AsyncParams() 69 …ommandParam(commandParam), readWriteParam(readWriteParam), cpidParam(cpidParam), isRoot(isRoot) {}; in AsyncParams()
|
| /developtools/profiler/device/plugins/bytrace_plugin/src/ |
| D | bytrace_module.cpp | 37 bool isRoot; member 52 g_bytraceInfo->isRoot = config.is_root(); in ParseConfig() 85 if (g_bytraceInfo->isRoot) { in BeginTrace() 116 if (g_bytraceInfo->isRoot) { in StopTrace()
|
| /developtools/smartperf_host/ide/src/trace/component/setting/ |
| D | SpRecordTemplate.ts | 187 isRoot: false,
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 601 bool isRoot = true; variable 603 isRoot = (getuid() == 0); 605 EXPECT_EQ(IsRoot(), isRoot);
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | utilities_test.cpp | 596 bool isRoot = true; variable 598 isRoot = (getuid() == 0); 600 EXPECT_EQ(IsRoot(), isRoot);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | utilities.cpp | 272 static bool isRoot = (getuid() == 0); in IsRoot() local 273 return isRoot; in IsRoot()
|
| /developtools/smartperf_host/ide/src/trace/component/setting/bean/ |
| D | ProfilerServiceTypes.ts | 493 isRoot: boolean; property
|
| /developtools/smartperf_host/ide/test/trace/component/ |
| D | SpRecordTrace.test.ts | 235 isRoot: false,
|
| /developtools/hiperf/src/ |
| D | utilities.cpp | 329 static bool isRoot = (getuid() == 0); in IsRoot() local 330 return isRoot; in IsRoot()
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | SpRecordConfigModel.ts | 680 isRoot: false,
|