Home
last modified time | relevance | path

Searched refs:ACCOUNT_KEY (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java40 private static final String ACCOUNT_KEY = "ACCOUNT_KEY"; field in ContactsPreferencesTest
57 .thenReturn(ACCOUNT_KEY); // contact_editor_default_account_key in setUp()
187 Mockito.when(mSharedPreferences.getString(Mockito.eq(ACCOUNT_KEY), Mockito.any())) in testRefreshDefaultAccount()
193 mContactsPreferences.refreshValue(ACCOUNT_KEY); in testRefreshDefaultAccount()
202 Mockito.when(mSharedPreferences.getString(Mockito.eq(ACCOUNT_KEY), Mockito.any())) in testShouldShowAccountChangedNotificationIfAccountNotSaved()
214 Mockito.when(mSharedPreferences.getString(Mockito.eq(ACCOUNT_KEY), Mockito.any())) in testShouldShowAccountChangedNotification()
231 Mockito.when(mSharedPreferences.getString(Mockito.eq(ACCOUNT_KEY), Mockito.any())) in testShouldShowAccountChangedNotificationWhenThereIsOneAccount()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountTypePreferenceLoader.java55 private static final String ACCOUNT_KEY = "account"; // to pass to auth settings field in AccountTypePreferenceLoader
154 intent.putExtra(ACCOUNT_KEY, account); in updatePreferenceIntents()
DAccountSyncSettings.java63 public static final String ACCOUNT_KEY = "account"; field in AccountSyncSettings
127 mAccount = arguments.getParcelable(ACCOUNT_KEY); in onActivityCreated()
DAccountSyncPreferenceController.java64 args.putParcelable(AccountSyncSettings.ACCOUNT_KEY, mAccount); in handlePreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountTypePreferenceLoader.java55 private static final String ACCOUNT_KEY = "account"; // to pass to auth settings field in AccountTypePreferenceLoader
154 intent.putExtra(ACCOUNT_KEY, account); in updatePreferenceIntents()
DAccountSyncSettings.java61 public static final String ACCOUNT_KEY = "account"; field in AccountSyncSettings
115 mAccount = arguments.getParcelable(ACCOUNT_KEY); in onActivityCreated()
DAccountSyncPreferenceController.java64 args.putParcelable(AccountSyncSettings.ACCOUNT_KEY, mAccount); in handlePreferenceTreeClick()