Searched refs:password (Results 1 - 25 of 50) sorted by relevance

12

/frameworks/base/obex/javax/obex/
H A DPasswordAuthentication.java36 * This class holds user name and password combinations.
47 * password provided.
49 * @param password the password to include in the response
50 * @throws NullPointerException if <code>password</code> is
53 public PasswordAuthentication(final byte[] userName, final byte[] password) { argument
59 mPassword = new byte[password.length];
60 System.arraycopy(password, 0, mPassword, 0, password.length);
73 * Retrieves the password
[all...]
H A DObexSession.java74 * and password to use.
132 * If no password is provided then we not resent the request
138 byte[] password = result.getPassword();
139 if (password == null) {
163 byte[] digest = new byte[challenge.length + password.length + 1];
165 // Insert colon between challenge and password
167 System.arraycopy(password, 0, digest, challenge.length + 1, password.length);
194 // get the correct password from the application
/frameworks/base/core/java/android/webkit/
H A DHttpAuthHandler.java51 public void proceed(String username, String password) { argument
H A DHttpAuthHandlerImpl.java87 String password = msg.getData().getString("password");
89 loader.handleAuthResponse(username, password);
106 * @param password The password to use for authentication
110 private boolean handleResponseForSynchronousRequest(String username, String password) { argument
117 mPassword = password;
137 * @param password The password to use for authentication
139 public void proceed(String username, String password) { argument
275 onReceivedCredentials(LoadListener loader, String host, String realm, String username, String password) argument
[all...]
H A DFrameLoader.java399 String password;
403 password = mNetwork.getProxyPassword();
405 if (username != null && password != null) {
410 username, password));
H A DBrowserFrame.java815 String password) {
847 mainResource, userGesture, postDataIdentifier, username, password);
878 * and password, give the user the option of saving them. Will either do
886 * @param password The password entered by the user (sniffed from the DOM).
889 byte[] postData, String username, String password) {
892 || password == null || password.isEmpty()) {
893 return; // No password to save.
908 // Check to see if the username & password appea
804 startLoadingResource(int loaderHandle, String url, String method, HashMap headers, byte[] postData, long postDataIdentifier, int cacheMode, boolean mainResource, boolean userGesture, boolean synchronous, String username, String password) argument
888 maybeSavePassword( byte[] postData, String username, String password) argument
1392 setUsernamePassword(String username, String password) argument
1398 nativeAuthenticationProceed(int handle, String username, String password) argument
[all...]
H A DLoadListener.java136 String username, String password) {
141 username, password);
151 String username, String password) {
170 mPassword = password;
648 // password supplied in the URL, if present.
843 void handleAuthResponse(String username, String password) { argument
847 + " password: " + password);
849 if (username != null && password != null) {
850 makeAuthResponse(username, password);
132 getLoadListener(Context context, BrowserFrame frame, String url, int nativeLoader, boolean synchronous, boolean isMainPageLoader, boolean isMainResource, boolean userGesture, long postIdentifier, String username, String password) argument
148 LoadListener(Context context, BrowserFrame frame, String url, int nativeLoader, boolean synchronous, boolean isMainPageLoader, boolean isMainResource, boolean userGesture, long postIdentifier, String username, String password) argument
858 makeAuthResponse(String username, String password) argument
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java130 private boolean password(byte[] password) { argument
131 execute('p', password);
135 public boolean password(String password) { argument
136 return password(getBytes(password));
144 private boolean unlock(byte[] password) { argument
145 execute('u', password);
149 public boolean unlock(String password) { argument
[all...]
/frameworks/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java74 assertTrue(mKeyStore.password(TEST_PASSWD));
80 mKeyStore.password(TEST_PASSWD);
90 mKeyStore.password(TEST_PASSWD);
98 mKeyStore.password(TEST_I18N_KEY);
105 mKeyStore.password(TEST_PASSWD);
117 mKeyStore.password(TEST_PASSWD);
129 mKeyStore.password(TEST_PASSWD);
142 mKeyStore.password(TEST_PASSWD);
150 mKeyStore.password(TEST_PASSWD);
160 mKeyStore.password(TEST_PASSW
[all...]
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java224 public void setupBasicAuthResponse(boolean isProxy, String username, String password) { argument
225 String response = computeBasicAuthResponse(username, password);
238 String password,
246 username, password, realm, nonce, QOP, algorithm, opaque);
273 * @return Basic-scheme authentication response: BASE64(username:password).
275 public static String computeBasicAuthResponse(String username, String password) { argument
277 Assert.assertNotNull(password);
279 // encode username:password to base64
280 return new String(Base64.encodeBase64((username + ':' + password).getBytes()));
297 String password,
236 setupDigestAuthResponse(boolean isProxy, String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
296 computeDigestAuthResponse(String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
[all...]
H A DHttpAuthHeader.java55 * new username and password.
61 * password to use.
151 * @return The password string.
158 * Sets the password string.
160 public void setPassword(String password) { argument
161 mPassword = password;
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java64 private static final String LOCK_PASSWORD_FILE = "password.key";
145 Log.d(TAG, "lock password file changed");
191 * Gets the device policy password mode. If the mode is non-specific, returns
226 * Returns the actual password mode, as set by keyguard after updating the password.
264 * Check to see if a password matches the saved password. If no password exists,
266 * @param password The password t
269 checkPassword(String password) argument
295 checkPasswordHistory(String password) argument
513 computePasswordQuality(String password) argument
538 updateEncryptionPassword(String password) argument
565 saveLockPassword(String password, int quality) argument
577 saveLockPassword(String password, int quality, boolean isFallback) argument
787 passwordToHash(String password) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DApnSetting.java34 public final String password; field in class:ApnSetting
57 String user, String password, int authType, String[] types,
69 this.password = password;
88 * <mmsport>, <user>, <password>, <authtype>, <mcc>,<mnc>,
93 * <mmsport>, <user>, <password>, <authtype>, <mcc>, <mnc>,
97 * and password and thus cannot be read by this method.
54 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) argument
/frameworks/base/include/storage/
H A DIMountService.h69 virtual int32_t decryptStorage(const String16& password) = 0;
70 virtual int32_t encryptStorage(const String16& password) = 0;
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java36 assertEquals(a1.password, a2.password);
102 "mmsc", "mmsproxy", "mmsport", "user", "password", 0,
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java82 public void savePassword(String host, String username, String password) { argument
86 String username, String password) {
85 setHttpAuthUsernamePassword(String host, String realm, String username, String password) argument
/frameworks/base/core/java/android/accounts/
H A DIAccountManager.aidl36 boolean addAccount(in Account account, String password, in Bundle extras);
41 void setPassword(in Account account, String password);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DAccessPointParserHelper.java48 * security, eap, phase2, identity, password, anonymousidentity, cacert, usercert,
61 * <password>abcdefgh</password>
107 boolean password = false;
136 if (tagName.equalsIgnoreCase("password")) {
137 password = true;
227 if (password) {
247 config.password.setValue(passwordStr);
251 password = false;
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java188 String apn, String user, String password, String authType,
258 public void queryFacilityLock(String facility, String password, argument
263 public void queryFacilityLockForApp(String facility, String password, argument
269 String password, int serviceClass, Message response) {
274 String password, int serviceClass, String appId, Message response) {
187 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
268 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
273 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java610 public int decryptStorage(String password) throws RemoteException { argument
616 _data.writeString(password);
627 public int encryptStorage(String password) throws RemoteException { argument
633 _data.writeString(password);
644 public int changeEncryptionPassword(String password) throws RemoteException { argument
650 _data.writeString(password);
662 public int verifyEncryptionPassword(String password) throws RemoteException { argument
668 _data.writeString(password);
1067 String password = data.readString();
1068 int result = decryptStorage(password);
1296 decryptStorage(String password) argument
1301 encryptStorage(String password) argument
1306 changeEncryptionPassword(String password) argument
1312 verifyEncryptionPassword(String password) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DAccountUnlockScreen.java51 * When the user forgets their password a bunch of times, we fall back on their
52 * account's login/password to unlock the phone (and reset their lock pattern).
75 * Shown while making asynchronous check of password.
106 mPassword = (EditText) findViewById(R.id.password);
178 // clear out forgotten password
271 final String password = mPassword.getText().toString();
279 options.putString(AccountManager.KEY_PASSWORD, password);
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java436 public void queryFacilityLock(String facility, String password, int serviceClass, argument
441 public void queryFacilityLockForApp(String facility, String password, int serviceClass, argument
446 public void setFacilityLock(String facility, boolean lockState, String password, argument
451 public void setFacilityLockForApp(String facility, boolean lockState, String password, argument
581 String password, String authType, String protocol, Message result) {
580 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java69 public void setPassword(Object info, boolean password); argument
248 public void setPassword(Object info, boolean password) { argument
480 public void setPassword(Object info, boolean password) { argument
481 AccessibilityNodeInfoCompatIcs.setPassword(info, password);
988 * Gets whether this node is a password.
990 * @return True if the node is a password.
997 * Sets whether this node is a password.
1004 * @param password True if the node is a password.
1007 public void setPassword(boolean password) { argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl66 boolean resetPassword(String password, int flags);
/frameworks/base/voip/java/android/net/sip/
H A DSipProfile.java173 * Sets the password of the SIP account
175 * @param password password of the SIP account
178 public Builder setPassword(String password) { argument
179 mUri.setUserPassword(password);
273 // remove password from URI
403 * Gets the password.
405 * @return the password

Completed in 734 milliseconds

12