Searched refs:API_LEVEL (Results 1 – 2 of 2) sorted by relevance
519 adb_var_shell API_LEVEL getprop ro.build.version.sdk520 if [ $? != 0 -o -z "$API_LEVEL" ] ; then525 log "Device API Level: $API_LEVEL"526 if [ "$API_LEVEL" -lt "8" ] ; then528 echo "The target device is running API level $API_LEVEL!"
569 retcode,API_LEVEL = adb_var_shell(['getprop', 'ro.build.version.sdk'])570 if retcode != 0 or API_LEVEL == '':573 API_LEVEL = int(API_LEVEL)574 log('Device API Level: %d' % (API_LEVEL))575 if API_LEVEL < 8:577 The target device is running API level %d!''' % (API_LEVEL))