/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 30 String getPassword(in Account account); in getPassword() argument 31 String getUserData(in Account account, String key); in getUserData() argument 37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features); in hasFeatures() argument 39 boolean addAccountExplicitly(in Account account, String password, in Bundle extras); in addAccountExplicitly() argument 40 void removeAccount(in IAccountManagerResponse response, in Account account); in removeAccount() argument 42 String peekAuthToken(in Account account, String authTokenType); in peekAuthToken() argument 43 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument 44 void setPassword(in Account account, String password); in setPassword() argument 45 void clearPassword(in Account account); in clearPassword() argument 46 void setUserData(in Account account, String key, String value); in setUserData() argument [all …]
|
D | AccountAndUser.java | 25 public Account account; field in AccountAndUser 28 public AccountAndUser(Account account, int userId) { in AccountAndUser() argument 29 this.account = account; in AccountAndUser() 37 return this.account.equals(other.account) in equals() 43 return account.hashCode() + userId; in hashCode() 47 return account.toString() + " u" + userId; in toString()
|
D | AbstractAccountAuthenticator.java | 144 Account account, Bundle options) throws RemoteException { in confirmCredentials() argument 146 Log.v(TAG, "confirmCredentials: " + account); in confirmCredentials() 151 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials() 161 handleException(response, "confirmCredentials", account.toString(), e); in confirmCredentials() 188 Account account, String authTokenType, Bundle loginOptions) in getAuthToken() argument 191 Log.v(TAG, "getAuthToken: " + account in getAuthToken() 197 new AccountAuthenticatorResponse(response), account, in getAuthToken() 208 account.toString() + "," + authTokenType, e); in getAuthToken() 212 public void updateCredentials(IAccountAuthenticatorResponse response, Account account, in updateCredentials() argument 215 Log.v(TAG, "updateCredentials: " + account in updateCredentials() [all …]
|
D | AccountManager.java | 313 public String getPassword(final Account account) { in getPassword() argument 314 if (account == null) throw new IllegalArgumentException("account is null"); in getPassword() 316 return mService.getPassword(account); in getPassword() 338 public String getUserData(final Account account, final String key) { in getUserData() argument 339 if (account == null) throw new IllegalArgumentException("account is null"); in getUserData() 342 return mService.getUserData(account, key); in getUserData() 465 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() argument 467 mService.updateAppPermission(account, authTokenType, uid, value); in updateAppPermission() 526 public AccountManagerFuture<Boolean> hasFeatures(final Account account, 529 if (account == null) throw new IllegalArgumentException("account is null"); [all …]
|
D | IAccountAuthenticator.aidl | 37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, in confirmCredentials() argument 43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, in getAuthToken() argument 54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, in updateCredentials() argument 66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, in hasFeatures() argument 72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); in getAccountRemovalAllowed() argument 78 in Account account); in getAccountCredentialsForCloning() argument 84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account, in addAccountFromCredentials() argument
|
D | ChooseTypeAndAccountActivity.java | 233 Account account = mAccounts.get(0); in onResume() local 234 setResultAndFinish(account.name, account.type); in onResume() 347 for (Account account : currentAccounts) { in onActivityResult() 348 if (!preExistingAccounts.contains(account)) { in onActivityResult() 349 accountName = account.name; in onActivityResult() 350 accountType = account.type; in onActivityResult() 412 private void onAccountSelected(Account account) { in onAccountSelected() argument 413 Log.d(TAG, "selected account " + account); in onAccountSelected() 414 setResultAndFinish(account.name, account.type); in onAccountSelected() 491 for (Account account : accounts) { in getAcceptableAccountChoices() [all …]
|
/frameworks/base/services/java/com/android/server/accounts/ |
D | AccountManagerService.java | 388 final Account account = new Account(accountName, accountType); in validateAccountsInternal() local 389 accounts.userDataCache.remove(account); in validateAccountsInternal() 390 accounts.authTokenCache.remove(account); in validateAccountsInternal() 479 public String getPassword(Account account) { in getPassword() argument 481 Log.v(TAG, "getPassword: " + account in getPassword() 485 if (account == null) throw new IllegalArgumentException("account is null"); in getPassword() 486 checkAuthenticateAccountsPermission(account); in getPassword() 491 return readPasswordInternal(accounts, account); in getPassword() 497 private String readPasswordInternal(UserAccounts accounts, Account account) { in readPasswordInternal() argument 498 if (account == null) { in readPasswordInternal() [all …]
|
/frameworks/base/core/java/android/content/ |
D | PeriodicSync.java | 29 public final Account account; field in PeriodicSync 48 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync() argument 49 this.account = account; in PeriodicSync() 66 this.account = other.account; in PeriodicSync() 77 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync() argument 79 this.account = account; in PeriodicSync() 87 this.account = in.readParcelable(null); in PeriodicSync() 101 dest.writeParcelable(account, flags); in writeToParcel() 129 return account.equals(other.account) in equals() 159 return "account: " + account + in toString()
|
D | IContentService.aidl | 57 void requestSync(in Account account, String authority, in Bundle extras); in requestSync() argument 59 void cancelSync(in Account account, String authority); in cancelSync() argument 66 boolean getSyncAutomatically(in Account account, String providerName); in getSyncAutomatically() argument 74 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically() argument 82 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName); in getPeriodicSyncs() argument 91 void addPeriodicSync(in Account account, String providerName, in Bundle extras, in addPeriodicSync() argument 101 void removePeriodicSync(in Account account, String providerName, in Bundle extras); in removePeriodicSync() argument 107 int getIsSyncable(in Account account, String providerName); in getIsSyncable() argument 113 void setIsSyncable(in Account account, String providerName, int syncable); in setIsSyncable() argument 123 boolean isSyncActive(in Account account, String authority); in isSyncActive() argument [all …]
|
D | SyncInfo.java | 34 public final Account account; field in SyncInfo 49 public SyncInfo(int authorityId, Account account, String authority, in SyncInfo() argument 52 this.account = account; in SyncInfo() 60 this.account = new Account(other.account.name, other.account.type); in SyncInfo() 73 account.writeToParcel(parcel, 0); in writeToParcel() 81 account = new Account(parcel); in SyncInfo()
|
D | AbstractThreadedSyncAdapter.java | 141 private Account toSyncKey(Account account) { in toSyncKey() argument 143 return account; in toSyncKey() 151 public void startSync(ISyncContext syncContext, String authority, Account account, in startSync() argument 158 final Account threadsKey = toSyncKey(account); in startSync() 165 if (ContentResolver.getIsSyncable(account, authority) < 0) { in startSync() 166 ContentResolver.setIsSyncable(account, authority, 1); in startSync() 175 syncContextClient, authority, account, extras); in startSync() 213 public void initialize(Account account, String authority) throws RemoteException { in initialize() argument 216 startSync(null, authority, account, extras); in initialize() 233 Account account, Bundle extras) { in SyncThread() argument [all …]
|
D | ContentResolver.java | 1716 Account account = null; in startSync() local 1720 account = new Account(accountName, "com.google"); in startSync() 1724 requestSync(account, uri != null ? uri.getAuthority() : null, extras); in startSync() 1746 public static void requestSync(Account account, String authority, Bundle extras) { in requestSync() argument 1752 .setSyncAdapter(account, authority) in requestSync() 1830 public static void cancelSync(Account account, String authority) { in cancelSync() argument 1832 getContentService().cancelSync(account, authority); in cancelSync() 1858 public static boolean getSyncAutomatically(Account account, String authority) { in getSyncAutomatically() argument 1860 return getContentService().getSyncAutomatically(account, authority); in getSyncAutomatically() 1875 public static void setSyncAutomatically(Account account, String authority, boolean sync) { in setSyncAutomatically() argument [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SyncStateContract.java | 74 Account account) throws RemoteException { in get() argument 76 new String[]{account.name, account.type}, null); in get() 104 Account account, byte[] data) throws RemoteException { in set() argument 107 values.put(Columns.ACCOUNT_NAME, account.name); in set() 108 values.put(Columns.ACCOUNT_TYPE, account.type); in set() 113 Account account, byte[] data) throws RemoteException { in insert() argument 116 values.put(Columns.ACCOUNT_NAME, account.name); in insert() 117 values.put(Columns.ACCOUNT_TYPE, account.type); in insert() 129 Account account) throws RemoteException { in getWithUri() argument 131 new String[]{account.name, account.type}, null); in getWithUri() [all …]
|
D | BrowserContract.java | 524 public static byte[] get(ContentProviderClient provider, Account account) in get() argument 526 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account); in get() 532 public static Pair<Uri, byte[]> getWithUri(ContentProviderClient provider, Account account) in getWithUri() argument 534 return SyncStateContract.Helpers.getWithUri(provider, CONTENT_URI, account); in getWithUri() 540 public static void set(ContentProviderClient provider, Account account, byte[] data) in set() argument 542 SyncStateContract.Helpers.set(provider, CONTENT_URI, account, data); in set() 548 public static ContentProviderOperation newSetOperation(Account account, byte[] data) { in newSetOperation() argument 549 return SyncStateContract.Helpers.newSetOperation(CONTENT_URI, account, data); in newSetOperation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 76 final Account account = new Account("a@example.com", "example.type"); in testPurgeActiveSync() local 86 account, 0, SyncOperation.REASON_PERIODIC, authority, time0, in testPurgeActiveSync() 109 assertEquals(pop.account, popRetrieved.account); in testPending() 172 syncs = engine.getPeriodicSyncs(sync2.account, 1, sync2.authority); in testPeriodics() 233 syncs = engine.getPeriodicSyncs(sync2.account, 1, sync2.authority); in testPeriodicsV2() 238 …private void removePeriodicSyncs(SyncStorageEngine engine, Account account, int userId, String aut… in removePeriodicSyncs() argument 239 … engine.setIsSyncable(account, userId, authority, engine.getIsSyncable(account, 0, authority)); in removePeriodicSyncs() 240 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account, userId, authority); in removePeriodicSyncs() 337 final Account account = new Account("account1", "type1"); in testAuthorityParsingV2() local 347 PeriodicSync sync1 = new PeriodicSync(account, authority1, extras, dayPoll, dayFuzz); in testAuthorityParsingV2() [all …]
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncQueue.java | 66 op.account, op.userId, op.authority); in addPendingOperations() 68 SyncAdapterType.newKey(op.authority, op.account.type), op.userId); in addPendingOperations() 75 op.account, op.userId, op.reason, op.syncSource, op.authority, op.extras, in addPendingOperations() 77 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority), in addPendingOperations() 123 operation.account, operation.userId, operation.reason, operation.syncSource, in add() 165 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) { in onBackoffChanged() argument 169 if (op.account.equals(account) && op.authority.equals(providerName) in onBackoffChanged() 177 public void onDelayUntilTimeChanged(Account account, String providerName, long delayUntil) { in onDelayUntilTimeChanged() argument 181 if (op.account.equals(account) && op.authority.equals(providerName)) { in onDelayUntilTimeChanged() 188 public void remove(Account account, int userId, String authority) { in remove() argument [all …]
|
D | SyncManager.java | 262 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { in containsAccountAndUser() argument 266 && accounts[i].account.equals(account)) { in containsAccountAndUser() 283 currentSyncContext.mSyncOperation.account, in updateRunningAccounts() 387 public void onSyncRequest(Account account, int userId, int reason, String authority, in SyncManager() 389 scheduleSync(account, userId, reason, authority, extras, in SyncManager() 509 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument 510 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable() 519 SyncAdapterType.newKey(providerName, account.type), userId); in getIsSyncable() 532 && pInfo.restrictedAccountType.equals(account.type)) { in getIsSyncable() 643 for (AccountAndUser account : accounts) { in scheduleSync() [all …]
|
D | SyncStorageEngine.java | 159 final Account account; field in SyncStorageEngine.PendingOperation 171 PendingOperation(Account account, int userId, int reason, int source, in PendingOperation() argument 173 this.account = account; in PendingOperation() 185 this.account = other.account; in PendingOperation() 209 final Account account; field in SyncStorageEngine.AuthorityInfo 227 account = toCopy.account; in AuthorityInfo() 253 AuthorityInfo(Account account, int userId, String authority, int ident) { in AuthorityInfo() argument 254 this.account = account; in AuthorityInfo() 265 periodicSyncs.add(new PeriodicSync(account, authority, in AuthorityInfo() 279 this.account = null; in AuthorityInfo() [all …]
|
D | ContentService.java | 319 public void requestSync(Account account, String authority, Bundle extras) { in requestSync() argument 330 syncManager.scheduleSync(account, userId, uId, authority, extras, in requestSync() 364 final Account account = request.getAccount(); in sync() local 376 new PeriodicSync(account, provider, extras, runAtTime, flextime); in sync() 382 account, userId, uId, provider, extras, in sync() 402 public void cancelSync(Account account, String authority) { in cancelSync() argument 414 syncManager.clearScheduledSyncOperations(account, userId, authority); in cancelSync() 415 syncManager.cancelActiveSync(account, userId, authority); in cancelSync() 441 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument 451 account, userId, providerName); in getSyncAutomatically() [all …]
|
D | SyncOperation.java | 58 public final Account account; field in SyncOperation 86 public SyncOperation(Account account, int userId, int reason, int source, String authority, in SyncOperation() argument 90 this.account = account; in SyncOperation() 123 this.account = other.account; in SyncOperation() 172 .append(account.name) in dump() 175 .append(account.type) in dump() 241 … sb.append(" account {name=" + account.name + ", user=" + userId + ", type=" + account.type in toKey()
|
/frameworks/base/docs/html/google/play/licensing/ |
D | setting-up.jd | 12 <li><a href="#account">Setting Up a Publisher Account</a></li> 26 <li><a href="#acct-signin">Signing in to an authorized account in the runtime 35 Play publishing account, your development environment, and any test accounts required to verify 39 <h2 id="account">Setting Up a Publisher Account</h2> 41 <p>If you don't already have a publisher account for Google Play, you need to register for one 42 using your Google account and agree to the Google Play terms of service.</p> 47 <p>If you already have a publisher account on Google Play, use your 71 license check for an application uploaded to the publisher account, from a user 72 signed in to the publisher account or a test account. You can set test responses 167 <li>A set of underlying account services that let you add an a Google account on [all …]
|
/frameworks/base/docs/html/training/id-auth/ |
D | custom_auth.jd | 34 to be relatively straightforward to install new account types on a user's 35 device. This lesson explains how to create a custom account type that works the 63 were only one way to do it, there'd be no need for "custom" account types, after 68 final Account account = new Account(mUsername, <em>your_account_type</em>); 69 mAccountManager.addAccountExplicitly(account, mPassword, null); 77 or a keychain. It stores account credentials just as you pass them, in <strong>plain 92 custom account code.</p> 95 You've already implemented the meat of your custom account code; what's left is 101 <p>In order for the {@link android.accounts.AccountManager} to work with your custom account 111 the methods you called in the previous lesson to get account information and [all …]
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | AndroidAuthenticator.java | 44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { in AndroidAuthenticator() argument 45 this(context, account, authTokenType, false); in AndroidAuthenticator() 55 public AndroidAuthenticator(Context context, Account account, String authTokenType, in AndroidAuthenticator() argument 58 mAccount = account; in AndroidAuthenticator()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryConstructor.java | 66 public VCardEntryConstructor(final int vcardType, final Account account) { in VCardEntryConstructor() argument 67 this(vcardType, account, null); in VCardEntryConstructor() 75 public VCardEntryConstructor(final int vcardType, final Account account, in VCardEntryConstructor() argument 78 mAccount = account; in VCardEntryConstructor()
|
/frameworks/base/test-runner/src/android/test/ |
D | SyncBaseInstrumentation.java | 50 Account account = new Account(accountName, "com.google"); in syncProvider() local 52 ContentResolver.requestSync(account, authority, extras); in syncProvider() 67 if (ContentResolver.isSyncActive(account, authority)) { in syncProvider()
|