Home
last modified time | relevance | path

Searched refs:getMajorVersion (Results 1 – 22 of 22) sorted by relevance

/packages/services/Car/car-lib/src/android/car/
DApiVersion.java80 int requiredApiVersionMajor = requiredVersion.getMajorVersion(); in isAtLeast()
91 public final int getMajorVersion() { in getMajorVersion() method in ApiVersion
155 dest.writeInt(getMajorVersion()); in writeToParcel()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java124 int apiVersionMajorInt = Car.getCarVersion().getMajorVersion(); in testApiVersion_deprecated()
154 assertThat(carVersion.getMajorVersion()).isAtLeast(Build.VERSION.SDK_INT); in testApiVersion_car()
155 assertThat(carVersion.getMajorVersion()).isAtMost(Build.VERSION_CODES.CUR_DEVELOPMENT); in testApiVersion_car()
164 assertThat(platformVersion.getMajorVersion()).isEqualTo( in testApiVersion_platform()
DCarPackageManagerTest.java57 .that(apiVersion.getMajorVersion()) in testGetTargetCarVersion_self()
82 .that(apiVersion.getMajorVersion()) in testGetTargetCarMajorAndMinorVersion_set()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DCarVersionParserTest.java40 expectWithMessage("parse(%s).major", info).that(apiVersion.getMajorVersion()).isEqualTo(42); in testGetTargetCarApiVersion_noMetadata()
56 .that(apiVersion.getMajorVersion()).isEqualTo(108); in testGetTargetCarApiVersion_simpleCase()
DCarVersionParserParseMethodTest.java54 expectWithMessage("parse(%s).major", mAttribute).that(actual.getMajorVersion()) in testParse()
DCarPackageManagerServiceUnitTest.java312 assertWithMessage("major version").that(actualVersion.getMajorVersion()).isEqualTo(42); in testGetTargetCarVersion_static_ok()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java99 mCarMajorVersion.setText(String.valueOf(carApiVersion.getMajorVersion())); in onStart()
130 mAppCarTargetMajorSdk.setText(String.valueOf(apiVersion.getMajorVersion())); in setTargetCarApiVersion()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DInvalidMajorVersionException.java69 public byte getMajorVersion() { in getMajorVersion() method in InvalidMajorVersionException
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeaderTest.java109 assertEquals(3, exception.getMajorVersion()); in testDecodeIkeHeaderWithInvalidMajorVersion()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeExceptionTest.java103 assertEquals(majorVersion, exception.getMajorVersion()); in testInvalidMajorVersionException()
/packages/modules/Virtualization/tests/pvmfw/helper/java/com/android/pvmfw/test/host/
DPvmfw.java162 private static int getMajorVersion(int version) { in getMajorVersion() method in Pvmfw
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiCheckerRule.java450 + " (major=" + Car.getCarVersion().getMajorVersion()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java894 writer.println("Car API major: " + Car.getCarVersion().getMajorVersion()); in dumpVersions()
DCarShellCommand.java4275 Version.getMajorVersion(), Version.getMinorVersion());
/packages/modules/IPsec/api/
Dcurrent.txt451 method public byte getMajorVersion();
/packages/services/Car/car-lib/api/
Dcurrent.txt5 method public final int getMajorVersion();
Dlint-baseline.txt226 UnflaggedApi: android.car.ApiVersion#getMajorVersion():
227 New API must be flagged with @FlaggedApi: method android.car.ApiVersion.getMajorVersion()
/packages/services/Car/car-lib-module/api/
Dcurrent.txt5 method public final int getMajorVersion();
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt651 method TIRAMISU_1 int getMajorVersion();
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...