/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceTest.java | 1794 AndroidVersion.ALLOW_SPLIT_APK_INSTALLATION.getApiLevel() - 1)); in testInstallPackages_splitApkNotSupported() 1820 AndroidVersion.ALLOW_SPLIT_APK_INSTALLATION.getApiLevel())); in testInstallPackages_splitApkSupported() 2834 public int getApiLevel() throws DeviceNotAvailableException { in testStartUser_wait() 2854 public int getApiLevel() throws DeviceNotAvailableException { in testStartUser_wait_api27() 3039 public int getApiLevel() throws DeviceNotAvailableException { in testGetCurrentUser() 3064 public int getApiLevel() throws DeviceNotAvailableException { in testGetCurrentUser_invalid() 3083 public int getApiLevel() throws DeviceNotAvailableException { in testGetCurrentUser_lowApi() 3110 public int getApiLevel() throws DeviceNotAvailableException { in testGetUserFlag() 3130 public int getApiLevel() throws DeviceNotAvailableException { in testGetUserFlag_emptyReturn() 3150 public int getApiLevel() throws DeviceNotAvailableException { in testGetUserFlag_multiUser() [all …]
|
D | NativeDeviceTest.java | 981 public int getApiLevel() throws DeviceNotAvailableException { in testTestLogBugreport() 1011 public int getApiLevel() throws DeviceNotAvailableException { in testTestLogBugreport_oldDevice() 1039 public int getApiLevel() throws DeviceNotAvailableException { in testTestLogBugreport_fail() 1055 public int getApiLevel() throws DeviceNotAvailableException { in testTakeBugreport_apiLevelFail() 1068 public int getApiLevel() throws DeviceNotAvailableException { in testTakeBugreport_oldDevice() 1087 public int getApiLevel() throws DeviceNotAvailableException { in testTakeBugreport() 1133 public int getApiLevel() throws DeviceNotAvailableException { in testGetBugreport_deviceUnavail() 1162 public int getApiLevel() throws DeviceNotAvailableException { in testGetBugreport_compatibility_deviceUnavail() 1193 public int getApiLevel() throws DeviceNotAvailableException { in testGetBugreport_deviceUnavail_fallback() 1263 public int getApiLevel() throws DeviceNotAvailableException { in testGetBugreportz() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | GsiDeviceFlashPreparerTest.java | 210 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(29); in testSetup_Success() 255 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(29); in testSetup_Success_FromZipFile() 301 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(29); in testSetup_Success_WithGkiBootImg() 356 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(29); in testSetup_Success_WithGkiBootImgInZip() 406 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(28); in testSetup_Success_Api28() 444 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(29); in testSetup_GsiFlashFailure() 490 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(29); in testSetUp_BootFailure()
|
D | DeviceSetupTest.java | 1139 EasyMock.expect(mMockDevice.getApiLevel()).andStubReturn(23); in test_restore_settings() 1323 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(apiLevel); in doSetupExpectations() 1373 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(22); in doSettingExpectations()
|
D | AppSetupTest.java | 241 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(21).times(2); in testSetup_checkMinSdk_apiLow() 271 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(23); in testSetup_checkMinSdk_apiOk()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1009 int apiLevel = getApiLevel(); in isRuntimePermissionSupported() 2277 if (getApiLevel() <= 22) { in getLogcatSince() 3932 public int getApiLevel() throws DeviceNotAvailableException { in getApiLevel() method in NativeDevice 3960 int apiLevel = getApiLevel() + ("REL".equals(codeName) ? 0 : 1); in checkApiLevelAgainstNextRelease() 3969 return getApiLevel(); in getApiLevelSafe() 3989 return getApiLevel(); in getLaunchApiLevel() 4073 if (getApiLevel() < 23) { in setDate() 4486 if (getApiLevel() < strictMinLevel){ in checkApiLevelAgainst() 4986 if (getApiLevel() < 28) { in getContentProvider()
|
D | TestDevice.java | 872 if (getApiLevel() >= 23) { in disableKeyguard() 947 if (getApiLevel() >= 18 && isAdbRoot()) { in doAdbFrameworkReboot() 1345 final int apiLevel = getApiLevel(); in stopUser()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | Sl4aBluetoothUtilTest.java | 342 when(mPrimary.getApiLevel()).thenReturn(29); in testEnableBluetoothSnoopLog_AndroidQAndAbove() 363 when(mPrimary.getApiLevel()).thenReturn(28); in testEnableBluetoothSnoopLog_AndroidPAndBelow() 384 when(mPrimary.getApiLevel()).thenReturn(29); in testDisableBluetoothSnoopLog_AndroidQAndAbove() 401 when(mPrimary.getApiLevel()).thenReturn(28); in testDisableBluetoothSnoopLog_AndroidPAndBelow()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | LogcatOnFailureCollectorTest.java | 106 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(20); in testCollect() 150 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(18); in testCollect_legacy() 192 EasyMock.expect(mMockDevice.getApiLevel()).andStubReturn(20); in testCollect_multiRun()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AndroidJarReader.java | 70 max = mCodebase.getApiLevel(); in getApi() 79 int apiLevel = mCodebase.getApiLevel(); in getApi()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | AppSetup.java | 125 if (device.getApiLevel() < aaptParser.getSdkVersion()) { in setUp() 129 aaptParser.getSdkVersion(), device.getApiLevel()); in setUp()
|
D | CrashCollector.java | 65 CLog.i("API Level too low: %s.", device.getApiLevel()); in shouldDisable()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceSetup.java | 637 if (device.getApiLevel() < 22) { in processOptions() 803 if (device.getApiLevel() < 22) { in changeSettings()
|
D | GsiDeviceFlashPreparer.java | 170 if (device.getApiLevel() < DYNAMIC_PARTITION_API_LEVEL) { in flashGsi()
|
D | TestAppInstallSetup.java | 296 if (abiName != null && testInfo.getDevice().getApiLevel() > 20) { in setUp()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstrumentationTest.java | 690 int apiLevel = !mHiddenApiChecks || !mWindowAnimation ? getDevice().getApiLevel() : 0; in createRemoteAndroidTestRunner() 711 if (abiName != null && getDevice().getApiLevel() > 20) { in createRemoteAndroidTestRunner()
|
D | UiAutomatorTest.java | 258 int apiLevel = !mHiddenApiChecks || !mWindowAnimation ? getDevice().getApiLevel() : 0; in createTestRunner()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 219 doReturn(28).when(mMockTestDevice).getApiLevel(); in testRun_hiddenApiCheck() 256 doReturn(14).when(mMockTestDevice).getApiLevel(); in testRun_windowAnimation()
|
D | InstrumentationTestFuncTest.java | 154 if (getDevice().getApiLevel() <= 23) { in testRun_testCrash()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | SystemServerStatusChecker.java | 52 if (device.getApiLevel() < 29) { in preExecutionCheck()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | NestedRemoteDeviceTest.java | 74 public int getApiLevel() throws DeviceNotAvailableException { in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | SystemServerStatusCheckerTest.java | 44 EasyMock.expect(mMockDevice.getApiLevel()).andStubReturn(29); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | LogcatOnFailureCollector.java | 147 return device.getApiLevel(); in getApiLevelNoThrow()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BluetoothUtils.java | 178 int apiLevel = device.getApiLevel(); in isGoldAndAbove()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 1284 public int getApiLevel() throws DeviceNotAvailableException; in getApiLevel() method
|