Searched refs:getTargetApiLevel (Results 1 – 4 of 4) sorted by relevance
59 protected int getTargetApiLevel() { in getTargetApiLevel() method in BaseDeviceAdminTest84 return getTargetApiLevel() > Build.VERSION_CODES.M; in shouldResetPasswordThrow()
39 assertTrue(getTargetApiLevel() == pi.applicationInfo.targetSdkVersion || in testTargetApiLevel()
186 protected int getTargetApiLevel() throws Exception { in getTargetApiLevel() method in BaseDeviceAdminTest
195 boolean shouldThrowException = getTargetApiLevel() >= Build.VERSION_CODES.N; in testSetNotExistCertInstallerPackage()