/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | AndroidAuthenticator.java | 21 import android.accounts.Account; 34 private final Account mAccount; 41 * @param account Account to authenticate as 44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { 51 * @param account Account to authenticate as 55 public AndroidAuthenticator(Context context, Account account, String authTokenType, 64 * Returns the Account being used by this authenticator. 66 public Account getAccount() {
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntry.java | 21 import android.accounts.Account; 1741 private final Account mAccount; 1760 public VCardEntry(int vcardType, Account account) {
|
H A D | VCardEntryConstructor.java | 18 import android.accounts.Account; 54 private final Account mAccount; 66 public VCardEntryConstructor(final int vcardType, final Account account) { 72 * Use {@link #VCardEntryConstructor(int, Account)} 75 public VCardEntryConstructor(final int vcardType, final Account account,
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | AccountSpecifier.java | 19 import android.accounts.Account; 27 public void setAccount(Account account);
|
H A D | BaseRecipientAdapter.java | 19 import android.accounts.Account; 447 private Account mAccount; 609 public void setAccount(Account account) { 630 Cursor directoryCursor, Account account) { 914 public Account getAccount() {
|
H A D | RecipientAlternatesAdapter.java | 19 import android.accounts.Account; 80 ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) { 94 ArrayList<String> inAddresses, int addressType, Account account, 148 Account account, Set<String> matchesNotFound, 157 Account account, Set<String> matchesNotFound, Queries.Query query, 341 Account account, ContentResolver resolver, Query query) {
|
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | BaseEmailAddressAdapter.java | 21 import android.accounts.Account; 255 private Account mAccount; 281 public void setAccount(Account account) {
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SyncStateContentProviderHelper.java | 19 import android.accounts.Account; 113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { 119 Account account = new Account(accountName, accountType);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardAccountView.java | 18 import android.accounts.Account; 222 private Account findIntendedAccount(String username) { 223 Account[] accounts = AccountManager.get(mContext).getAccountsByTypeAsUser("com.google", 230 Account bestAccount = null; 232 for (Account a: accounts) { 263 Account account = findIntendedAccount(login);
|
H A D | KeyguardHostView.java | 368 // Enter full screen mode if we're in SIM or Account screen 373 || securityMode == SecurityMode.Account; 377 // Don't show camera or search in navbar when SIM or Account screen is showing
|
H A D | KeyguardSecurityContainer.java | 193 case Account: 274 showSecurityScreen(SecurityMode.Account); 340 case Account: 493 case Account: return R.id.keyguard_account_view; 506 case Account: return R.layout.keyguard_account_view;
|
H A D | KeyguardSecurityModel.java | 38 Account, // Unlock by entering an account's login and password. enum constant in enum:KeyguardSecurityModel.SecurityMode 105 SecurityMode.Account : SecurityMode.Pattern; 145 return SecurityMode.Account;
|
H A D | KeyguardViewBase.java | 138 if (mSecurityContainer.getCurrentSecuritySelection() == SecurityMode.Account) {
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportReceiver.java | 22 import android.accounts.Account; 134 final Account sendToAccount = findSendToAccount(context); 143 * Find the best matching {@link Account} based on build properties. 145 private static Account findSendToAccount(Context context) { 154 final Account[] accounts = am.getAccounts(); 155 Account foundAccount = null; 156 for (Account account : accounts) {
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 20 import android.accounts.Account; 186 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer> 188 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>(); 189 private final HashMap<Account, Integer> signinRequiredNotificationIds = 190 new HashMap<Account, Integer>(); 193 private final HashMap<String, Account[]> accountCache = 194 new LinkedHashMap<String, Account[]>(); 196 private final HashMap<Account, HashMap<String, String>> userDataCache = 197 new HashMap<Account, HashMap<String, String>>(); 199 private final HashMap<Account, HashMa [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 20 import android.accounts.Account; 316 public void requestSync(Account account, String authority, Bundle extras) { 406 public void cancelSync(Account account, String authority, ComponentName cname) { 424 public void cancelSyncAsUser(Account account, String authority, ComponentName cname, 460 Account account = request.getAccount(); 510 public boolean getSyncAutomatically(Account account, String providerName) { 519 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { 539 public void setSyncAutomatically(Account account, String providerName, boolean sync) { 544 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, 568 public void addPeriodicSync(Account accoun [all...] |
H A D | SyncManager.java | 19 import android.accounts.Account; 256 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { 294 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts(user.id); 508 public int getIsSyncable(Account account, int userId, String providerName) { 652 public void scheduleSync(Account requestedAccount, int userId, int reason, 810 public void scheduleLocalSync(Account account, int userId, int reason, String authority) { 1116 final Account[] accounts = AccountManagerService.getSingleton().getAccounts(userId); 1117 for (Account account : accounts) { 1142 mSyncStorageEngine.doDatabaseCleanup(new Account[0], userId); 1372 pw.printf("Account [all...] |
H A D | SyncOperation.java | 19 import android.accounts.Account; 93 public SyncOperation(Account account, int userId, int reason, int source, String provider,
|
H A D | SyncStorageEngine.java | 19 import android.accounts.Account; 228 final Account account; 243 public EndPoint(Account account, String provider, int userId) { 624 public boolean getSyncAutomatically(Account account, int userId, String providerName) { 646 public void setSyncAutomatically(Account account, int userId, String providerName, 675 public int getIsSyncable(Account account, int userId, String providerName) { 700 public void setIsSyncable(Account account, int userId, String providerName, int syncable) { 813 private boolean setBackoffLocked(Account account, int userId, String providerName, 1170 public void doDatabaseCleanup(Account[] accounts, int userId) { 1183 Log.v(TAG, "Account remove [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 19 import android.accounts.Account; 60 public class AccountSorter implements Comparator<Account> { 61 public int compare(Account object1, Account object2) { 72 Account a11 = new Account("account1", "type1"); 73 Account a21 = new Account("account2", "type1"); 74 Account a31 = new Account("account [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | SyncOperationTest.java | 19 import android.accounts.Account; 39 Account mDummy; 49 mDummy = new Account("account1", "type1"); 56 Account account1 = new Account("account1", "type1"); 57 Account account2 = new Account("account2", "type2");
|
H A D | SyncStorageEngineTest.java | 19 import android.accounts.Account; 48 protected Account account1; 49 protected Account account2; 70 account1 = new Account("a@example.com", "example.type"); 71 account2 = new Account("b@example.com", "example.type"); 91 final Account account = new Account("a@example.com", "example.type"); 215 final Account account1 = new Account("a@example.com", "example.type"); 216 final Account account [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 27 import android.accounts.Account; 133 public Account[] getAccounts() { 134 return new Account[]{}; 137 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures( 139 AccountManagerCallback<Account[]> callback, Handler handler) { 140 return new MockAccountManagerFuture<Account[]>(new Account[0]); 143 public String blockingGetAuthToken(Account account, String authTokenType,
|
H A D | SyncBaseInstrumentation.java | 24 import android.accounts.Account; 50 Account account = new Account(accountName, "com.google");
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
H A D | AppLaunch.java | 18 import android.accounts.Account; 249 Account[] accounts = am.getAccounts(); 252 for (Account account : accounts) {
|