Home
last modified time | relevance | path

Searched refs:checkApiLevelAgainstNextRelease (Results 1 – 16 of 16) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/
DMetricUtilTest.java163 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testNonEmptyMetricReportList()
191 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testEmptyMetricReportList()
217 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testMultipleReportsInReportList_differentAtoms()
248 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testMultipleReportsInReportList_sameAtom()
276 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testInvalidDumpedReportThrows()
301 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testLegacyDumpReportCmd()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java138 if (!checkApiLevelAgainstNextRelease(30)) { in isAppEnumerationSupported()
1227 checkApiLevelAgainstNextRelease("get-max-running-users", 28); in getMaxNumberOfRunningUsersSupported()
1310 checkApiLevelAgainstNextRelease("start-user -w", 29); in startUser()
1396 checkApiLevelAgainstNextRelease("get-current-user", API_LEVEL_GET_CURRENT_USER); in getCurrentUser()
1499 checkApiLevelAgainstNextRelease("switchUser", API_LEVEL_GET_CURRENT_USER); in switchUser()
1506 checkApiLevelAgainstNextRelease(30) in switchUser()
1839 private void checkApiLevelAgainstNextRelease(String feature, int strictMinLevel) in checkApiLevelAgainstNextRelease() method in TestDevice
1841 if (checkApiLevelAgainstNextRelease(strictMinLevel)) { in checkApiLevelAgainstNextRelease()
DNativeDevice.java3950 public boolean checkApiLevelAgainstNextRelease(int strictMinLevel) in checkApiLevelAgainstNextRelease() method in NativeDevice
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java267 && getDevice().checkApiLevelAgainstNextRelease(30)) { in createTestRunner()
271 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createTestRunner()
DInstrumentationTest.java699 && getDevice().checkApiLevelAgainstNextRelease(30)) { in createRemoteAndroidTestRunner()
703 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java722 && device.checkApiLevelAgainstNextRelease(30)) { in doRunTests()
726 if (isIsolatedStorageDisabled && device.checkApiLevelAgainstNextRelease(29)) { in doRunTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java231 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(30); in testRun_testApiCheck()
244 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(29); in testRun_isolatedStorage()
DInstrumentationFileTestTest.java83 EasyMock.expect(mMockTestDevice.checkApiLevelAgainstNextRelease(EasyMock.anyInt())) in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java103 EasyMock.expect(mMockDevice.checkApiLevelAgainstNextRelease(30)).andStubReturn(true); in setUp()
547 EasyMock.expect(mMockDevice.checkApiLevelAgainstNextRelease(EasyMock.anyInt())) in testSetupSuccess_activatedSuccessOnQ()
/tools/tradefederation/core/test_framework/com/android/tradefed/util/statsd/
DMetricUtil.java109 device.checkApiLevelAgainstNextRelease(SDK_VERSION_Q) in getReportByteArray()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCrashCollector.java64 if (!device.checkApiLevelAgainstNextRelease(24)) { in shouldDisable()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1302 public boolean checkApiLevelAgainstNextRelease(int strictMinLevel) in checkApiLevelAgainstNextRelease() method
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java142 EasyMock.expect(mMockDevice.checkApiLevelAgainstNextRelease(EasyMock.anyInt())) in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java724 if (getDevice().checkApiLevelAgainstNextRelease(R_SDK_INT) in getModulesFailToActivate()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java303 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()
DAppTransitionTests.java346 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()