Home
last modified time | relevance | path

Searched refs:GetAndroidVersion (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dmain.cpp40 if (GetAndroidVersion() >= 11) { in AndroidSecurityCheck()
Denvironment_test.cpp71 if (GetAndroidVersion() <= kAndroidVersionP) { in TEST()
Denvironment.cpp687 if (simpleperf_copied_in_app_ || GetAndroidVersion() >= kAndroidVersionS) { in GetPrefixArgs()
728 bool Prepare() override { return GetAndroidVersion() >= kAndroidVersionQ; } in Prepare()
738 if (cmd == "record" && GetAndroidVersion() >= kAndroidVersionS) { in GetPrefixArgs()
773 if (GetAndroidVersion() < kAndroidVersionS) { in GetAppType()
883 int GetAndroidVersion() { in GetAndroidVersion() function
Denvironment.h127 int GetAndroidVersion();
Dkallsyms.cpp96 if (GetAndroidVersion() >= 12 && IsRoot()) { in ScopedKptrUnrestrict()
Dcmd_monitor.cpp473 if (GetAndroidVersion() >= kAndroidVersionQ && set_prop) { in AdjustPerfEventLimit()
Dcmd_record.cpp552 if (GetAndroidVersion() >= kAndroidVersionP || GetAndroidVersion() == 0) { in PrepareRecording()
1165 if (GetAndroidVersion() >= kAndroidVersionQ && set_prop && !in_app_context_) { in AdjustPerfEventLimit()