Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java68 final Uri uri = sut.create("Test Create Group", getLocalAccount()); in test_createGroup_createsGroupWithCorrectTitle()
76 final Uri uri = sut.create("Test Delete Group", getLocalAccount()); in test_deleteEmptyGroup_marksRowDeleted()
92 final Uri uri = sut.create("Test Undo Delete Empty Group", getLocalAccount()); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
105 final Uri groupUri = sut.create("Test delete non-empty group", getLocalAccount()); in test_deleteNonEmptyGroup_removesGroupAndMembers()
131 final Uri groupUri = sut.create("Test undo delete non-empty group", getLocalAccount()); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers()
160 final Uri uri = sut.create("a deleted group", getLocalAccount()); in test_captureUndoDataForDeletedGroup_returnsEmptyBundle()
192 final Uri groupUri = sut.create("Test undo delete null memberIds", getLocalAccount()); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup()
258 private AccountWithDataSet getLocalAccount() { in getLocalAccount() method in GroupsDaoIntegrationTests
/packages/apps/Contacts/src/com/android/contacts/util/
DDeviceLocalAccountTypeFactory.java82 Objects.equals(AccountWithDataSet.getLocalAccount(mContext).type, accountType) in classifyAccount()
92 AccountWithDataSet.getLocalAccount(mContext).type, accountType)) { in getAccountType()
/packages/apps/Contacts/src/com/android/contacts/model/
DDeviceLocalAccountLocator.java41 mLocalAccount = Collections.singletonList(AccountWithDataSet.getLocalAccount(context)); in DeviceLocalAccountLocator()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java127 if (!onlyAccount.equals(AccountWithDataSet.getLocalAccount(mContext)) in maybeUpdateDefaultAccount()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java145 && !accounts.get(0).getAccount().equals(AccountWithDataSet.getLocalAccount(this))) { in updateDisplayedAccounts()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountWithDataSet.java90 public static AccountWithDataSet getLocalAccount(Context context) { in getLocalAccount() method in AccountWithDataSet
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java259 AccountWithDataSet localAccount = AccountWithDataSet.getLocalAccount(mContext); in shouldShowAccountChangedNotification()