Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/javatests/com/android/tradefed/util/statsd/
DMetricUtilTest.java163 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testNonEmptyMetricReportList()
193 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testEmptyMetricReportList()
219 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testMultipleReportsInReportList_differentAtoms()
252 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testMultipleReportsInReportList_sameAtom()
282 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testInvalidDumpedReportThrows()
307 when(mTestDevice.checkApiLevelAgainstNextRelease(MetricUtil.SDK_VERSION_Q)) in testLegacyDumpReportCmd()
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DDeviceBaselineCheckerTest.java72 doReturn(true).when(mMockDevice).checkApiLevelAgainstNextRelease(30); in testSetBaselineSettings_inExperimentList()
101 doReturn(true).when(mMockDevice).checkApiLevelAgainstNextRelease(30); in testSetBaselineSettings_notInExperimentList()
128 doReturn(true).when(mMockDevice).checkApiLevelAgainstNextRelease(30); in testFailToSetBaselineSettings()
155 doReturn(false).when(mMockDevice).checkApiLevelAgainstNextRelease(30); in testSetBaselineSettings_oldDeviceApiLevel()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java228 if (!checkApiLevelAgainstNextRelease(30)) { in isAppEnumerationSupported()
1388 checkApiLevelAgainstNextRelease(GET_MODULEINFOS_CMD, 29); in getMainlineModuleInfo()
1771 checkApiLevelAgainstNextRelease("get-max-running-users", 28); in getMaxNumberOfRunningUsersSupported()
1787 checkApiLevelAgainstNextRelease("get-max-running-users", 28); in isMultiUserSupported()
1808 return checkApiLevelAgainstNextRelease(34) in isHeadlessSystemUserMode()
1904 checkApiLevelAgainstNextRelease("start-user -w", 29); in startUser()
1927 checkApiLevelAgainstNextRelease("startVisibleBackgroundUser", 34); in startVisibleBackgroundUser()
1992 checkApiLevelAgainstNextRelease("isHeadlessSystemUserMode", 34); in isVisibleBackgroundUsersSupported()
2001 checkApiLevelAgainstNextRelease("isVisibleBackgroundUsersOnDefaultDisplaySupported", 34); in isVisibleBackgroundUsersOnDefaultDisplaySupported()
2035 checkApiLevelAgainstNextRelease("get-current-user", API_LEVEL_GET_CURRENT_USER); in getCurrentUser()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DInstallApkSetupTest.java92 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(false); in testSetupForceQueryable()
112 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetupDeviceApi34ForceQueryableIsFalse()
DAllTestAppsInstallSetupTest.java120 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(false); in testSetupForceQueryable()
146 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetupDeviceApi34ForceQueryableIsFalse()
DInstallAllTestZipAppsSetupTest.java156 when(mMockTestDevice.checkApiLevelAgainstNextRelease(eq(34))).thenReturn(false); in testForceQueryableSuccess()
174 when(mMockTestDevice.checkApiLevelAgainstNextRelease(eq(34))).thenReturn(true); in testDeviceApi34ForceQueryableIsFalse()
DTestAppInstallSetupTest.java315 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(false); in testSetup_forceQueryable()
336 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetup_deviceApi34_forceQueryableIsFalse()
350 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(false); in testSetup_forceQueryableIsFalse()
DAppSetupTest.java141 when(mMockDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetup_deviceApi34_forceQueryableIsFalse()
/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/
DInstallApkSetup.java105 !device.checkApiLevelAgainstNextRelease(34) in setUp()
DInstallAllTestZipAppsSetup.java117 !device.checkApiLevelAgainstNextRelease(34) in setUp()
DAllTestAppsInstallSetup.java102 !device.checkApiLevelAgainstNextRelease(34) in setUp()
DAppSetup.java117 !device.checkApiLevelAgainstNextRelease(34) in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java803 && device.checkApiLevelAgainstNextRelease(30)) { in doRunTests()
807 if (isIsolatedStorageDisabled && device.checkApiLevelAgainstNextRelease(29)) { in doRunTests()
815 if (isRestartDisabled && device.checkApiLevelAgainstNextRelease(31)) { in doRunTests()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java661 && getDevice().checkApiLevelAgainstNextRelease(30)) { in getRunOptions()
665 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in getRunOptions()
672 if (!mRestart && getDevice().checkApiLevelAgainstNextRelease(31)) { in getRunOptions()
691 return getDevice().checkApiLevelAgainstNextRelease(33) in testHasRunOnSdkSandboxProperty()
DUiAutomatorTest.java267 && getDevice().checkApiLevelAgainstNextRelease(30)) { in createTestRunner()
271 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createTestRunner()
DAndroidJUnitTest.java369 mUseTestStorage = getDevice().checkApiLevelAgainstNextRelease(34); in run()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceBaselineChecker.java139 if (device.checkApiLevelAgainstNextRelease(setter.getMinimalApiLevel())) { in preExecutionCheck()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DInstrumentationTestTest.java263 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(30); in testRun_testApiCheck()
277 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(29); in testRun_isolatedStorage()
303 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(31); in testRun_noRestart()
316 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(33); in testRun_runOnSdkSandbox()
DInstrumentationFileTestTest.java84 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.anyInt())).thenReturn(false); in setUp()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1453 public boolean checkApiLevelAgainstNextRelease(int strictMinLevel) in checkApiLevelAgainstNextRelease() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java6330 () -> testDevice.checkApiLevelAgainstNextRelease(42)); in testCheckApiLevelAgainstNextRelease_propertyNotSet()
6340 assertThat(testDevice.checkApiLevelAgainstNextRelease(41)).isTrue(); in testCheckApiLevelAgainstNextRelease_release()
6341 assertThat(testDevice.checkApiLevelAgainstNextRelease(42)).isTrue(); in testCheckApiLevelAgainstNextRelease_release()
6342 assertThat(testDevice.checkApiLevelAgainstNextRelease(43)).isFalse(); in testCheckApiLevelAgainstNextRelease_release()
6343 assertThat(testDevice.checkApiLevelAgainstNextRelease(10000)).isFalse(); in testCheckApiLevelAgainstNextRelease_release()
6350 assertThat(testDevice.checkApiLevelAgainstNextRelease(41)).isTrue(); in testCheckApiLevelAgainstNextRelease_dev()
6351 assertThat(testDevice.checkApiLevelAgainstNextRelease(42)).isTrue(); in testCheckApiLevelAgainstNextRelease_dev()
6352 assertThat(testDevice.checkApiLevelAgainstNextRelease(43)).isTrue(); in testCheckApiLevelAgainstNextRelease_dev()
6353 assertThat(testDevice.checkApiLevelAgainstNextRelease(44)).isFalse(); in testCheckApiLevelAgainstNextRelease_dev()
6354 assertThat(testDevice.checkApiLevelAgainstNextRelease(10000)).isTrue(); in testCheckApiLevelAgainstNextRelease_dev()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java143 when(mMockDevice.checkApiLevelAgainstNextRelease(Mockito.anyInt())).thenReturn(false); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestAppInstallSetup.java401 !getDevice().checkApiLevelAgainstNextRelease(34) in setUp()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java303 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()

12