Searched refs:checkApiLevelAgainstNextRelease (Results 1 – 16 of 16) sorted by relevance
163 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()
138 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 TestDevice1841 if (checkApiLevelAgainstNextRelease(strictMinLevel)) { in checkApiLevelAgainstNextRelease()
3950 public boolean checkApiLevelAgainstNextRelease(int strictMinLevel) in checkApiLevelAgainstNextRelease() method in NativeDevice
267 && getDevice().checkApiLevelAgainstNextRelease(30)) { in createTestRunner()271 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createTestRunner()
699 && getDevice().checkApiLevelAgainstNextRelease(30)) { in createRemoteAndroidTestRunner()703 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()
722 && device.checkApiLevelAgainstNextRelease(30)) { in doRunTests()726 if (isIsolatedStorageDisabled && device.checkApiLevelAgainstNextRelease(29)) { in doRunTests()
231 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(30); in testRun_testApiCheck()244 doReturn(true).when(mMockTestDevice).checkApiLevelAgainstNextRelease(29); in testRun_isolatedStorage()
83 EasyMock.expect(mMockTestDevice.checkApiLevelAgainstNextRelease(EasyMock.anyInt())) in setUp()
103 EasyMock.expect(mMockDevice.checkApiLevelAgainstNextRelease(30)).andStubReturn(true); in setUp()547 EasyMock.expect(mMockDevice.checkApiLevelAgainstNextRelease(EasyMock.anyInt())) in testSetupSuccess_activatedSuccessOnQ()
109 device.checkApiLevelAgainstNextRelease(SDK_VERSION_Q) in getReportByteArray()
64 if (!device.checkApiLevelAgainstNextRelease(24)) { in shouldDisable()
1302 public boolean checkApiLevelAgainstNextRelease(int strictMinLevel) in checkApiLevelAgainstNextRelease() method
142 EasyMock.expect(mMockDevice.checkApiLevelAgainstNextRelease(EasyMock.anyInt())) in setUp()
724 if (getDevice().checkApiLevelAgainstNextRelease(R_SDK_INT) in getModulesFailToActivate()
303 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()
346 if (!mIsolatedStorage && getDevice().checkApiLevelAgainstNextRelease(29)) { in createRemoteAndroidTestRunner()