Home
last modified time | relevance | path

Searched refs:mAccount (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java64 private Account mAccount; field in SyncAdapterSettingsTest
80 mAccount = getAccount(); in setUp()
210 ContentResolver.setSyncAutomatically(mAccount, SyncAdapterSettingsProvider.AUTHORITY, in setSyncAutomaticallyAndIsSyncable()
213 ContentResolver.setIsSyncable(mAccount, SyncAdapterSettingsProvider.AUTHORITY, isSyncable); in setSyncAutomaticallyAndIsSyncable()
217 assertEquals(syncAutomatically, ContentResolver.getSyncAutomatically(mAccount, in assertSettings()
220 ContentResolver.getIsSyncable(mAccount, SyncAdapterSettingsProvider.AUTHORITY)); in assertSettings()
238 if (!Arrays.asList(am.getAccountsByType(mAccount.type)).contains(mAccount)) { in addAccount()
240 am.addAccountExplicitly(mAccount, password, new Bundle()); in addAccount()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java63 Account mAccount; field in MockAccountAuthenticator
108 return mAccount; in getAccount()
131 mAccount = null; in clearData()
138 am.notifyAccountAuthenticated(mAccount); in callAccountAuthenticated()
143 am.setPassword(mAccount, "password"); in callSetPassword()
180 this.mAccount = account; in updateCredentials()
205 this.mAccount = account; in confirmCredentials()
231 this.mAccount = account; in getAuthToken()
271 this.mAccount = account; in hasFeatures()
394 mAccount = account; in startUpdateCredentialsSession()
[all …]
DAccountManagerTest.java1193 private final Account mAccount; field in AccountManagerTest.BlockingGetAuthTokenFetcher
1196 mAccount = account; in BlockingGetAuthTokenFetcher()
1208 result.putString(AccountManager.KEY_ACCOUNT_NAME, mAccount.name); in fetch()
1209 result.putString(AccountManager.KEY_ACCOUNT_TYPE, mAccount.type); in fetch()
3247 assertEquals(ACCOUNT, mockAuthenticator.mAccount);
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_DirectoryTest.java41 private Account mAccount; field in ContactsContract_DirectoryTest
52 mAccount = new Account(DummyGalProvider.ACCOUNT_NAME, DummyGalProvider.ACCOUNT_TYPE); in setUp()
60 mAccountManager.removeAccountExplicitly(mAccount); in tearDown()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java1947 private String mAccount; field in CalendarTest.CalendarEventHelper
1951 mAccount = account; in CalendarEventHelper()
1960 eventValues = EventHelper.getNewEventValues(mAccount, mSeed++, mCalendarId, true); in addEvent()
1965 long eventId = createAndVerifyEvent(mAccount, mSeed, mCalendarId, true, eventValues); in addEvent()