/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 24 import android.accounts.Account; 176 public void onAccountsUpdated(Account[] accounts) { 233 * that matches the given account type. 242 throw new IllegalStateException("Couldn't find authenticator for specific account type"); 249 public ArrayList<Account> getAccounts(boolean writableOnly) { 251 final Account[] accounts = am.getAccounts(); 252 final ArrayList<Account> matching = Lists.newArrayList(); 254 for (Account account : accounts) { 255 // Ensure we have details loaded for each account [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
PhoneAccountRegistrarTest.java | 63 private static final String FILE_NAME = "phone-account-registrar-test-1223.xml"; 186 private void registerAndEnableAccount(PhoneAccount account) { 187 mRegistrar.registerPhoneAccount(account); 188 mRegistrar.enablePhoneAccount(account.getAccountHandle(), true); 231 // By default, there is no default outgoing account (nothing has been registered) 235 // Register one tel: account 245 // Add a SIP account, make sure tel: doesn't change 268 // Unregister the tel: account, make sure there is no tel: default now. 279 // By default, there is no default outgoing account (nothing has been registered) 283 // Register one tel: account [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
DefaultContactBrowseListFragment.java | 18 import android.accounts.Account; 72 import com.android.contacts.model.account.AccountInfo; 73 import com.android.contacts.model.account.AccountWithDataSet; 194 // Determine whether the account has pullToRefresh feature 312 // If the phone has at least one Google account whose sync status is unsyncable or pending 338 * If at least one Google account is unsyncable or its sync status is pending or active, we 355 final Account account = info.getAccount().getAccountOrNull(); local 356 if (SyncUtil.isSyncStatusPendingOrActive(account) 357 || SyncUtil.isUnsyncableGoogleAccount(account)) { 363 final Account account = new Account(filter.accountName, filter.accountType); local 631 final Account account = filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT local [all...] |
/external/openssh/ |
auth-shadow.c | 47 * For the account and password expiration functions, we assume the expiry 52 * Check if specified account is expired. Returns 1 if account is expired, 68 debug3("account expiration disabled"); 70 logit("Account %.100s has expired", spw->sp_namp); 73 debug3("account will expire in %d days", daysleft); 75 "Your account will expire in %d day%s.\n", daysleft,
|
/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/Contacts/src/com/android/contacts/ |
CallUtil.java | 142 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); local 143 if (account != null) { 144 if (account.hasCapabilities(PhoneAccount.CAPABILITY_VIDEO_CALLING)) { 151 if (account.hasCapabilities(PhoneAccountSdkCompat 189 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); local 190 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_CALL_SUBJECT)) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
SelectAccountDialogFragment.java | 31 import com.android.contacts.model.account.AccountInfo; 32 import com.android.contacts.model.account.AccountWithDataSet; 33 import com.android.contacts.model.account.AccountsLoader; 40 * Shows a dialog asking the user which account to chose. 135 private void onAccountSelected(AccountWithDataSet account) { 138 listener.onAccountChosen(account, getArguments().getBundle(KEY_EXTRA_ARGS)); 159 void onAccountChosen(AccountWithDataSet account, Bundle extraArgs);
|
ContactEditorFragment.java | 19 import android.accounts.Account; 79 import com.android.contacts.model.account.AccountInfo; 80 import com.android.contacts.model.account.AccountType; 81 import com.android.contacts.model.account.AccountWithDataSet; 82 import com.android.contacts.model.account.AccountsLoader; 334 // i.e. account switch. 552 final Account account = mIntentExtras == null ? null : local 553 (Account) mIntentExtras.getParcelable(Intents.Insert.EXTRA_ACCOUNT); 556 mAccountWithDataSet = account != nul 674 AccountWithDataSet account = data.getParcelableExtra( local 699 final AccountWithDataSet account = mAccountWithDataSet != null local 707 account, data.get(0).getAccount()); local [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupNamesFragment.java | 37 import com.android.emailcommon.provider.Account; 83 final Account account = setupData.getAccount(); local 87 final String accountEmail = account.mEmailAddress; 94 // Remember whether we're an EAS account, since it doesn't require the user name field 101 if (account.getSenderName() != null) { 102 mName.setText(account.getSenderName());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
RemoveAccountPreferenceControllerTest.java | 18 import android.accounts.Account; 97 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); 130 Account account = new Account("Account11", "com.acct1"); local 134 mFragment, account, userHandle); 137 verify(mAccountManager).removeAccountAsUser(eq(account), any(Activity.class),
|
AccountPreferenceTest.java | 19 import android.accounts.Account; 42 private Account mAccount; 49 mAccount = new Account("name", "type");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryFacilitator.java | 41 * instantiate and select the correct dictionaries (based on language or account), update entries 78 * Returns whether this facilitator is exactly for this account. 80 * @param account the account to test against. 82 boolean isForAccount(@Nullable final String account); 120 @Nullable final String account, 131 @Nullable final String account);
|
DictionaryFacilitatorImpl.java | 57 * to instantiate and select the correct dictionaries (based on language or account), 108 * Returns whether this facilitator is exactly for this account. 110 * @param account the account to test against. 112 public boolean isForAccount(@Nullable final String account) { 113 return TextUtils.equals(mDictionaryGroup.mAccount, account); 133 * The user account associated with the dictionary group. 149 this(null /* locale */, null /* mainDict */, null /* account */, 155 @Nullable final String account, 158 mAccount = account; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
DirectoryTest.java | 21 import android.accounts.Account; 103 // Visible because there is no account 107 Account account = new Account("accountName", "accountType"); local 108 long groupId = createGroup(account, "sid", "def", 111 "Parr", account));
|
/device/generic/car/common/ |
init.car-emulator.rc | 40 # account info for the device via these two properties. Google 47 # You MUST have a Google account on the device, and you MAY 48 # additionally have a hosted account. No other configuration is
|
/device/generic/mini-emulator-arm64/ |
init.mini-emulator.rc | 44 # account info for the device via these two properties. Google 51 # You MUST have a Google account on the device, and you MAY 52 # additionally have a hosted account. No other configuration is
|
/device/generic/mini-emulator-armv7-a-neon/ |
init.mini-emulator.rc | 44 # account info for the device via these two properties. Google 51 # You MUST have a Google account on the device, and you MAY 52 # additionally have a hosted account. No other configuration is
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
PbapClientConnectionHandler.java | 18 import android.accounts.Account; 88 private Account mAccount; 110 mAccount = new Account(mDevice.getAddress(), mContext.getString( 127 mAccount = new Account(mDevice.getAddress(), mContext.getString( 216 Log.e(TAG, "Account creation failed."); 349 private boolean addAccount(Account account) { 350 if (mAccountManager.addAccountExplicitly(account, null, null)) { 352 Log.d(TAG, "Added account " + mAccount); 359 private void removeAccount(Account acc) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupNameEditDialogFragment.java | 44 import com.android.contacts.model.account.AccountWithDataSet; 62 private static final String ARG_ACCOUNT = "account"; 93 AccountWithDataSet account, String callbackAction) { 94 return newInstance(account, callbackAction, NO_GROUP_ID, null); 98 AccountWithDataSet account, String callbackAction, long groupId, String groupName) { 99 return newInstance(account, callbackAction, groupId, groupName); 103 AccountWithDataSet account, String callbackAction, long groupId, String groupName) { 104 if (account == null || account.name == null || account.type == null) [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
AccountDisplayInfo.java | 16 package com.android.contacts.model.account; 38 public AccountDisplayInfo(AccountWithDataSet account, CharSequence name, CharSequence type, 40 mSource = account;
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/telecom/ |
TelecomManagerCompat.java | 68 * @param accountHandle The handle for the account to derive an adn query URI for or {@code null} 69 * to return a URI which will use the default account. 122 * account returned depends on the following priorities: 132 * @return The {@link PhoneAccountHandle} corresponding to the account to be used. 147 * Return the line 1 phone number for given phone account. 172 * account. 175 * @param accountHandle The handle for the account to check the voicemail number against 199 * @param account The {@link PhoneAccountHandle}. 214 * Return the voicemail number for a given phone account. 220 * @param accountHandle The handle for the phone account [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
ResourceHelper.java | 60 // The account ID is 1-based, so -1. 66 * @return color for an account. 73 * @return The resource ID for an account color.
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailProvider.java | 80 import com.android.emailcommon.provider.Account; 167 // delete the old backups and trigger a new backup to the account manager 207 private static final int ACCOUNT = ACCOUNT_BASE; 295 array.put(ACCOUNT_BASE >> BASE_SHIFT, Account.TABLE_NAME); 503 // Delete orphaned mailboxes/messages/policies (account no longer exists) 505 AccountColumns._ID, Account.TABLE_NAME); 507 AccountColumns._ID, Account.TABLE_NAME); 509 AccountColumns.POLICY_KEY, Account.TABLE_NAME); 526 * Restore user Account and HostAuth data from our backup database 544 // If there's a backup database (old style) delete it and trigger an account manager backup 1624 Account account = new Account(); local 1687 final Account account = new Account(); local 1733 final Account account = Account.fromJsonString(jsonString); local 1864 final android.accounts.Account account = local 3525 final Account account = Account.restoreAccountWithId(context, accountId); local 4865 final Account account = Account.restoreAccountWithId(context, mailbox.mAccountKey); local 5733 final Account account = Account.restoreAccountWithId(context, accountId); local 5766 final android.accounts.Account account = getAccountManagerAccount(accountId); local 5823 final android.accounts.Account account = getAccountManagerAccount(mailbox.mAccountKey); local 6019 final Account account = Account.restoreAccountWithId(context, accountId); local 6047 final Account account = Account.restoreAccountWithId(context, accountId); local 6210 Account account = new Account(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
DrawerAdapter.java | 33 import com.android.contacts.model.account.AccountDisplayInfo; 34 import com.android.contacts.model.account.AccountDisplayInfoFactory; 64 // The group/account that was last clicked. 75 // [Account Header] 112 // Account Header 277 final ContactListFilter account = item.account; local 279 textView.setText(account.accountName); 280 final boolean activated = account.equals(mSelectedAccount) 287 mAccountDisplayFactory.getAccountDisplayInfoFor(item.account); 440 private final ContactListFilter account; field in class:DrawerAdapter.AccountEntryItem [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ActionBarController.java | 31 import com.android.mail.providers.Account; 60 * The account currently being shown 62 private Account mAccount; 79 /** Updates the resolver and tells it the most recent account. */ 83 public UpdateProvider(Uri account, ContentResolver resolver) { 84 mAccount = account; 98 public void onChanged(Account newAccount) { 153 private void updateAccount(Account account) { 154 final boolean accountChanged = mAccount == null || !mAccount.uri.equals(account.uri) [all...] |