/tools/tradefederation/core/javatests/com/android/tradefed/util/statsd/ |
D | MetricUtilTest.java | 163 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/ |
D | DeviceBaselineCheckerTest.java | 72 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/ |
D | TestDevice.java | 228 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/ |
D | InstallApkSetupTest.java | 92 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(false); in testSetupForceQueryable() 112 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetupDeviceApi34ForceQueryableIsFalse()
|
D | AllTestAppsInstallSetupTest.java | 120 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(false); in testSetupForceQueryable() 146 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetupDeviceApi34ForceQueryableIsFalse()
|
D | InstallAllTestZipAppsSetupTest.java | 156 when(mMockTestDevice.checkApiLevelAgainstNextRelease(eq(34))).thenReturn(false); in testForceQueryableSuccess() 174 when(mMockTestDevice.checkApiLevelAgainstNextRelease(eq(34))).thenReturn(true); in testDeviceApi34ForceQueryableIsFalse()
|
D | TestAppInstallSetupTest.java | 315 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()
|
D | AppSetupTest.java | 141 when(mMockDevice.checkApiLevelAgainstNextRelease(Mockito.eq(34))).thenReturn(true); in testSetup_deviceApi34_forceQueryableIsFalse()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/util/statsd/ |
D | MetricUtil.java | 109 device.checkApiLevelAgainstNextRelease(SDK_VERSION_Q) in getReportByteArray()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | InstallApkSetup.java | 105 !device.checkApiLevelAgainstNextRelease(34) in setUp()
|
D | InstallAllTestZipAppsSetup.java | 117 !device.checkApiLevelAgainstNextRelease(34) in setUp()
|
D | AllTestAppsInstallSetup.java | 102 !device.checkApiLevelAgainstNextRelease(34) in setUp()
|
D | AppSetup.java | 117 !device.checkApiLevelAgainstNextRelease(34) in setUp()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 803 && 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/ |
D | InstrumentationTest.java | 661 && 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()
|
D | UiAutomatorTest.java | 267 && getDevice().checkApiLevelAgainstNextRelease(30)) { in createTestRunner() 271 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createTestRunner()
|
D | AndroidJUnitTest.java | 369 mUseTestStorage = getDevice().checkApiLevelAgainstNextRelease(34); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | DeviceBaselineChecker.java | 139 if (device.checkApiLevelAgainstNextRelease(setter.getMinimalApiLevel())) { in preExecutionCheck()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 263 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()
|
D | InstrumentationFileTestTest.java | 84 when(mMockTestDevice.checkApiLevelAgainstNextRelease(Mockito.anyInt())).thenReturn(false); in setUp()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 1453 public boolean checkApiLevelAgainstNextRelease(int strictMinLevel) in checkApiLevelAgainstNextRelease() method
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDeviceTest.java | 6330 () -> 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/ |
D | BaseHostJUnit4TestTest.java | 143 when(mMockDevice.checkApiLevelAgainstNextRelease(Mockito.anyInt())).thenReturn(false); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetup.java | 401 !getDevice().checkApiLevelAgainstNextRelease(34) in setUp()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticLaunchTest.java | 303 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()
|