Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dmain.cpp47 int android_version = GetAndroidVersion(); in AndroidSecurityCheck()
Denvironment.cpp698 if (simpleperf_copied_in_app_ || GetAndroidVersion() >= kAndroidVersionS) { in GetPrefixArgs()
739 bool Prepare() override { return GetAndroidVersion() >= kAndroidVersionQ; } in Prepare()
749 if (cmd == "record" && GetAndroidVersion() >= kAndroidVersionS) { in GetPrefixArgs()
784 if (GetAndroidVersion() < kAndroidVersionS) { in GetAppType()
907 int GetAndroidVersion() { in GetAndroidVersion() function
Denvironment_test.cpp71 if (GetAndroidVersion() <= kAndroidVersionP) { in TEST()
Denvironment.h128 int GetAndroidVersion();
Dkallsyms.cpp97 if (GetAndroidVersion() >= 12 && IsRoot()) { in ScopedKptrUnrestrict()
Dcmd_api.cpp72 if (GetAndroidVersion() >= 13 && !app_name_.empty() && days_ != 0) { in Run()
Dcmd_monitor.cpp478 if (GetAndroidVersion() >= kAndroidVersionQ && set_prop) { in AdjustPerfEventLimit()
Dcmd_record.cpp644 if (GetAndroidVersion() >= kAndroidVersionP || GetAndroidVersion() == 0) { in PrepareRecording()
1347 if (GetAndroidVersion() >= kAndroidVersionQ && set_prop && !in_app_context_) { in AdjustPerfEventLimit()