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.py318 android_version = 0
323 android_version = ord(c) - ord('L') + 5
327 android_version = int(strs[0])
328 return android_version
Dapp_profiler.py157 self.android_version = self.adb.get_android_version()
158 if self.android_version < 7:
Dtest.py153 android_version = cls.adb.get_android_version()
156 cls.use_compiled_java_code = android_version <= 8
/system/extras/simpleperf/
Denvironment.cpp879 static int android_version = -1; in GetAndroidVersion() local
880 if (android_version == -1) { in GetAndroidVersion()
881 android_version = 0; in GetAndroidVersion()
888 android_version = s[0] - 'P' + kAndroidVersionP; in GetAndroidVersion()
890 sscanf(s.c_str(), "%d", &android_version); in GetAndroidVersion()
894 return android_version; in GetAndroidVersion()