/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AndroidJarReader.java | 67 for (int apiLevel = 1; apiLevel < mApiLevels.length; apiLevel++) { in getApi() 68 File jar = getAndroidJarFile(apiLevel); in getApi() 69 readJar(api, apiLevel, jar); in getApi() 72 int apiLevel = mCodebase.getApiLevel(); in getApi() local 73 if (apiLevel != -1) { in getApi() 74 processCodebase(api, apiLevel); in getApi() 79 int apiLevel = mMinApi - 1; in getApi() local 81 apiLevel++; in getApi() 83 if (apiLevel == mCurrentApi) { in getApi() 87 jar = getAndroidJarFile(apiLevel); in getApi() [all …]
|
D | AddApisFromCodebase.kt | 26 fun addApisFromCodebase(api: Api, apiLevel: Int, codebase: Codebase) { in addApisFromCodebase() 40 val newClass = api.addClass(cls.internalName(), apiLevel, cls.deprecated) in addApisFromCodebase() 50 newClass.addSuperClass(superClass?.internalName(), apiLevel) in addApisFromCodebase() 52 newClass.addSuperClass(filteredSuperClass.internalName(), apiLevel) in addApisFromCodebase() 55 newClass.addSuperClass(superClass.internalName(), apiLevel) in addApisFromCodebase() 61 newClass.addInterface(interfaceClass.internalName(), apiLevel) in addApisFromCodebase() 70 method.internalDesc(voidConstructorTypes = true), apiLevel, method.deprecated in addApisFromCodebase() 80 currentClass?.addField(field.internalName(), apiLevel, field.deprecated) in addApisFromCodebase()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | CrashCollector.java | 66 int apiLevel = device.getApiLevel(); in shouldDisable() local 68 apiLevel++; in shouldDisable() 70 if (apiLevel < 24) { in shouldDisable() 71 CLog.i("API Level too low: %s.", apiLevel); in shouldDisable()
|
/tools/tradefederation/core/prod-tests/src/com/android/sdk/ |
D | EmulatorBootTest.java | 131 Integer apiLevel = device.getApiLevel(); in checkLauncherRunningOnEmulator() local 133 if (apiLevel >= 21) { in checkLauncherRunningOnEmulator() 135 } else if (apiLevel == 19) { in checkLauncherRunningOnEmulator()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BluetoothUtils.java | 178 int apiLevel = device.getApiLevel(); in isGoldAndAbove() local 180 apiLevel++; in isGoldAndAbove() 182 return apiLevel >= 25; in isGoldAndAbove()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Codebase.kt | 48 var apiLevel: Int in <lambda>() variable 160 override var apiLevel: Int = -1 variable in com.android.tools.metalava.model.DefaultCodebase
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceSelectionOptions.java | 577 int apiLevel = -1; in getDeviceSdkLevel() local 580 apiLevel = Integer.parseInt(prop); in getDeviceSdkLevel() 584 return apiLevel; in getDeviceSdkLevel()
|
D | TestDevice.java | 916 final int apiLevel = getApiLevel(); 917 if (waitFlag && apiLevel < 23) { 920 if (forceFlag && apiLevel < 24) { 1318 int apiLevel = getApiLevel() + ("REL".equals(codeName) ? 0 : 1); 1319 if (apiLevel < strictMinLevel){
|
D | NativeDevice.java | 2179 int apiLevel = getApiLevelSafe(); in takeBugreport() local 2180 if (apiLevel == UNKNOWN_API_LEVEL) { in takeBugreport() 2183 if (apiLevel >= 24) { in takeBugreport() 3394 int apiLevel = UNKNOWN_API_LEVEL; in getApiLevel() local 3397 apiLevel = Integer.parseInt(prop); in getApiLevel() 3401 return apiLevel; in getApiLevel()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DeviceSetupTest.java | 1139 private void doSetupExpectations(int apiLevel) in doSetupExpectations() argument 1142 apiLevel, new Capture<String>()); in doSetupExpectations() 1157 int apiLevel, in doSetupExpectations() argument 1168 EasyMock.expect(mMockDevice.getApiLevel()).andReturn(apiLevel); in doSetupExpectations()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceTest.java | 2753 int apiLevel, boolean wait, boolean force, String expectedCommand) throws Exception { in verifyStopUserSuccess() argument 2776 return apiLevel; in verifyStopUserSuccess()
|