/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | ApiLevelUtilTest.java | 39 assertFalse(ApiLevelUtil.isBefore(version - 1)); in testComparisonByInt() 40 assertFalse(ApiLevelUtil.isBefore(version)); in testComparisonByInt() 41 assertTrue(ApiLevelUtil.isBefore(version + 1)); in testComparisonByInt() 43 assertTrue(ApiLevelUtil.isAfter(version - 1)); in testComparisonByInt() 44 assertFalse(ApiLevelUtil.isAfter(version)); in testComparisonByInt() 45 assertFalse(ApiLevelUtil.isAfter(version + 1)); in testComparisonByInt() 47 assertTrue(ApiLevelUtil.isAtLeast(version - 1)); in testComparisonByInt() 48 assertTrue(ApiLevelUtil.isAtLeast(version)); in testComparisonByInt() 49 assertFalse(ApiLevelUtil.isAtLeast(version + 1)); in testComparisonByInt() 51 assertFalse(ApiLevelUtil.isAtMost(version - 1)); in testComparisonByInt() [all …]
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 28 import com.android.compatibility.common.util.ApiLevelUtil; 47 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo() 51 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo() 143 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo() 161 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)) { in collectDeviceInfo()
|
D | GenericDeviceInfo.java | 32 import com.android.compatibility.common.util.ApiLevelUtil; 78 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q)) { in collectDeviceInfo() 81 } else if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.O)) { in collectDeviceInfo() 86 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.R)) { in collectDeviceInfo()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiBuildCompat.java | 26 import com.android.compatibility.common.util.ApiLevelUtil; 75 return ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S) in isPlatformOrWifiModuleAtLeastS()
|
/cts/tests/tests/os/UffdGc/src/android/os/cts/uffdgc/ |
D | UserfaultfdTest.java | 26 import com.android.compatibility.common.util.ApiLevelUtil; 45 && ApiLevelUtil.isAtMost(VERSION_CODES.S_V2)); in setUp()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorParameterRangeTest.java | 28 import com.android.compatibility.common.util.ApiLevelUtil; 100 double hifiMaxFrequency = ApiLevelUtil.isAtLeast(Build.VERSION_CODES.N) ? in testAccelerometerRange() 119 double hifiMaxFrequency = ApiLevelUtil.isAtLeast(Build.VERSION_CODES.N) ? in testGyroscopeRange() 124 ApiLevelUtil.isAtLeast(Build.VERSION_CODES.Q) ? in testGyroscopeRange()
|
/cts/hostsidetests/dexmetadata/app/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataTest.java | 33 import com.android.compatibility.common.util.ApiLevelUtil; 68 mShouldRunTest = (ApiLevelUtil.isAtLeast(VERSION_CODES.P) in setUp() 69 || ApiLevelUtil.codenameEquals("P")); in setUp()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | LeL2capSocketTest.java | 36 import com.android.compatibility.common.util.ApiLevelUtil; 52 assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | BluetoothHapPresetInfoTest.java | 34 import com.android.compatibility.common.util.ApiLevelUtil; 57 assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | DistanceMeasurementSessionTest.java | 37 import com.android.compatibility.common.util.ApiLevelUtil; 65 Assume.assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | DistanceMeasurementMethodTest.java | 36 import com.android.compatibility.common.util.ApiLevelUtil; 55 Assume.assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | BluetoothLeAudioContentMetadataTest.java | 37 import com.android.compatibility.common.util.ApiLevelUtil; 72 Assume.assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | BluetoothLeAudioCodecConfigMetadataTest.java | 37 import com.android.compatibility.common.util.ApiLevelUtil; 75 Assume.assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | BluetoothLeBroadcastChannelTest.java | 37 import com.android.compatibility.common.util.ApiLevelUtil; 64 Assume.assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
D | DistanceMeasurementManagerTest.java | 45 import com.android.compatibility.common.util.ApiLevelUtil; 82 Assume.assumeTrue(ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)); in setUp()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdCtsForegroundService.java | 34 import com.android.compatibility.common.util.ApiLevelUtil; 83 if (ApiLevelUtil.isBefore(Build.VERSION_CODES.O_MR1)) { in onCreate()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SecurityPatchTest.java | 17 import com.android.compatibility.common.util.ApiLevelUtil; 38 mSkipTests = (ApiLevelUtil.isBefore(Build.VERSION_CODES.M)); in setUp()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmExtractorTest.java | 31 import com.android.compatibility.common.util.ApiLevelUtil; 44 private static boolean mIsAtLeastR = ApiLevelUtil.isAtLeast(Build.VERSION_CODES.R);
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarInputManagerSystemTest.java | 41 import com.android.compatibility.common.util.ApiLevelUtil; 82 ApiLevelUtil.isAtLeast(Build.VERSION_CODES.S)); in testCarInputService_injectKeyEvent()
|
/cts/tests/tests/wifi/src/android/net/wifi/p2p/cts/ |
D | WifiP2pConfigTest.java | 36 import com.android.compatibility.common.util.ApiLevelUtil; 56 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU)) { in testWifiP2pConfigCopyConstructor() 65 ApiLevelUtil.isAtLeast(Build.VERSION_CODES.TIRAMISU) in testWifiP2pConfigCopyConstructor()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventBasicVerification.java | 21 import com.android.compatibility.common.util.ApiLevelUtil; 71 if (ApiLevelUtil.isAfter(Build.VERSION_CODES.M)) { in EventBasicVerification()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerMultiTest.java | 37 import com.android.compatibility.common.util.ApiLevelUtil; 66 ApiLevelUtil.isFirstApiAfter(Build.VERSION_CODES.TIRAMISU); 68 ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
|
D | ResourceManagerTest.java | 33 import com.android.compatibility.common.util.ApiLevelUtil; 50 ApiLevelUtil.isFirstApiAfter(Build.VERSION_CODES.TIRAMISU); 52 ApiLevelUtil.isAfter(Build.VERSION_CODES.TIRAMISU);
|
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataHostTest.java | 25 import com.android.compatibility.common.util.ApiLevelUtil; 94 mShouldRunTests = ApiLevelUtil.isAtLeast(getDevice(), 28) in setUp() 95 || ApiLevelUtil.isAtLeast(getDevice(), "P") in setUp() 96 || ApiLevelUtil.codenameEquals(getDevice(), "P"); in setUp() 334 boolean useProfileForS = ApiLevelUtil.isAtLeast(getDevice(), "S"); in testProfileSnapshotAfterInstall()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaStubActivity.java | 35 import com.android.compatibility.common.util.ApiLevelUtil; 57 if (ApiLevelUtil.isAtLeast(Build.VERSION_CODES.R)) { in onCreate()
|