Searched refs:deserialized (Results 1 – 6 of 6) sorted by relevance
390 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize() local392 assertEquals(PersistentData.TYPE_SP, deserialized.type); in testPersistentData_serializeUnserialize()393 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, deserialized.qualityForUi); in testPersistentData_serializeUnserialize()394 assertArrayEquals(PAYLOAD, deserialized.payload); in testPersistentData_serializeUnserialize()398 PersistentData deserialized = PersistentData.fromBytes(null); in testPersistentData_unserializeNull() local399 assertSame(PersistentData.NONE, deserialized); in testPersistentData_unserializeNull()403 PersistentData deserialized = PersistentData.fromBytes(new byte[0]); in testPersistentData_unserializeEmptyArray() local404 assertSame(PersistentData.NONE, deserialized); in testPersistentData_unserializeEmptyArray()409 PersistentData deserialized = PersistentData.fromBytes(new byte[]{5}); in testPersistentData_unserializeInvalid() local410 assertSame(PersistentData.NONE, deserialized); in testPersistentData_unserializeInvalid()[all …]
493 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordData_serializeDeserialize() local495 assertEquals(11, deserialized.scryptN); in testPasswordData_serializeDeserialize()496 assertEquals(22, deserialized.scryptR); in testPasswordData_serializeDeserialize()497 assertEquals(33, deserialized.scryptP); in testPasswordData_serializeDeserialize()498 assertEquals(CREDENTIAL_TYPE_PASSWORD, deserialized.passwordType); in testPasswordData_serializeDeserialize()499 assertArrayEquals(PAYLOAD, deserialized.salt); in testPasswordData_serializeDeserialize()500 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_serializeDeserialize()516 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize() local518 assertEquals(11, deserialized.scryptN); in testPasswordData_deserialize()519 assertEquals(22, deserialized.scryptR); in testPasswordData_deserialize()[all …]
250 Location deserialized = Location.CREATOR.createFromParcel(parcel); in testParcel() local253 assertEquals(expectedLat, deserialized.getLatitude()); in testParcel()254 assertEquals(expectedLon, deserialized.getLongitude()); in testParcel()255 assertEquals(expectedAccuracy, deserialized.getAccuracy()); in testParcel()256 assertTrue(deserialized.hasAccuracy()); in testParcel()257 assertEquals(expectedSpeed, deserialized.getSpeed()); in testParcel()258 assertTrue(deserialized.hasSpeed()); in testParcel()259 assertFalse(deserialized.hasBearing()); in testParcel()260 assertFalse(deserialized.hasAltitude()); in testParcel()261 assertFalse(deserialized.isFromMockProvider()); in testParcel()
37 HashMap<String, ?> deserialized = XmlUtils.readMapXml(mapInput); in testMapWithNullKeys() local38 assertEquals("nullValue", deserialized.get(null)); in testMapWithNullKeys()39 assertEquals("fooValue", deserialized.get("foo")); in testMapWithNullKeys()
125 PackageParser.Package deserialized = new PackageParser.Package(p); in test_serializePackage() local127 assertPackagesEqual(pkg, deserialized); in test_serializePackage()141 PackageParser.Package deserialized = new PackageParser.Package(p); in test_roundTripKnownFields() local142 assertAllFieldsExist(deserialized); in test_roundTripKnownFields()154 PackageParser.Package deserialized = new PackageParser.Package(p); in test_stringInterning() local159 assertSame(deserialized.packageName, deserialized2.packageName); in test_stringInterning()160 assertSame(deserialized.applicationInfo.permission, in test_stringInterning()162 assertSame(deserialized.requestedPermissions.get(0), in test_stringInterning()164 assertSame(deserialized.protectedBroadcasts.get(0), in test_stringInterning()166 assertSame(deserialized.usesLibraries.get(0), in test_stringInterning()[all …]
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...