Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dtest_util.h36 bool IsRoot();
40 if (IsRoot()) { \
50 #define TEST_REQUIRE_HOST_ROOT() if (!IsRoot()) return
Denvironment.cpp344 if (IsRoot()) { in CheckPerfEventLimit()
460 if (IsRoot()) { in WriteUintToProcFile()
508 if (value == 1 && IsRoot()) { in CheckKernelSymbolAddresses()
512 if (IsRoot() && android::base::WriteStringToFile("1", kptr_restrict_file)) { in CheckKernelSymbolAddresses()
Dutils.h146 bool IsRoot();
Dcmd_stat.cpp398 if (!IsRoot()) { in Run()
637 if (system_wide_collection_ && !IsRoot()) { in ParseOptions()
Dutils.cpp326 bool IsRoot() { in IsRoot() function
Dcpu_hotplug_test.cpp177 if (!IsRoot()) { in FindAHotpluggableCpu()
Dcmd_trace_sched.cpp169 if (!IsRoot()) { in RecordSchedEvents()
Dcmd_record.cpp369 if (!IsRoot()) { in Run()
945 if (system_wide_collection_ && !IsRoot()) { in ParseOptions()
Dcmd_kmem.cpp382 if (!IsRoot()) { in ParseOptions()
Dcmd_record_test.cpp438 if (!IsRoot()) { in TEST()