HomeSort by relevance Sort by last modified time
    Searched full:account (Results 126 - 150 of 4748) sorted by null

1 2 3 4 56 7 8 91011>>

  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
CopyAccountToUserTask.java 25 import android.accounts.Account;
42 * This task copies the account in {@link ProvisioningParams#accountToMigrate} from an existing
45 * <p>If the account migration fails or times out, we still return success as we consider account
70 // Do not log time if account migration did not succeed, as that isn't useful.
74 // account migration is not considered a critical operation, so succeed anyway
90 Account accountToMigrate = mProvisioningParams.accountToMigrate;
95 ProvisionLogger.logd("No account to migrate.");
99 ProvisionLogger.loge("sourceUser and targetUser are the same, won't migrate account.");
102 ProvisionLogger.logd("Attempting to copy account from " + sourceUser + " to " + targetUser)
    [all...]
  /packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
RawContactUtil.java 19 import android.accounts.Account;
76 public static long createRawContact(ContentResolver resolver, Account account,
81 ContactsContract.RawContacts.CONTENT_URI, account);
100 public static long createRawContactWithName(ContentResolver resolver, Account account) {
101 return createRawContactWithName(resolver, "John", "Doe", account);
110 String lastName, Account account) {
111 long rawContactId = createRawContact(resolver, account);
    [all...]
  /cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
AccountUtilsTest.java 19 import android.accounts.Account;
40 // Account type for MockAccountAuthenticator
41 private final static Account ACCOUNT = new Account("user0",
55 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null));
63 mAccountManager.removeAccountExplicitly(ACCOUNT);
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsSyncTest.java 18 import android.accounts.Account;
52 final Account account = BatteryStatsAuthenticator.getTestAccount(); local
54 // Create the test account.
59 ContentResolver.setIsSyncable(account, BatteryStatsProvider.AUTHORITY, 1);
62 BatteryStatsSyncAdapter.cancelPendingSyncs(account);
68 BatteryStatsSyncAdapter.requestSync(account);
BatteryStatsSyncAdapter.java 18 import android.accounts.Account;
54 public void onPerformSync(Account account, Bundle extras, String authority,
99 * Request a sync on the given account, and wait for it.
101 public static void requestSync(Account account) throws Exception {
109 ContentResolver.requestSync(account, BatteryStatsProvider.AUTHORITY, extras);
115 * Cancel all pending sync requests on the given account.
117 public static void cancelPendingSyncs(Account account) throws Exception
    [all...]
  /packages/apps/Email/res/values-w600dp/
dimensions.xml 19 <!-- Account settings fragments -->
24 <!-- Account setup fragments -->
29 <!-- Account setup text buttons -->
34 <!-- Account setup headline -->
41 <!-- Account setup checkboxes padding -->
46 <!-- Account setup basics -->
50 <!-- Account setup row labels -->
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentResolver.java 3 import android.accounts.Account;
32 private static final Map<String, Map<Account, Status>> syncableAccounts =
33 new HashMap<String, Map<Account, Status>>();
174 public static void requestSync(Account account, String authority, Bundle extras) {
176 Status status = getStatus(account, authority, true);
182 public static void setIsSyncable(Account account, String authority, int syncable) {
183 getStatus(account, authority, true).state = syncable;
187 public static int getIsSyncable(Account account, String authority)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountSelectionUtil.java 37 import com.android.contacts.model.account.AccountType;
38 import com.android.contacts.model.account.AccountWithDataSet;
44 * Utility class for selecting an Account for importing contact(s)
66 Log.e(LOG_TAG, "The size of Account list is 0.");
122 final AccountWithDataSet account = this.getItem(position);
124 account.type, account.dataSet);
128 text2.setText(account.name);
157 public static void doImport(Activity activity, int resId, AccountWithDataSet account,
160 doImportFromSim(activity, account, subscriptionId)
    [all...]
AccountFilterUtil.java 19 import android.accounts.Account;
43 import com.android.contacts.model.account.AccountDisplayInfo;
44 import com.android.contacts.model.account.AccountDisplayInfoFactory;
45 import com.android.contacts.model.account.AccountInfo;
46 import com.android.contacts.model.account.AccountType;
47 import com.android.contacts.model.account.AccountWithDataSet;
65 * Utility class for account filter manipulation.
71 * Launches account filter setting Activity using
143 final AccountWithDataSet account = accountInfo.getAccount(); local
146 mDeviceLocalFactory, account.type)) &
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
SecurityPolicyTests.java 30 import com.android.emailcommon.provider.Account;
140 // with a single account in security mode, should return same security as in account
142 Account a3 = ProviderTestUtils.setupAccount("sec-3", true, mMockContext);
158 // add another account which mixes it up (some fields will change, others will not)
168 Account a4 = ProviderTestUtils.setupAccount("sec-4", true, mMockContext);
184 // add another account which mixes it up (the remaining fields will change)
194 Account a5 = ProviderTestUtils.setupAccount("sec-5", true, mMockContext);
211 Account account = Account.restoreAccountWithId(mMockContext, accountId) local
235 Account account = ProviderTestUtils.setupAccount("testaccount", true, mMockContext); local
442 Account account = Account.restoreAccountWithId(mMockContext, account1Id); local
    [all...]
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
CopyAccountToUserTaskTest.java 30 import android.accounts.Account;
55 private static final Account TEST_ACCOUNT = new Account("test@afw-test.com", "com.google");
81 // GIVEN an account on the source user
90 // THEN the account migration was triggered
105 // GIVEN an account on the source user
114 // THEN the account migration was triggered
129 // GIVEN no account is passed
145 // GIVEN an account on a user
161 // GIVEN an account on the source use
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Account.java 49 public class Account implements Parcelable {
53 * Human readable account name. Not guaranteed to be the account's email address, nor to match
54 * the system account manager.
59 * The real name associated with the account, e.g. "John Doe"
64 * Account manager name. MUST MATCH SYSTEM ACCOUNT MANAGER NAME
69 * An unique ID to represent this account.
74 * Account type. MUST MATCH SYSTEM ACCOUNT MANAGER TYP
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/
Store.java 30 import com.android.emailcommon.provider.Account;
41 * Store is the legacy equivalent of the Account class
53 protected Account mAccount;
65 static Store newInstance(Account account) throws MessagingException {
67 + account.mDisplayName);
71 * Get an instance of a mail store for the given account. The account must be valid (i.e. has
74 * NOTE: The internal algorithm used to find a cached store depends upon the account's
79 * @param account The account of the store
    [all...]