Home
last modified time | relevance | path

Searched refs:isAtLeastInternal (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/modules-utils/javatests/com/android/modules/utils/build/
DUnboundedSdkLevelTest.java48 assertThat(sdkLevel.isAtLeastInternal("30")).isTrue(); in testFinalizedSdk_S()
49 assertThat(sdkLevel.isAtLeastInternal("31")).isTrue(); in testFinalizedSdk_S()
50 assertThat(sdkLevel.isAtLeastInternal("32")).isFalse(); in testFinalizedSdk_S()
52 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("R")); in testFinalizedSdk_S()
53 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("S")); in testFinalizedSdk_S()
54 assertThat(sdkLevel.isAtLeastInternal("Sv2")).isFalse(); in testFinalizedSdk_S()
55 assertThat(sdkLevel.isAtLeastInternal("Tiramisu")).isFalse(); in testFinalizedSdk_S()
56 assertThat(sdkLevel.isAtLeastInternal("U")).isFalse(); in testFinalizedSdk_S()
58 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("")); in testFinalizedSdk_S()
59 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("current")); in testFinalizedSdk_S()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/build/
DUnboundedSdkLevel.java41 return sInstance.isAtLeastInternal(version); in isAtLeast()
94 boolean isAtLeastInternal(@NonNull String version) { in isAtLeastInternal() method in UnboundedSdkLevel
/frameworks/base/services/
Dart-wear-profile1761 HSPLcom/android/modules/utils/build/UnboundedSdkLevel;->isAtLeastInternal(Ljava/lang/String;)Z