/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 39 private static final Account ACCOUNT = new Account(MockAccountAuthenticator.ACCOUNT_NAME, field in ContentResolverSyncTestCase 58 removeAccount(sAccountManager, ACCOUNT, null /* callback */); in tearDown() 167 addAccountAndVerifyInitSync(ACCOUNT, in testRequestSync() 175 setIsSyncable(ACCOUNT, AUTHORITY, true); in testRequestSync() 176 cancelSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testRequestSync() 180 requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testRequestSync() 185 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0)); in testRequestSync() 199 addAccountAndVerifyInitSync(ACCOUNT, in testCancelSync() 207 setIsSyncable(ACCOUNT, AUTHORITY, true); in testCancelSync() 208 requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testCancelSync() [all …]
|
D | ContentResolverTest.java | 74 private static final Account ACCOUNT = new Account("cts", "cts"); field in ContentResolverTest 1047 ContentResolver.requestSync(ACCOUNT, AUTHORITY, extras); in testStartCancelSync() 1050 ContentResolver.cancelSync(ACCOUNT, AUTHORITY); in testStartCancelSync()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 91 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); field in AccountManagerTest 140 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in tearDown() 220 ACCOUNT.name, in validateAccountAndAuthTokenResult() 223 ACCOUNT.type, in validateAccountAndAuthTokenResult() 281 assertEquals(ACCOUNT, mockAuthenticator.getAccount()); in validateCredentials() 552 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccount() 558 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccount() local 560 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in testAddAccountExplicitlyAndRemoveAccount() 632 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi() 638 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi() local [all …]
|
D | MockAccountAuthenticator.java | 156 am.addAccountExplicitly(AccountManagerTest.ACCOUNT, "fakePassword", null); in addAccount()
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
D | AccountManagementTest.java | 41 private final static Account ACCOUNT = new Account("user0", field in AccountManagementTest 54 mAccountManager.removeAccountExplicitly(ACCOUNT); in tearDown() 93 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null)); in testRemoveAccount_blocked() 99 mAccountManager.removeAccount(ACCOUNT, null, null).getResult(); in testRemoveAccount_blocked() 108 assertEquals(ACCOUNT, accounts[0]); in testRemoveAccount_blocked() 116 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null)); in testRemoveAccount_allowed() 119 assertTrue(mAccountManager.removeAccount(ACCOUNT, null, null).getResult()); in testRemoveAccount_allowed()
|
D | AccountUtilsTest.java | 41 private final static Account ACCOUNT = new Account("user0", field in AccountUtilsTest 55 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null)); in testAddAccountExplicitly() 63 mAccountManager.removeAccountExplicitly(ACCOUNT); in testRemoveAccountExplicitly()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 65356 public static final java.lang.String ACCOUNT 65421 public static final java.lang.String ACCOUNT 65509 public static final java.lang.String ACCOUNT 65549 public static final java.lang.String ACCOUNT 65674 public static final java.lang.String ACCOUNT 65833 public static final java.lang.String ACCOUNT 65943 public static final java.lang.String ACCOUNT 66351 public static final java.lang.String ACCOUNT 67903 public static final java.lang.String ACCOUNT
|