Searched refs:getTargetApiLevel (Results 1 – 4 of 4) sorted by relevance
49 protected int getTargetApiLevel() { in getTargetApiLevel() method in BaseDeviceAdminTest74 return getTargetApiLevel() > Build.VERSION_CODES.M; in shouldResetPasswordThrow()
38 assertEquals(getTargetApiLevel(), pi.applicationInfo.targetSdkVersion); in testTargetApiLevel()
63 protected int getTargetApiLevel() throws Exception { in getTargetApiLevel() method in BaseDeviceAdminTest
230 boolean shouldThrowException = getTargetApiLevel() >= Build.VERSION_CODES.N; in testSetNotExistCertInstallerPackage()