HomeSort by relevance Sort by last modified time
    Searched refs:authTokenType (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/android/accounts/
IAccountAuthenticator.aidl 32 String authTokenType, in String[] requiredFeatures, in Bundle options);
44 String authTokenType, in Bundle options);
49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType);
55 String authTokenType, in Bundle options);
AbstractAccountAuthenticator.java 120 String authTokenType, String[] features, Bundle options)
124 + ", authTokenType " + authTokenType
131 accountType, authTokenType, features, options);
185 String authTokenType)
188 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType);
194 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType));
208 "unknown authTokenType");
219 Account account, String authTokenType, Bundle loginOptions
    [all...]
IAccountManager.aidl 39 String peekAuthToken(in Account account, String authTokenType);
40 void setAuthToken(in Account account, String authTokenType, String authToken);
46 String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch,
49 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch,
52 String authTokenType, boolean expectActivityLaunch, in Bundle options);
AccountManagerService.java 181 public AuthTokenKey(Account account, String authTokenType) {
183 mAuthTokenType = authTokenType;
614 String authTokenType = cursor.getString(2);
651 public String readAuthTokenFromDatabase(Account account, String authTokenType) {
652 if (account == null || authTokenType == null) {
659 new String[]{account.name, account.type, authTokenType},
671 public String peekAuthToken(Account account, String authTokenType) {
673 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
677 return readAuthTokenFromDatabase(account, authTokenType);
    [all...]
AccountManager.java 574 * @param authTokenType The type of auth token to fetch, see {#getAuthToken}
578 public String peekAuthToken(final Account account, final String authTokenType) {
580 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
582 return mService.peekAuthToken(account, authTokenType);
677 * @param authTokenType The type of the auth token, see {#getAuthToken}
680 public void setAuthToken(Account account, final String authTokenType, final String authToken) {
682 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
684 mService.setAuthToken(account, authTokenType, authToken)
    [all...]
  /cts/tests/tests/accounts/src/android/accounts/cts/
MockAccountAuthenticator.java 106 String authTokenType, String[] requiredFeatures, Bundle options)
111 this.mAuthTokenType = authTokenType;
123 String authTokenType, Bundle options) throws NetworkErrorException {
127 this.mAuthTokenType = authTokenType;
169 String authTokenType, Bundle options) throws NetworkErrorException {
173 this.mAuthTokenType = authTokenType;
180 * Ask the authenticator for a localized label for the given authTokenType.
183 public String getAuthTokenLabel(String authTokenType) {
184 this.mAuthTokenType = authTokenType;
AccountManagerTest.java 171 private Bundle addAccount(AccountManager am, String accountType, String authTokenType,
178 authTokenType,
    [all...]
  /cts/tests/src/android/content/cts/
MockAccountAuthenticator.java 51 String authTokenType, String[] requiredFeatures, Bundle options)
63 String authTokenType, Bundle options) throws NetworkErrorException {
78 String authTokenType, Bundle options) throws NetworkErrorException {
83 public String getAuthTokenLabel(String authTokenType) {
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
Authenticator.java 49 String accountType, String authTokenType, String[] requiredFeatures,
53 authTokenType);
101 Account account, String authTokenType, Bundle loginOptions) {
102 if (!authTokenType.equals(Constants.AUTHTOKEN_TYPE)) {
105 "invalid authTokenType");
127 authTokenType);
139 public String getAuthTokenLabel(String authTokenType) {
140 if (authTokenType.equals(Constants.AUTHTOKEN_TYPE)) {
171 Account account, String authTokenType, Bundle loginOptions) {
175 authTokenType);
    [all...]
  /packages/apps/Email/src/com/android/email/service/
EasAuthenticatorService.java 54 String authTokenType, String[] requiredFeatures, Bundle options)
120 String authTokenType, Bundle loginOptions) throws NetworkErrorException {
125 public String getAuthTokenLabel(String authTokenType) {
138 String authTokenType, Bundle loginOptions) {
  /development/apps/Development/src/com/android/development/
AccountsTester.java 181 String authTokenType = mDesiredAuthTokenTypeEditText.getText().toString();
182 if (TextUtils.isEmpty(authTokenType)) {
183 authTokenType = null;
191 authTokenType, requiredFeatures, null /* options */,
278 String authTokenType = value.getText().toString();
281 mAccountManager.getAuthToken(account, authTokenType,
286 mAccountManager.getAuthToken(account, authTokenType, false,
289 String[] features = TextUtils.split(authTokenType, ",");
295 authTokenType, null /* loginOptions */,
347 AccountManagerCallback<Bundle> newAuthTokensCallback(String type, String authTokenType, String[] features)
    [all...]
  /frameworks/base/test-runner/src/android/test/
IsolatedContext.java 140 public String blockingGetAuthToken(Account account, String authTokenType,
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 

Completed in 192 milliseconds