/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
ChromiumSyncAdapter.java | 7 import android.accounts.Account; 57 public void onPerformSync(Account account, Bundle extras, String authority, 59 if (!DelayedSyncController.getInstance().shouldPerformSync(getContext(), extras, account)) { 68 getStartupCallback(mApplication, account, extras, syncResult, semaphore); 130 final Context context, final Account acct, Bundle extras,
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
account_tracker.h | 24 std::string account_key; // The account ID used by OAuth2TokenService. 33 // gaia ID of each account it knows about. 39 // 4. If there is no primary account, there are no other accounts. 64 // have been fetched. The primary account for the profile will be first 87 // Sets the state of an account. Does not fire notifications. 98 void NotifyAccountAdded(const AccountState& account); 99 void NotifyAccountRemoved(const AccountState& account); 100 void NotifySignInChanged(const AccountState& account);
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 19 import android.accounts.Account; 236 // Kick off sync for everyone, since this was a radical account change 256 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { 260 && accounts[i].account.equals(account)) { 278 currentSyncContext.mSyncOperation.target.account, 280 Log.d(TAG, "canceling sync since the account is no longer running"); 294 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts(user.id); 383 scheduleSync(info.account, info.userId, reason, info.provider, extras [all...] |
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSetupOutgoingTests.java | 29 import com.android.emailcommon.provider.Account; 35 * Tests of the basic UI logic in the Account Setup Outgoing (SMTP) screen. 196 * Create an intent with the Account in it 200 final Account account = new Account(); local 202 final HostAuth auth = account.getOrCreateHostAuthSend(context); 207 setupDataFragment.setAccount(account);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
SelectPhoneAccountDialogFragment.java | 51 * Shows the account selection dialog. 130 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle); local 131 holder.textView.setText(account.getLabel()); 132 holder.imageView.setImageDrawable(account.getIcon(mContext));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AuthenticatorHelper.java | 19 import android.accounts.Account; 49 * Gets an icon associated with a particular account type. If none found, return null. 50 * @param accountType the type of account 75 * Gets the label associated with a particular account type. If none found, return null. 76 * @param accountType the type of account 87 Log.w(TAG, "No label name for account type " + accountType); 89 Log.w(TAG, "No label icon for account type " + accountType); 106 public void onAccountsUpdated(Context context, Account[] accounts) { 112 for (Account account: accounts) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationPagerController.java | 31 import com.android.mail.providers.Account; 95 public void show(Account account, Folder folder, Conversation initialConversation, 101 // optimize for the case where account+folder are the same, when we can just shift 104 if (mPagerAdapter != null && mPagerAdapter.matches(account, folder) 121 account, folder, initialConversation);
|
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 | 61 import com.android.mail.providers.Account; 348 private Account getAccount() { 407 final Account account = getAccount(); local 408 final boolean alwaysShowImagesForAccount = (account != null) && 409 (account.settings.showImages == Settings.ShowImages.ALWAYS); 420 // otherwise honor the account setting for automatically showing pictures 441 // 1. the account has a custom from, the cursor will populate the 444 // 2. the account has no custom froms, fromAddress will be empty, and we 445 // can safely fall back and show the account name as sender since it' 555 final Account account = getAccount(); local 693 final Account account = getAccount(); local 991 final Account account = getAccount(); local [all...] |
/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));
|
/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])
|
/packages/apps/Browser/src/com/android/browser/ |
DeviceAccountLogin.java | 19 import android.accounts.Account; 35 Account[] mAccounts; 59 public void handleLogin(String realm, String account, String args) { 68 // Verify the account before using it. 69 for (Account a : mAccounts) { 70 if (a.name.equals(account)) { 72 // account to use. 117 // Display the account picker.
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
BaseRawContactEditorView.java | 34 import com.android.contacts.common.model.account.AccountType; 35 import com.android.contacts.common.model.account.AccountType.EditType;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
PolicyServiceProxy.java | 23 import com.android.emailcommon.provider.Account; 117 public static void setAccountHoldFlag(Context context, Account account, boolean newState) { 119 new PolicyServiceProxy(context).setAccountHoldFlag(account.mId, newState);
|
/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/Settings/src/com/android/settings/accounts/ |
SyncStateCheckBoxPreference.java | 19 import android.accounts.Account; 36 private Account mAccount; 52 public SyncStateCheckBoxPreference(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; 37 * Utility functions for retrieving account pictures. 59 * Tries to retrieve the Picture for the provided account, from the Contacts database. 61 public static String getAccountPictureUri(Context context, Account account) { 62 // Look up this account in the contacts database. 65 account.name }; 117 * Returns a default image to be used when an account has no picture associated with it.
|
/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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationCursorLoader.java | 25 import com.android.mail.providers.Account; 46 public ConversationCursorLoader(Activity activity, Account account, 52 account.supportsCapability(AccountCapabilities.INITIAL_CONVERSATION_LIMIT);
|
FolderListFragment.java | 47 import com.android.mail.providers.Account; 76 * Tapping on Accounts takes the user to the default Inbox for that account. Tapping on 93 * any folder for a given account. 105 /** URI that points to the list of folders for the current account. */ 116 * True if the folder list belongs to a folder selection activity (one account only) 139 /** Loader id for the list of all folders in the account */ 175 /** Listen for account changes. */ 177 /** Listen to changes to selected folder or account */ 190 /** The current account according to the controller */ 191 protected Account mCurrentAccount [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...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
BluetoothPhoneService.java | 260 PhoneAccount account = getBestPhoneAccount(); 261 if (account != null) { 262 Uri addressUri = account.getAddress(); 280 PhoneAccount account = getBestPhoneAccount(); 281 if (account != null) { 282 label = account.getLabel().toString(); 858 PhoneAccount account = null; local [all...] |
/external/chromium_org/chrome/browser/resources/login/ |
user_pod_row.css | 5 * This is the stylesheet used by user pods row of account picker UI. 46 .account-picker.flying-pods .pod { 461 /**** Public account user pod rules *******************************************/ 463 .pod.public-account .name { 467 .pod.public-account .name, 542 .pod.public-account.expanded .side-pane-contents { 580 .pod.public-account.expanded { 585 .pod.public-account:not(.expanded) { 589 .pod.public-account.expanded .name, 590 .pod.public-account.expanded .learn-more [all...] |
/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);
|