/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ |
D | SocketFactoryTest.java | 79 Socket s = sf.createSocket(); in test_createSocket_01() local 113 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport); in test_createSocket_02() local 121 Socket s = sf.createSocket("bla-bla", sport); in test_createSocket_02() local 131 … Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]); in test_createSocket_02() local 141 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), portNumber); in test_createSocket_02() local 149 Socket s = f.createSocket("localhost", 8082); in test_createSocket_02() local 171 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport); in test_createSocket_03() local 180 Socket s = sf.createSocket(InetAddress.getLocalHost(), invalidPorts[i]); in test_createSocket_03() local 190 Socket s = sf.createSocket(InetAddress.getLocalHost(), portNumber); in test_createSocket_03() local 198 Socket s = f.createSocket(InetAddress.getLocalHost(), 8081); in test_createSocket_03() local [all …]
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | StringTest.java | 74 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, 0); in test_Constructor$BI() local 112 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, 0, 1, 3); in test_Constructor$BIII() local 128 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, 0, 5, "8859_1"); in test_Constructor$BIILjava_lang_String() local 149 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, "8859_1"); in test_Constructor$BLjava_lang_String() local 178 String s = new String(buf, 0, buf.length); in test_Constructor$CII() local 198 String s = new String("Hello World"); in test_ConstructorLjava_lang_String() local 302 String s = "abc"; in test_contentEqualsLjava_lang_CharSequence() local 330 String s = "abc"; in test_boolean_contentEquals_StringBuffer() local 359 String s = "abcdefghijklmnopqrstuvwxyz"; in test_containsLjava_lang_CharSequence() local 442 String s = "abc"; in test_offsetByCodePointsII() local [all …]
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
D | SemaphoreTest.java | 100 Semaphore s = new Semaphore(2, false); in testTryAcquireInSameThread() local 112 Semaphore s = new Semaphore(1, false); in testAcquireReleaseInSameThread() local 135 Semaphore s = new Semaphore(1, false); in testAcquireUninterruptiblyReleaseInSameThread() local 157 Semaphore s = new Semaphore(1, false); in testTimedAcquireReleaseInSameThread() local 179 final Semaphore s = new Semaphore(0, false); in testAcquireReleaseInDifferentThreads() local 210 final Semaphore s = new Semaphore(0, false); in testUninterruptibleAcquireReleaseInDifferentThreads() local 238 final Semaphore s = new Semaphore(1, false); in testTimedAcquireReleaseInDifferentThreads() local 269 final Semaphore s = new Semaphore(0, false); in testAcquire_InterruptedException() local 292 final Semaphore s = new Semaphore(0, false); in testTryAcquire_InterruptedException() local 406 Semaphore s = new Semaphore(0, false); in testDrainPermits() local [all …]
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SignatureTest.java | 70 MySignature1 s = new MySignature1(algorithms[i]); in testConstructor() local 97 MySignature1 s = new MySignature1("ABC"); in testClone() local 120 MySignature1 s = new MySignature1("ABC"); in testGetProvider() local 133 MySignature1 s = new MySignature1("ABC"); in testGetAlgorithm() local 149 MySignature1 s = new MySignature1("ABC"); in testInitVerifyPublicKey() local 175 MySignature1 s = new MySignature1("ABC"); in testInitVerifyCertificate() local 202 MySignature1 s = new MySignature1("ABC"); in testInitSignPrivateKey() local 242 MySignature1 s = new MySignature1("ABC"); in testInitSignPrivateKeySecureRandom() local 269 MySignature1 s = new MySignature1("ABC"); in testSign() local 300 MySignature1 s = new MySignature1("ABC"); in testSignbyteintint() local [all …]
|
D | SignerTest.java | 100 Signer s = new SignerStub(); in testSigner() local 116 Signer s = new SignerStub("sss3"); in testSignerString() local 136 Signer s = new SignerStub("sss4", IdentityScope.getSystemScope()); in testSignerStringIdentityScope() local 171 Signer s = new SignerStub("sss5"); in testGetPrivateKey() local 193 Signer s = new SignerStub("sss6"); in testGetPrivateKey_denied() local 232 Signer s = new SignerStub("sss7"); in test_setKeyPairLjava_security_KeyPair() local 246 SignerStub s = new SignerStub("name"); in test_setKeyPairLjava_security_KeyPair() local
|
D | ProviderTest.java | 245 Set<Map.Entry<Object, Object>> s = p.entrySet(); in testEntrySet() local 303 Set<Object> s = p.keySet(); in testKeySet() local 381 Provider.Service s = it.next(); in testPutObjectObject() local 475 Provider.Service s = p.getService("MessageDigest", "ASH-1"); in testService1() local 509 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2() local 547 Provider.Service s[] = new Provider.Service[3]; in testGetServices() local 588 Provider.Service s[] = new Provider.Service[3]; in testPutService() local 650 Provider.Service s[] = new Provider.Service[3]; in testRemoveService() local 787 public void putService(Provider.Service s) { in putService() 791 public void removeService(Provider.Service s) { in removeService()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
D | PrintWriterTest.java | 82 String s; in test_ConstructorLjava_io_OutputStream() local 111 String s; in test_ConstructorLjava_io_OutputStreamZ() local 382 String s = null; in test_print$C() local 563 String s; in test_println() local 592 String s = null; in test_println$C() local 620 String s = null; in test_printlnC() local 645 String s = null; in test_printlnD() local 672 String s; in test_printlnF() local 700 String s = null; in test_printlnI() local 725 String s = null; in test_printlnJ() local [all …]
|
/dalvik/libcore/luni/src/main/java/java/net/ |
D | URIEncoderDecoder.java | 51 static void validate(String s, String legal) throws URISyntaxException { in validate() 82 static void validateSimple(String s, String legal) in validateSimple() 113 static String quoteIllegal(String s, String legal) in quoteIllegal() 150 static String encodeOthers(String s) throws UnsupportedEncodingException { in encodeOthers() 184 static String decode(String s) throws UnsupportedEncodingException { in decode()
|
D | URLEncoder.java | 51 public static String encode(String s) { in encode() 89 public static String encode(String s, String enc) in encode() 125 private static void convert(String s, StringBuffer buf, String enc) in convert()
|
D | URLDecoder.java | 52 public static String decode(String s) { in decode() 89 public static String decode(String s, String enc) in decode() 128 private static String decode(String s, Charset charset) { in decode()
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | FloatingPointParser.java | 28 String s; field in FloatingPointParser.StringExponentPair 34 StringExponentPair(String s, int e, boolean negative) { in StringExponentPair() 57 private static native double parseDblImpl(String s, int e); in parseDblImpl() 75 private static native float parseFltImpl(String s, int e); in parseFltImpl() 94 private static StringExponentPair initialParse(String s, int length) { in initialParse() 262 public static double parseDouble(String s) { in parseDouble() 300 public static float parseFloat(String s) { in parseFloat()
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 99 Socket s = sf.createSocket(st, "localhost", sport, false); in test_createSocket() local 106 Socket s = sf.createSocket(st, "localhost", sport, true); in test_createSocket() local 122 Socket s = sf.createSocket(new Socket(), "localhost", 1080, false); in test_createSocket() local 131 Socket s = sf.createSocket(st, "bla-bla", sport, false); in test_createSocket() local
|
/dalvik/dx/tests/066-dex-try-catch-rethrow/ |
D | Blort.java | 19 public static Object zorch1(String s) { in zorch1() 31 public static void zorch2(String s) { in zorch2() 43 public static int zorch3(String s) { in zorch3()
|
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
D | JavaIoObjectOutputStreamTest.java | 80 TestObjectOutputStream(OutputStream s) throws StreamCorruptedException, IOException { in test_ObjectOutputStream() 96 TestSecurityManager s = new TestSecurityManager(); in test_ObjectOutputStream() local 135 TestObjectOutputStream(OutputStream s) throws StreamCorruptedException, IOException { in test_ObjecOutputStream2() 141 … TestObjectOutputStream_putFields(OutputStream s) throws StreamCorruptedException, IOException { in test_ObjecOutputStream2() 151 …TestObjectOutputStream_writeUnshared(OutputStream s) throws StreamCorruptedException, IOException { in test_ObjecOutputStream2() 166 TestSecurityManager s = new TestSecurityManager(); in test_ObjecOutputStream2() local
|
D | JavaIoObjectInputStreamTest.java | 94 TestObjectInputStream(InputStream s) throws StreamCorruptedException, IOException { in test_ObjectInputStream() 116 TestSecurityManager s = new TestSecurityManager(); in test_ObjectInputStream() local 157 TestObjectInputStream(InputStream s) throws StreamCorruptedException, IOException { in test_ObjectInputStream2() 163 … TestObjectInputStream_readFields(InputStream s) throws StreamCorruptedException, IOException { in test_ObjectInputStream2() 173 … TestObjectInputStream_readUnshared(InputStream s) throws StreamCorruptedException, IOException { in test_ObjectInputStream2() 193 TestSecurityManager s = new TestSecurityManager(); in test_ObjectInputStream2() local
|
D | JavaLangSystemTest.java | 86 TestSecurityManager s = new TestSecurityManager(); in test_Properties() local 134 TestSecurityManager s = new TestSecurityManager(); in test_getProperty() local 171 TestSecurityManager s = new TestSecurityManager(); in test_setProperty() local 197 TestSecurityManager s = new TestSecurityManager(); in test_setSecurityManager() local 250 TestSecurityManager s = new TestSecurityManager(); in test_setInOutErr() local 295 TestSecurityManager s = new TestSecurityManager(); in test_exit() local 336 TestSecurityManager s = new TestSecurityManager(); in test_runFinalizersOnExit() local 384 TestSecurityManager s = new TestSecurityManager(); in test_load() local
|
/dalvik/libcore/security/src/test/java/tests/api/javax/security/auth/ |
D | SubjectTest.java | 77 Subject s = new Subject(); in test_Constructor_01() local 117 Subject s = new Subject(true, principal, pubCredentials, privCredentials); in test_Constructor_02() local 128 Subject s = new Subject(false, principal, pubCredentials, privCredentials); in test_Constructor_02() local 139 Subject s = new Subject(true, null, pubCredentials, privCredentials); in test_Constructor_02() local 145 Subject s = new Subject(true, principal, null, privCredentials); in test_Constructor_02() local 151 Subject s = new Subject(true, principal, pubCredentials, null); in test_Constructor_02() local 157 Subject s = new Subject(true, null, null, null); in test_Constructor_02() local 205 TestSecurityManager s = new TestSecurityManager(); in test_doAs_01() local 268 TestSecurityManager s = new TestSecurityManager(); in test_doAs_02() local 324 TestSecurityManager s = new TestSecurityManager(); in test_doAsPrivileged_01() local [all …]
|
/dalvik/libcore/luni/src/main/java/java/util/ |
D | UnknownFormatConversionException.java | 29 private String s; field in UnknownFormatConversionException 38 public UnknownFormatConversionException(String s) { in UnknownFormatConversionException()
|
D | MissingFormatWidthException.java | 28 private String s; field in MissingFormatWidthException 37 public MissingFormatWidthException(String s) { in MissingFormatWidthException()
|
D | MissingFormatArgumentException.java | 31 private String s; field in MissingFormatArgumentException 40 public MissingFormatArgumentException(String s) { in MissingFormatArgumentException()
|
/dalvik/libcore/security/src/main/java/java/security/spec/ |
D | ECPrivateKeySpec.java | 31 private final BigInteger s; field in ECPrivateKeySpec 45 public ECPrivateKeySpec(BigInteger s, ECParameterSpec params) { in ECPrivateKeySpec()
|
/dalvik/tests/003-omnibus-opcodes/src/ |
D | InternedString.java | 29 String s = "blah"; in testDeadInternedString() local 48 String s = CONST; in testImmortalInternedString() local
|
/dalvik/libcore/prefs/src/main/java/java/util/prefs/ |
D | InvalidPreferencesFormatException.java | 36 public InvalidPreferencesFormatException (String s) { in InvalidPreferencesFormatException() 49 public InvalidPreferencesFormatException (String s, Throwable t) { in InvalidPreferencesFormatException()
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509TrustManagerImpl.java | 9 public void checkClientTrusted(X509Certificate[] ax509certificate, String s) in checkClientTrusted() 24 public void checkServerTrusted(X509Certificate[] ax509certificate, String s) in checkServerTrusted()
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
D | UnknownFormatFlagsExceptionTest.java | 65 String s = "MYTESTSTRING"; in test_getFlags() local 81 String s = "MYTESTSTRING"; in test_getMessage() local
|