Home
last modified time | relevance | path

Searched refs:android_version (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/scripts/
Dapi_profiler.py45 android_version = adb.get_android_version()
46 if android_version >= 10:
Dutils.py332 android_version = 0
337 android_version = ord(c) - ord('L') + 5
341 android_version = int(strs[0])
342 return android_version
Dapp_profiler.py192 self.android_version = self.adb.get_android_version()
193 if self.android_version < 7:
Dtest.py109 self.android_version = self.adb.get_android_version()
298 cls.use_compiled_java_code = TEST_HELPER.android_version <= 8
1564 if TEST_HELPER.android_version < ord(min_android_version) - ord('L') + 5:
1761 if TEST_HELPER.android_version >= 9:
1819 if TEST_HELPER.android_version < 7:
/system/extras/simpleperf/
Denvironment.cpp887 static int android_version = -1; in GetAndroidVersion() local
888 if (android_version == -1) { in GetAndroidVersion()
889 android_version = 0; in GetAndroidVersion()
896 android_version = s[0] - 'P' + kAndroidVersionP; in GetAndroidVersion()
898 sscanf(s.c_str(), "%d", &android_version); in GetAndroidVersion()
902 return android_version; in GetAndroidVersion()