/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 20 import android.accounts.Account; 30 String getPassword(in Account account); in getPassword() 31 String getUserData(in Account account, String key); in getUserData() 33 Account[] getAccounts(String accountType, String opPackageName); in getAccounts() 34 Account[] getAccountsForPackage(String packageName, int uid, String opPackageName); in getAccountsForPackage() 35 Account[] getAccountsByTypeForPackage(String type, String packageName, String opPackageName); in getAccountsByTypeForPackage() 36 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() 37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, in hasFeatures() 41 boolean addAccountExplicitly(in Account account, String password, in Bundle extras); in addAccountExplicitly() 42 void removeAccount(in IAccountManagerResponse response, in Account account, in removeAccount() [all …]
|
D | Account.java | 28 public class Account implements Parcelable { class 34 if (!(o instanceof Account)) return false; in equals() 35 final Account other = (Account)o; in equals() 46 public Account(String name, String type) { in Account() method in Account 57 public Account(Parcel in) { in Account() method in Account 71 public static final Creator<Account> CREATOR = new Creator<Account>() { 72 public Account createFromParcel(Parcel source) { 73 return new Account(source); 76 public Account[] newArray(int size) { 77 return new Account[size];
|
D | IAccountAuthenticator.aidl | 20 import android.accounts.Account; 37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, in confirmCredentials() 43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, in getAuthToken() 54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, in updateCredentials() 66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, in hasFeatures() 72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); in getAccountRemovalAllowed() 78 in Account account); in getAccountCredentialsForCloning() 84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account, in addAccountFromCredentials() 97 … void startUpdateCredentialsSession(in IAccountAuthenticatorResponse response, in Account account, in startUpdateCredentialsSession() 111 void isCredentialsUpdateSuggested(in IAccountAuthenticatorResponse response, in Account account, in isCredentialsUpdateSuggested()
|
D | AccountManager.java | 351 public String getPassword(final Account account) { in getPassword() 378 public String getUserData(final Account account, final String key) { in getUserData() 444 public Account[] getAccounts() { in getAccounts() 469 public Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() 486 public Account[] getAccountsForPackage(String packageName, int uid) { in getAccountsForPackage() 503 public Account[] getAccountsByTypeForPackage(String type, String packageName) { in getAccountsByTypeForPackage() 536 public Account[] getAccountsByType(String type) { in getAccountsByType() 542 public Account[] getAccountsByTypeAsUser(String type, UserHandle userHandle) { in getAccountsByTypeAsUser() 562 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() 625 public AccountManagerFuture<Boolean> hasFeatures(final Account account, [all …]
|
D | ChooseTypeAndAccountActivity.java | 117 private Set<Account> mSetOfAllowableAccounts; 123 private ArrayList<Account> mAccounts; 178 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT); in onCreate() 324 Account[] currentAccounts = AccountManager.get(this).getAccountsForPackage( in onActivityResult() 326 Set<Account> preExistingAccounts = new HashSet<Account>(); in onActivityResult() 328 preExistingAccounts.add((Account) accountParcel); in onActivityResult() 330 for (Account account : currentAccounts) { in onActivityResult() 406 private void onAccountSelected(Account account) { in onAccountSelected() 445 private int getItemIndexToSelect(ArrayList<Account> accounts, String selectedAccountName, in getItemIndexToSelect() 462 private String[] getListOfDisplayableOptions(ArrayList<Account> accounts) { in getListOfDisplayableOptions() [all …]
|
D | AbstractAccountAuthenticator.java | 186 Account account, Bundle options) throws RemoteException { in confirmCredentials() 236 Account account, String authTokenType, Bundle loginOptions) in getAuthToken() 263 public void updateCredentials(IAccountAuthenticatorResponse response, Account account, in updateCredentials() 308 Account account, String[] features) throws RemoteException { in hasFeatures() 323 Account account) throws RemoteException { in getAccountRemovalAllowed() 338 Account account) throws RemoteException { in getAccountCredentialsForCloning() 354 Account account, in addAccountFromCredentials() 403 Account account, in startUpdateCredentialsSession() 469 Account account, in isCredentialsUpdateSuggested() 584 Account account, Bundle options) in confirmCredentials() [all …]
|
/frameworks/base/core/java/android/content/ |
D | IContentService.aidl | 19 import android.accounts.Account; 58 void requestSync(in Account account, String authority, in Bundle extras); in requestSync() 64 void cancelSync(in Account account, String authority, in ComponentName cname); in cancelSync() 65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId); in cancelSyncAsUser() 75 boolean getSyncAutomatically(in Account account, String providerName); in getSyncAutomatically() 76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId); in getSyncAutomaticallyAsUser() 84 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically() 85 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() 95 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName, in getPeriodicSyncs() 105 void addPeriodicSync(in Account account, String providerName, in Bundle extras, in addPeriodicSync() [all …]
|
D | AbstractThreadedSyncAdapter.java | 19 import android.accounts.Account; 110 private final HashMap<Account, SyncThread> mSyncThreads = new HashMap<Account, SyncThread>(); 154 private Account toSyncKey(Account account) { in toSyncKey() 164 public void startSync(ISyncContext syncContext, String authority, Account account, in startSync() 171 final Account threadsKey = toSyncKey(account); in startSync() 226 public void initialize(Account account, String authority) throws RemoteException { in initialize() 241 private final Account mAccount; 243 private final Account mThreadsKey; 246 Account account, Bundle extras) { in SyncThread() 322 public abstract void onPerformSync(Account account, Bundle extras, in onPerformSync() [all …]
|
D | SyncInfo.java | 19 import android.accounts.Account; 32 private static final Account REDACTED_ACCOUNT = new Account("*****", "*****"); 40 public final Account account; 66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { in SyncInfo() 76 this.account = new Account(other.account.name, other.account.type); in SyncInfo() 97 account = parcel.readParcelable(Account.class.getClassLoader()); in SyncInfo()
|
D | ISyncAdapter.aidl | 19 import android.accounts.Account; 39 in Account account, in Bundle extras); in startSync() 54 void initialize(in Account account, String authority); in initialize()
|
D | PeriodicSync.java | 22 import android.accounts.Account; 31 public final Account account; 47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync() 76 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync()
|
D | SyncRequest.java | 19 import android.accounts.Account; 32 private final Account mAccountToSync; 80 public Account getAccount() { in getAccount() 243 private Account mAccount; 366 public Builder setSyncAdapter(Account account, String authority) { in setSyncAdapter()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 23 import android.accounts.Account; 79 public class AccountSorter implements Comparator<Account> { 80 public int compare(Account object1, Account object2) { in compare() 92 Account a11 = new Account("account1", "type1"); in testCheckAddAccount() 93 Account a21 = new Account("account2", "type1"); in testCheckAddAccount() 94 Account a31 = new Account("account3", "type1"); in testCheckAddAccount() 95 Account a12 = new Account("account1", "type2"); in testCheckAddAccount() 96 Account a22 = new Account("account2", "type2"); in testCheckAddAccount() 97 Account a32 = new Account("account3", "type2"); in testCheckAddAccount() 105 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testCheckAddAccount() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 19 import android.accounts.Account; 40 Account mDummy; 50 mDummy = new Account("account1", "type1"); in setUp() 57 Account account1 = new Account("account1", "type1"); in testToKey() 58 Account account2 = new Account("account2", "type2"); in testToKey() 111 Account account1 = new Account("account1", "type1"); in testConversionToExtras() 144 SyncStorageEngine.EndPoint ep = new SyncStorageEngine.EndPoint(new Account("name", "type"), in testFailedPeriodicConversion()
|
D | SyncStorageEngineTest.java | 19 import android.accounts.Account; 46 protected Account account1; 47 protected Account account2; 68 account1 = new Account("a@example.com", "example.type"); in setUp() 69 account2 = new Account("b@example.com", "example.type"); in setUp() 89 final Account account = new Account("a@example.com", "example.type"); in testPurgeActiveSync() 109 final Account account1 = new Account("a@example.com", "example.type"); in testAuthorityPersistence() 110 final Account account2 = new Account("b@example.com", "example.type.2"); in testAuthorityPersistence() 172 final Account account1 = new Account("acc1", "type1"); in testAuthorityRenaming() 173 final Account account2 = new Account("acc2", "type2"); in testAuthorityRenaming() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 21 import android.accounts.Account; 261 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer> 263 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>(); 264 private final HashMap<Account, Integer> signinRequiredNotificationIds = 265 new HashMap<Account, Integer>(); 268 private final HashMap<String, Account[]> accountCache = 269 new LinkedHashMap<String, Account[]>(); 271 private final HashMap<Account, HashMap<String, String>> userDataCache = 272 new HashMap<Account, HashMap<String, String>>(); 274 private final HashMap<Account, HashMap<String, String>> authTokenCache = [all …]
|
D | TokenCache.java | 19 import android.accounts.Account; 49 public final Account account; 54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { in Key() 109 private HashMap<Account, Evictor> mAccountEvictors = new HashMap<>(); 164 public void evict(Account account) { in evict() 189 Account account, in put() 212 public void remove(Account account) { in remove() 219 public String get(Account account, String tokenType, String packageName, byte[] sigDigest) { in get()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 27 import android.accounts.Account; 137 public Account[] getAccounts() { in getAccounts() 138 return new Account[]{}; in getAccounts() 141 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures( in getAccountsByTypeAndFeatures() 143 AccountManagerCallback<Account[]> callback, Handler handler) { in getAccountsByTypeAndFeatures() 144 return new MockAccountManagerFuture<Account[]>(new Account[0]); in getAccountsByTypeAndFeatures() 147 public String blockingGetAuthToken(Account account, String authTokenType, in blockingGetAuthToken()
|
D | SyncBaseInstrumentation.java | 24 import android.accounts.Account; 56 Account account = new Account(accountName, "com.google"); in syncProvider()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | AndroidAuthenticator.java | 21 import android.accounts.Account; 34 private final Account mAccount; 44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { in AndroidAuthenticator() 55 public AndroidAuthenticator(Context context, Account account, String authTokenType, in AndroidAuthenticator() 61 AndroidAuthenticator(AccountManager accountManager, Account account, in AndroidAuthenticator() 72 public Account getAccount() { in getAccount()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | AuthenticatorService.java | 19 import android.accounts.Account; 70 Account account, Bundle bundle) in confirmCredentials() 77 Account account, String s, Bundle bundle) in getAuthToken() 89 Account account, String s, Bundle bundle) in updateCredentials() 96 Account account, String[] strings) in hasFeatures()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 19 import android.accounts.Account; 127 Account[] accounts = mAccountManager.getAccounts(); in serializeAccountSyncSettingsToJSON() 152 for (Account account : accounts) { in serializeAccountSyncSettingsToJSON() 277 HashSet<Account> currentAccounts = getAccounts(); in restoreFromJsonArray() 284 Account account = null; in restoreFromJsonArray() 286 account = new Account(accountName, accountType); in restoreFromJsonArray() 356 private HashSet<Account> getAccounts() { in getAccounts() 357 Account[] accounts = mAccountManager.getAccounts(); in getAccounts() 358 HashSet<Account> accountHashSet = new HashSet<Account>(); in getAccounts() 359 for (Account account : accounts) { in getAccounts() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SyncStateContract.java | 24 import android.accounts.Account; 74 Account account) throws RemoteException { in get() 104 Account account, byte[] data) throws RemoteException { in set() 113 Account account, byte[] data) throws RemoteException { in insert() 129 Account account) throws RemoteException { in getWithUri() 159 Account account, byte[] data) { in newSetOperation()
|
/frameworks/base/docs/html/training/id-auth/ |
D | identify.jd | 17 <li><a href="#TaskTwo">Decide What Type of Account to Use</a></li> 20 <li><a href="#IdentifyUser">Use the Account Object to Personalize Your App</a></li> 21 <li><a href="#IdIsEnough">Decide Whether an Account Name is Enough</a></li> 34 user's permission, you can use Account Manager to fetch the account names 64 <p>Option (c) is the preferred technique. Account Manager allows you to get 66 see in this lesson, using Account Manager lets you remember your user, no matter 71 <h2 id="TaskTwo">Decide What Type of Account to Use</h2> 108 Account[] accounts = am.getAccountsByType("com.google"); 111 <p>This returns an array of {@link android.accounts.Account} objects. If there's more than one 112 {@link android.accounts.Account} in [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryConstructor.java | 18 import android.accounts.Account; 54 private final Account mAccount; 66 public VCardEntryConstructor(final int vcardType, final Account account) { in VCardEntryConstructor() 75 public VCardEntryConstructor(final int vcardType, final Account account, in VCardEntryConstructor()
|