Home
last modified time | relevance | path

Searched refs:roundTrip (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java67 assertThat(roundTrip().getCounterId()).isEqualTo(COUNTER_ID); in roundTrip_persistsCounterId()
72 assertThat(roundTrip().getSnapshotVersion()).isEqualTo(SNAPSHOT_VERSION); in roundTrip_persistsSnapshotVersion()
77 assertThat(roundTrip().getMaxAttempts()).isEqualTo(MAX_ATTEMPTS); in roundTrip_persistsMaxAttempts()
82 assertThat(roundTrip().getEncryptedRecoveryKeyBlob()).isEqualTo(KEY_BLOB); in roundTrip_persistsRecoveryKey()
87 assertThat(roundTrip().getServerParams()).isEqualTo(SERVER_PARAMS); in roundTrip_persistsServerParams()
92 assertThat(roundTrip().getTrustedHardwareCertPath()).isEqualTo(CERT_PATH); in roundTrip_persistsCertPath()
97 assertThat(roundTrip().getKeyChainProtectionParams()).hasSize(1); in roundTrip_persistsParamsList()
173 return roundTrip().getWrappedApplicationKeys(); in roundTripKeys()
177 return roundTrip().getKeyChainProtectionParams().get(0); in roundTripParams()
180 public static KeyChainSnapshot roundTrip() throws Exception { in roundTrip() method in KeyChainSnapshotSerializerTest
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/java/android/net/lowpan/
DLowpanIdentityTest.java43 LowpanIdentity roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel() local
45 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
46 assertEquals(original.hashCode(), roundTrip.hashCode()); in testNativeParcelUnparcel()
47 assertEquals(original.getName(), roundTrip.getName()); in testNativeParcelUnparcel()
DLowpanChannelInfoTest.java41 LowpanChannelInfo roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel() local
43 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
DLowpanCredentialTest.java41 LowpanCredential roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel() local
43 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
DLowpanBeaconInfoTest.java41 LowpanBeaconInfo roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel() local
43 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
DLowpanProvisionTest.java41 LowpanProvision roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel() local
43 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
/frameworks/base/tests/net/java/android/net/
DUidRangeTest.java48 UidRange roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel() local
50 assertEquals(original, roundTrip); in testNativeParcelUnparcel()
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp282 void roundTrip() { in roundTrip() function in android::BlobCacheFlattenTest
296 roundTrip(); in TEST_F()
312 roundTrip(); in TEST_F()
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp514 void roundTrip() { in roundTrip() function in android::BlobCacheFlattenTest
538 roundTrip(); in TEST_P()
554 roundTrip(); in TEST_P()