Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java189 Identity id2 = new IdentitySubclass("id2"); in test_addIdentityLjava_security_Identity() local
190 id2.setPublicKey(getPubKey()); in test_addIdentityLjava_security_Identity()
191 sub.addIdentity(id2); in test_addIdentityLjava_security_Identity()
248 Identity id2 = new IdentitySubclass("Another identity"); in test_getIdentityLjava_security_Principal() local
249 id2.setPublicKey(getPubKey()); in test_getIdentityLjava_security_Principal()
251 assertNull("Test 3: Null value expected.", sub.getIdentity(id2)); in test_getIdentityLjava_security_Principal()
/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java150 int id2 = numOfRecords + 1; in test_MultipleOperationsInSeveralTables() local
151 threadPool.runTask(createTask5(id2)); in test_MultipleOperationsInSeveralTables()
166 result = statement.executeQuery(selectQuery + id2); in test_MultipleOperationsInSeveralTables()
170 + id2, result.getString("field1")); in test_MultipleOperationsInSeveralTables()
172 assertEquals("Wrong value of field2", Integer.valueOf(id2).intValue(), result in test_MultipleOperationsInSeveralTables()
174 assertEquals("Wrong value of field3", Integer.valueOf(id2).intValue(), result in test_MultipleOperationsInSeveralTables()
/libcore/ojluni/src/main/java/sun/security/ssl/
DCipherSuite.java242 static CipherSuite valueOf(int id1, int id2) { in valueOf() argument
244 id2 &= 0xff; in valueOf()
245 int id = (id1 << 8) | id2; in valueOf()
249 String h2 = Integer.toString(id2, 16); in valueOf()