/libcore/ojluni/src/main/java/java/net/ |
PasswordAuthentication.java | 42 private String userName; 52 * @param userName the user name 55 public PasswordAuthentication(String userName, char[] password) { 56 this.userName = userName; 66 return userName;
|
SocksSocketImpl.java | 155 String userName; 167 userName = pw.getUserName(); 170 userName = java.security.AccessController.doPrivileged( 173 if (userName == null) 176 out.write(userName.length()); 178 out.write(userName.getBytes("ISO-8859-1")); 272 String userName = getUserName(); 274 out.write(userName.getBytes("ISO-8859-1")); 558 String userName = ""; 561 userName = System.getProperty("user.name") [all...] |
/frameworks/base/obex/javax/obex/ |
PasswordAuthentication.java | 48 * @param userName the user name to include; this may be <code>null</code> 53 public PasswordAuthentication(final byte[] userName, final byte[] password) { 54 if (userName != null) { 55 mUserName = new byte[userName.length]; 56 System.arraycopy(userName, 0, mUserName, 0, userName.length);
|
Authenticator.java | 108 * @param userName the user name provided in the authentication response; may 114 byte[] onAuthenticationResponse(byte[] userName);
|
ObexSession.java | 149 byte[] userName = result.getUserName(); 159 if (userName != null) { 160 header.mAuthResp = new byte[38 + userName.length]; 162 header.mAuthResp[37] = (byte)userName.length; 163 System.arraycopy(userName, 0, header.mAuthResp, 38, userName.length);
|
ServerRequestHandler.java | 255 * @param userName the user name returned in the authentication response; 258 public void onAuthenticationFailure(byte[] userName) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Credentials.java | 27 public static String basic(String userName, String password) { 29 String usernameAndPassword = userName + ":" + password;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
BluetoothPbapObexAuthenticator.java | 61 public byte[] onAuthenticationResponse(byte[] userName) { 62 Log.v(TAG, "onAuthenticationResponse: " + userName);
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
CredentialsCache.java | 31 String userName; 33 public TimeoutTask(String userName, String proxyDomain) { 35 this.userName = userName;
|
/external/apache-http/src/org/apache/http/auth/ |
UsernamePasswordCredentials.java | 38 * Username and password {@link Credentials} 59 * The constructor with the username and password combined string argument. 61 * @param usernamePassword the username:password formed string 67 throw new IllegalArgumentException("Username:password string may not be null"); 81 * The constructor with the username and password arguments. 83 * @param userName the user name 86 public UsernamePasswordCredentials(String userName, String password) { 88 if (userName == null) { 89 throw new IllegalArgumentException("Username may not be null"); 91 this.principal = new BasicUserPrincipal(userName); [all...] |
NTCredentials.java | 63 * The constructor with the fully qualified username and password combined 66 * @param usernamePassword the domain/username:password formed string 71 throw new IllegalArgumentException("Username:password string may not be null"); 73 String username; local 76 username = usernamePassword.substring(0, atColon); 79 username = usernamePassword; 82 int atSlash = username.indexOf('/'); 85 username.substring(0, atSlash).toUpperCase(Locale.ENGLISH), 86 username.substring(atSlash + 1)); 90 username.substring(atSlash + 1)) [all...] |
/art/test/162-method-resolution/src/ |
Main.java | 405 private static void invokeUserTest(String userName) throws Exception { 406 System.out.println("Calling " + userName + ".test():"); 408 Class<?> user = Class.forName(userName);
|
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/ |
UserHelper.java | 58 public int createSecondaryUser(String userName) { 60 String cmdOut = CommandsHelper.execute("pm create-user " + userName); 68 Log.i(TAG, String.format("User Name:%s User ID:%d", userName, userId));
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/ |
QueryDataSourceTest.java | 58 public int countItemsBefore(@NonNull String userName) { 59 return mUserDao.userNameCountBefore(userName); 63 public int countItemsAfter(@NonNull String userName) { 64 return mUserDao.userNameCountAfter(userName); 75 public List<User> loadBefore(@NonNull String userName, int pageSize) { 76 return mUserDao.userNameLoadBefore(userName, pageSize); 81 public List<User> loadAfter(@Nullable String userName, int pageSize) { 82 return mUserDao.userNameLoadAfter(userName, pageSize);
|
/external/lzma/CPP/Windows/ |
SecurityUtils.cpp | 129 WCHAR userName[256 + 2];
131 if (!GetUserNameW(userName, &size))
133 PSID psid = GetSid(userName);
|
/external/ltp/testcases/network/nfsv4/acl/ |
random_gen.py | 30 def createUser(self,username): 32 opts = "-g" + group + " -p" + "1pilot" + " -m " + username 35 print "create user " + username + "failed" + u 58 userName= "user" + str(i) 59 self.createUser(userName) 79 userName = splitedline[0] 82 NameOK = re.match("user",userName) 85 self.uList.append(userName) 102 userName = splitedline[0] 105 NameOK = re.match("user",userName) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
IEmailService.aidl | 56 Bundle autoDiscover(String userName, String password);
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
LocalSdkBuildProvider.java | 108 String userName = System.getProperty("user.name"); 110 String.format("android-sdk_eng.%s_%s", userName, osPath));
|
/packages/apps/Settings/src/com/android/settings/users/ |
EditUserInfoController.java | 149 CharSequence userName = userNameView.getText(); 150 if (!TextUtils.isEmpty(userName)) { 152 || !userName.toString().equals(currentUserName.toString())) { 154 callback.onLabelChanged(userName.toString()); 157 userName.toString());
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
adshlp.h | 36 HRESULT WINAPI BinarySDToSecurityDescriptor (PSECURITY_DESCRIPTOR pSecurityDescriptor, VARIANT *pVarsec, LPCWSTR pszServerName, LPCWSTR userName, LPCWSTR passWord, DWORD dwFlags); 37 HRESULT WINAPI SecurityDescriptorToBinarySD (VARIANT vVarSecDes, PSECURITY_DESCRIPTOR *ppSecurityDescriptor, PDWORD pdwSDLength, LPCWSTR pszServerName, LPCWSTR userName, LPCWSTR passWord, DWORD dwFlags);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/commands/ |
GetCertData.java | 72 ", userName='" + mUserName + '\'' +
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapAuthenticator.java | 102 public byte[] onAuthenticationResponse(final byte[] userName) {
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
HTTPRequest.java | 61 public void doAuthenticate(HTTPResponse httpResponse, String userName, byte[] password, 64 generateAuthAnswer(httpResponse, userName, password, url, sequence)); 67 private static String generateAuthAnswer(HTTPResponse httpResponse, String userName, 115 * A1 = unq(username-value) ":" unq(realm-value) ":" passwd 134 byte[] a1 = hash(userName, realm, passwordString); 140 .append("username=\"").append(userName).append("\", ") 264 // username="1c7e1582-604d-4c00-b411-bb73735cbcb0" 295 .append("username=\"").append(user).append("\", ")
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
RawContact.java | 208 final String userName = !contact.isNull("u") ? contact.getString("u") : null; 210 // If we didn't get either a username or serverId for the contact, then 212 if ((userName == null) && (serverContactId <= 0)) { 227 return new RawContact(userName, null, firstName, lastName, cellPhone,
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
HostAuth.java | 311 String userName = null; 315 userName = userInfoParts[0]; 320 setLogin(userName, userPassword); 323 public void setUserName(final String userName) { 324 mLogin = userName; 335 public void setLogin(String userName, String userPassword) { 336 mLogin = userName; 347 * Returns the login information. [0] is the username and [1] is the password.
|