Home
last modified time | relevance | path

Searched refs:getVersion (Results 1 – 25 of 170) sorted by relevance

1234567

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyDatabaseHelperTest.java78 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasApnSetIdField()
93 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasCarrierIdField()
106 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasCountryIsoField()
119 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasProfileClassField()
132 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasPortIndexField()
146 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasSkip464XlatField()
160 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
196 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasSubscriptionTypeField()
211 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasImsRcsUceEnabledField()
227 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasRcsConfigField()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImagePropertiesTest.java133 Assert.assertEquals(VERSION, properties.getVersion()); in testParsePropertiesSimple()
168 Assert.assertEquals(VERSION, properties.getVersion()); in testParsePropertiesRich()
194 Assert.assertEquals(VERSION, properties.getVersion()); in testParseNoHandle()
221 Assert.assertEquals(null, properties.getVersion()); in testParseNoVersion()
247 Assert.assertEquals(VERSION, properties.getVersion()); in testParseNoFriendlyName()
270 Assert.assertEquals(VERSION, properties.getVersion()); in testParseFixedVariantThumbnailFormat()
293 Assert.assertEquals(VERSION, properties.getVersion()); in testParseRangeVariantThumbnailFormat()
316 Assert.assertEquals(VERSION, properties.getVersion()); in testParseFixedRangeVariantThumbnailFormat()
344 Assert.assertEquals(VERSION, properties.getVersion()); in testParseNoThumbnailFormats()
363 Assert.assertEquals(VERSION, properties.getVersion()); in testParseNoFormats()
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpHeaderTest.cpp34 EXPECT_EQ(rtcpHeader.getVersion(), 0); in TEST_F()
37 EXPECT_EQ(rtcpHeader.getVersion(), 0); in TEST_F()
40 EXPECT_EQ(rtcpHeader.getVersion(), 0); in TEST_F()
43 EXPECT_EQ(rtcpHeader.getVersion(), 2); in TEST_F()
124 EXPECT_EQ(rtcpHeader.getVersion(), 2); in TEST_F()
134 EXPECT_EQ(rtcpHeader.getVersion(), MAX_RTP_VERSION); in TEST_F()
DRtcpPacketTest.cpp93 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
132 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
216 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
259 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
373 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
416 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
461 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
505 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
560 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
620 EXPECT_EQ(pRtcpHeader->getVersion(), RTP_VERSION_NUM); in TEST_F()
[all …]
DRtpHeaderTest.cpp25 EXPECT_EQ(rtpHeader.getVersion(), RTP_ZERO); in TEST()
42 EXPECT_EQ(rtpHeader.getVersion(), RTP_TWO); in TEST()
94 EXPECT_EQ(rtpHeader.getVersion(), RTP_TWO); in TEST()
142 EXPECT_EQ(rtpHeader.getVersion(), RTP_TWO); in TEST()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DOffloadCapability.java45 public long getVersion() { in getVersion() method in OffloadCapability
96 && getVersion() == that.getVersion(); in equals()
101 return Objects.hash(isFastPairSupported(), isNearbyShareSupported(), getVersion()); in hashCode()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DEncoderLogicMetadataDaoTest.java93 assertEquals(logic.getVersion(), retrieved.getVersion()); in testExistsAndGetAnEncoder()
111 v1.getVersion(), in testPersistEncoderLogicOverwrites()
112 mEncoderLogicMetadataDao.getMetadata(BUYER_1).getVersion()); in testPersistEncoderLogicOverwrites()
119 v2.getVersion(), in testPersistEncoderLogicOverwrites()
120 mEncoderLogicMetadataDao.getMetadata(BUYER_1).getVersion()); in testPersistEncoderLogicOverwrites()
DEncodedPayloadDaoTest.java98 assertEquals(payload.getVersion(), retrieved.getVersion()); in testExistsAndGetAnEncodedPayload()
170 v1.getVersion(), in testPersistEncodedPayloadOverwrites()
171 mEncodedPayloadDao.getEncodedPayload(BUYER_1).getVersion()); in testPersistEncodedPayloadOverwrites()
178 v2.getVersion(), in testPersistEncodedPayloadOverwrites()
179 mEncodedPayloadDao.getEncodedPayload(BUYER_1).getVersion()); in testPersistEncodedPayloadOverwrites()
/packages/services/Car/service/src/com/android/car/telemetry/
DMetricsConfigStore.java86 if (metricsConfig.getVersion() <= 0) { in addMetricsConfig()
90 int currentVersion = mActiveConfigs.get(metricsConfig.getName()).getVersion(); in addMetricsConfig()
91 if (currentVersion > metricsConfig.getVersion()) { in addMetricsConfig()
93 } else if (currentVersion == metricsConfig.getVersion()) { in addMetricsConfig()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataBuilder.java155 public static String getVersion(AnnotationExpr annotationExpr, String parameterName) { in getVersion() method in ParsedDataBuilder
267 .parseInt(getVersion(annotations.get(j), "majorVersion")); in getAnnotationData()
272 .parseInt(getVersion(annotations.get(j), "minorVersion")); in getAnnotationData()
280 getVersion(annotations.get(j), "majorVersion")) != 0) { in getAnnotationData()
286 String fullPlatformVersion = getVersion(annotations.get(j), in getAnnotationData()
298 String fullCarVersion = getVersion(annotations.get(j), "minCarVersion"); in getAnnotationData()
301 String fullplatformVersion = getVersion(annotations.get(j), in getAnnotationData()
308 String fullRequiresApi = getVersion(annotations.get(j), "api"); in getAnnotationData()
312 fullRequiresApi = getVersion(annotations.get(j), "value"); in getAnnotationData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/
DSharedDbHelperTest.java135 assertEquals(1, db.getVersion()); in testEnrollmentTableMigrationFromOldDatabase()
141 assertEquals(ENROLLMENT_OLD_DB_FINAL_VERSION, oldDb.getVersion()); in testEnrollmentTableMigrationFromOldDatabase()
160 assertEquals(1, db.getVersion()); in testMigrationDataIntegrityToV1FromOldDatabase()
166 assertEquals(ENROLLMENT_OLD_DB_FINAL_VERSION, oldDb.getVersion()); in testMigrationDataIntegrityToV1FromOldDatabase()
180 assertEquals(SharedDbHelper.DATABASE_VERSION_V3, newDb.getVersion()); in testMigrationDataIntegrityToV1FromOldDatabase()
191 assertEquals(1, db.getVersion()); in testMigrationExcludesDuplicatesSites()
197 assertEquals(ENROLLMENT_OLD_DB_FINAL_VERSION, oldDb.getVersion()); in testMigrationExcludesDuplicatesSites()
211 assertEquals(SharedDbHelper.DATABASE_VERSION_V3, newDb.getVersion()); in testMigrationExcludesDuplicatesSites()
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DOffloadCapabilityTest.java42 assertThat(offloadCapability.getVersion()).isEqualTo(0); in testDefault()
55 assertThat(offloadCapability.getVersion()).isEqualTo(VERSION); in testBuilder()
74 assertThat(capability.getVersion()).isEqualTo(VERSION); in testWriteParcel()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DAppOwnedSdkSandboxInterfaceTest.java49 assertThat(appOwnedSdkSandboxInterface.getVersion()).isEqualTo(1); in testGetVersion()
86 assertThat(appOwnedSdkSandboxInterfaceCheck.getVersion()) in testWriteToParcel()
87 .isEqualTo(appOwnedSdkSandboxInterface.getVersion()); in testWriteToParcel()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DSdpDipRecordTest.java56 assertThat(record.getVersion()).isEqualTo(version); in createSdpDipRecord()
89 assertThat(recordOut.getVersion()).isEqualTo(originalRecord.getVersion()); in writeToParcel()
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataSubscriber.java140 && mMetricsConfig.getVersion() == other.getMetricsConfig().getVersion() in equals()
146 return Objects.hash(mMetricsConfig.getName(), mMetricsConfig.getVersion(), in hashCode()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/
DExtendedAdvertisementUtilsTest.java49 assertThat(ExtendedAdvertisementUtils.getVersion(ADVERTISEMENT1)).isEqualTo(1); in test_getVersion()
51 assertThat(ExtendedAdvertisementUtils.getVersion(adv)).isEqualTo(5); in test_getVersion()
53 assertThat(ExtendedAdvertisementUtils.getVersion(adv2)).isEqualTo(4); in test_getVersion()
DExtendedAdvertisementTest.java179 assertThat(originalAdvertisement.getVersion()).isEqualTo( in test_createFromRequest()
195 assertThat(originalAdvertisement.getVersion()).isEqualTo( in test_createFromRequest_credentialInfo()
215 assertThat(newAdvertisement.getVersion()).isEqualTo( in test_createFromRequest_encodeAndDecode()
268 assertThat(adv.getVersion()).isEqualTo( in test_fromBytesSalt()
292 assertThat(adv.getVersion()).isEqualTo(BroadcastRequest.PRESENCE_VERSION_V1); in test_fromBytesCredentialElement()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDbHelperTest.java85 assertEquals(1, db.getVersion()); in testMigrationFromOldDatabase()
92 assertEquals(MeasurementDbHelper.OLD_DATABASE_FINAL_VERSION, oldDb.getVersion()); in testMigrationFromOldDatabase()
116 assertEquals(1, db.getVersion()); in testMigrationDataIntegrityToV6FromOldDatabase()
123 assertEquals(MeasurementDbHelper.OLD_DATABASE_FINAL_VERSION, oldDb.getVersion()); in testMigrationDataIntegrityToV6FromOldDatabase()
143 assertEquals(MeasurementDbHelper.OLD_DATABASE_FINAL_VERSION, newDb.getVersion()); in testMigrationDataIntegrityToV6FromOldDatabase()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DTransportSipMessageValidator.java233 if (c.getVersion() == mConfigVersion) { in onImsConfigurationChanged()
236 logi("onImsConfigurationChanged: " + mConfigVersion + "->" + c.getVersion()); in onImsConfigurationChanged()
237 mConfigVersion = c.getVersion(); in onImsConfigurationChanged()
248 if (c.getVersion() == mConfigVersion) { in onConfigurationChanged()
251 logi("onConfigurationChanged: " + mConfigVersion + "->" + c.getVersion()); in onConfigurationChanged()
252 mConfigVersion = c.getVersion(); in onConfigurationChanged()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java132 assertEquals(24, helper.getReadableDatabase().getVersion()); in testDowngrade_success_v24()
141 assertEquals(22, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22()
148 helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22()
159 helper.getReadableDatabase().getVersion(); in testDowngrade_fail_v20()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/
DRegistrationControllerImpl.java127 + registeredSipConfig.getVersion());
237 + "mVersion=" + config.getVersion() in dumpConfig()
272 getVersion()); in send()
280 public long getVersion() { in getVersion() method in RegistrationControllerImpl.RegistrationContext
281 return mConfiguration.getVersion(); in getVersion()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDecisionLogicTest.java41 decisionLogic.getVersion(JsVersionHelper.JS_PAYLOAD_TYPE_BUYER_BIDDING_LOGIC_JS)); in testGetVersion()
49 decisionLogicWithEmptyVersions.getVersion( in testGetVersion()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java302 return mIOffload.getVersion(); in initWithHandles()
319 + halVerToString(mIOffload.getVersion()) + " is supported."); in initOffload()
339 if (mIOffload == null || mIOffload.getVersion() < OFFLOAD_HAL_VERSION_AIDL) { in initOffload()
373 if (mIOffload.getVersion() < OFFLOAD_HAL_VERSION_HIDL_1_1) { in setDataWarningAndLimit()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStore.java93 switch (getSchemaResponse.getVersion()) { in VisibilityStore()
127 "Found unsupported visibility version: " + getSchemaResponse.getVersion()); in VisibilityStore()
387 switch (getSchemaResponse.getVersion()) { in migrateVisibilityOverlayDatabase()
418 "Found unsupported visibility version: " + getSchemaResponse.getVersion()); in migrateVisibilityOverlayDatabase()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfigurationTest.java111 assertThat(mConfiguration.getVersion()).isEqualTo("1"); in updateConfigurations_verifyConfigs()
142 assertThat(mConfiguration.getVersion()).isEqualTo("0"); in updateConfigurations_noVersVersion_getDefaultValue()

1234567