Home
last modified time | relevance | path

Searched refs:prompt (Results 1 – 7 of 7) 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/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/tools/testmapping/
Dsave_logs.py93 def get_indexes_from_user(prompt, options): argument
106 print(prompt)
/libcore/benchmarks/src/benchmarks/regression/
DR.java2068 public static final int prompt = 0; field in R