/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AcctCommandHandlerTest.java | 31 private static final String ACCOUNT2 = "account2";
53 verifyOneDataElement(commandHandler.getInvocation(1), AcctCommandHandler.ACCOUNT_KEY, ACCOUNT2);
72 command2 = new Command(CommandNames.ACCT, array(ACCOUNT2));
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AcctCommandHandlerTest.java | 32 private static final String ACCOUNT2 = "account2";
54 verifyOneDataElement(commandHandler.getInvocation(1), AcctCommandHandler.ACCOUNT_KEY, ACCOUNT2);
73 command2 = new Command(CommandNames.ACCT, array(ACCOUNT2));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | 50 protected Account account2; field in class:SyncStorageEngineTest 72 account2 = new Account("b@example.com", "example.type"); 113 final Account account2 = new Account("b@example.com", "example.type.2"); local 122 engine.setIsSyncable(account2, 0, authority1, 1); 123 engine.setSyncAutomatically(account2, 0, authority1, true); 128 engine.setIsSyncable(account2, 0, authority2, 0); 129 engine.setSyncAutomatically(account2, 0, authority2, true); 135 assertEquals(true, engine.getSyncAutomatically(account2, 0, authority1)); 137 assertEquals(true, engine.getSyncAutomatically(account2, 0, authority2)); 140 assertEquals(1, engine.getIsSyncable(account2, 0, authority1)) 176 final Account account2 = new Account("acc2", "type2"); local [all...] |
SyncOperationTest.java | 51 Account account2 = new Account("account2", "type2"); local 81 SyncOperation op4 = new SyncOperation(account2, 0,
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelephonyUtil.java | 83 public int compare(PhoneAccount account1, PhoneAccount account2) { 88 boolean isSim2 = account2.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 94 int subId2 = telephonyManager.getSubIdForPhoneAccount(account2); 104 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); 111 String label2 = nullToEmpty(account2.getLabel().toString()); 117 retval = account1.hashCode() - account2.hashCode();
|
PhoneAccountRegistrar.java | [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
EmailBroadcastProcessorServiceTests.java | 92 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); local 93 account2.mHostAuthRecv = setupSimpleHostAuth("pop3"); 94 account2.mHostAuthSend = setupSimpleHostAuth("smtp"); 95 account2.mFlags = 0x08; // set delete policy 96 account2.save(mMockContext); 97 long accountId2 = account2.mId; 98 Account account3 = ProviderTestUtils.setupAccount("pop-account2", false, mMockContext); 109 Account account5 = ProviderTestUtils.setupAccount("imap-account2", false, mMockContext);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 74 Account account2 = ProviderTestUtils.setupAccount("acct2", true, mMockContext); local 76 SecurityPolicy.setAccountPolicy(mMockContext, account2, policy2, securitySyncKey); 79 account2.refresh(mMockContext); 83 assertTrue(account2.mPolicyKey > 0); 86 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext, 87 account2.mPolicyKey));
|
AttachmentProviderTests.java | 596 Account account2 = ProviderTestUtils.setupAccount("attach-acct-del2", false, mMockContext); local 597 account2.save(mMockContext); 598 long account2Id = account2.mId; 607 populateAccountMailbox(account2, mailbox3Id, 5); 608 populateAccountMailbox(account2, mailbox4Id, 2); 615 account2.mId);
|
ProviderTests.java | 195 Account account2 = Account.restoreAccountWithId(mMockContext, account1Id); local 197 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account2); 310 Account account2 = (Account) b2.getParcelable("account"); local 313 ProviderTestUtils.assertAccountEqual("testAccountParcel", account1, account2); 334 Account account2 = local 336 account2.save(mMockContext); 338 assertNull(Account.getProtocol(mMockContext, account2.mId)); 339 assertNull(account2.getProtocol(mMockContext)); 346 final Account account2 = ProviderTestUtils.setupAccount("account-2", true, mMockContext); local 349 assertTrue(Account.isValidId(mMockContext, account2.mId)) 617 Account account2 = ProviderTestUtils.setupAccount("account-delete-2", true, mMockContext); local 1632 Account account2 = ProviderTestUtils.setupAccount("account-default-2", false, mMockContext); local 1664 Account account2 = ProviderTestUtils.setupAccount("account-default-2", false, mMockContext); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
SelfManagedIncomingCallTestActivity.java | 68 PhoneAccount account2 = PhoneAccountUtils.getSelfManagedPhoneAccount2(this); 72 account2 != null && 73 account2.isEnabled() && 74 account2.hasCapabilities(PhoneAccount.CAPABILITY_SELF_MANAGED)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountsDbTest.java | 150 Account account2 = new Account("name", "example2.com"); local 151 long accId2 = mAccountsDb.insertCeAccount(account2, "password"); 152 mAccountsDb.insertDeAccount(account2, accId2); 156 Map<String, String> authTokensByAccount = mAccountsDb.findAuthTokensByAccount(account2); 394 Account account2 = new Account("name2", "example2.com"); local 400 mAccountsDb.insertDeAccount(account2, accId2); 412 Map<String, Integer> accnt2Visibility = vis.get(account2); 418 accnt2Visibility = vis.get(account2);
|
AccountManagerServiceTest.java | 198 Account a21 = new Account("account2", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); 201 Account a22 = new Account("account2", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); 332 Account a2 = new Account("account2", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 299 public int compare(PhoneAccount account1, PhoneAccount account2) { 304 boolean isSim2 = account2.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 310 int subId2 = mTelephonyManager.getSubIdForPhoneAccount(account2); 320 String pkg2 = account2.getAccountHandle().getComponentName().getPackageName(); 327 String label2 = nullToEmpty(account2.getLabel().toString()); 333 retval = account1.hashCode() - account2.hashCode();
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiverTests.java | 33 private static final String ACCOUNT_2 = "account2@example.com";
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
PhoneAccountRegistrarTest.java | 629 PhoneAccount account2 = new PhoneAccount.Builder( local 641 registerAndEnableAccount(account2); 667 PhoneAccount account2 = new PhoneAccount.Builder(makeQuickAccountHandle(componentB, "b"), local 678 registerAndEnableAccount(account2); 717 PhoneAccount account2 = new PhoneAccount.Builder(makeQuickAccountHandle( local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
SimContactDaoTests.java | 388 final AccountWithDataSet account2 = mAccountHelper.addTestAccount( local 390 mAccounts.add(account2); 414 ), account2); local 424 account2, ImmutableSet.of(existsInBoth, existsInAccount2)))); [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
ComposeActivityTest.java | 433 messageValues[UIProvider.MESSAGE_TO_COLUMN] = "account1@mock.com, account2@mock.com"; [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 1129 String account2 = "ceq2_account"; local 1520 String account2 = "colw2_account"; local 2775 String account2 = "roid2_account"; local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 1037 Account account2 = new Account("act2", "actype2"); local 1059 Account account2 = new Account("act2", "actype2"); local 1289 Account account2 = new Account("c", "d"); local 2971 Account account2 = new Account(accountName2, accountType2); local 4377 Account account2 = new Account("c", "d"); local 4452 final Account account2 = new Account("accountName2", "accountType2"); local 4480 final Account account2 = new Account("accountName2", "accountType2"); local 4511 final Account account2 = new Account("accountName2", "accountType2"); local 4633 Account account2 = new Account("c", "d"); local 4658 AccountWithDataSet account2 = new AccountWithDataSet("c", "d", "plus"); local 6528 Account account2 = new Account("c", "d"); local [all...] |
BaseContactsProvider2Test.java | 107 protected Account mAccountTwo = new Account("account2", "account type2"); [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
AccountPreferenceControllerTest.java | 375 accountType1[1] = new Account("Account2", "com.acct1"); 378 accountType2[1] = new Account("Account2", "com.acct2");
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
MockUiProvider.java | 190 "account1@mock.com, account2@mock.com"); 261 messageMap.put(MessageColumns.TO, "account1@mock.com, account2@mock.com");
|