Home
last modified time | relevance | path

Searched refs:deserialized (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java390 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize() local
392 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() local
399 assertSame(PersistentData.NONE, deserialized); in testPersistentData_unserializeNull()
403 PersistentData deserialized = PersistentData.fromBytes(new byte[0]); in testPersistentData_unserializeEmptyArray() local
404 assertSame(PersistentData.NONE, deserialized); in testPersistentData_unserializeEmptyArray()
409 PersistentData deserialized = PersistentData.fromBytes(new byte[]{5}); in testPersistentData_unserializeInvalid() local
410 assertSame(PersistentData.NONE, deserialized); in testPersistentData_unserializeInvalid()
[all …]
DSyntheticPasswordTests.java493 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordData_serializeDeserialize() local
495 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() local
518 assertEquals(11, deserialized.scryptN); in testPasswordData_deserialize()
519 assertEquals(22, deserialized.scryptR); in testPasswordData_deserialize()
[all …]
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java250 Location deserialized = Location.CREATOR.createFromParcel(parcel); in testParcel() local
253 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()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DXmlUtilsTest.java37 HashMap<String, ?> deserialized = XmlUtils.readMapXml(mapInput); in testMapWithNullKeys() local
38 assertEquals("nullValue", deserialized.get(null)); in testMapWithNullKeys()
39 assertEquals("fooValue", deserialized.get("foo")); in testMapWithNullKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java125 PackageParser.Package deserialized = new PackageParser.Package(p); in test_serializePackage() local
127 assertPackagesEqual(pkg, deserialized); in test_serializePackage()
141 PackageParser.Package deserialized = new PackageParser.Package(p); in test_roundTripKnownFields() local
142 assertAllFieldsExist(deserialized); in test_roundTripKnownFields()
154 PackageParser.Package deserialized = new PackageParser.Package(p); in test_stringInterning() local
159 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 …]
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...