/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationsInOutboxTipView.java | 35 import com.android.mail.providers.Account; 44 private Account mAccount = null; 58 public void bind(final Account account, final FolderSelector folderSelector) { 59 mAccount = account; 60 mAccountPreferences = AccountPreferences.get(getContext(), account);
|
ConversationCursorLoader.java | 25 import com.android.mail.providers.Account; 46 public ConversationCursorLoader(Activity activity, Account account, 52 account.supportsCapability(AccountCapabilities.INITIAL_CONVERSATION_LIMIT);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
DirectoryTest.java | 19 import android.accounts.Account; 97 // Visible because there is no account 101 Account account = new Account("accountName", "accountType"); local 102 long groupId = createGroup(account, "sid", "def", 105 "Parr", account));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
BluetoothPhoneServiceImpl.java | 167 PhoneAccount account = getBestPhoneAccount(); 168 if (account != null && account.getLabel() != null) { 169 return account.getLabel().toString(); 191 PhoneAccount account = getBestPhoneAccount(); 192 if (account != null) { 193 Uri addressUri = account.getAddress(); 861 PhoneAccount account = null; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
netrc.py | 71 account = password = None 78 self.hosts[entryname] = (login, account, password) 88 elif tt == 'account': 89 account = lexer.get_token() 97 """Return a (user, account, password) tuple for given host.""" 112 rep = rep + "account " + repr(attrs[1])
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
netrc.py | 71 account = password = None 78 self.hosts[entryname] = (login, account, password) 88 elif tt == 'account': 89 account = lexer.get_token() 97 """Return a (user, account, password) tuple for given host.""" 112 rep = rep + "account " + repr(attrs[1])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
netrc.py | 71 account = password = None 78 self.hosts[entryname] = (login, account, password) 88 elif tt == 'account': 89 account = lexer.get_token() 97 """Return a (user, account, password) tuple for given host.""" 112 rep = rep + "account " + repr(attrs[1])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
netrc.py | 71 account = password = None 78 self.hosts[entryname] = (login, account, password) 88 elif tt == 'account': 89 account = lexer.get_token() 97 """Return a (user, account, password) tuple for given host.""" 112 rep = rep + "account " + repr(attrs[1])
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerBackupHelper.java | 19 import android.accounts.Account; 49 * Helper class for backup and restore of account access grants. 58 private static final String ATTR_ACCOUNT_SHA_256 = "account-sha-256"; 105 Account account = null; local 109 for (Account[] accountsPerType : accounts.accountCache.values()) { 110 for (Account accountPerType : accountsPerType) { 113 account = accountPerType; 117 if (account != null) { 122 if (account == null) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageFooterView.java | 40 import com.android.mail.providers.Account; 225 final Account account = getAccount(); local 238 barAttachmentView.render(attachment, account, mMessageHeaderItem.getMessage(), 309 final Account account = getAccount(); local 311 if (account != null && !TextUtils.isEmpty(message.permalink)) { 312 intent.putExtra(AccountFeedbackActivity.EXTRA_ACCOUNT_URI, account.uri); 314 intent.putExtra(FullMessageContract.EXTRA_ACCOUNT_NAME, account.getEmailAddress()); 320 private Account getAccount() [all...] |
MessageHeaderView.java | 56 import com.android.mail.providers.Account; 344 private Account getAccount() { 403 final Account account = getAccount(); local 404 final boolean alwaysShowImagesForAccount = (account != null) && 405 (account.settings.showImages == Settings.ShowImages.ALWAYS); 416 // otherwise honor the account setting for automatically showing pictures 437 // 1. the account has a custom from, the cursor will populate the 440 // 2. the account has no custom froms, fromAddress will be empty, and we 441 // can safely fall back and show the account name as sender since it' 549 final Account account = getAccount(); local 687 final Account account = getAccount(); local 979 final Account account = getAccount(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
KindSectionData.java | 21 import com.android.contacts.common.model.account.AccountType; 22 import com.android.contacts.common.model.account.AccountType.EditField; 31 * Holder for the multi account raw contact data needed to back an editor input field.
|
RawContactDeltaComparator.java | 21 import com.android.contacts.common.model.account.AccountType; 22 import com.android.contacts.common.model.account.GoogleAccountType; 62 // Check account type. Sort Google before non-Google. 106 // Check account name 120 // Both are in the same account, fall back to contact ID
|
ContactEditorBaseFragment.java | 37 import com.android.contacts.common.model.account.AccountType; 38 import com.android.contacts.common.model.account.AccountWithDataSet; 48 import android.accounts.Account; 255 * Contact is being created for an external account that provides its own 258 void onCustomCreateContactActivityRequested(AccountWithDataSet account, 262 * The edited raw contact belongs to an external account that provides 268 void onCustomEditContactActivityRequested(AccountWithDataSet account, Uri rawContactUri, 357 // i.e. account switch. Only used in {@link ContactEditorFragment}. 567 final Account account = mIntentExtras == null ? null local 699 AccountWithDataSet account = data.getParcelableExtra( local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
MessageTestUtils.java | 24 import com.android.emailcommon.provider.Account; 59 * Generate AttachmentProvider content URI from attachment ID and Account. 62 * @param account Account object 65 public static Uri contentUri(long attachmentId, Account account) { 66 return AttachmentUtilities.getAttachmentUri(account.mId, attachmentId);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
SyncStateSwitchPreference.java | 19 import android.accounts.Account; 37 private Account mAccount; 52 public SyncStateSwitchPreference(Context context, Account account, String authority) { 54 mAccount = account; 144 public Account getAccount() {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
AccountImageHelper.java | 19 import android.accounts.Account; 33 * Utility functions for retrieving account pictures. 55 * Tries to retrieve the Picture for the provided account, from the Contacts database. 57 public static String getAccountPictureUri(Context context, Account account) { 58 // Look up this account in the contacts database. 61 account.name }; 113 * Returns a default image to be used when an account has no picture associated with it.
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
FromAddressSpinnerAdapter.java | 101 // Get the position of the current account 102 for (ReplyFromAccount account : replyFromAccounts) { 103 // Add the account to the Adapter 104 add(account);
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
AccountPreferences.java | 20 import com.android.mail.providers.Account; 27 * Preferences relevant to one specific account. 31 private static final String PREFS_NAME_PREFIX = "Account"; 37 * A temporary preference that can be set during account setup, if we do not know what the 48 * Number of time user has dismissed / seen the toast for account sync is off message. 50 public static final String ACCOUNT_SYNC_OFF_DISMISSES = "num-of-dismisses-account-sync-off"; 63 * @param account The account id 73 public static synchronized AccountPreferences get(Context context, Account account) { [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 22 import android.accounts.Account; 60 public static long ensureSampleGroupExists(Context context, Account account) { 68 new String[] { account.name, account.type, SAMPLE_GROUP_NAME }, null); 82 contentValues.put(Groups.ACCOUNT_NAME, account.name); 83 contentValues.put(Groups.ACCOUNT_TYPE, account.type); 99 * @param account The username for the account 105 public static synchronized long updateContacts(Context context, String account, [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ExternalCallTest.java | 45 PhoneAccount account = setupConnectionService( local
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 19 import android.accounts.Account; 140 * <p>This will create a new account with the system for our application, register our 147 // Create account, if needed 333 // Create a handle to the account that was created by 336 Account account = GenericAccountService.GetAccount(SyncUtils.ACCOUNT_TYPE); 337 if (account == null) { 347 account, FeedContract.CONTENT_AUTHORITY); 349 account, FeedContract.CONTENT_AUTHORITY);
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 19 import android.accounts.Account; 140 * <p>This will create a new account with the system for our application, register our 147 // Create account, if needed 333 // Create a handle to the account that was created by 336 Account account = GenericAccountService.GetAccount(SyncUtils.ACCOUNT_TYPE); 337 if (account == null) { 347 account, FeedContract.CONTENT_AUTHORITY); 349 account, FeedContract.CONTENT_AUTHORITY);
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
EntryListFragment.java | 19 import android.accounts.Account; 140 * <p>This will create a new account with the system for our application, register our 147 // Create account, if needed 333 // Create a handle to the account that was created by 336 Account account = GenericAccountService.GetAccount(SyncUtils.ACCOUNT_TYPE); 337 if (account == null) { 347 account, FeedContract.CONTENT_AUTHORITY); 349 account, FeedContract.CONTENT_AUTHORITY);
|
/frameworks/base/core/java/android/accounts/ |
ChooseAccountActivity.java | 71 mAccountInfos[i] = new AccountInfo(((Account) mAccounts[i]).name, 72 getDrawableForType(((Account) mAccounts[i]).type)); 107 Log.w(TAG, "No icon name for account type " + accountType); 112 Log.w(TAG, "No icon resource for account type " + accountType); 120 Account account = (Account) mAccounts[position]; local 121 Log.d(TAG, "selected account " + account); 123 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name) [all...] |