Home
last modified time | relevance | path

Searched refs:UserAccount (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/
DUserAccountLiveData.java29 import com.android.car.messenger.core.models.UserAccount;
102 List<UserAccount> accounts = in loadValue()
112 return new UserAccount( in loadValue()
118 Collection<UserAccount> prevUserAccounts = getValueOrEmpty().mAccounts; in loadValue()
119 Set<UserAccount> addedAccounts = getDifference(accounts, prevUserAccounts); in loadValue()
120 Set<UserAccount> removedAccounts = getDifference(prevUserAccounts, accounts); in loadValue()
145 public static UserAccount getUserAccount(@NonNull String iccId) { in getUserAccount()
146 Collection<UserAccount> userAccounts = getValueOrEmpty().getAccounts(); in getUserAccount()
147 for (UserAccount account : userAccounts) { in getUserAccount()
160 public static Set<UserAccount> getDifference( in getDifference()
[all …]
DNewMessageLiveData.java33 import com.android.car.messenger.core.models.UserAccount;
54 @NonNull private Collection<UserAccount> mUserAccounts = new ArrayList<>();
97 for (UserAccount userAccount : mUserAccounts) { in onDataChange()
119 @Nullable Cursor cursor, @NonNull UserAccount userAccount) { in postNewMessageIfFound()
143 private Cursor getMmsCursor(@NonNull UserAccount userAccount, @NonNull Instant offset) { in getMmsCursor()
149 private Cursor getSmsCursor(@NonNull UserAccount userAccount, @NonNull Instant offset) { in getSmsCursor()
154 private Cursor getCursor(Uri uri, @NonNull UserAccount userAccount, long offset) { in getCursor()
166 private boolean hasProjectionInForeground(@NonNull UserAccount userAccount) { in hasProjectionInForeground()
DTelephonyDataModel.java35 import com.android.car.messenger.core.models.UserAccount;
49 public LiveData<Collection<UserAccount>> getAccounts() { in getAccounts()
61 public LiveData<Collection<Conversation>> getConversations(@NonNull UserAccount userAccount) { in getConversations()
129 UserAccount userAccount = UserAccountLiveData.getUserAccount(iccId); in sendMessage()
DConversationListLiveData.java35 import com.android.car.messenger.core.models.UserAccount;
49 @NonNull private final UserAccount mUserAccount;
59 ConversationListLiveData(@NonNull UserAccount userAccount) { in ConversationListLiveData()
DConversationsPerDeviceFetchManager.java36 import com.android.car.messenger.core.models.UserAccount;
111 Collection<UserAccount> userAccounts = changeList.getAccounts(); in onDataChange()
112 for (UserAccount userAccount : userAccounts) { in onDataChange()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/models/
DUserAccount.java32 public class UserAccount implements Parcelable { class
38 public UserAccount( in UserAccount() method in UserAccount
46 protected UserAccount(Parcel in) { in UserAccount() method in UserAccount
54 public static final Creator<UserAccount> CREATOR =
55 new Creator<UserAccount>() {
57 public UserAccount createFromParcel(@NonNull Parcel source) {
58 return new UserAccount(source);
62 public UserAccount[] newArray(int size) {
63 return new UserAccount[size];
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/launcher/
DMessageLauncherViewModel.java29 import com.android.car.messenger.core.models.UserAccount;
37 @Nullable private LiveData<List<UserAccount>> mAccountsLiveData;
48 public LiveData<List<UserAccount>> getAccounts() { in getAccounts()
55 private LiveData<List<UserAccount>> getAccountList() { in getAccountList()
DMessageLauncherActivity.java27 import com.android.car.messenger.core.models.UserAccount;
54 UserAccount primaryAccount = in onCreate()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
DConversationListViewModel.java30 import com.android.car.messenger.core.models.UserAccount;
41 @Nullable private UserAccount mUserAccount;
58 public LiveData<UIConversationLog> getConversations(@Nullable UserAccount userAccount) { in getConversations()
74 private LiveData<UIConversationLog> createUIConversationLog(@NonNull UserAccount userAccount) { in createUIConversationLog()
DConversationListFragment.java30 import com.android.car.messenger.core.models.UserAccount;
50 @Nullable private UserAccount mUserAccount;
162 public static ConversationListFragment newInstance(@Nullable UserAccount userAccount) { in newInstance()
176 public static String getFragmentTag(@Nullable UserAccount userAccount) { in getFragmentTag()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/interfaces/
DDataModel.java24 import com.android.car.messenger.core.models.UserAccount;
42 LiveData<Collection<UserAccount>> getAccounts(); in getAccounts()
57 LiveData<Collection<Conversation>> getConversations(@NonNull UserAccount userAccount); in getConversations()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/
DVoiceUtil.java56 import com.android.car.messenger.core.models.UserAccount;
75 @NonNull UserAccount userAccount, in voiceRequestReadConversation()
92 @NonNull UserAccount userAccount, in voiceRequestReplyConversation()
105 @NonNull UserAccount userAccount, in voiceRequestHelper()
134 public static void voiceRequestGenericCompose(Activity activity, UserAccount userAccount) { in voiceRequestGenericCompose()