/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 43 mDummy = new Account("account1", "type1"); 50 Account account1 = new Account("account1", "type1"); local 57 SyncOperation op1 = new SyncOperation(account1, 0, 65 SyncOperation op2 = new SyncOperation(account1, 0, 73 SyncOperation op3 = new SyncOperation(account1, 0, 89 SyncOperation op5 = new SyncOperation(account1, 0, 104 Account account1 = new Account("account1", "type1"); local 106 b1.putParcelable("acc", account1); [all...] |
SyncStorageEngineTest.java | 49 protected Account account1; field in class:SyncStorageEngineTest 71 account1 = new Account("a@example.com", "example.type"); 112 final Account account1 = new Account("a@example.com", "example.type"); local 119 engine.setIsSyncable(account1, 0, authority1, 1); 120 engine.setSyncAutomatically(account1, 0, authority1, true); 125 engine.setIsSyncable(account1, 0, authority2, 1); 126 engine.setSyncAutomatically(account1, 0, authority2, false); 134 assertEquals(true, engine.getSyncAutomatically(account1, 0, authority1)); 136 assertEquals(false, engine.getSyncAutomatically(account1, 0, authority2)); 139 assertEquals(1, engine.getIsSyncable(account1, 0, authority1)) 175 final Account account1 = new Account("acc1", "type1"); local [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 83 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local 84 account1.save(mMockContext); 94 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId, 96 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, 98 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, 110 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString()); 111 attachment1Id = addAttachmentToDb(account1, newAttachment1); 117 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString()); 118 attachment2Id = addAttachmentToDb(account1, newAttachment2); 124 AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id).toString()) 252 Account account1 = ProviderTestUtils.setupAccount("get-type", false, mMockContext); local 330 Account account1 = ProviderTestUtils.setupAccount("open-file", false, mMockContext); local 395 Account account1 = ProviderTestUtils.setupAccount("open-thumbnail", false, mMockContext); local 461 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local 501 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local 555 Account account1 = ProviderTestUtils.setupAccount("attach-mbox-del", false, mMockContext); local 587 Account account1 = ProviderTestUtils.setupAccount("attach-acct-del1", false, mMockContext); local [all...] |
PolicyTests.java | 71 Account account1 = ProviderTestUtils.setupAccount("acct1", true, mMockContext); local 73 SecurityPolicy.setAccountPolicy(mMockContext, account1, policy1, securitySyncKey); 78 account1.refresh(mMockContext); 81 assertTrue(account1.mPolicyKey > 0); 84 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext, 85 account1.mPolicyKey));
|
ProviderTests.java | 192 Account account1 = ProviderTestUtils.setupAccount("account-save", true, mMockContext); local 193 long account1Id = account1.mId; 197 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account2); 205 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local 207 account1.mHostAuthRecv = 209 account1.mHostAuthSend = 211 account1.save(mMockContext); 212 long account1Id = account1.mId; 216 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account1get); 222 "testAccountSaveHostAuth-recv", account1.mHostAuthRecv, hostAuth1get) 302 Account account1 = ProviderTestUtils.setupAccount("parcel", false, mMockContext); local 322 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local 345 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, mMockContext); local 408 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local 452 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local 502 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local 615 Account account1 = ProviderTestUtils.setupAccount("account-delete-1", true, mMockContext); local 649 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local 690 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local 766 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local 814 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local 1087 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mMockContext); local 1137 Account account1 = local 1203 Account account1 = ProviderTestUtils.setupAccount("message-update", true, mMockContext); local 1298 Account account1 = local 1344 Account account1 = local 1430 Account account1 = ProviderTestUtils.setupAccount("message-cascade", true, mMockContext); local 1625 Account account1 = ProviderTestUtils.setupAccount("account-default-1", false, mMockContext); local 1661 Account account1 = ProviderTestUtils.setupAccount("account-default-1", false, mMockContext); local [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AcctCommandHandlerTest.java | 30 private static final String ACCOUNT1 = "account1";
52 verifyOneDataElement(commandHandler.getInvocation(0), AcctCommandHandler.ACCOUNT_KEY, ACCOUNT1);
71 command1 = new Command(CommandNames.ACCT, array(ACCOUNT1));
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AcctCommandHandlerTest.java | 31 private static final String ACCOUNT1 = "account1";
53 verifyOneDataElement(commandHandler.getInvocation(0), AcctCommandHandler.ACCOUNT_KEY, ACCOUNT1);
72 command1 = new Command(CommandNames.ACCT, array(ACCOUNT1));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelephonyUtil.java | 83 public int compare(PhoneAccount account1, PhoneAccount account2) { 87 boolean isSim1 = account1.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 93 int subId1 = telephonyManager.getSubIdForPhoneAccount(account1); 103 String pkg1 = account1.getAccountHandle().getComponentName().getPackageName(); 110 String label1 = nullToEmpty(account1.getLabel().toString()); 117 retval = account1.hashCode() - account2.hashCode();
|
PhoneAccountRegistrar.java | [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
EmailBroadcastProcessorServiceTests.java | 87 Account account1 = ProviderTestUtils.setupAccount("eas-account1", false, mMockContext); local 88 account1.mHostAuthRecv = setupSimpleHostAuth("eas"); 89 account1.mHostAuthSend = account1.mHostAuthRecv; 90 account1.save(mMockContext); 91 long accountId1 = account1.mId; 92 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); 103 Account account4 = ProviderTestUtils.setupAccount("imap-account1", false, mMockContext);
|
/cts/tests/tests/content/src/android/content/cts/ |
SyncStorageEngineTest.java | 52 + "<authority id=\"nonint\" user=\"0\" account=\"account1\" type=\"type1\"" 64 Account account = new Account("account1", "type1");
|
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 299 public int compare(PhoneAccount account1, PhoneAccount account2) { 303 boolean isSim1 = account1.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION); 309 int subId1 = mTelephonyManager.getSubIdForPhoneAccount(account1); 319 String pkg1 = account1.getAccountHandle().getComponentName().getPackageName(); 326 String label1 = nullToEmpty(account1.getLabel().toString()); 333 retval = account1.hashCode() - account2.hashCode();
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
ComposeActivityTest.java | 271 setAccount(activity, "account1@mockuiprovider.com"); 297 setAccount(activity, "account1@mockuiprovider.com"); 299 refMessage.setFrom("Account Test <account1@mockuiprovider.com>"); 322 setAccount(activity, "account1@mockuiprovider.com"); 324 refMessage.setFrom("Account Test <account1@mockuiprovider.com>"); 348 setAccount(activity, "account1@mockuiprovider.com"); 350 refMessage.setFrom("Account Test <account1@mockuiprovider.com>"); 397 setAccount(activity, "account1@mockuiprovider.com"); 433 messageValues[UIProvider.MESSAGE_TO_COLUMN] = "account1@mock.com, account2@mock.com"; 443 setAccount(activity, "account1@mockuiprovider.com") [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiverTests.java | 32 private static final String ACCOUNT_1 = "account1@example.com";
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
PhoneAccountRegistrarTest.java | 623 PhoneAccount account1 = new PhoneAccount.Builder( local 642 registerAndEnableAccount(account1); 662 PhoneAccount account1 = new PhoneAccount.Builder(makeQuickAccountHandle(componentA, "c"), local 677 registerAndEnableAccount(account1); 710 PhoneAccount account1 = new PhoneAccount.Builder(makeQuickAccountHandle( local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
SimContactDaoTests.java | 385 final AccountWithDataSet account1 = mAccountHelper.addTestAccount( local 387 mAccounts.add(account1); 409 ), account1); local 423 account1, ImmutableSet.of(existsInBoth, existsInAccount1), [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 99 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); local 100 long account1Id = account1.mId; 115 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); local 116 long account1Id = account1.mId;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
AccountPreferenceControllerTest.java | 337 Account[] accounts = {new Account("Account1", "com.acct1")}; 374 accountType1[0] = new Account("Account1", "com.acct1"); 377 accountType2[0] = new Account("Account1", "com.acct2");
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 1036 Account account1 = new Account("act1", "actype1"); local 1058 Account account1 = new Account("act1", "actype1"); local 1288 Account account1 = new Account("a", "b"); local 2938 Account account1 = new Account(accountName1, accountType1); local 4376 Account account1 = new Account("a", "b"); local 4451 final Account account1 = new Account("accountName1", "accountType1"); local 4479 final Account account1 = new Account("accountName1", "accountType1"); local 4510 final Account account1 = new Account("accountName1", "accountType1"); local 4632 Account account1 = new Account("a", "b"); local 4657 Account account1 = new Account("a", "b"); local 6527 Account account1 = new Account("a", "b"); local [all...] |
BaseContactsProvider2Test.java | 106 protected Account mAccount = new Account("account1", "account type1"); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 197 Account a11 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); 200 Account a12 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); 243 Account a11 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); 244 Account a12 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); 260 Account a11 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); 265 Account a12 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); 294 Account a11 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); 295 Account a12 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); 331 Account a1 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 1128 String account1 = "ceq1_account"; local 2774 String account1 = "roid1_account"; local [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");
|
/external/icu/icu4c/source/test/intltest/ |
numfmtst.cpp | [all...] |