/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 | 47 protected Account account2; field in class:SyncStorageEngineTest 69 account2 = new Account("b@example.com", "example.type"); 110 final Account account2 = new Account("b@example.com", "example.type.2"); local 119 engine.setIsSyncable(account2, 0, authority1, 1); 120 engine.setSyncAutomatically(account2, 0, authority1, true); 125 engine.setIsSyncable(account2, 0, authority2, 0); 126 engine.setSyncAutomatically(account2, 0, authority2, true); 132 assertEquals(true, engine.getSyncAutomatically(account2, 0, authority1)); 134 assertEquals(true, engine.getSyncAutomatically(account2, 0, authority2)); 137 assertEquals(1, engine.getIsSyncable(account2, 0, authority1)) 173 final Account account2 = new Account("acc2", "type2"); local [all...] |
SyncOperationTest.java | 58 Account account2 = new Account("account2", "type2"); local 88 SyncOperation op4 = new SyncOperation(account2, 0,
|
/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...] |
/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/src/com/android/server/telecom/ |
PhoneAccountRegistrar.java | 666 private String getAccountDiffString(PhoneAccount account1, PhoneAccount account2) { 667 if (account1 == null || account2 == null) { 668 return "Diff: " + account1 + ", " + account2; 674 Log.piiHandle(account2.getAddress())); 675 appendDiff(sb, "cap", account1.getCapabilities(), account2.getCapabilities()); 676 appendDiff(sb, "hl", account1.getHighlightColor(), account2.getHighlightColor()); 677 appendDiff(sb, "icon", account1.getIcon(), account2.getIcon()); 678 appendDiff(sb, "lbl", account1.getLabel(), account2.getLabel()); 679 appendDiff(sb, "desc", account1.getShortDescription(), account2.getShortDescription()); 681 Log.piiHandle(account2.getSubscriptionAddress())) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 93 Account a21 = new Account("account2", "type1"); 96 Account a22 = new Account("account2", "type2"); 217 Account a2 = new Account("account2", "type2");
|
/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 | 1128 String account2 = "ceq2_account"; local 1519 String account2 = "colw2_account"; local 2774 String account2 = "roid2_account"; local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 1012 Account account2 = new Account("act2", "actype2"); local 1034 Account account2 = new Account("act2", "actype2"); local 1264 Account account2 = new Account("c", "d"); local 2945 Account account2 = new Account(accountName2, accountType2); local 4309 Account account2 = new Account("c", "d"); local 4384 final Account account2 = new Account("accountName2", "accountType2"); local 4412 final Account account2 = new Account("accountName2", "accountType2"); local 4443 final Account account2 = new Account("accountName2", "accountType2"); local 4565 Account account2 = new Account("c", "d"); local 4590 AccountWithDataSet account2 = new AccountWithDataSet("c", "d", "plus"); local 6436 Account account2 = new Account("c", "d"); local [all...] |
BaseContactsProvider2Test.java | 105 protected Account mAccountTwo = new Account("account2", "account type2"); [all...] |
/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");
|