/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
AuptTestCase.java | 39 import android.accounts.Account; 205 * Ensures there is at least one account registered 206 * returns the google account name 212 Account[] accounts = AccountManager.get(getInstrumentation().getContext()).getAccounts(); 213 Assert.assertTrue("Device doesn't have any account registered", accounts.length >= 1); 220 throw new RuntimeException("The device is not registered with a google account");
|
/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])
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Policy.java | 35 * The Policy class represents a set of security requirements that are associated with an Account. 37 * a limit on the sync window for the Account) 153 return Utility.getFirstRowLong(context, Account.CONTENT_URI, Account.ID_PROJECTION, 155 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT); 184 * Review all attachment records for this account, and reset the "don't allow download" flag 185 * as required by the account's new security policies 187 * @param account the account whose attachments need to be reviewe [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupOutgoingFragment.java | 46 import com.android.emailcommon.provider.Account; 56 * Provides UI for SMTP account settings (for IMAP/POP accounts). 350 final Account account = setupData.getAccount(); local 351 final Credential cred = account.mHostAuthSend.mCredential; 357 account.mHostAuthSend.mCredentialKey = cred.mId; 360 account.mHostAuthSend.update(context, account.mHostAuthSend.toContentValues()); 378 final Account account = mSetupData.getAccount() local 425 final Account account = mSetupData.getAccount(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SendersView.java | 35 import com.android.mail.providers.Account; 237 Account account, final boolean showToHeader, final boolean resourceCachingRequired) { 241 displayableSenderNames, senderAvatarModel, account, 254 Account account, final TextAppearanceSpan notificationUnreadStyleSpan, 260 displayableSenderNames, senderAvatarModel, account, 273 Account account, final TextAppearanceSpan unreadStyleSpan, 374 final String senderEmail = TextUtils.isEmpty(currentName) ? account.getEmailAddress() [all...] |
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...] |
ConversationPagerController.java | 33 import com.android.mail.providers.Account; 103 * @param account current account 110 public void show(Account account, Folder folder, Conversation initialConversation, 116 // optimize for the case where account+folder are the same, when we can just shift 119 if (mPagerAdapter != null && mPagerAdapter.matches(account, folder) 152 account, folder, initialConversation); 202 * {@link #show(Account, Folder, Conversation, boolean, boolean)} first, and you probably want
|
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/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
BluetoothMapContract.java | 29 * <li>Account data set containing info on the existing accounts, and whether to expose 30 * these accounts. The content of the account data set is often sensitive information, 34 * account from another device, without any password protection the e-mail client 77 * an update of a folder for a specific e-mail account, register for reception 87 * account. 110 * account or conversation. 116 * EXTRA_PRESENCE_STATE containing the presence state of the owner account 118 * EXTRA_LAST_ACTIVE containing the last activity time stamp of the owner account 136 * account or conversation. 160 * Bluetooth provider. When queried, the direct URI for the account [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 38 import android.accounts.Account; 62 /** POST parameter name for the user's account name */ 100 * @param username The server account username 101 * @param password The server account password 153 * @param account The account being synced 155 * account 161 Account account, String authtoken, long serverSyncState, List<RawContact> dirtyContacts) 178 params.add(new BasicNameValuePair(PARAM_USERNAME, account.name)) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConnectionService.java | 151 // Unregister the phone account. This should ideally happen when disconnection ensues but in 270 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local 271 String btAddr = account.getAddress().getSchemeSpecificPart(); 290 Log.d(TAG, "Creating phone account for device " + device); 293 // Creation of the block takes care of initializing the phone account and 328 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); local 329 String btAddr = account.getAddress().getSchemeSpecificPart(); 340 PhoneAccount account = local 347 Log.d(TAG, "phoneaccount: " + account); 349 return account; [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 31 import com.android.emailcommon.provider.Account; 51 private Account mAccount; 59 public static Sender newInstance(Account account, Context context) throws MessagingException { 60 return new SmtpSender(context, account); 64 * Creates a new sender for the given account. 66 public SmtpSender(Context context, Account account) { 68 mAccount = account; 69 HostAuth sendAuth = account.getOrCreateHostAuthSend(context) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AccountsSettingsFragment.java | 55 * <li> Account selection/management for IME </li> 99 * Account switcher preference. 194 // TODO: Add addition of account. 252 * Checks different states like whether account is present or managed profile is present 284 * @param currentAccount the account currently selected in the application. 317 // No account automatically turns off sync. 338 * Creates an account picker dialog showing the given accounts in a list and selecting 339 * the selected account by default. The list of accounts must not be null/empty. 344 * @param selectedAccount currently selected account 356 // See if the currently selected account is in the list [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/UnifiedEmail/src/com/android/mail/providers/ |
UIProvider.java | 43 * Values for the current state of a Folder/Account; note that it's possible that more than one 69 * An initial sync is needed for this Account/Folder to be used. This is account-wide, when 70 * the user has added an account, and the first sync has not completed successfully. 74 * Manual sync is required. This is account-wide, when the user has disabled sync on the 75 * Gmail account. 79 * Account initialization is required. 91 * Values for the result of the last attempted sync of a Folder/Account 156 "vnd.android.cursor.dir/vnd.com.android.mail.account"; 158 "vnd.android.cursor.item/vnd.com.android.mail.account"; [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 99 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); 115 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); 149 Account a = ProviderTestUtils.setupAccount("acct1", true, c); 161 Account a = ProviderTestUtils.setupAccount("acct1", true, c); 173 Account a = ProviderTestUtils.setupAccount("acct1", true, c); 195 Account a = ProviderTestUtils.setupAccount("acct1", true, c); 241 // Same name, different account; no match 253 Account acct1 = ProviderTestUtils.setupAccount("acct1", true, context); 260 Account acct2 = ProviderTestUtils.setupAccount("acct1", true, context); 288 // delete account 1 and confirm no mailboxes are returne [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectSyncedCalendarsMultiAccountAdapter.java | 241 // Collect proper description for account types 299 * Gets the label associated with a particular account type. If none found, return null. 300 * @param accountType the type of account 311 Log.w(TAG, "No label for account type " + ", type " + accountType); 391 String account = cursor.getString(accountColumn); local 394 setText(view, R.id.account, account); 404 String account = groupCursor.getString(accountColumn); local 406 //Get all the calendars for just this account. 407 Cursor childCursor = mChildrenCursors.get(accountType + "#" + account); 408 new RefreshCalendars(groupCursor.getPosition(), account, accountType).run(); local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
MainFragment.java | 19 import android.accounts.Account; 241 Account[] accounts = am.getAccountsByType(authDesc.type); 246 // Icon URI to be displayed for each account is based on the type of authenticator. 254 // Display an entry for each installed account we have. 255 for (final Account account : accounts) { 256 final String key = "account_pref:" + account.type + ":" + account.name; 261 preference.setTitle(authTitle != null ? authTitle : account.name); 263 preference.setSummary(authTitle != null ? account.name : null) 265 AccountSyncFragment.prepareArgs(preference.getExtras(), account); local [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);
|
/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);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
IncomingCallTestActivity.java | 71 PhoneAccount account = PhoneAccountUtils.getPhoneAccount(this); 72 if (account != null) { 91 PhoneAccount account = PhoneAccountUtils.getPhoneAccount(this); 92 if (account != null && account.isEnabled()) {
|