/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAccountManager.java | 3 import android.accounts.Account; 4 import android.accounts.AccountManager; 5 import android.accounts.AccountManagerCallback; 6 import android.accounts.AccountManagerFuture; 7 import android.accounts.AuthenticatorException; 8 import android.accounts.OperationCanceledException; 27 * Shadows the {@code android.accounts.AccountManager} class. 37 private Account[] accounts; field in class:ShadowAccountManager 176 return accounts; 180 if (accounts != null) [all...] |
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/ |
InvalidSyncAuthoritiesDeviceTest.java | 22 import android.accounts.Account; 23 import android.accounts.AccountManager; 52 final Account[] accounts = mAccountManager.getAccountsByType(VALID_TEST_ACCOUNT_TYPE); local 53 mValidAccount = (accounts.length == 0) ? createTestAccount() : accounts[0]; 72 // checking for invalid accounts may already return false depending on when the broadcast
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
contacts2_1108.sql | 14 CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_name TEXT, account_type TEXT, data_set TEXT); table 17 CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,backup_id TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0,metadata_dirty INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_mode INTEGER NOT NULL DEFAULT 0,aggregation_needed INTEGER NOT NULL DEFAULT 1,custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,display_name TEXT,display_name_alt TEXT,display_name_source INTEGER NOT NULL DEFAULT 0,phonetic_name TEXT,phonetic_name_style TEXT,sort_key TEXT COLLATE PHONEBOOK,phonebook_label TEXT,phonebook_bucket INTEGER,sort_key_alt TEXT COLLATE PHONEBOOK,phonebook_label_alt TEXT,phonebook_bucket_alt INTEGER,name_verified INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT ); 38 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,title TEXT,title_res INTEGER,notes TEXT,system_id TEXT,deleted INTEGER NOT NULL DEFAULT 0,group_visible INTEGER NOT NULL DEFAULT 0,should_sync INTEGER NOT NULL DEFAULT 1,auto_add INTEGER NOT NULL DEFAULT 0,favorites INTEGER NOT NULL DEFAULT 0,group_is_read_only INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT ); 80 INSERT INTO "sqlite_stat1" VALUES('accounts',NULL,'3'); 115 INSERT INTO "sqlite_sequence" VALUES('accounts',1); 139 CREATE VIEW view_data AS SELECT data._id AS _id,hash_id, raw_contact_id, raw_contacts.contact_id AS contact_id, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set, (…) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
SupportItemAdapterTest.java | 19 import android.accounts.Account; 154 * accounts} 157 * @param accounts holds the accounts info to be showed in spinner. 160 Account accounts[]) { 161 bindAccountPickerInner(viewHolder, accounts); 167 assertThat(adapter.getCount()).isEqualTo(accounts.length + 1); 168 for (int i = 0; i < accounts.length; i++) { 169 assertThat(adapter.getItem(i)).isEqualTo(accounts[i].name); 178 * @param accounts holds the accounts info to be showed in spinner [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
TestDefaultAuthenticator.java | 17 package android.accounts.cts.common; 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException; 24 import android.accounts.cts.common.tx.AddAccountTx; 25 import android.accounts.cts.common.tx.UpdateCredentialsTx;
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
ConfirmCredentialsTx.java | 1 package android.accounts.cts.common.tx; 3 import android.accounts.Account;
|
GetAccountRemovalAllowedTx.java | 1 package android.accounts.cts.common.tx; 3 import android.accounts.Account;
|
StartUpdateCredentialsSessionTx.java | 1 package android.accounts.cts.common.tx; 3 import android.accounts.Account;
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountTest.java | 1 package android.accounts.cts; 3 import android.accounts.Account;
|
AuthenticatorDescriptionTest.java | 1 package android.accounts.cts; 3 import android.accounts.AuthenticatorDescription;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 16 import android.accounts.Account; 17 import android.accounts.AccountManager; 18 import android.accounts.AccountManagerFuture; 113 Account[] accounts = accountManager.getAccounts(); local 115 assertArrayEquals(origAccounts, accounts); 124 Account[] accounts = accountManager.getAccountsByType("myType"); local 126 assertThat(accounts.length, equalTo(1)); 127 assertThat(accounts[0], equalTo(diffAccount));
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
ShadowAccountManager.java | 19 import android.accounts.AccountManager; 20 import android.accounts.AuthenticatorDescription;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
RemoveAccountDialog.java | 17 package com.android.tv.settings.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerCallback; 22 import android.accounts.AccountManagerFuture; 23 import android.accounts.AuthenticatorException; 24 import android.accounts.OperationCanceledException; 116 // Don't let the monkey remove accounts.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
ContactAggregatorHelper.java | 36 * If two connected components have disjoint accounts, merge them. 45 final Map<Long, Set<Integer>> accounts = new HashMap<>(); local 52 Set<Integer> s = accounts.get(acctId); 57 accounts.put(acctId, s); 63 for (Long accountId : accounts.keySet()) { 64 final Set<Integer> s = accounts.get(accountId); 77 for (Long accountId : accounts.keySet()) { 78 final Set<Integer> s = accounts.get(accountId);
|
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/ |
AccountHelper.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 83 * Get registered accounts ensures there is at least one account registered returns the google 88 Account[] accounts = AccountManager.get(mContext).getAccounts(); local 89 Assert.assertTrue("Device doesn't have any account registered", accounts.length >= 1); 90 for (int i = 0; i < accounts.length; ++i) { 91 if (accounts[i].type.equals("com.google")) { 92 return accounts[i].name;
|
/prebuilts/sdk/10/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/11/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/12/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/13/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/6/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/7/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/8/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/prebuilts/sdk/9/ |
framework.aidl | 1 interface android.accounts.IAccountManager; 2 interface android.accounts.IAccountManagerResponse; 3 interface android.accounts.IAccountAuthenticator; 4 interface android.accounts.IAccountAuthenticatorResponse;
|
/cts/tests/tests/accounts/CtsUnaffiliatedAccountAuthenticators/src/android/accounts/cts/unaffiliated/ |
DefaultAccountAuthService.java | 17 package android.accounts.cts.unaffiliated; 19 import android.accounts.cts.common.Fixtures; 20 import android.accounts.cts.common.TestDefaultAuthenticator;
|
StdAccountAuthService.java | 17 package android.accounts.cts.unaffiliated; 19 import android.accounts.cts.common.Fixtures; 20 import android.accounts.cts.common.TestAccountAuthenticator;
|