Home
last modified time | relevance | path

Searched refs:prompt (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/javax/security/auth/callback/
DPasswordCallback.java43 private String prompt; field in PasswordCallback
70 public PasswordCallback(String prompt, boolean echoOn) { in PasswordCallback() argument
71 if (prompt == null || prompt.length() == 0) in PasswordCallback()
74 this.prompt = prompt; in PasswordCallback()
86 return prompt; in getPrompt()
/libcore/luni/src/test/java/libcore/java/net/
DAuthenticatorTest.java88 final String prompt = "Please enter your password"; in testRequestPasswordAuthentication() local
98 addr, port, protocol, prompt, scheme); in testRequestPasswordAuthentication()
108 assertEquals(prompt, auth.getPrompt()); in testRequestPasswordAuthentication()
112 host, addr, port, protocol, prompt, scheme); in testRequestPasswordAuthentication()
123 assertEquals(prompt, auth.getPrompt()); in testRequestPasswordAuthentication()
133 final String prompt = "Please enter your password"; in testRequestPasswordAuthenticationWithNullAuthenticator() local
138 addr, port, protocol, prompt, scheme)); in testRequestPasswordAuthenticationWithNullAuthenticator()
141 host, addr, port, protocol, prompt, scheme)); in testRequestPasswordAuthenticationWithNullAuthenticator()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
DPasswordCallbackTest.java38 String prompt = "promptTest"; in test_PasswordCallback() local
41 PasswordCallback pc = new PasswordCallback(prompt, true); in test_PasswordCallback()
43 assertEquals(prompt, pc.getPrompt()); in test_PasswordCallback()
50 PasswordCallback pc = new PasswordCallback(prompt, false); in test_PasswordCallback()
52 assertEquals(prompt, pc.getPrompt()); in test_PasswordCallback()
77 String prompt = "promptTest"; in test_Password() local
80 PasswordCallback pc = new PasswordCallback(prompt, true); in test_Password()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java68 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); in test_format_LString_LObject() local
69 assertEquals("1 hello", prompt); in test_format_LString_LObject()
75 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); in test_printf_LString_LObject() local
76 assertEquals("03 21,1983", prompt); in test_printf_LString_LObject()
94 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); in test_readLine_LString_LObject() local
95 assertEquals("2 Please input a line of string to test:", prompt); in test_readLine_LString_LObject()
/libcore/ojluni/src/main/java/java/net/
DAuthenticator.java164 String prompt, in requestPasswordAuthentication() argument
183 a.requestingPrompt = prompt; in requestPasswordAuthentication()
226 String prompt, in requestPasswordAuthentication() argument
246 a.requestingPrompt = prompt; in requestPasswordAuthentication()
291 String prompt, in requestPasswordAuthentication() argument
313 a.requestingPrompt = prompt; in requestPasswordAuthentication()
/libcore/ojluni/annotations/hiddenapi/java/net/
DAuthenticator.java49 java.lang.String prompt, in requestPasswordAuthentication() argument
59 java.lang.String prompt, in requestPasswordAuthentication() argument
69 java.lang.String prompt, in requestPasswordAuthentication() argument
/libcore/ojluni/src/test/java/text/testlib/
DIntlTest.java89 prompt = true; in run()
137 if (prompt) { in run()
264 private boolean prompt; field in IntlTest
/libcore/tools/testmapping/
Dsave_logs.py93 def get_indexes_from_user(prompt, options): argument
106 print(prompt)
/libcore/luni/src/test/java/libcore/java/io/
DConsoleTest.java90 String prompt = new String(((ByteArrayOutputStream) outStream).toByteArray()); in testReadPasswordWithPrompt() local
91 assertEquals("Alice, please enter your password:", prompt); in testReadPasswordWithPrompt()
/libcore/benchmarks/src/benchmarks/regression/
DR.java2068 public static final int prompt = 0; field in R