Searched refs:mAccount (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
D | SyncAdapterSettingsTest.java | 64 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/ |
D | MockAccountAuthenticator.java | 63 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() 181 this.mAccount = account; in updateCredentials() 206 this.mAccount = account; in confirmCredentials() 232 this.mAccount = account; in getAuthToken() 272 this.mAccount = account; in hasFeatures() 397 mAccount = account; in startUpdateCredentialsSession() [all …]
|
D | AccountManagerTest.java | 1207 private final Account mAccount; field in AccountManagerTest.BlockingGetAuthTokenFetcher 1210 mAccount = account; in BlockingGetAuthTokenFetcher() 1222 result.putString(AccountManager.KEY_ACCOUNT_NAME, mAccount.name); in fetch() 1223 result.putString(AccountManager.KEY_ACCOUNT_TYPE, mAccount.type); in fetch() 3261 assertEquals(ACCOUNT, mockAuthenticator.mAccount);
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_DirectoryTest.java | 45 private Account mAccount; field in ContactsContract_DirectoryTest 60 mAccount = new Account(CtsGalProvider.ACCOUNT_NAME, CtsGalProvider.ACCOUNT_TYPE); in setUp() 68 mAccountManager.removeAccountExplicitly(mAccount); in tearDown()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 1946 private String mAccount; field in CalendarTest.CalendarEventHelper 1950 mAccount = account; in CalendarEventHelper() 1959 eventValues = EventHelper.getNewEventValues(mAccount, mSeed++, mCalendarId, true); in addEvent() 1964 long eventId = createAndVerifyEvent(mAccount, mSeed, mCalendarId, true, eventValues); in addEvent()
|