/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
AccountSecurity.java | 40 import com.android.emailcommon.provider.Account; 52 * 1. Confirm the account of interest has any security policies defined - exit early if not 73 private static final String SAVESTATE_ACCOUNT_TAG = "account"; 83 private Account mAccount; 107 * @param accountId The account of interest 110 * is not clear (e.g. any time after the account has been set up). 111 * @return an Intent which can be used to view that account 229 implements LoaderManager.LoaderCallbacks<Account> { 231 public Loader<Account> onCreateLoader(final int id, final Bundle args) { 244 public void onLoadFinished(final Loader<Account> loader, final Account account) 295 final Account account = Account.restoreAccountWithId(mContext, mAccountId); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
MailIntentService.java | 25 import com.android.mail.providers.Account; 79 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); local 82 NotificationUtils.clearFolderNotification(this, account, folder, true /* markSeen */); 95 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); local 102 NotificationUtils.resendNotifications(this, false, account.uri, 107 final Account account = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); local 113 account, folder, getAttention, getContactFetcher()) [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
AccountSelectionPreference.java | 42 boolean onAccountSelected(AccountSelectionPreference pref, PhoneAccountHandle account); 87 PhoneAccount account = telecomManager.getPhoneAccount(mAccounts[i]); local 88 CharSequence label = account.getLabel(); 93 account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 117 PhoneAccountHandle account = index < mAccounts.length ? mAccounts[index] : null; 118 if (mListener.onAccountSelected(this, account)) {
|
PhoneAccountSettingsFragment.java | 59 * value on the phone account listings, we ensure that anything that is ordered before 60 * {value} in the preference XML comes before the phone account list and anything with 100 * account settings. The basic settings structure is this: 101 * (1) <Make Calls With...> // Lets user pick a default account for outgoing calls 102 * (2) <Account List> 103 * <Account> 105 * <Account> 106 * </Account List> 113 * - (2) The account list only lists (a) enabled third party accounts and (b) SIM-based 114 * accounts. However, for single-SIM devices, if the only account to show is th 290 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local 408 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local [all...] |
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
CardService.java | 88 // send the loyalty card account number, followed by a SELECT_OK status trailer (0x9000). 90 String account = AccountStorage.GetAccount(this); local 91 byte[] accountBytes = account.getBytes(); 92 Log.i(TAG, "Sending account number: " + account);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 26 import com.android.emailcommon.provider.Account; 71 Account account1 = ProviderTestUtils.setupAccount("acct1", true, mMockContext); 74 Account account2 = ProviderTestUtils.setupAccount("acct2", true, mMockContext); 92 Account account = ProviderTestUtils.setupAccount("acct", true, mMockContext); local 94 assertEquals(0, account.mPolicyKey); 97 SecurityPolicy.setAccountPolicy(mMockContext, account, policy, securitySyncKey); 98 account.refresh(mMockContext); 100 assertTrue(account.mPolicyKey > 0); 101 Policy dbPolicy = Policy.restorePolicyWithId(mMockContext, account.mPolicyKey) [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
AccountTests.java | 44 final Account before = Account.builder().buildFrom(dest, null); 48 final Account after = intent.getParcelableExtra(Utils.EXTRA_ACCOUNT); 73 final Account account = Account.newInstance(json.toString()); local 74 assertNotNull(account); 75 assertNull(account.getSenderName());
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AccountWithDataSet.java | 19 import android.accounts.Account; 25 * Account information that includes the data set, if any. 48 public static AccountWithDataSet get(Account account, String dataSet) { 49 return new AccountWithDataSet(account.name, account.type, null); 94 * @return {@code true} if the owning {@link Account} is in the passed array. 96 public boolean inSystemAccounts(Account[] systemAccounts) { 97 // Note we don't want to create a new Account object from this instance, as it may contain 98 // null account name/type, which Account wouldn't accept. So we need to compare field b [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
AuthenticatorContentProvider.java | 19 import android.accounts.Account; 90 Account account = new Account(name, a.type); local 91 am.addAccountExplicitly(account, Fixtures.PREFIX_PASSWORD + name, null); 107 Account[] accountsToRemove = am.getAccountsByType(a.type); 108 for (Account account : accountsToRemove) { 109 am.removeAccountExplicitly(account);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
SelectAccountDialogFragment.java | 19 import android.accounts.Account; 33 * Shows a dialog asking the user which account to chose. 47 Account[] accounts = accountManager.getAccounts(); 52 final ArrayAdapter<Account> accountAdapter = 53 new ArrayAdapter<Account>(builder.getContext(), 64 final Account account = getItem(position); 66 text1.setText("Name: " + account.name); 67 text2.setText("Type: " + account.type); 86 builder.setTitle("Choose account to send to editor") [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/editor/ |
SelectAccountDialogFragment.java | 28 import com.android.contacts.common.model.account.AccountWithDataSet; 33 * Shows a dialog asking the user which account to chose. 53 * @param accountListFilter account filter. 117 private void onAccountSelected(AccountWithDataSet account) { 121 target.onAccountChosen(account, getArguments().getBundle(KEY_EXTRA_ARGS)); 126 void onAccountChosen(AccountWithDataSet account, Bundle extraArgs);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
AccountFilterActivity.java | 39 import com.android.contacts.common.model.account.AccountType; 40 import com.android.contacts.common.model.account.AccountWithDataSet; 47 * Shows a list of all available accounts, letting the user select under which account to view 121 for (AccountWithDataSet account : accounts) { 122 AccountType accountType = accountTypes.getAccountType(account.type, account.dataSet); 123 if (accountType.isExtension() && !account.hasData(context)) { 129 account.type, account.name, account.dataSet, icon)) [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
FolderPickerActivity.java | 32 import com.android.emailcommon.provider.Account; 56 final com.android.mail.providers.Account uiAccount; 58 // in an account (meaning the account requires setup) 60 String id = uri.getQueryParameter("account"); 62 LogUtils.w(TAG, "No account # in Uri?"); 69 LogUtils.w(TAG, "Invalid account # in Uri?"); 73 // We act a bit differently if we're coming to set up the trash after account creation 83 Account account = Account.restoreAccountWithId(this, mAccountId) local 137 Account account = Account.restoreAccountWithId(mContext, mAccountId); local 205 Account account = Account.restoreAccountWithId(this, mAccountId); local [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountFinalizeFragment.java | 28 import com.android.emailcommon.provider.Account; 35 private static final String ACCOUNT_TAG = "account"; 48 public static AccountFinalizeFragment newInstance(Account account) { 51 args.putParcelable(ACCOUNT_TAG, account); 73 final Account accountArg = args.getParcelable(ACCOUNT_TAG); 100 * Final account setup work is handled in this Loader: 102 * Trigger account backup 106 private final Account mAccount; 108 public FinalSetupTaskLoader(Context context, Account account) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TurnAutoSyncOnDialog.java | 19 import android.accounts.Account; 37 private static final String ACCOUNT = "account"; 59 public static TurnAutoSyncOnDialog newInstance(Account account, 63 args.putParcelable(ACCOUNT, account); 71 final Account account = getArguments().getParcelable(ACCOUNT); local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
RawContactUtil.java | 19 import android.accounts.Account; 90 public static long createRawContact(ContentResolver resolver, Account account, 95 ContactsContract.RawContacts.CONTENT_URI, account); 114 public static long createRawContactWithName(ContentResolver resolver, Account account) { 115 return createRawContactWithName(resolver, "John", "Doe", account); 124 String lastName, Account account) { 125 long rawContactId = createRawContact(resolver, account); [all...] |
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 19 import android.accounts.Account; 62 private Account mLongPressedAccount = null; 99 private class AccountArrayAdapter extends ArrayAdapter<Account> { 102 public AccountArrayAdapter(Context context, Account[] accounts) { 110 Account account; field in class:AccountsTester.AccountArrayAdapter.ViewHolder 140 final Account account = getItem(position); local 141 holder.account = account; 269 final Account account = mLongPressedAccount; local 281 final Account account = mLongPressedAccount; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationUtils.java | 59 import com.android.mail.providers.Account; 95 /** Contains a list of <(account, label), unread conversations> */ 236 throw new IllegalStateException("Unable to locate account for uri: " + 240 final Account account; local 243 account = Account.builder().buildFrom(accountCursor); 271 final NotificationKey key = new NotificationKey(account, folder); 291 key.account.uri.toString(), key.folder.folderUri.fullUri.toString(), 302 * @return the title of this notification with each account and the number of unread and unsee 1908 public final Account account; field in class:NotificationUtils.NotificationKey [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManageAccountsSettings.java | 19 import android.accounts.Account; 64 /** Manages settings for Google Account. */ 67 private static final String ACCOUNT_KEY = "account"; // to pass to auth settings 71 // Action name for the broadcast intent when the Google account preferences page is launching 84 // If an account type is set, then show only accounts of that type 88 private Account mFirstAccount; 216 // For each account 220 Account account = ((AccountPreference) pref).getAccount(); local 221 // For all available sync authorities, sync those that are enabled for the account 281 Account account = accountPref.getAccount(); local 371 final Account account = accounts[i]; local [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
ContentService.java | 20 import android.accounts.Account; 472 public void requestSync(Account account, String authority, Bundle extras) { 484 syncManager.scheduleSync(account, userId, uId, authority, extras, 560 * if they match the authority and account, if they are present. 562 * @param account filter the pending and active syncs to cancel using this account, or null. 565 * @param cname cancel syncs running on this service, or null for provider/account. 568 public void cancelSync(Account account, String authority, ComponentName cname) 623 Account account = request.getAccount(); local [all...] |
/external/valgrind/drd/scripts/ |
measurement-functions | 63 if [ -e /var/log/account/pacct ]; then 64 pacct=/var/log/account/pacct 65 elif [ -e /var/account/pacct ]; then 66 pacct=/var/account/pacct
|
/frameworks/base/core/java/android/provider/ |
BrowserContract.java | 19 import android.accounts.Account; 109 * account, including sync information that an account may need. 114 * The name of the account instance to which this row belongs, which when paired with 115 * {@link #ACCOUNT_TYPE} identifies a specific account. 121 * The type of account to which this row belongs, which when paired with 122 * {@link #ACCOUNT_NAME} identifies a specific account. 128 * String that uniquely identifies this row to its source account. 142 * to be synchronized by its owning account. 307 * Query parameter used to specify an account nam [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
BluetoothPbapRequestPullVcardEntry.java | 19 import android.accounts.Account; 39 private final Account mAccount; 44 String handle, Account account, long filter, byte format) { 45 mAccount = account;
|