Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/
Dapi_profiler.py47 android_version = adb.get_android_version()
48 if android_version >= 10:
Dsimpleperf_utils.py409 android_version = 0
414 android_version = ord(c) - ord('L') + 5
418 android_version = int(strs[0])
419 return android_version
Dapp_profiler.py196 self.android_version = self.adb.get_android_version()
197 if self.android_version < 7:
/system/extras/simpleperf/scripts/test/
Dapi_profiler_test.py27 if TestHelper.android_version < ord(min_android_version) - ord('L') + 5:
Dapp_test.py50 cls.use_compiled_java_code = TestHelper.android_version <= 8
257 if TestHelper.android_version >= 9:
Dtest_utils.py68 cls.android_version = cls.adb.get_android_version()
/system/extras/simpleperf/
Denvironment.cpp885 static int android_version = -1; in GetAndroidVersion() local
886 if (android_version == -1) { in GetAndroidVersion()
887 android_version = 0; in GetAndroidVersion()
897 android_version = s[0] - 'P' + kAndroidVersionP; in GetAndroidVersion()
899 sscanf(s.c_str(), "%d", &android_version); in GetAndroidVersion()
903 return android_version; in GetAndroidVersion()