Home
last modified time | relevance | path

Searched refs:IsRoot (Results 1 – 10 of 10) sorted by relevance

/system/extras/simpleperf/
Dtest_util.h37 bool IsRoot();
41 if (IsRoot()) { \
51 #define TEST_REQUIRE_HOST_ROOT() if (!IsRoot()) return
Denvironment.cpp302 if (IsRoot()) { in CanRecordRawData()
332 if (IsRoot()) { in CheckPerfEventLimit()
444 if (IsRoot()) { in WriteUintToProcFile()
492 if (value == 1 && IsRoot()) { in CheckKernelSymbolAddresses()
496 if (IsRoot() && android::base::WriteStringToFile("1", kptr_restrict_file)) { in CheckKernelSymbolAddresses()
Dutils.h147 bool IsRoot();
Dcmd_stat.cpp306 if (!IsRoot()) { in Use()
483 if (!IsRoot()) { in Run()
734 if (system_wide_collection_ && !IsRoot()) { in ParseOptions()
Dutils.cpp325 bool IsRoot() { in IsRoot() function
Dcmd_trace_sched.cpp170 if (!IsRoot()) { in RecordSchedEvents()
Dcpu_hotplug_test.cpp177 if (!IsRoot()) { in FindAHotpluggableCpu()
Dcmd_record_test.cpp506 if (!IsRoot()) { in TEST()
1070 if (IsRoot()) { in TEST()
Dcmd_kmem.cpp382 if (!IsRoot()) { in ParseOptions()
Dcmd_record.cpp414 if (!IsRoot()) { in Run()
1021 if (system_wide_collection_ && !IsRoot()) { in ParseOptions()