/frameworks/base/core/java/android/accounts/ |
AccountAndUser.java | 20 * Used to store the Account and the UserId this account is associated with. 25 public Account account; field in class:AccountAndUser 28 public AccountAndUser(Account account, int userId) { 29 this.account = account; 37 return this.account.equals(other.account) [all...] |
IAccountManager.aidl | 20 import android.accounts.Account; 28 * Central application service that provides account management. 32 String getPassword(in Account account); 33 String getUserData(in Account account, String key); 35 Account[] getAccounts(String accountType, String opPackageName); 36 Account[] getAccountsForPackage(String packageName, int uid, String opPackageName); 37 Account[] getAccountsByTypeForPackage(String type, String packageName, String opPackageName); 38 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName) [all...] |
IAccountAuthenticator.aidl | 20 import android.accounts.Account; 29 * prompts the user for account information and adds the result to the IAccountManager 35 * prompts the user for the credentials of the account 37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, 43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, 54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, 63 * returns a Bundle where the boolean value BOOLEAN_RESULT_KEY is set if the account has th [all...] |
AccountManagerInternal.java | 24 * Account manager local system service interface. 31 * Listener for explicit UID account access grant changes. 37 * access an account changes. 39 * @param account The account 42 public void onAppPermissionChanged(Account account, int uid); 46 * Requests that a given package is given access to an account. 51 * @param account The account for which to request [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
RecipientAdapter.java | 21 import android.accounts.Account; 30 * Set the account when known. Causes the search to prioritize contacts from 31 * that account. 33 public void setAccount(Account account) { 34 if (account != null) { 35 // TODO: figure out how to infer the contacts account 36 // type from the email account 37 super.setAccount(new android.accounts.Account(account.name, "unknown")) [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountTest.java | 3 import android.accounts.Account; 10 private Account account; field in class:AccountTest 14 account = new Account("abc@xyz.org", "com.my.auth"); 19 new Account(null, "com.my.auth"); 27 new Account("abc@xyz.org", null); 34 assertEquals(0, account.describeContents()); 40 account.writeToParcel(parcel, 0); 43 // Create a new account object from just populated parcel [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
GetAccountRemovalAllowedTx.java | 3 import android.accounts.Account; 24 public final Account account; field in class:GetAccountRemovalAllowedTx 28 account = in.readParcelable(null); 33 Account account, 35 this.account = account; 46 out.writeParcelable(account, flags);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportRequest.java | 18 import android.accounts.Account; 21 import com.android.contacts.common.model.account.AccountWithDataSet; 36 * Can be null (typically when there's no Account available in the system). 38 public final Account account; field in class:ImportRequest 99 public ImportRequest(AccountWithDataSet account, 102 this.account = account != null ? account.getAccountOrNull() : null;
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/accounts/ |
AccountStateChangedListener.java | 24 * Handles changes to account used to sign in to the keyboard. 25 * e.g. account switching/sign-in/sign-out from the keyboard 31 * Called when the current account being used in keyboard is signed out. 33 * @param oldAccount the account that was signed out of. 40 * This may be called when the user switches accounts to sign in with a different account. 42 * @param oldAccount the previous account that was being used for sign-in. 44 * @param newAccount the account being used for sign-in. 52 * @param account the account being used for sync. 55 public static void onSyncPreferenceChanged(@Nullable String account, boolean syncEnabled) [all...] |
/frameworks/base/core/java/android/content/ |
SyncInfo.java | 19 import android.accounts.Account; 32 private static final Account REDACTED_ACCOUNT = new Account("*****", "*****"); 38 * The {@link Account} that is currently being synced. 40 public final Account account; field in class:SyncInfo 55 * Creates a SyncInfo object with an unusable Account. Used when the caller receiving this 66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { 68 this.account = account [all...] |
PeriodicSync.java | 22 import android.accounts.Account; 30 /** The account to be synced. Can be null. */ 31 public final Account account; field in class:PeriodicSync 47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { 48 this.account = account; 65 this.account = other.account; [all...] |
IContentService.aidl | 19 import android.accounts.Account; 58 void requestSync(in Account account, String authority, in Bundle extras); 64 void cancelSync(in Account account, String authority, in ComponentName cname); 65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId); 75 boolean getSyncAutomatically(in Account account, String providerName); 76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId) [all...] |
ISyncAdapter.aidl | 19 import android.accounts.Account; 29 * Initiate a sync for this account. SyncAdapter-specific parameters may 35 * @param account the account that should be synced 39 in Account account, in Bundle extras); 49 * Initialize the SyncAdapter for this account and authority. 51 * @param account the account that should be synced 54 void initialize(in Account account, String authority) [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
AccountSpecifier.java | 19 import android.accounts.Account; 23 * that can take an account to retrieve information tied to 24 * a specific account. 27 public void setAccount(Account account);
|
/packages/apps/Email/provider_src/com/android/email/ |
NotificationController.java | 21 import com.android.emailcommon.provider.Account; 30 void cancelNotifications(final Context context, final Account account); 32 void showSecurityNeededNotification(Account account); 33 void showSecurityUnsupportedNotification(Account account); 34 void showSecurityChangedNotification(Account account);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
TestUtil.java | 19 import android.accounts.Account; 31 public static final Account ACCOUNT_1 = new Account("account_name_1", "account_type_1"); 32 public static final Account ACCOUNT_2 = new Account("account_name_2", "account_type_2"); 45 public static Uri maybeAddAccountQueryParameters(Uri uri, Account account) { 46 if (account == null) { 50 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account.name) 51 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, account.type [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
RecipientAdapter.java | 19 import com.android.mail.providers.Account; 24 public RecipientAdapter(Context context, Account account) { 26 setAccount(account.getAccountManagerAccount());
|
/packages/apps/Email/provider_src/com/android/email/mail/ |
Sender.java | 25 import com.android.emailcommon.provider.Account; 40 public static Sender newInstance(Account account) throws MessagingException { 42 + account.mDisplayName); 45 private static Sender instantiateSender(Context context, String className, Account account) 52 c.getMethod("newInstance", Account.class, Context.class); 53 o = m.invoke(null, account, context); 56 "exception %s invoking method %s#newInstance(Account, Context) for %s", 57 e.toString(), className, account.mDisplayName)) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
EnableAccountPreferenceFragment.java | 44 public AccountSwitchPreference(Context context, PhoneAccount account) { 46 mAccount = account; 48 setTitle(account.getLabel()); 49 setSummary(account.getShortDescription()); 50 Icon icon = account.getIcon(); 54 setChecked(account.isEnabled()); 92 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local 93 if (account != null) { 95 0 != (account.getCapabilities() & PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 97 screen.addPreference(new AccountSwitchPreference(context, account)); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncActivity.java | 19 import android.accounts.Account; 29 * Displays the sync settings for a given account. 38 Account account = null; local 40 // Search for the account. 41 for (Account candidateAccount : AccountManager.get(this).getAccounts()) { 43 account = candidateAccount; 49 return SettingsFragment.newInstance(account); 53 private static final String ARG_ACCOUNT = "account"; 55 public static SettingsFragment newInstance(Account account) 65 final Account account = getArguments().getParcelable(ARG_ACCOUNT); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
ConversationListContext.java | 24 import com.android.mail.providers.Account; 48 * The account for whom we are showing a list 50 public final Account account; field in class:ConversationListContext 61 sUrlMatcher.addURI(UIProvider.AUTHORITY, "account/*/folder/*", 0); 68 // The account is created here as a new object. This is probably not the best thing to do. 69 // We should probably be reading an account instance from our controller. 70 Account account = bundle.getParcelable(Utils.EXTRA_ACCOUNT); local 72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder) [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 20 import android.accounts.Account; 30 * Simple authenticator. It has no "login" dialogs/activities. When you add a new account, it'll 31 * just create a new account with a unique name. 59 * Create a new account with the name generated by {@link #newUniqueUserName()}. 67 final Account account = new Account(newUniqueUserName(), accountType); local 69 // Create an account. 70 AccountManager.get(mContext).addAccountExplicitly(account, PASSWORD, null); 73 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name) [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneAccountUtils.java | 44 PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); local 45 if (account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { 53 * Compose PhoneAccount object from component name and account id. 69 * Extract account label from PhoneAccount object. 74 PhoneAccount account = getAccountOrNull(context, accountHandle); local 75 if (account != null && account.getLabel() != null) { 76 return account.getLabel().toString(); 82 * Extract account color from PhoneAccount object. 85 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle) local 99 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
InlineAttachmentViewIntentBuilderCreator.java | 20 import com.android.mail.providers.Account; 29 Account account, long conversationId);
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
AccountCheckTest.java | 18 import android.accounts.Account; 32 "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED"; 34 "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED"; 51 for (Account account : mAccountManager.getAccountsByType(ACCOUNT_TYPE)) { 52 Log.i(TAG, "Removing account: " + account); 53 mAccountManager.removeAccountExplicitly(account); 71 * Add an incompatible account, type A. 78 * Add an incompatible account, type B [all...] |