Home
last modified time | relevance | path

Searched refs:ACCOUNT_NAME (Results 1 – 25 of 44) sorted by relevance

12

/cts/tests/tests/contactsprovider/gal/src/android/provider/cts/contacts/galprovider/
DCtsGalProvider.java45 public static final String ACCOUNT_NAME = "ctsgal"; field in CtsGalProvider
129 if (column.equals(Directory.ACCOUNT_NAME)) { in handleDirectories()
130 row[i] = ACCOUNT_NAME; in handleDirectories()
159 final String accountName = uri.getQueryParameter(RawContacts.ACCOUNT_NAME); in handleFilter()
167 if (!ACCOUNT_NAME.equals(accountName)) { in handleFilter()
169 ACCOUNT_NAME, accountName)); in handleFilter()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_RawContactsTest.java59 RawContacts.ACCOUNT_NAME,
91 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriBySourceId()
112 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriByDisplayName()
214 RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_TYPE in testRawContactCreate_noAccountUsesLocalAccount()
236 .with(RawContacts.ACCOUNT_NAME, (String) null) in testRawContactCreate_nullAccountUsesLocalAccount()
241 RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_TYPE in testRawContactCreate_nullAccountUsesLocalAccount()
302 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProjection()
322 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInsertUsageStat()
335 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInsertUsageStat()
346 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInsertUsageStat()
[all …]
DContactsContract_ContactCountsTest.java119 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
129 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
139 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
149 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
159 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
169 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
DContactsContract_GroupMembershipTest.java65 .with(RawContacts.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithGroupSourceId()
70 .with(Groups.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithGroupSourceId()
85 .with(RawContacts.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithUnknownGroupSourceId()
92 .with(Groups.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithUnknownGroupSourceId()
DContactsContract_DirectoryTest.java60 mAccount = new Account(CtsGalProvider.ACCOUNT_NAME, CtsGalProvider.ACCOUNT_TYPE); in setUp()
85 null, Directory.ACCOUNT_NAME + "=? and " + Directory.ACCOUNT_TYPE + "=?", in waitForDirectorySetup() argument
86 new String[]{CtsGalProvider.ACCOUNT_NAME, CtsGalProvider.ACCOUNT_TYPE}, in waitForDirectorySetup() argument
97 assertEquals(CtsGalProvider.ACCOUNT_NAME, getString(c, Directory.ACCOUNT_NAME)); in waitForDirectorySetup()
DContactsContract_StructuredPhoneticName.java77 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName()
101 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName_phoneticPriority1()
111 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName_phoneticPriority1()
138 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName_phoneticPriority2()
148 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName_phoneticPriority2()
DContactsContract_IsSuperPrimaryName.java74 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInner_displayNameFromIsSuperPrimary()
85 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInner_displayNameFromIsSuperPrimary()
135 .with(RawContacts.ACCOUNT_NAME, "test_name") in testIsSuperPrimaryName_mergeBothSuperPrimary()
146 .with(RawContacts.ACCOUNT_NAME, "test_name") in testIsSuperPrimaryName_mergeBothSuperPrimary()
DContactsContract_DataTest.java94 RawContacts.ACCOUNT_NAME,
211 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriBySourceId()
232 .with(RawContacts.ACCOUNT_NAME, "test_name") in testDataProjection()
248 .with(RawContacts.ACCOUNT_NAME, "test_name") in testRawContactsEntityProjection()
263 RawContacts.ACCOUNT_NAME, in testRawContactsEntityProjection()
310 .with(RawContacts.ACCOUNT_NAME, "test_name") in testEntityProjection()
358 RawContacts.ACCOUNT_NAME, in testEntityProjection()
414 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriByDisplayName()
431 .with(RawContacts.ACCOUNT_NAME, "test_name") in testContactablesUri()
712 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupContactablesTestData()
[all …]
DContactsContract_AggregationSuggestionsTest.java162 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupThreeContacts()
172 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupThreeContacts()
182 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupThreeContacts()
DContactsContract_StatusUpdatesTest.java37 private static final String ACCOUNT_NAME = "ContactsContract_StatusUpdatesTest"; field in ContactsContract_StatusUpdatesTest
51 .withValue(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME) in setUp()
DContactsContract_PhoneLookup.java76 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
90 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
105 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
DContactsContract_Subquery.java51 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProviderStatus_addedContacts()
DContactsContract_ProviderStatus.java60 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProviderStatus_addedContacts()
DContactsContract_FrequentsStrequentsTest.java426 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
440 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
454 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/
DMockAuthenticator.java39 static final String ACCOUNT_NAME = "TestAccountCts"; field in MockAuthenticator
54 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount()
88 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/
DMockAuthenticator.java38 static final String ACCOUNT_NAME = "TestAccountCts"; field in MockAuthenticator
53 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount()
87 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
DAccountManagerCrossUserTest.java43 private static final Account TEST_ACCOUNT = new Account(MockAuthenticator.ACCOUNT_NAME,
106 MockAuthenticator.ACCOUNT_NAME); in testAccountManager_addMockAccount()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java33 public static final String ACCOUNT_NAME = "CTS"; field in AccountAuthenticator
35 public static final Account TEST_ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE);
48 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createAuthTokenBundle()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/
DCloneContactsSharingTest.java89 values.put(ContactsContract.RawContacts.ACCOUNT_NAME, "test" + appendValue + "@test.com"); in getTestContentValues()
172 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, in insertContactsDataThroughBatchOperations()
308 ContactsContract.RawContacts.ACCOUNT_NAME, in testCloneContactsProviderUpdates_rawContactsUpdate_doesNotUpdateActually()
322 updatedValues.put(ContactsContract.RawContacts.ACCOUNT_NAME, testContactAccountName); in testCloneContactsProviderUpdates_rawContactsUpdate_doesNotUpdateActually()
379 ContactsContract.RawContacts.ACCOUNT_NAME, in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary()
393 ContactsContract.RawContacts.ACCOUNT_NAME))) in testCloneContactsProviderReads_rawContactsReads_redirectsToPrimary()
436 ContactsContract.RawContacts.ACCOUNT_NAME, in testAccessManagedProfileContacts_contactReadSuccessfully()
451 ContactsContract.RawContacts.ACCOUNT_NAME))) in testAccessManagedProfileContacts_contactReadSuccessfully()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAccountAuthenticator.java37 private static final String ACCOUNT_NAME field in TestAppAccountAuthenticator
58 return createResultBundle(accountType, ACCOUNT_NAME); in createResultBundle()
74 String name = options.getString("name", ACCOUNT_NAME); in addAccount()
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java30 public static final String ACCOUNT_NAME = "android.content.cts.account.name"; field in MockAccountAuthenticator
42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DMockAccountAuthenticator.java29 private static final String ACCOUNT_NAME field in MockAccountAuthenticator
42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdAuthenticator.java38 private static final String ACCOUNT_NAME = "StatsdCts"; field in StatsdAuthenticator
52 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAccountManagerEnumerationTest.java19 import static android.appenumeration.cts.Constants.ACCOUNT_NAME;
57 private static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE);
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java59 private static final String ACCOUNT_NAME = "SyncAdapterSettings"; field in SyncAdapterSettingsTest
227 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getAccount()

12