Home
last modified time | relevance | path

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

12

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDummyGalProvider.java44 public static final String ACCOUNT_NAME = "dummygal"; field in DummyGalProvider
137 if (column.equals(Directory.ACCOUNT_NAME)) { in handleDirectories()
138 row[i] = ACCOUNT_NAME; in handleDirectories()
167 final String accountName = uri.getQueryParameter(RawContacts.ACCOUNT_NAME); in handleFilter()
175 if (!ACCOUNT_NAME.equals(accountName)) { in handleFilter()
177 ACCOUNT_NAME, accountName)); in handleFilter()
DContactsContract_DirectoryTest.java52 mAccount = new Account(DummyGalProvider.ACCOUNT_NAME, DummyGalProvider.ACCOUNT_TYPE); in setUp()
77 null, Directory.ACCOUNT_NAME + "=? and " + Directory.ACCOUNT_TYPE + "=?", in waitForDirectorySetup() argument
78 new String[]{DummyGalProvider.ACCOUNT_NAME, DummyGalProvider.ACCOUNT_TYPE}, in waitForDirectorySetup() argument
89 assertEquals(DummyGalProvider.ACCOUNT_NAME, getString(c, Directory.ACCOUNT_NAME)); in waitForDirectorySetup()
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_StructuredPhoneticName.java61 .with(RawContacts.ACCOUNT_NAME, "test_name") in testPhoneticStructuredName()
85 .with(RawContacts.ACCOUNT_NAME, "test_name") in testPhoneticStructuredName_phoneticPriority1()
95 .with(RawContacts.ACCOUNT_NAME, "test_name") in testPhoneticStructuredName_phoneticPriority1()
122 .with(RawContacts.ACCOUNT_NAME, "test_name") in testPhoneticStructuredName_phoneticPriority2()
132 .with(RawContacts.ACCOUNT_NAME, "test_name") in testPhoneticStructuredName_phoneticPriority2()
DContactsContract_RawContactsTest.java56 RawContacts.ACCOUNT_NAME,
88 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriBySourceId()
109 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriByDisplayName()
223 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProjection()
243 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInsertUsageStat()
256 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInsertUsageStat()
267 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInsertUsageStat()
283 .with(RawContacts.ACCOUNT_NAME, "test_name") in testUpdateUsageStat()
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_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_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()
DContactsContract_SearchSnippetsTest.java331 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
345 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
364 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
DContactsContract_ProviderStatus.java60 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProviderStatus_addedContacts()
DContactsContract_AllUriTest.java318 .appendQueryParameter(RawContacts.ACCOUNT_NAME, "a") in checkQueryExecutable()
636 cv.put(SyncState.ACCOUNT_NAME, "abc"); in testAllOperations()
/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()
DCrossProfileCalendarTest.java58 private static final String TEST_ACCOUNT_NAME = AccountAuthenticator.ACCOUNT_NAME;
477 cv.put(CalendarContract.Calendars.ACCOUNT_NAME, TEST_ACCOUNT_NAME); in insertWorkCalendar()
507 .appendQueryParameter(CalendarContract.Calendars.ACCOUNT_NAME, account) in addSyncQueryParams()
/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()
DContentResolverSyncTestCase.java44 private static final Account ACCOUNT = new Account(MockAccountAuthenticator.ACCOUNT_NAME,
340 extras.putString("String", MockAccountAuthenticator.ACCOUNT_NAME);
/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/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java38 private static final String ACCOUNT_NAME = "StatsdCts"; field in StatsdAuthenticator
52 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java38 private static final String ACCOUNT_NAME = "BatteryStatsCts"; field in BatteryStatsAuthenticator
53 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount()
/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()
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DContactsContract_Subquery.java51 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProviderStatus_addedContacts()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java148 result.putString(AccountManager.KEY_ACCOUNT_NAME, AccountManagerTest.ACCOUNT_NAME); in createResultBundle()
458 result.putString(AccountManager.KEY_ACCOUNT_NAME, AccountManagerTest.ACCOUNT_NAME); in finishSession()
466 AccountManagerTest.ACCOUNT_NAME); in finishSession()

12