HomeSort by relevance Sort by last modified time
    Searched refs:username (Results 1 - 25 of 874) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/policy/
browser_policy_connector_unittest.cc 38 std::string username(kNonEnterpriseUsers[i]);
39 EXPECT_TRUE(BrowserPolicyConnector::IsNonEnterpriseUser(username)) <<
40 "IsNonEnterpriseUser returned false for " << username;
43 std::string username(kEnterpriseUsers[i]);
44 EXPECT_FALSE(BrowserPolicyConnector::IsNonEnterpriseUser(username)) <<
45 "IsNonEnterpriseUser returned true for " << username;
  /external/chromium_org/chrome/browser/chromeos/login/
remove_user_delegate.h 14 virtual void OnBeforeUserRemoved(const std::string& username) = 0;
17 virtual void OnUserRemoved(const std::string& username) = 0;
login_manager_test.cc 39 void LoginManagerTest::RegisterUser(const std::string& username) {
41 users_pref->AppendIfNotPresent(new base::StringValue(username));
44 void LoginManagerTest::SetExpectedCredentials(const std::string& username,
46 login_utils().GetFakeLoginUtils()->SetExpectedCredentials(username, password);
49 bool LoginManagerTest::TryToLogin(const std::string& username,
54 controller->Login(UserContext(username, password, std::string()));
59 return active_user->email() == username;
63 void LoginManagerTest::LoginUser(const std::string& username) {
64 SetExpectedCredentials(username, "password");
65 EXPECT_TRUE(TryToLogin(username, "password"))
    [all...]
login_manager_test.h 21 // Registers user with given |username| on device.
24 void RegisterUser(const std::string& username);
27 void SetExpectedCredentials(const std::string& username,
30 // Tries to login with |username| and |password|. Returns false if attempt
32 bool TryToLogin(const std::string& username, const std::string& password);
34 // Login user with |username|. User should be registered using RegisterUser().
35 void LoginUser(const std::string& username);
user_image_manager.h 44 virtual void SaveUserDefaultImageIndex(const std::string& username,
49 virtual void SaveUserImage(const std::string& username,
54 virtual void SaveUserImageFromFile(const std::string& username,
57 // Sets profile image as user image for |username|, sends
62 virtual void SaveUserImageFromProfileImage(const std::string& username) = 0;
65 virtual void DeleteUserImage(const std::string& username) = 0;
  /external/apache-http/src/org/apache/http/auth/
BasicUserPrincipal.java 46 private final String username; field in class:BasicUserPrincipal
48 public BasicUserPrincipal(final String username) {
50 if (username == null) {
53 this.username = username;
57 return this.username;
63 hash = LangUtils.hashCode(hash, this.username);
73 if (LangUtils.equals(this.username, that.username)) {
84 buffer.append(this.username);
    [all...]
NTUserPrincipal.java 46 private final String username; field in class:NTUserPrincipal
52 final String username) {
54 if (username == null) {
57 this.username = username;
67 buffer.append(this.username);
70 this.ntname = this.username;
83 return this.username;
89 hash = LangUtils.hashCode(hash, this.username);
100 if (LangUtils.equals(this.username, that.username
    [all...]
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
datastore.py 38 def get_contact_info(cls, username):
39 if username not in (None, ''):
40 query = cls.gql('WHERE handle = :1', username)
45 def get_contact_last_updated(cls, username):
46 if username not in (None, ''):
47 query = cls.gql('WHERE handle = :1', username)
52 def get_contact_id(cls, username):
53 if username not in (None, ''):
54 query = cls.gql('WHERE handle = :1', username)
59 def get_contact_status(cls, username)
    [all...]
  /external/chromium/net/ftp/
ftp_auth_cache.cc 16 const string16& username,
19 username(username),
37 void FtpAuthCache::Add(const GURL& origin, const string16& username,
44 entry->username = username;
47 entries_.push_front(Entry(origin, username, password));
55 void FtpAuthCache::Remove(const GURL& origin, const string16& username,
58 if (it->origin == origin && it->username == username &
    [all...]
ftp_auth_cache.h 30 Entry(const GURL& origin, const string16& username,
35 string16 username; member in struct:net::FtpAuthCache::Entry
45 // Add an entry for |origin| to the cache (consisting of |username| and
48 void Add(const GURL& origin, const string16& username,
52 // |username| and |password|.
53 void Remove(const GURL& origin, const string16& username,
  /external/wpa_supplicant_8/src/eap_peer/
mschapv2.c 15 const u8 * mschapv2_remove_domain(const u8 *username, size_t *len)
26 if (username[i] == '\\') {
28 return username + i + 1;
32 return username;
44 const u8 *username; local
51 username = mschapv2_remove_domain(identity, &username_len);
52 wpa_hexdump_ascii(MSG_DEBUG, "MSCHAPV2: Username",
53 username, username_len);
59 wpa_hexdump_ascii(MSG_DEBUG, "MSCHAPV2: username",
60 username, username_len)
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/integration/
ClientHelper.py 13 username=None, password=None, sharedKey=None,
22 - username, password (SRP)
23 - username, sharedKey (shared-key)
46 @type username: str
47 @param username: SRP or shared-key username. Requires the
52 Requires the 'username' argument.
56 Requires the 'username' argument.
102 self.username = None
110 if username and password and not
    [all...]
IntegrationHelper.py 5 username=None, password=None, sharedKey=None,
12 self.username = None
20 if username and password and not \
22 self.username = username
26 elif username and sharedKey and not \
28 self.username = username
33 (username or password or sharedKey):
38 elif not password and not username and not
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
credentials.py 66 return (Git.read_git_config(self.git_prefix + "username"),
86 username = self._keychain_value_with_label("^\s*\"acct\"<blob>=",
90 return [username, password]
92 def _run_security_tool(self, username=None):
100 if username:
101 security_command += ["-a", username]
114 def _credentials_from_keychain(self, username=None):
116 return [username, None]
118 security_output = self._run_security_tool(username)
129 return (self._read_environ("username"), self._read_environ("password")
    [all...]
  /external/chromium_org/cloud_print/service/win/
local_security_policy.h 24 bool IsPrivilegeSet(const string16& username,
26 bool SetPrivilege(const string16& username, const string16& privilage);
  /external/chromium_org/components/autofill/content/browser/wallet/
wallet_signin_helper_delegate.h 22 // |username| is the signed-in user account name (email).
23 virtual void OnPassiveSigninSuccess(const std::string& username) = 0;
29 // |username| is the signed-in user account name (email).
30 virtual void OnUserNameFetchSuccess(const std::string& username) = 0;
  /external/chromium_org/third_party/WebKit/ManualTests/blackberry/
http-auth-challenge.php 8 $username = $password = "aaaa"; variable
10 if ($_SERVER['PHP_AUTH_USER'] == $username && $_SERVER['PHP_AUTH_PW'] == $password){
http-auth-private-mode-changed.php 2 $username = $password = "aaaa"; variable
4 if ($_SERVER['PHP_AUTH_USER'] == $username && $_SERVER['PHP_AUTH_PW'] == $password){
8 echo '3. There should be a dialog for you to input username and password again.<br>';
  /external/chromium_org/third_party/tlslite/tlslite/
SharedKeyDB.py 30 def _getItem(self, username, valueStr):
32 session._createSharedKey(username, valueStr)
35 def __setitem__(self, username, sharedKey):
38 @type username: str
39 @param username: The username to associate the shared key with.
47 BaseDB.__setitem__(self, username, sharedKey)
49 def _setItem(self, username, value):
50 if len(username)>16:
51 raise ValueError("username too long"
    [all...]
BaseDB.py 43 def __getitem__(self, username):
49 valueStr = self.db[username]
53 return self._getItem(username, valueStr)
55 def __setitem__(self, username, value):
59 valueStr = self._setItem(username, value)
63 self.db[username] = valueStr
69 def __delitem__(self, username):
75 del(self.db[username])
81 def __contains__(self, username):
82 """Check if the database contains the specified username
    [all...]
VerifierDB.py 28 def _getItem(self, username, valueStr):
36 def __setitem__(self, username, verifierEntry):
39 @type username: str
40 @param username: The username to associate the verifier with.
49 BaseDB.__setitem__(self, username, verifierEntry)
52 def _setItem(self, username, value):
53 if len(username)>=256:
54 raise ValueError("username too long")
63 def _checkItem(self, value, username, param)
    [all...]
  /external/chromium_org/components/webdata/encryptor/
ie7_password_unittest_win.cc 50 string16 username; local
51 ASSERT_TRUE(ie7_password::GetUserPassFromData(decrypted_data1, &username,
53 EXPECT_EQ(L"abcdefgh", username);
56 ASSERT_TRUE(ie7_password::GetUserPassFromData(decrypted_data2, &username,
58 EXPECT_EQ(L"abcdefghi", username);
  /external/chromium_org/third_party/WebKit/Source/core/platform/mediastream/
RTCConfiguration.h 44 static PassRefPtr<RTCIceServer> create(const KURL& uri, const String& username, const String& credential)
46 return adoptRef(new RTCIceServer(uri, username, credential));
51 const String& username() { return m_username; } function in class:WebCore::RTCIceServer
55 RTCIceServer(const KURL& uri, const String& username, const String& credential)
57 , m_username(username)
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
ChromeHttpAuthHandler.java 58 public void proceed(String username, String password) {
59 nativeSetAuth(mNativeChromeHttpAuthHandler, username, password);
97 public void onAutofillDataAvailable(String username, String password);
113 private void onAutofillDataAvailable(String username, String password) {
114 mAutofillUsername = username;
117 mAutofillObserver.onAutofillDataAvailable(username, password);
126 String username, String password);
  /external/chromium_org/chrome/common/extensions/docs/server2/
appengine_url_fetcher.py 17 def _MakeHeaders(username, password):
19 if username is not None and password is not None:
21 '%s:%s' % (username, password))
31 def Fetch(self, url, username=None, password=None):
36 return urlfetch.fetch(url, headers=_MakeHeaders(username, password))
38 def FetchAsync(self, url, username=None, password=None):
44 urlfetch.make_fetch_call(rpc, url, headers=_MakeHeaders(username, password))

Completed in 993 milliseconds

1 2 3 4 5 6 7 8 91011>>