Home
last modified time | relevance | path

Searched refs:apiLevel (Results 1 – 13 of 13) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAndroidJarReader.java74 for (int apiLevel = 1; apiLevel < mApiLevels.length; apiLevel++) { in getApi()
75 File jar = getAndroidJarFile(apiLevel); in getApi()
76 readJar(api, apiLevel, jar); in getApi()
79 int apiLevel = mCodebase.getApiLevel(); in getApi() local
80 if (apiLevel != -1) { in getApi()
81 processCodebase(api, apiLevel); in getApi()
87 int apiLevel = mMinApi - 1; in getApi() local
89 apiLevel++; in getApi()
91 if (apiLevel == mCurrentApi) { in getApi()
95 jar = getAndroidJarFile(apiLevel); in getApi()
[all …]
DAddApisFromCodebase.kt26 fun addApisFromCodebase(api: Api, apiLevel: Int, codebase: Codebase) { in addApisFromCodebase()
39 val newClass = api.addClass(cls.internalName(), apiLevel, cls.deprecated) in addApisFromCodebase()
55 val since = removed?.since ?: apiLevel in addApisFromCodebase()
58 entry.update(apiLevel) in addApisFromCodebase()
78 newClass.addSuperClass(filteredSuperClass.internalName(), apiLevel) in addApisFromCodebase()
81 newClass.addSuperClass(superClass.internalName(), apiLevel) in addApisFromCodebase()
86 newClass.addInterface(superClass.internalName(), apiLevel) in addApisFromCodebase()
91 newClass.addSuperClass("java/lang/Enum", apiLevel) in addApisFromCodebase()
95 … newClass.addMethod("valueOf(Ljava/lang/String;)L" + newClass.name + ";", apiLevel, false) in addApisFromCodebase()
96 newClass.addMethod("values()[L" + newClass.name + ";", apiLevel, false) in addApisFromCodebase()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DBluetoothUtils.java178 int apiLevel = device.getApiLevel(); in isGoldAndAbove() local
180 apiLevel++; in isGoldAndAbove()
182 return apiLevel >= 25; in isGoldAndAbove()
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiUtil.java61 int apiLevel = Build.VERSION.SDK_INT; in onCreate() local
65 apiLevel++; in onCreate()
69 if (apiLevel >= API_LEVEL_Q_TBD) { in onCreate()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java697 int apiLevel = -1; in getDeviceSdkLevel() local
700 apiLevel = Integer.parseInt(prop); in getDeviceSdkLevel()
704 return apiLevel; in getDeviceSdkLevel()
DNativeDevice.java1009 int apiLevel = getApiLevel(); in isRuntimePermissionSupported() local
1010 boolean condition = apiLevel > 22; in isRuntimePermissionSupported()
1015 apiLevel); in isRuntimePermissionSupported()
2476 int apiLevel = getApiLevelSafe(); in takeBugreport() local
2477 if (apiLevel == UNKNOWN_API_LEVEL) { in takeBugreport()
2480 if (apiLevel >= 24) { in takeBugreport()
3929 int apiLevel = UNKNOWN_API_LEVEL; in getApiLevel() local
3932 apiLevel = Integer.parseInt(prop); in getApiLevel()
3941 return apiLevel; in getApiLevel()
3956 int apiLevel = getApiLevel() + ("REL".equals(codeName) ? 0 : 1); in checkApiLevelAgainstNextRelease() local
[all …]
DTestDevice.java1345 final int apiLevel = getApiLevel(); in stopUser() local
1346 if (waitFlag && apiLevel < 23) { in stopUser()
1349 if (forceFlag && apiLevel < 24) { in stopUser()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java258 int apiLevel = !mHiddenApiChecks || !mWindowAnimation ? getDevice().getApiLevel() : 0; in createTestRunner() local
259 if (!mHiddenApiChecks && apiLevel >= 28) { in createTestRunner()
275 if (!mWindowAnimation && apiLevel >= 14) { in createTestRunner()
DInstrumentationTest.java690 int apiLevel = !mHiddenApiChecks || !mWindowAnimation ? getDevice().getApiLevel() : 0; in createRemoteAndroidTestRunner() local
691 if (!mHiddenApiChecks && apiLevel >= 28) { in createRemoteAndroidTestRunner()
707 if (!mWindowAnimation && apiLevel >= 14) { in createRemoteAndroidTestRunner()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java1265 private void doSetupExpectations(int apiLevel) in doSetupExpectations() argument
1272 apiLevel, in doSetupExpectations()
1293 int apiLevel, in doSetupExpectations() argument
1301 apiLevel, in doSetupExpectations()
1311 int apiLevel, in doSetupExpectations() argument
1323 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(apiLevel); in doSetupExpectations()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java715 int apiLevel = isHiddenApiCheckDisabled || isWindowAnimationDisabled in doRunTests() local
717 if (isHiddenApiCheckDisabled && (apiLevel >= 28)) { in doRunTests()
730 if (isWindowAnimationDisabled && apiLevel >= 14) { in doRunTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java3624 int apiLevel, boolean wait, boolean force, String expectedCommand) throws Exception { in verifyStopUserSuccess() argument
3647 return apiLevel; in verifyStopUserSuccess()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...