Home
last modified time | relevance | path

Searched refs:setVersion (Results 1 – 25 of 75) sorted by relevance

123

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DDBEncoderLogicMetadataTest.java63 .setVersion(version) in testBuildEncodingLogic()
92 .setVersion(version) in testEquals()
99 .setVersion(version) in testEquals()
117 .setVersion(version) in testNotEquals()
124 .setVersion(version + 1) in testNotEquals()
142 .setVersion(version) in testHashCode()
149 .setVersion(version) in testHashCode()
DEncoderLogicMetadataDaoTest.java104 DBEncoderLogicFixture.anEncoderLogicBuilder().setVersion(1).build(); in testPersistEncoderLogicOverwrites()
115 DBEncoderLogicFixture.anEncoderLogicBuilder().setVersion(2).build(); in testPersistEncoderLogicOverwrites()
133 DBEncoderLogicFixture.anEncoderLogicBuilder(BUYER_1).setVersion(1).build(); in testGetAllBuyersWithRegisteredEncoders()
135 DBEncoderLogicFixture.anEncoderLogicBuilder(BUYER_2).setVersion(1).build(); in testGetAllBuyersWithRegisteredEncoders()
155 DBEncoderLogicFixture.anEncoderLogicBuilder(BUYER_1).setVersion(1).build(); in testGetAllBuyersWithRegisteredBeforeTime()
157 DBEncoderLogicFixture.anEncoderLogicBuilder(BUYER_2).setVersion(1).build(); in testGetAllBuyersWithRegisteredBeforeTime()
161 .setVersion(1) in testGetAllBuyersWithRegisteredBeforeTime()
DDBEncodedPayloadTest.java62 .setVersion(version) in testBuildEncodedPayload()
93 DBEncodedPayloadFixture.anEncodedPayloadBuilder().setVersion(2).build(); in testNotEquals()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpHeaderTest.cpp36 rtcpHeader.setVersion(100); in TEST_F()
39 rtcpHeader.setVersion(-1); in TEST_F()
42 rtcpHeader.setVersion(2); in TEST_F()
146 rtcpHeader.setVersion(2); in TEST_F()
DRtpHeaderTest.cpp41 rtpHeader.setVersion(RTP_TWO); in TEST()
202 rtpHeader.setVersion(RTP_TWO); in TEST()
DRtpPacketTest.cpp230 pobjRtpHdr->setVersion(RTP_TWO); in TEST()
292 pobjRtpHdr->setVersion(RTP_TWO); in TEST()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/telemetry/
DCarTelemetryTestFragment.java93 .setVersion(1)
141 .setVersion(1)
188 .setVersion(1)
223 .setVersion(1)
258 .setVersion(1)
290 .setVersion(1)
322 .setVersion(1)
353 .setVersion(1)
374 .setVersion(1)
388 .setVersion(1)
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java94 .setVersion(12345) in testGetProto_DescriptionSet()
192 .setVersion(12345) in testGetProto_Email()
257 .setVersion(0) in testGetProto_MusicRecording()
312 .setVersion(0) in testGetProto_JoinableConfig()
348 .setVersion(12345) in testGetProto_ParentTypes()
395 .setVersion(0) in testGetProto_DocumentIndexingConfig()
475 .setVersion(12345) in testGetProto_EmbeddingProperty()
/packages/modules/Virtualization/tests/pvmfw/java/com/android/pvmfw/test/
DPvmfwTest.java36 new Pvmfw.Builder(getPvmfwBinFile(), getBccFile()).setVersion(1, 2).build(); in testPvmfw_withConfig1_2_requiresReferenceDt()
42 new Pvmfw.Builder(getPvmfwBinFile(), getBccFile()).setVersion(1, 1).build(); in testPvmfw_before1_2_doesNotRequiresReferenceDt()
DPvmfwImgTest.java49 Pvmfw pvmfw = builder.setVersion(major, minor).build(); in testPvmfw_beforeVmReferenceDt_whenSecretKeeperExists()
95 Pvmfw pvmfw = builder.setVersion(major, minor).build(); in testInvalidConfigVersion_doesNotBoot()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DMetricsConfigStoreTest.java40 TelemetryProto.MetricsConfig.newBuilder().setName(NAME_FOO).setVersion(1).build();
42 TelemetryProto.MetricsConfig.newBuilder().setName(NAME_BAR).setVersion(1).build();
79 .setName(NAME_BAR).setVersion(-1).build(); in testAddMetricsConfig_whenInvalidVersion_shouldNotWriteToDisk()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/
DExtendedAdvertisementTest.java153 .setVersion(BroadcastRequest.PRESENCE_VERSION_V1) in setUp()
162 .setVersion(BroadcastRequest.PRESENCE_VERSION_V1) in setUp()
226 mBuilder.setVersion(BroadcastRequest.PRESENCE_VERSION_V0); in test_createFromRequest_invalidParameter()
233 .setVersion(BroadcastRequest.PRESENCE_VERSION_V1) in test_createFromRequest_invalidParameter()
246 .setVersion(BroadcastRequest.PRESENCE_VERSION_V1) in test_createFromRequest_invalidParameter()
/packages/modules/Virtualization/tests/pvmfw/tools/
DPvmfwTool.java65 builder.setVersion(1, 1); in main()
67 builder.setVersion(1, 2); in main()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DDBEncoderLogicMetadata.java76 .setVersion(version) in create()
97 public abstract Builder setVersion(int value); in setVersion() method in DBEncoderLogicMetadata.Builder
DDBEncodedPayload.java72 .setVersion(version) in create()
93 public abstract Builder setVersion(int value); in setVersion() method in DBEncodedPayload.Builder
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DOffloadCapabilityTest.java50 .setVersion(VERSION) in testBuilder()
63 .setVersion(VERSION) in testWriteParcel()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DOffloadCapability.java72 .setVersion(version)
149 public Builder setVersion(long version) { in setVersion() method in OffloadCapability.Builder
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/
DDataSubscriberTest.java48 TelemetryProto.MetricsConfig.newBuilder().setName("Foo").setVersion(
54 TelemetryProto.MetricsConfig.newBuilder().setName("Bar").setVersion(
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DApfSessionInfoMetrics.java41 public void setVersion(final int version) { in setVersion() method in ApfSessionInfoMetrics
42 mStatsBuilder.setVersion(version); in setVersion()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DPeriodicEncodingJobWorkerTest.java98 .setVersion(VERSION_1)
104 .setVersion(VERSION_2)
443 .setVersion(1) in testEncodeSignals_tooManyFailure_noJsExecution()
467 .setVersion(1) in testEncodeSignals_previousFailureAndThenSuccess_resetFailedCount()
510 .setVersion(1) in testEncodeSignals_noUpdateToBuyer_skipEncoding()
567 .setVersion(version1) in testEncodeProtectedSignalsAlsoUpdatesEncodersIsNotAffectedByEncodingFailures()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DServiceProfileDataTest.java61 builder.setVersion(1); in testSerializeData()
80 builder.setVersion(1); in testDeserializeData()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java169 long[] setVersion = mSetVersion; in setContentWindow() local
261 long setVersion[] = mSetVersion; in call() local
264 if (setVersion[index] != version) { in call()
DAlbumSetDataLoader.java253 long setVersion[] = mSetVersion; in getInvalidIndex() local
254 int length = setVersion.length; in getInvalidIndex()
257 if (setVersion[i % length] != version) return i; in getInvalidIndex()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sdp/
DSimpleSdpMessage.java65 builder.setVersion(value); in parse()
177 public abstract Builder setVersion(String version);
/packages/services/Car/tests/carservice_test/src/com/android/car/telemetry/
DCarTelemetryManagerTest.java71 .setName(CONFIG_NAME).setVersion(1).setScript("no-op").build();
73 METRICS_CONFIG_V1.toBuilder().setVersion(2).build();

123