Lines Matching refs:id2
56 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_1);
58 assertTrue("The two VerifierDeviceIdentity instances should be equal", id1.equals(id2));
63 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_2);
65 assertFalse("The two VerifierDeviceIdentity instances should be unique", id1.equals(id2));
117 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel);
119 assertEquals("Parcel created should match expected value", id1, id2);
129 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel);
131 assertEquals("Original identity and parceled identity should be the same", id1, id2);
156 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random);
159 + " should be the same", id1, id2);
167 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random);
169 assertEquals("Identity should end up being same when coming from RNG", id1, id2);
175 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED);
178 id1, id2);
184 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_MAXVALUE_ENCODED);
186 assertEquals("Original max value and parsed max value should be equal", id1, id2);
228 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED_LOWERCASE);
230 assertEquals("Lowercase should parse to be the same as uppercase", id1, id2);
233 id1.toString(), id2.toString());
239 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_UNCORRECTED);
241 assertEquals("Substitution should replace 0 with O and 1 with I", id1, id2);
244 id1.toString(), id2.toString());