/aosp_15_r20/external/kotlinx.serialization/formats/protobuf/jvmTest/src/kotlinx/serialization/protobuf/conformance/ |
H A D | Proto3OneofTest.kt | 56 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in verify() constant 69 KTestMessageProto3Oneof(oneofUint32 = 150u).verify { self, restored -> in uint32() method 78 ).verify { self, restored -> in nestedMessage() method 85 KTestMessageProto3Oneof(oneofString = "150").verify { self, restored -> in string() method 92 KTestMessageProto3Oneof(oneofBytes = "150".toByteArray()).verify { self, restored -> in bytes() method 99 KTestMessageProto3Oneof(oneofBool = true).verify { self, restored -> in bool() method 106 KTestMessageProto3Oneof(oneofUint64 = 150uL).verify { self, restored -> in uint64() method 113 KTestMessageProto3Oneof(oneofFloat = 150f).verify { self, restored -> in float() method 120 KTestMessageProto3Oneof(oneofDouble = 150.0).verify { self, restored -> in double() method 127 …tMessageProto3Oneof(oneofEnum = KTestMessagesProto3Enum.KNestedEnum.BAR).verify { self, restored -> in enum() method
|
H A D | Proto3PackedTest.kt | 42 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 68 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant 91 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in unsigned() constant
|
H A D | Proto3RepeatedTest.kt | 64 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 99 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant 125 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in unsigned() constant
|
H A D | Proto3UnpackedTest.kt | 44 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 72 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant
|
H A D | Proto3MapTest.kt | 78 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 134 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant
|
/aosp_15_r20/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | ExerciseCompletionGoalInternalTest.java | 45 DistanceGoalInternal restored = in distanceGoal_writeToParcelThenRestore_objectsAreIdentical() local 70 StepsGoalInternal restored = in stepsGoal_writeToParcelThenRestore_objectsAreIdentical() local 95 DurationGoalInternal restored = in durationGoal_writeToParcelThenRestore_objectsAreIdentical() local 120 RepetitionsGoalInternal restored = in repsGoal_writeToParcelThenRestore_objectsAreIdentical() local 146 TotalCaloriesBurnedGoalInternal restored = in totalCaloriesBurnedGoal_writeToParcelThenRestore_objectsAreIdentical() local 174 ActiveCaloriesBurnedGoalInternal restored = in activeCaloriesBurnedGoal_writeToParcelThenRestore_objectsAreIdentical() local 203 DistanceWithVariableRestGoalInternal restored = in distanceWithVariableRestGoal_writeToParcelThenRestore_objectsAreIdentical() local 231 UnknownGoalInternal restored = in unknownGoal_writeToParcelThenRestore_objectsAreIdentical() local 252 UnspecifiedGoalInternal restored = in unspecifiedGoal_writeToParcelThenRestore_objectsAreIdentical() local
|
D | ExercisePerformanceGoalInternalTest.java | 47 PowerGoalInternal restored = in powerGoal_writeToParcelThenRestore_objectsAreIdentical() local 84 SpeedGoalInternal restored = in speedGoal_writeToParcelThenRestore_objectsAreIdentical() local 119 CadenceGoalInternal restored = in cadenceGoal_writeToParcelThenRestore_objectsAreIdentical() local 153 HeartRateGoalInternal restored = in heartRateGoal_writeToParcelThenRestore_objectsAreIdentical() local 187 WeightGoalInternal restored = in weightGoal_writeToParcelThenRestore_objectsAreIdentical() local 214 AmrapGoalInternal restored = in amrapGoal_writeToParcelThenRestore_objectsAreIdentical() local
|
D | ExerciseSegmentInternalTest.java | 72 ExerciseSegmentInternal restored = ExerciseSegmentInternal.readFromParcel(parcel); in testExerciseSegmentInternal_writeToParcelAndBack_recordsAreEqual() local 87 ExerciseSegmentInternal restored = ExerciseSegmentInternal.readFromParcel(parcel); in testExerciseSegmentInternal_writeToParcelAndBackNoReps_recordsAreEqual() local 106 ExerciseSegmentInternal restored, ExerciseSegmentInternal segment) { in assertSegmentsAreEqual()
|
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/test/ |
H A D | TestingFramework.kt | 22 val restored = format.decodeFromString(serializer, string) in assertStringFormAndRestored() constant 36 val restored = this.decodeFromString(serializer, string) in assertStringFormAndRestored() constant 50 val restored = format.decodeFromString(serializer, string) in assertSerializedAndRestored() constant
|
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/json/ |
H A D | JsonGenericTest.kt | 29 val restored = default.decodeFromString(serializer, s, jsonTestingMode) in <lambda>() constant 43 val restored = default.decodeFromString(serializer, s, jsonTestingMode) in <lambda>() constant 52 val restored = default.decodeFromString(Array2DBox.serializer(), str, jsonTestingMode) in <lambda>() constant
|
H A D | JsonUnionEnumTest.kt | 24 val restored = default.decodeFromString(WithUnions.serializer(), json, jsonTestingMode) in <lambda>() constant
|
/aosp_15_r20/external/kotlinx.serialization/integration-test/src/commonTest/kotlin/sample/ |
H A D | JsonTest.kt | 38 val restored = jsonWithDefaults.decodeFromString(Data.serializer(), originalString) in testSerializeBack() constant 125 val restored = Json.decodeFromString(Derived2.serializer(), msgFull) in testWithOpenProperty() constant 253 val restored = format.decodeFromString(serializer, string) in assertStringFormAndRestored() constant
|
/aosp_15_r20/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
H A D | DomainVerificationPersistenceTest.kt | 107 val restored = ArrayMap<String, DomainVerificationPkgState>().apply { in <lambda>() constant 117 val (attached, pending, restored) = mockWriteValues() in <lambda>() constant 136 val (attached, pending, restored) = mockWriteValues() in <lambda>() constant 165 val (attached, pending, restored) = mockWriteValues { "SIGNATURE_$it" } in <lambda>() constant 289 val (active, restored) = DomainVerificationPersistence in <lambda>() constant
|
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/extension/ |
D | built_in.rs | 268 let restored = ApplicationIdExt::from_extension(&as_extension).unwrap(); in test_application_id_extension() localVariable 281 let restored = RatchetTreeExt::from_extension(&as_extension).unwrap(); in test_ratchet_tree() localVariable 300 let restored = RequiredCapabilitiesExt::from_extension(&as_extension).unwrap(); in test_required_capabilities() localVariable 314 let restored = ExternalSendersExt::from_extension(&as_extension).unwrap(); in test_external_senders() localVariable 327 let restored = ExternalPubExt::from_extension(&as_extension).unwrap(); in test_external_pub() localVariable
|
/aosp_15_r20/external/kotlinx.serialization/formats/properties/commonTest/src/kotlinx/serialization/properties/ |
H A D | PropertiesTest.kt | 153 val restored = Properties.decodeFromMap<Category>(Category.serializer(), map) in testLoadOptionalProps() constant 160 val restored = Properties.decodeFromMap<Category>(Category.serializer(), map) in testLoadOptionalNestedProps() constant 225 val restored = Properties.decodeFromMap(SharedPrefixNames.serializer(), map) in testSharedPrefixNames() constant
|
/aosp_15_r20/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | Parcelables.java | 32 final T restored = parcel(p, flags); in assertParcelable() local 39 T restored = parcel(p, flags); in assertParcelable() local 47 final T restored; in parcel() local
|
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/ |
H A D | GenericCustomSerializerTest.kt | 126 val restored = Json.decodeFromString(DataWithString.serializer(), s) in testStringData() constant 135 val restored = Json.decodeFromString(DataWithInt.serializer(), s) in testIntData() constant
|
H A D | SerializableOnTypeUsageTest.kt | 25 val restored = Json.decodeFromString(SerializableOnArguments.serializer(), str) in testAnnotationIsApplied() constant
|
/aosp_15_r20/packages/modules/HealthFitness/tests/cts/phr/src/android/healthconnect/cts/phr/ |
D | DeleteMedicalResourcesRequestTest.java | 410 DeleteMedicalResourcesRequest restored = in testWriteToParcelThenRestore_objectsAreIdentical() local 430 DeleteMedicalResourcesRequest restored = in testWriteToParcelThenRestore_multiple_objectsAreIdentical() local 448 DeleteMedicalResourcesRequest restored = in testWriteToParcelThenRestore_justIds_objectsAreIdentical() local 466 DeleteMedicalResourcesRequest restored = in testWriteToParcelThenRestore_justResources_objectsAreIdentical() local
|
/aosp_15_r20/frameworks/base/core/tests/vibrator/src/android/os/ |
H A D | CombinedVibrationTest.java | 468 CombinedVibration restored = CombinedVibration.CREATOR.createFromParcel(parcel); in testSerializationMono() local 482 CombinedVibration restored = CombinedVibration.CREATOR.createFromParcel(parcel); in testSerializationStereo() local 497 CombinedVibration restored = CombinedVibration.CREATOR.createFromParcel(parcel); in testSerializationSequential() local
|
/aosp_15_r20/external/avb/test/ |
H A D | avb_ab_flow_unittest.cc | 69 AvbABData restored; in TEST_F() local 89 AvbABData restored; in TEST_F() local 100 AvbABData restored; in TEST_F() local 111 AvbABData restored; in TEST_F() local
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
H A D | DomainVerificationPersistence.java | 93 @NonNull ArrayMap<String, DomainVerificationPkgState> restored, in writeToXml() 144 ArrayMap<String, DomainVerificationPkgState> restored = new ArrayMap<>(); in readFromXml() local 439 public final ArrayMap<String, DomainVerificationPkgState> restored; field in DomainVerificationPersistence.ReadResult 442 @NonNull ArrayMap<String, DomainVerificationPkgState> restored) { in ReadResult()
|
/aosp_15_r20/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/ |
H A D | TestUtils.kt | 28 val restored = format.decodeFromByteArray(serializer, bytes) in assertSerializedToBinaryAndRestored() constant
|
/aosp_15_r20/external/kotlinx.serialization/formats/cbor/commonTest/src/kotlinx/serialization/ |
H A D | TestUtilities.kt | 28 val restored = format.decodeFromByteArray(serializer, bytes) in assertSerializedToBinaryAndRestored() constant
|
/aosp_15_r20/external/kotlinx.serialization/formats/hocon/src/test/kotlin/kotlinx/serialization/hocon/ |
H A D | HoconTesting.kt | 17 val restored = this.decodeFromConfig(serializer, config) in assertStringFormAndRestored() constant
|